File "blocks.build.js"
Full Path: /home/jlklyejr/public_html/post-date/wp-content/plugins/revslider/admin/includes/shortcode_generator/gutenberg/dist/blocks.build.js
File size: 67.31 KB
MIME-type: text/plain
Charset: utf-8
/******/ (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__revslider__ = __webpack_require__(/*! ./revslider */ 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/N2I1YiJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEd1dGVuYmVyZyBCbG9ja3NcbiAqXG4gKiBBbGwgYmxvY2tzIHJlbGF0ZWQgSmF2YVNjcmlwdCBmaWxlcyBzaG91bGQgYmUgaW1wb3J0ZWQgaGVyZS5cbiAqIFlvdSBjYW4gY3JlYXRlIGEgbmV3IGJsb2NrIGZvbGRlciBpbiB0aGlzIGRpciBhbmQgaW5jbHVkZSBjb2RlXG4gKiBmb3IgdGhhdCBibG9jayBoZXJlIGFzIHdlbGwuXG4gKlxuICogQWxsIGJsb2NrcyBzaG91bGQgYmUgaW5jbHVkZWQgaGVyZSBzaW5jZSB0aGlzIGlzIHRoZSBmaWxlIHRoYXRcbiAqIFdlYnBhY2sgaXMgY29tcGlsaW5nIGFzIHRoZSBpbnB1dCBmaWxlLlxuICovXG5cbmltcG9ydCAnLi9yZXZzbGlkZXInO1xuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vc3JjL2Jsb2Nrcy5qc1xuLy8gbW9kdWxlIGlkID0gMFxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///0\n");
/***/ }),
/* 1 */
/*!********************************!*\
!*** ./src/revslider/index.js ***!
\********************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("/* 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__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__deprecated__ = __webpack_require__(/*! ./deprecated */ 4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__revslider__ = __webpack_require__(/*! ./revslider */ 5);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__wordpress_components__ = __webpack_require__(/*! @wordpress/components */ 7);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__wordpress_components___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4__wordpress_components__);\n/**\n * Block dependencies\n */\n\n\n\n/**\n * Internal block libraries\n */\nvar __ = wp.i18n.__;\nvar registerBlockType = wp.blocks.registerBlockType;\n\nif (typeof wp.blockEditor !== 'undefined') var _wp$blockEditor = wp.blockEditor,\n InspectorControls = _wp$blockEditor.InspectorControls,\n InspectorAdvancedControls = _wp$blockEditor.InspectorAdvancedControls;else var _wp$editor = wp.editor,\n InspectorControls = _wp$editor.InspectorControls,\n InspectorAdvancedControls = _wp$editor.InspectorAdvancedControls;\nvar Component = wp.element.Component;\n\n\n\n\n\nvar withState = wp.compose.withState;\n\n/**\n * Register block\n */\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 Module!', 'revslider'),\n category: 'common',\n icon: {\n src: 'update',\n background: 'rgb(94, 53, 177)',\n color: 'white',\n viewbox: \"0 0 28 28\"\n },\n example: {\n attributes: {\n cover: true\n }\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 content: {\n selector: '.revslider',\n type: 'string',\n source: 'text'\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 sliderImage: {\n type: 'string'\n },\n hideSliderImage: {\n boolean: false\n },\n alias: {\n type: 'string'\n },\n zindex: {\n type: 'string'\n },\n wrapperid: {\n type: 'string'\n },\n cover: {\n default: false\n }\n },\n edit: function edit(props) {\n var setAttributes = props.setAttributes,\n _props$attributes = props.attributes,\n wrapperid = _props$attributes.wrapperid,\n cover = _props$attributes.cover;\n\n\n return [!cover && wp.element.createElement(\n 'div',\n null,\n wp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__revslider__[\"a\" /* RevSlider */], Object.assign({ setAttributes: setAttributes }, props))\n ), cover && wp.element.createElement(\n 'center',\n null,\n wp.element.createElement('img', { src: revslider_gutenberg.pluginurl + \"/admin/includes/shortcode_generator/gutenberg/dist/images/sr-minigif.gif\", width: 320, height: 180 })\n )];\n },\n deprecated: __WEBPACK_IMPORTED_MODULE_2__deprecated__[\"a\" /* deprecated */],\n save: function save(props) {\n var _props$attributes2 = props.attributes,\n text = _props$attributes2.text,\n content = _props$attributes2.content,\n slidertitle = _props$attributes2.slidertitle,\n modal = _props$attributes2.modal,\n zindex = _props$attributes2.zindex,\n wrapperid = _props$attributes2.wrapperid;\n\n var style = void 0;\n style = zindex ? \"z-index:\" + zindex + \";\" : \"\";\n var shortcode = !content && text ? text : content;\n return wp.element.createElement(\n 'div',\n { className: 'revslider', id: wrapperid, 'data-modal': modal, 'data-slidertitle': slidertitle, style: style },\n shortcode\n );\n }\n}));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMS5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9yZXZzbGlkZXIvaW5kZXguanM/MDdkMSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEJsb2NrIGRlcGVuZGVuY2llc1xuICovXG5pbXBvcnQgJy4vc3R5bGUuc2Nzcyc7XG5pbXBvcnQgJy4vZWRpdG9yLnNjc3MnO1xuXG4vKipcbiAqIEludGVybmFsIGJsb2NrIGxpYnJhcmllc1xuICovXG52YXIgX18gPSB3cC5pMThuLl9fO1xudmFyIHJlZ2lzdGVyQmxvY2tUeXBlID0gd3AuYmxvY2tzLnJlZ2lzdGVyQmxvY2tUeXBlO1xuXG5pZiAodHlwZW9mIHdwLmJsb2NrRWRpdG9yICE9PSAndW5kZWZpbmVkJykgdmFyIF93cCRibG9ja0VkaXRvciA9IHdwLmJsb2NrRWRpdG9yLFxuICAgICAgSW5zcGVjdG9yQ29udHJvbHMgPSBfd3AkYmxvY2tFZGl0b3IuSW5zcGVjdG9yQ29udHJvbHMsXG4gICAgICBJbnNwZWN0b3JBZHZhbmNlZENvbnRyb2xzID0gX3dwJGJsb2NrRWRpdG9yLkluc3BlY3RvckFkdmFuY2VkQ29udHJvbHM7ZWxzZSB2YXIgX3dwJGVkaXRvciA9IHdwLmVkaXRvcixcbiAgICAgIEluc3BlY3RvckNvbnRyb2xzID0gX3dwJGVkaXRvci5JbnNwZWN0b3JDb250cm9scyxcbiAgICAgIEluc3BlY3RvckFk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TtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///1\n");
/***/ }),
/* 2 */
/*!**********************************!*\
!*** ./src/revslider/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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMi5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9yZXZzbGlkZXIvc3R5bGUuc2Nzcz85MjcyIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIHJlbW92ZWQgYnkgZXh0cmFjdC10ZXh0LXdlYnBhY2stcGx1Z2luXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9zcmMvcmV2c2xpZGVyL3N0eWxlLnNjc3Ncbi8vIG1vZHVsZSBpZCA9IDJcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///2\n");
/***/ }),
/* 3 */
/*!***********************************!*\
!*** ./src/revslider/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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9yZXZzbGlkZXIvZWRpdG9yLnNjc3M/ZDA3MCJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyByZW1vdmVkIGJ5IGV4dHJhY3QtdGV4dC13ZWJwYWNrLXBsdWdpblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vc3JjL3JldnNsaWRlci9lZGl0b3Iuc2Nzc1xuLy8gbW9kdWxlIGlkID0gM1xuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///3\n");
/***/ }),
/* 4 */
/*!*************************************!*\
!*** ./src/revslider/deprecated.js ***!
\*************************************/
/*! exports provided: deprecated */
/*! exports used: deprecated */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"a\", function() { return deprecated; });\nvar deprecated = [{\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 sliderImage: {\n type: 'string'\n },\n hideSliderImage: {\n boolean: false\n }\n },\n save: function save(props) {\n var _props$attributes = props.attributes,\n text = _props$attributes.text,\n sliderTitle = _props$attributes.sliderTitle,\n modal = _props$attributes.modal;\n\n return wp.element.createElement(\n 'div',\n { className: 'revslider', 'data-modal': modal, 'data-slidertitle': sliderTitle },\n text\n );\n }\n}, {\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 attributes: {\n checked: {\n type: 'boolean',\n default: false\n },\n modal: {\n type: 'boolean',\n default: false\n },\n popup: {\n type: 'object'\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 sliderImage: {\n type: 'string'\n },\n hideSliderImage: {\n boolean: false\n },\n offset: {\n type: 'object'\n },\n layout: {\n type: 'string '\n },\n alias: {\n type: 'string'\n },\n zindex: {\n type: 'string'\n },\n shortcode: {\n type: 'string'\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 zindex = _props$attributes2.zindex;\n\n var style = void 0;\n style = zindex ? \"z-index:\" + zindex + \";\" : \"\";\n return wp.element.createElement(\n 'div',\n { className: 'revslider', 'data-modal': modal, 'data-slidertitle': sliderTitle, style: style },\n text\n );\n }\n}, {\n attributes: {\n checked: {\n type: 'boolean',\n default: false\n },\n modal: {\n type: 'boolean',\n default: false\n },\n popup: {\n type: 'object'\n },\n content: {\n selector: '.revslider',\n type: 'string',\n source: 'text'\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 sliderImage: {\n type: 'string'\n },\n hideSliderImage: {\n boolean: false\n },\n offset: {\n type: 'object'\n },\n layout: {\n type: 'string '\n },\n alias: {\n type: 'string'\n },\n zindex: {\n type: 'string'\n },\n shortcode: {\n type: 'string'\n }\n },\n save: function save(props) {\n var _props$attributes3 = props.attributes,\n text = _props$attributes3.text,\n content = _props$attributes3.content,\n sliderTitle = _props$attributes3.sliderTitle,\n modal = _props$attributes3.modal,\n zindex = _props$attributes3.zindex;\n\n var style = void 0;\n style = zindex ? \"z-index:\" + zindex + \";\" : \"\";\n var shortcode = !content && text ? text : content;\n return wp.element.createElement(\n 'div',\n { className: 'revslider', 'data-modal': modal, 'data-slidertitle': sliderTitle, style: style },\n shortcode\n );\n }\n}];\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNC5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9yZXZzbGlkZXIvZGVwcmVjYXRlZC5qcz8yZWJhIl0sInNvdXJjZXNDb250ZW50IjpbInZhciBkZXByZWNhdGVkID0gW3tcbiAgYXR0cmlidXRlczoge1xuICAgIGNoZWNrZWQ6IHtcbiAgICAgIHR5cGU6ICdib29sZWFuJyxcbiAgICAgIGRlZmF1bHQ6IGZhbHNlXG4gICAgfSxcbiAgICBtb2RhbDoge1xuICAgICAgdHlwZTogJ2Jvb2xlYW4nLFxuICAgICAgZGVmYXVsdDogZmFsc2VcbiAgICB9LFxuICAgIHRle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0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///4\n");
/***/ }),
/* 5 */
/*!************************************!*\
!*** ./src/revslider/revslider.js ***!
\************************************/
/*! exports provided: RevSlider */
/*! exports used: RevSlider */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"a\", function() { return RevSlider; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__revSliderImage__ = __webpack_require__(/*! ./revSliderImage */ 6);\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 * RevSlider Editor Element\n */\n\n/**\n * Internal block libraries\n*/\nvar Component = wp.element.Component;\nvar _wp$components = wp.components,\n TextControl = _wp$components.TextControl,\n Button = _wp$components.Button,\n Tooltip = _wp$components.Tooltip;\n\nif (typeof wp.blockEditor !== 'undefined') var _wp$blockEditor = wp.blockEditor,\n InspectorControls = _wp$blockEditor.InspectorControls,\n InspectorAdvancedControls = _wp$blockEditor.InspectorAdvancedControls;else var _wp$editor = wp.editor,\n InspectorControls = _wp$editor.InspectorControls,\n InspectorAdvancedControls = _wp$editor.InspectorAdvancedControls;\n\n\n\n/**\n * Component RevSlider for usage in block\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 _this.openBlockSettings = function () {\n var data = false;\n RVS.SC.BLOCK = _this.state;\n revslider_react = _this;\n if (!_this.props.attributes.alias) return false;\n RVS.SC.openBlockSettings('gutenberg', _this.props.attributes.content);\n };\n\n _this.openLibrary = function () {\n revslider_react = _this;\n RVS.SC.BLOCK = _this.props.attributes;\n RVS.SC.openTemplateLibrary('gutenberg');\n };\n\n _this.openSliderEditor = function () {\n if (!_this.props.attributes.alias) return false;\n RVS.SC.openSliderEditor(_this.props.attributes.alias);\n };\n\n _this.setwrapperid = function (value) {\n revslider_react = _this;\n _this.props.setAttributes({ wrapperid: value });\n RVS.SC.BLOCK = _this.state;\n RVS.SC.BLOCK.wrapperid = value;\n };\n\n _this.openOptimizer = function () {\n if (!_this.props.attributes.alias) return false;\n RVS.SC.openOptimizer(_this.props.attributes.alias);\n };\n\n _this.setSliderAttributes = function (alias) {\n setAttributes({ alias: alias });\n setAttributes({ sliderImage: _this.state.sliderImage });\n };\n\n _this.state = jQuery.extend(true, {}, _this.props.attributes);\n window.revslider_react = {};\n return _this;\n }\n\n _createClass(RevSlider, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n revslider_react = this;\n // Create Block in RVS with current state\n RVS.SC.BLOCK = this.state;\n // Open Template Library when block is added for the first time to the page\n if (!this.props.attributes.content && !this.props.attributes.text) {\n // Check if in widget area, then do not open the template library automatically\n if (wp.data.select('core/editor') != null && wp.data.select('core/editor').isEditedPostDirty()) RVS.SC.openTemplateLibrary('gutenberg');else return false;\n } else {\n // Fallback for saved blocks with no alias attribute (< RevSlider V6.1.6)\n if (!this.props.attributes.alias) {\n var shortcode = this.props.attributes.content !== undefined ? RVS.SC.parseShortCode(this.props.attributes.content) : RVS.SC.parseShortCode(this.props.attributes.text);\n if (shortcode.attributes.alias) {\n this.props.attributes.alias = shortcode.attributes.alias;\n RVS.SC.BLOCK.alias = this.props.attributes.alias;\n this.props.setAttributes({ alias: shortcode.attributes.alias });\n }\n }\n if (!this.props.attributes.slidertitle) {\n if (this.props.attributes.sliderTitle) {\n this.props.setAttributes({ slidertitle: this.props.attributes.sliderTitle });\n }\n }\n }\n }\n\n // Open Block Settings like offset, popup, admin thumb\n\n\n // Open Template Library\n\n\n // Link to Slider Editor in new tab\n\n\n // Open File Optimizer PopUp\n\n\n // Update Attributes in case Slider alias changes\n\n }, {\n key: 'render',\n value: function render() {\n var _this2 = this;\n\n revslider_react = this;\n // Set Attributes from State (state was changed in RevSlider JS)\n this.props.setAttributes(this.state);\n var setAttributes = this.props.setAttributes;\n\n // Turn off Styling in Block Options Sidebar when leaving block\n\n {\n !this.props.isSelected && RVS.SC.updateBlockViews(false);\n }\n\n if (!this.props.attributes.slidertitle) {\n if (this.props.attributes.sliderTitle) {\n this.props.setAttributes({ slidertitle: this.props.attributes.sliderTitle });\n }\n }\n\n return [wp.element.createElement(\n InspectorControls,\n null,\n this.props.attributes.alias && wp.element.createElement(\n 'div',\n { className: 'rs_optimizer_button_wrapper', onClick: this.openOptimizer },\n wp.element.createElement(\n Button,\n {\n isDefault: true,\n className: 'rs_optimizer_button'\n },\n 'flash_on'\n ),\n wp.element.createElement(\n 'span',\n null,\n 'Optimize File Sizes'\n )\n )\n ), wp.element.createElement(\n InspectorAdvancedControls,\n null,\n wp.element.createElement(TextControl, {\n label: 'Module Wrapper IDs',\n value: this.props.attributes.wrapperid,\n onChange: function onChange(value) {\n return _this2.setwrapperid(value);\n },\n help: 'Enter a word or two \\u2014 without spaces or special characters \\u2014 to make a unique web address just for this module.'\n })\n ),, wp.element.createElement(\n 'div',\n { className: 'revslider_block', 'data-modal': this.props.attributes.modal },\n wp.element.createElement(\n 'div',\n { 'class': 'sliderBar' },\n wp.element.createElement(\n 'span',\n null,\n this.props.attributes.slidertitle,\n '\\xA0'\n ),\n wp.element.createElement(TextControl, {\n className: 'slider_slug',\n value: this.props.attributes.content,\n onChange: function onChange(content) {\n return setSliderAttributes(_this2.props.attributes.content);\n }\n }),\n wp.element.createElement(\n Tooltip,\n { text: 'Open Block Settings' },\n wp.element.createElement(\n Button,\n {\n isDefault: true,\n onClick: this.openBlockSettings,\n className: 'slider_editor_button'\n },\n 'tune'\n )\n ),\n wp.element.createElement(\n Tooltip,\n { text: 'Open Slider Editor' },\n wp.element.createElement(\n Button,\n {\n isDefault: true,\n onClick: this.openSliderEditor,\n className: 'slider_editor_button'\n },\n 'edit'\n )\n ),\n wp.element.createElement(\n Button,\n {\n isDefault: true,\n onClick: this.openLibrary,\n className: 'slider_edit_button'\n },\n 'Select Module'\n )\n ),\n wp.element.createElement(__WEBPACK_IMPORTED_MODULE_0__revSliderImage__[\"a\" /* RevSliderImage */], Object.assign({ setAttributes: setAttributes }, this.props))\n )];\n }\n }]);\n\n return RevSlider;\n}(Component);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNS5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9yZXZzbGlkZXIvcmV2c2xpZGVyLmpzPzRmMWQiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIF9jcmVhdGVDbGFzcyA9IGZ1bmN0aW9uICgpIHsgZnVuY3Rpb24gZGVmaW5lUHJvcGVydGllcyh0YXJnZXQsIHByb3BzKSB7IGZvciAodmFyIGkgPSAwOyBpIDwgcHJvcHMubGVuZ3RoOyBpKyspIHsgdmFyIGRlc2NyaXB0b3IgPSBwcm9wc1tpXTsgZGVzY3JpcHRvci5lbnVtZXJhYmxlID0gZGVzY3JpcHRvci5lbnVtZXJhYmxlIHx8IGZhbHNlOyBkZXNjcmlwdG9yLmNvbmZpZ3VyYWJsZSA9IHRydWU7IGlmIChcInZhbHVlXCIgaW4gZGVzY3JpcHRvcikgZGVzY3JpcHRvci53cml0YWJsZSA9IHRydWU7IE9iamVjdC5kZWZpbmVQcm9wZXJ0eSh0YXJnZXQsIGRlc2NyaXB0b3Iua2V5LCBkZXNjcmlwdG9yKTsgfSB9IHJldHVybiBmdW5jdGlvbiAoQ29uc3RydWN0b3IsIHByb3RvUHJvcHMsIHN0YXRpY1Byb3BzKSB7IGlmIChwcm90b1Byb3BzKSBkZWZpbmVQcm9wZXJ0aWVzKENvbnN0cnVjdG9yLnByb3RvdHlwZSwgcHJvdG9Qcm9wcyk7IGlmIChzdGF0aWNQcm9w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GxlOiB0aGlzLnByb3BzLmF0dHJpYnV0ZXMuc2xpZGVyVGl0bGUgfSk7XG4gICAgICAgIH1cbiAgICAgIH1cblxuICAgICAgcmV0dXJuIFt3cC5lbGVtZW50LmNyZWF0ZUVsZW1lbnQoXG4gICAgICAgIEluc3BlY3RvckNvbnRyb2xzLFxuICAgICAgICBudWxsLFxuICAgICAgICB0aGlzLnByb3BzLmF0dHJpYnV0ZXMuYWxpYXMgJiYgd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KFxuICAgICAgICAgICdkaXYnLFxuICAgICAgICAgIHsgY2xhc3NOYW1lOiAncnNfb3B0aW1pemVyX2J1dHRvbl93cmFwcGVyJywgb25DbGljazogdGhpcy5vcGVuT3B0aW1pemVyIH0sXG4gICAgICAgICAgd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KFxuICAgICAgICAgICAgQnV0dG9uLFxuICAgICAgICAgICAge1xuICAgICAgICAgICAgICBpc0RlZmF1bHQ6IHRydWUsXG4gICAgICAgICAgICAgIGNsYXNzTmFtZTogJ3JzX29wdGltaXplcl9idXR0b24nXG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgJ2ZsYXNoX29uJ1xuICAgICAgICAgICksXG4gICAgICAgICAgd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KFxuICAgICAgICAgICAgJ3NwYW4nLFxuICAgICAgICAgICAgbnVsbCxcbiAgICAgICAgICAgICdPcHRpbWl6ZSBGaWxlIFNpemVzJ1xuICAgICAgICAgIClcbiAgICAgICAgKVxuICAgICAgKSwgd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KFxuICAgICAgICBJbnNwZWN0b3JBZHZhbmNlZENvbnRyb2xzLFxuICAgICAgICBudWxsLFxuICAgICAgICB3cC5lbGVtZW50LmNyZWF0ZUVsZW1lbnQoVGV4dENvbnRyb2wsIHtcbiAgICAgICAgICBsYWJlbDogJ01vZHVsZSBXcmFwcGVyIElEcycsXG4gICAgICAgICAgdmFsdWU6IHRoa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ICAgICAgICBvbkNoYW5nZTogZnVuY3Rpb24gb25DaGFuZ2UoY29udGVudCkge1xuICAgICAgICAgICAgICByZXR1cm4gc2V0U2xpZGVyQXR0cmlidXRlcyhfdGhpczIucHJvcHMuYXR0cmlidXRlcy5jb250ZW50KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9KSxcbiAgICAgICAgICB3cC5lbGVtZW50LmNyZWF0ZUVsZW1lbnQoXG4gICAgICAgICAgICBUb29sdGlwLFxuICAgICAgICAgICAgeyB0ZXh0OiAnT3BlbiBCbG9jayBTZXR0aW5ncycgfSxcbiAgICAgICAgICAgIHdwLmVsZW1lbnQuY3JlYXRlRWxlbWVudChcbiAgICAgICAgICAgICAgQnV0dG9uLFxuICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgaXNEZWZhdWx0OiB0cnVlLFxuICAgICAgICAgICAgICAgIG9uQ2xpY2s6IHRoaXMub3BlbkJsb2NrU2V0dGluZ3MsXG4gICAgICAgICAgICAgICAgY2xhc3NOYW1lOiAnc2xpZGVyX2VkaXRvcl9idXR0b24nXG4gICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICd0dW5lJ1xuICAgICAgICAgICAgKVxuICAgICAgICAgICksXG4gICAgICAgICAgd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KFxuICAgICAgICAgICAgVG9vbHRpcCxcbiAgICAgICAgICAgIHsgdGV4dDogJ09wZW4gU2xpZGVyIEVkaXRvcicgfSxcbiAgICAgICAgICAgIHdwLmVsZW1lbnQuY3JlYXRlRWxlbWVudChcbiAgICAgICAgICAgICAgQnV0dG9uLFxuICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgaXNEZWZhdWx0OiB0cnVlLFxuICAgICAgICAgICAgICAgIG9uQ2xpY2s6IHRoaXMub3BlblNsaWRlckVkaXRvcixcbiAgICAgICAgICAgICAgICBjbGFzc05hbWU6ICdzbGlkZXJfZWRpdG9yX2J1dHRvbidcbiAgICAgICAgICAgICA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FDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///5\n");
/***/ }),
/* 6 */
/*!*****************************************!*\
!*** ./src/revslider/revSliderImage.js ***!
\*****************************************/
/*! exports provided: RevSliderImage */
/*! exports used: RevSliderImage */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"a\", function() { return RevSliderImage; });\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 * RevSlider Editor Element\n */\n\n/**\n * Internal block libraries\n*/\nvar Component = wp.element.Component;\n\n/**\n * Component RevSlider for usage in block\n*/\n\nvar RevSliderImage = function (_Component) {\n _inherits(RevSliderImage, _Component);\n\n function RevSliderImage() {\n _classCallCheck(this, RevSliderImage);\n\n var _this = _possibleConstructorReturn(this, (RevSliderImage.__proto__ || Object.getPrototypeOf(RevSliderImage)).apply(this, arguments));\n\n _this.state = {\n response: undefined,\n alias: _this.props.attributes.alias,\n slidertitle: _this.props.attributes.slidertitle\n };\n\n return _this;\n }\n\n // Load Slider Image before it is mounted\n\n\n _createClass(RevSliderImage, [{\n key: 'componentWillMount',\n value: function componentWillMount() {\n this.loadSliderImage();\n }\n\n // Load Slider Image when it is mounted\n\n }, {\n key: 'componentDidMount',\n value: function componentDidMount() {}\n //this.loadSliderImage();\n\n\n // When new Props are send to the Block it will reload the image when the alias has changed\n\n }, {\n key: 'componentWillReceiveProps',\n value: function componentWillReceiveProps() {\n if (this.state.alias != this.props.attributes.alias) this.loadSliderImage();\n }\n\n // Loads the Slider Admin Thumb via Ajax Call\n\n }, {\n key: 'loadSliderImage',\n value: function loadSliderImage() {\n this.setState({ response: undefined });\n this.setState({ alias: this.props.attributes.alias });\n var self = this;\n if (!this.props.attributes.alias) {\n if (this.props.attributes.content !== undefined || this.props.attributes.text !== undefined) {\n var shortcode = this.props.attributes.content !== undefined ? RVS.SC.parseShortCode(this.props.attributes.content) : RVS.SC.parseShortCode(this.props.attributes.text);\n if (shortcode.attributes.alias) {\n this.props.attributes.alias = shortcode.attributes.alias;\n }\n }\n }\n if (this.props.attributes.alias) {\n RVS.F.ajaxRequest('getSliderImage', { alias: this.props.attributes.alias }, function (response) {\n if (response.success) {\n if (response !== undefined && response.image !== undefined) {\n self.setState({\n response: response\n });\n }\n RVS.F.showWaitAMinute({ fadeIn: 0, text: RVS_LANG.loadingcontent });\n }\n });\n }\n }\n\n // Renders the different states of the image (loading, loaded and no image)\n\n }, {\n key: 'render',\n value: function render() {\n var premium = void 0;\n if (this.state.response && this.state.response.premium !== \"\") {\n premium = this.state.response.premium ? ' tp_premium' : '';\n } else {\n premium = '';\n }\n\n var badge = RVS.ENV.activated ? wp.element.createElement(\n 'div',\n { 'class': 'rs_lib_premium_wrap' },\n wp.element.createElement(\n 'div',\n { 'class': 'rs_lib_premium_lila' },\n 'PREMIUM TEMPLATE'\n )\n ) : wp.element.createElement(\n 'div',\n { 'class': 'rs_lib_premium_wrap' },\n wp.element.createElement(\n 'div',\n { 'class': 'rs_lib_premium_red' },\n wp.element.createElement(\n 'i',\n { 'class': 'material-icons' },\n 'visibility_off'\n ),\n 'REGISTER LICENSE TO UNLOCK'\n )\n );\n if (premium == '') badge = '';\n\n //Image Loaded\n if (this.state.response && this.state.response.image !== \"\") {\n return [wp.element.createElement(\n 'div',\n { className: \"sliderImage\" + premium },\n badge,\n wp.element.createElement('div', { style: { backgroundImage: 'url(' + this.state.response.image + ')' } })\n )];\n } else {\n //Image Loading\n if (!this.state.response) return [wp.element.createElement('div', { className: \"sliderImageLoading\" + premium })];\n //No Image\n else {\n return [wp.element.createElement(\n 'div',\n { className: \"noSliderImage\" + premium },\n badge\n )];\n }\n }\n }\n }]);\n\n return RevSliderImage;\n}(Component);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNi5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9yZXZzbGlkZXIvcmV2U2xpZGVySW1hZ2UuanM/MzE0NSJdLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgX2NyZWF0ZUNsYXNzID0gZnVuY3Rpb24gKCkgeyBmdW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E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///6\n");
/***/ }),
/* 7 */
/*!********************************!*\
!*** external "wp.components" ***!
\********************************/
/*! dynamic exports provided */
/***/ (function(module, exports) {
module.exports = wp.components;
/***/ })
/******/ ]);