vendor: 2,623 bytes, lines 1-73
1/******/ (function(modules) { // webpackBootstrap 2/******/ // The module cache 3/******/ var installedModules = {}; 4/******/ 5/******/ // The require function 6/******/ function __webpack_require__(moduleId) { 7/******/ 8/******/ // Check if module is in cache 9/******/ if(installedModules[moduleId]) { 10/******/ return installedModules[moduleId].exports; 11/******/ } 12/******/ // Create a new module (and put it into the cache) 13/******/ var module = installedModules[moduleId] = { 14/******/ i: moduleId, 15/******/ l: false, 16/******/ exports: {} 17/******/ }; 18/******/ 19/******/ // Execute the module function 20/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); 21/******/ 22/******/ // Flag the module as loaded 23/******/ module.l = true; 24/******/ 25/******/ // Return the exports of the module 26/******/ return module.exports; 27/******/ } 28/******/ 29/******/ 30/******/ // expose the modules object (__webpack_modules__) 31/******/ __webpack_require__.m = modules; 32/******/ 33/******/ // expose the module cache 34/******/ __webpack_require__.c = installedModules; 35/******/ 36/******/ // define getter function for harmony exports 37/******/ __webpack_require__.d = function(exports, name, getter) { 38/******/ if(!__webpack_require__.o(exports, name)) { 39/******/ Object.defineProperty(exports, name, { 40/******/ configurable: false, 41/******/ enumerable: true, 42/******/ get: getter 43/******/ }); 44/******/ } 45/******/ }; 46/******/ 47/******/ // define __esModule on exports 48/******/ __webpack_require__.r = function(exports) { 49/******/ Object.defineProperty(exports, '__esModule', { value: true }); 50/******/ }; 51/******/ 52/******/ // getDefaultExport function for compatibility with non-harmony modules 53/******/ __webpack_require__.n = function(module) { 54/******/ var getter = module && module.__esModule ? 55/******/ function getDefault() { return module['default']; } : 56/******/ function getModuleExports() { return module; }; 57/******/ __webpack_require__.d(getter, 'a', getter); 58/******/ return getter; 59/******/ }; 60/******/ 61/******/ // Object.prototype.hasOwnProperty.call 62/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; 63/******/ 64/******/ // __webpack_public_path__ 65/******/ __webpack_require__.p = ""; 66/******/ 67/******/ 68/******/ // Load entry module and return exports 69/******/ return __webpack_require__(__webpack_require__.s = "./src/index.js"); 70/******/ }) 71/************************************************************************/ 72/******/ ({ 73
vendor: 457 bytes, lines 74-88
74/***/ "./node_modules/@babel/runtime/helpers/arrayWithHoles.js": 75/*!***************************************************************!*\ 76 !*** ./node_modules/@babel/runtime/helpers/arrayWithHoles.js ***! 77 \***************************************************************/ 78/*! no static exports found */ 79/***/ (function(module, exports) { 80 81function _arrayWithHoles(arr) { 82 if (Array.isArray(arr)) return arr; 83} 84 85module.exports = _arrayWithHoles; 86 87/***/ }), 88
vendor: 598 bytes, lines 89-107
89/***/ "./node_modules/@babel/runtime/helpers/assertThisInitialized.js": 90/*!**********************************************************************!*\ 91 !*** ./node_modules/@babel/runtime/helpers/assertThisInitialized.js ***! 92 \**********************************************************************/ 93/*! no static exports found */ 94/***/ (function(module, exports) { 95 96function _assertThisInitialized(self) { 97 if (self === void 0) { 98 throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); 99 } 100 101 return self; 102} 103 104module.exports = _assertThisInitialized; 105 106/***/ }), 107
vendor: 547 bytes, lines 108-124
108/***/ "./node_modules/@babel/runtime/helpers/classCallCheck.js": 109/*!***************************************************************!*\ 110 !*** ./node_modules/@babel/runtime/helpers/classCallCheck.js ***! 111 \***************************************************************/ 112/*! no static exports found */ 113/***/ (function(module, exports) { 114 115function _classCallCheck(instance, Constructor) { 116 if (!(instance instanceof Constructor)) { 117 throw new TypeError("Cannot call a class as a function"); 118 } 119} 120 121module.exports = _classCallCheck; 122 123/***/ }), 124
vendor: 935 bytes, lines 125-151
125/***/ "./node_modules/@babel/runtime/helpers/createClass.js": 126/*!************************************************************!*\ 127 !*** ./node_modules/@babel/runtime/helpers/createClass.js ***! 128 \************************************************************/ 129/*! no static exports found */ 130/***/ (function(module, exports) { 131 132function _defineProperties(target, props) { 133 for (var i = 0; i < props.length; i++) { 134 var descriptor = props[i]; 135 descriptor.enumerable = descriptor.enumerable || false; 136 descriptor.configurable = true; 137 if ("value" in descriptor) descriptor.writable = true; 138 Object.defineProperty(target, descriptor.key, descriptor); 139 } 140} 141 142function _createClass(Constructor, protoProps, staticProps) { 143 if (protoProps) _defineProperties(Constructor.prototype, protoProps); 144 if (staticProps) _defineProperties(Constructor, staticProps); 145 return Constructor; 146} 147 148module.exports = _createClass; 149 150/***/ }), 151
vendor: 618 bytes, lines 152-169
152/***/ "./node_modules/@babel/runtime/helpers/getPrototypeOf.js": 153/*!***************************************************************!*\ 154 !*** ./node_modules/@babel/runtime/helpers/getPrototypeOf.js ***! 155 \***************************************************************/ 156/*! no static exports found */ 157/***/ (function(module, exports) { 158 159function _getPrototypeOf(o) { 160 module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { 161 return o.__proto__ || Object.getPrototypeOf(o); 162 }; 163 return _getPrototypeOf(o); 164} 165 166module.exports = _getPrototypeOf; 167 168/***/ }), 169
vendor: 928 bytes, lines 170-197
170/***/ "./node_modules/@babel/runtime/helpers/inherits.js": 171/*!*********************************************************!*\ 172 !*** ./node_modules/@babel/runtime/helpers/inherits.js ***! 173 \*********************************************************/ 174/*! no static exports found */ 175/***/ (function(module, exports, __webpack_require__) { 176 177var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf */ "./node_modules/@babel/runtime/helpers/setPrototypeOf.js"); 178 179function _inherits(subClass, superClass) { 180 if (typeof superClass !== "function" && superClass !== null) { 181 throw new TypeError("Super expression must either be null or a function"); 182 } 183 184 subClass.prototype = Object.create(superClass && superClass.prototype, { 185 constructor: { 186 value: subClass, 187 writable: true, 188 configurable: true 189 } 190 }); 191 if (superClass) setPrototypeOf(subClass, superClass); 192} 193 194module.exports = _inherits; 195 196/***/ }), 197
vendor: 898 bytes, lines 198-234
198/***/ "./node_modules/@babel/runtime/helpers/iterableToArrayLimit.js": 199/*!*********************************************************************!*\ 200 !*** ./node_modules/@babel/runtime/helpers/iterableToArrayLimit.js ***! 201 \*********************************************************************/ 202/*! no static exports found */ 203/***/ (function(module, exports) { 204 205function _iterableToArrayLimit(arr, i) { 206 var _arr = []; 207 var _n = true; 208 var _d = false; 209 var _e = undefined; 210 211 try { 212 for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { 213 _arr.push(_s.value); 214 215 if (i && _arr.length === i) break; 216 } 217 } catch (err) { 218 _d = true; 219 _e = err; 220 } finally { 221 try { 222 if (!_n && _i["return"] != null) _i["return"](); 223 } finally { 224 if (_d) throw _e; 225 } 226 } 227 228 return _arr; 229} 230 231module.exports = _iterableToArrayLimit; 232 233/***/ }), 234
vendor: 501 bytes, lines 235-249
235/***/ "./node_modules/@babel/runtime/helpers/nonIterableRest.js": 236/*!****************************************************************!*\ 237 !*** ./node_modules/@babel/runtime/helpers/nonIterableRest.js ***! 238 \****************************************************************/ 239/*! no static exports found */ 240/***/ (function(module, exports) { 241 242function _nonIterableRest() { 243 throw new TypeError("Invalid attempt to destructure non-iterable instance"); 244} 245 246module.exports = _nonIterableRest; 247 248/***/ }), 249
vendor: 908 bytes, lines 250-272
250/***/ "./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js": 251/*!**************************************************************************!*\ 252 !*** ./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***! 253 \**************************************************************************/ 254/*! no static exports found */ 255/***/ (function(module, exports, __webpack_require__) { 256 257var _typeof = __webpack_require__(/*! ../helpers/typeof */ "./node_modules/@babel/runtime/helpers/typeof.js"); 258 259var assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized */ "./node_modules/@babel/runtime/helpers/assertThisInitialized.js"); 260 261function _possibleConstructorReturn(self, call) { 262 if (call && (_typeof(call) === "object" || typeof call === "function")) { 263 return call; 264 } 265 266 return assertThisInitialized(self); 267} 268 269module.exports = _possibleConstructorReturn; 270 271/***/ }), 272
vendor: 588 bytes, lines 273-292
273/***/ "./node_modules/@babel/runtime/helpers/setPrototypeOf.js": 274/*!***************************************************************!*\ 275 !*** ./node_modules/@babel/runtime/helpers/setPrototypeOf.js ***! 276 \***************************************************************/ 277/*! no static exports found */ 278/***/ (function(module, exports) { 279 280function _setPrototypeOf(o, p) { 281 module.exports = _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { 282 o.__proto__ = p; 283 return o; 284 }; 285 286 return _setPrototypeOf(o, p); 287} 288 289module.exports = _setPrototypeOf; 290 291/***/ }), 292
vendor: 919 bytes, lines 293-313
293/***/ "./node_modules/@babel/runtime/helpers/slicedToArray.js": 294/*!**************************************************************!*\ 295 !*** ./node_modules/@babel/runtime/helpers/slicedToArray.js ***! 296 \**************************************************************/ 297/*! no static exports found */ 298/***/ (function(module, exports, __webpack_require__) { 299 300var arrayWithHoles = __webpack_require__(/*! ./arrayWithHoles */ "./node_modules/@babel/runtime/helpers/arrayWithHoles.js"); 301 302var iterableToArrayLimit = __webpack_require__(/*! ./iterableToArrayLimit */ "./node_modules/@babel/runtime/helpers/iterableToArrayLimit.js"); 303 304var nonIterableRest = __webpack_require__(/*! ./nonIterableRest */ "./node_modules/@babel/runtime/helpers/nonIterableRest.js"); 305 306function _slicedToArray(arr, i) { 307 return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || nonIterableRest(); 308} 309 310module.exports = _slicedToArray; 311 312/***/ }), 313
vendor: 1,136 bytes, lines 314-340
314/***/ "./node_modules/@babel/runtime/helpers/typeof.js": 315/*!*******************************************************!*\ 316 !*** ./node_modules/@babel/runtime/helpers/typeof.js ***! 317 \*******************************************************/ 318/*! no static exports found */ 319/***/ (function(module, exports) { 320 321function _typeof2(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof2(obj); } 322 323function _typeof(obj) { 324 if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") { 325 module.exports = _typeof = function _typeof(obj) { 326 return _typeof2(obj); 327 }; 328 } else { 329 module.exports = _typeof = function _typeof(obj) { 330 return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj); 331 }; 332 } 333 334 return _typeof(obj); 335} 336 337module.exports = _typeof; 338 339/***/ }), 340
vendor: 38,859 bytes, lines 341-369
341/***/ "./node_modules/@fonticonpicker/react-fonticonpicker/dist/fonticonpicker.react.js": 342/*!****************************************************************************************!*\ 343 !*** ./node_modules/@fonticonpicker/react-fonticonpicker/dist/fonticonpicker.react.js ***! 344 \****************************************************************************************/ 345/*! no static exports found */ 346/***/ (function(module, exports, __webpack_require__) { 347 348/*! 349 * 350 * React FontIconPicker 351 * 352 * React Component to show a picker element to pick font-icons & svg 353 * 354 * @author Swashata Ghosh <[email protected]> 355 * @version 1.2.0 356 * @link https://github.com/fontIconPicker/react-fonticonpicker 357 * @license MIT 358 * 359 * Copyright (c) 2018 Swashata Ghosh <[email protected]> 360 * 361 * This software is released under the MIT License. 362 * https://opensource.org/licenses/MIT 363 * 364 */ 365!function(e,t){ true?module.exports=t(__webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js"),__webpack_require__(/*! react */ "react"),__webpack_require__(/*! classnames */ "./node_modules/classnames/index.js"),__webpack_require__(/*! react-dom */ "react-dom"),__webpack_require__(/*! react-transition-group */ "./node_modules/react-transition-group/esm/index.js")):undefined}(window,function(e,t,r,n,a){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=15)}([function(t,r){t.exports=e},function(e,r){e.exports=t},function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object.defineProperty(t,"__esModule",{value:!0}),t.flattenPossiblyCategorizedSource=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(Array.isArray(e))return o(e);if(null!==t)return void 0!==e[t]?o(e[t]):[];var r=[],n=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){a(e,t,r[t])})}return e}({},e);return Object.keys(n).forEach(function(e){r=o(r).concat(o(n[e]))}),r},t.getPossibleCategories=function(e){return Array.isArray(e)?null:Object.keys(e)},t.convertToHex=function(e){return String.fromCodePoint(parseInt(e,10))},t.isArrayEqual=function(e,t){if(!Array.isArray(e)||!Array.isArray(t))return!1;var r=o(e);r.sort();var n=o(t);return n.sort(),JSON.stringify(r)===JSON.stringify(n)},t.getOffset=function(e){var t=e.getBoundingClientRect(),r=window.pageXOffset||document.documentElement.scrollLeft,n=window.pageYOffset||document.documentElement.scrollTop;return{top:t.top+n,left:t.left+r}},t.getSourceType=function(e){return null===e?"null":"object"!==n(e)||Array.isArray(e)?Array.isArray(e)?"array":n(e):"object"},t.InvalidSourceException=function(e,t){this.givenType=e,this.requiredType=t,this.message="Expected of type: ".concat(this.requiredType,", found: ").concat(this.givenType),this.toString=function(){return"Invalid Source Exception: ".concat(this.message)}},t.fuzzySearch=function(e,t){e=e.toLowerCase();var r=(t=t.toLowerCase()).length,n=e.length;if(n>r)return!1;if(n===r)return e===t;e:for(var a=0,o=0;a<n;a++){for(var l=e.codePointAt(a);o<r;)if(t.codePointAt(o++)===l)continue e;return!1}return!0},t.debounce=void 0,t.debounce=function(e,t){var r;return function(){var n=this,a=arguments;clearTimeout(r),r=setTimeout(function(){return e.apply(n,a)},t)}}},function(e,t){e.exports=r},,,function(e,t){e.exports=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=u(r(1)),a=r(6),o=u(r(0)),l=u(r(3)),i=r(2);function u(e){return e&&e.__esModule?e:{default:e}}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),e}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var p=function(e){function t(e){var r,n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this,n=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),r=!n||"object"!==c(n)&&"function"!=typeof n?d(this):n,Object.defineProperty(d(r),"syncPortalPosition",{configurable:!0,enumerable:!0,writable:!0,value:function(){r.resetPortalPosition(),r.fixWindowOverflow()}}),Object.defineProperty(d(r),"fixWindowOverflow",{configurable:!0,enumerable:!0,writable:!0,value:function(){var e=r.props.domRef.current.offsetWidth,t=r.props.domRef.current.offsetHeight,n=window,a=n.innerWidth,o=n.pageYOffset,l=document.documentElement.clientHeight,u=(0,i.getOffset)(r.props.domRef.current),c=u.left,s=u.top,f="self"===r.state.appendRoot?r.props.domRef.current:r.state.appendRoot,d=(0,i.getOffset)(f),p=r.props.btnRef.current,h=r.props.domRef.current,y=(0,i.getOffset)(p),b=getComputedStyle(p),g=(parseInt(b.borderTop,10)||0)+(parseInt(b.borderBottom,10)||0);if(c+e>a-20){var m=y.left+r.props.btnRef.current.offsetWidth-(e+d.left);m+d.left<0&&(m=10-d.left),h.style.left="".concat(m,"px")}t+s-o>l&&y.top-t>0&&("self"===r.state.appendRoot?h.style.top="-".concat(t-g,"px"):h.style.top="".concat(y.top+g-t,"px"))}}),r.state={},r.debouncedSyncPortalPosition=(0,i.debounce)(r.syncPortalPosition,250),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n.default.PureComponent),f(t,null,[{key:"getDerivedStateFromProps",value:function(e){var r=t.calculateAppendAndClass(e.appendRoot);return{appendRoot:r.appendRoot,portalClasses:r.portalClasses}}},{key:"calculateAppendAndClass",value:function(e){var t="self",r=(0,l.default)({"rfipdropdown--portal":!1!==e});return!1!==e&&(t=document.querySelector(e)),{portalClasses:r,appendRoot:t}}}]),f(t,[{key:"componentDidMount",value:function(){window.addEventListener("resize",this.debouncedSyncPortalPosition),window.addEventListener("scroll",this.debouncedSyncPortalPosition),this.syncPortalPosition()}},{key:"componentDidUpdate",value:function(){this.syncPortalPosition()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.debouncedSyncPortalPosition),window.removeEventListener("scroll",this.debouncedSyncPortalPosition)}},{key:"positionPortal",value:function(){var e=this.props.domRef.current.style.display;this.props.domRef.current.style.display="none";var t=this.props.btnRef.current,r=(0,i.getOffset)(t),n=(0,i.getOffset)(this.state.appendRoot),a=t.offsetHeight;this.props.domRef.current.style.left="".concat(r.left-n.left,"px"),this.props.domRef.current.style.top="".concat(r.top+a,"px"),this.props.domRef.current.style.display=e}},{key:"resetPortalPosition",value:function(){var e=this.props.domRef.current;"self"===this.state.appendRoot?e.style.top="":this.positionPortal()}},{key:"render",value:function(){var e=(0,l.default)(this.props.className,this.state.portalClasses),t=n.default.createElement("div",{className:e,ref:this.props.domRef},this.props.children);return"self"===this.state.appendRoot?t:(0,a.createPortal)(t,this.state.appendRoot)}}]),t}();Object.defineProperty(p,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{appendRoot:o.default.oneOfType([o.default.bool,o.default.string]),children:o.default.node.isRequired,domRef:o.default.object.isRequired,btnRef:o.default.object.isRequired,className:o.default.string.isRequired}}),Object.defineProperty(p,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{appendRoot:!1}});var h=p;t.default=h},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(1)),a=i(r(0)),o=i(r(3)),l=r(2);function i(e){return e&&e.__esModule?e:{default:e}}function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),e}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var p=function(e){function t(e){var r,n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this,n=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),r=!n||"object"!==u(n)&&"function"!=typeof n?d(this):n,Object.defineProperty(d(r),"handleChangePage",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=r.props.currentPage,o=r.state.totalPage;null!==n?"next"===n?a+=1:a-=1:a=parseInt(e.target.value,10)-1,a<0&&(a=0),a>o-1&&(a=o-1),t=a+1,null===n&&Number.isNaN(a)&&(a=0,t=""),r.setState({viewPage:t}),r.props.handleChangePage(a)}}),Object.defineProperty(d(r),"handlePageKeyBoard",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){13!==e.keyCode&&32!==e.keyCode||r.handleChangePage({},t)}}),Object.defineProperty(d(r),"handleChangeValue",{configurable:!0,enumerable:!0,writable:!0,value:function(e){r.props.handleChangeValue(e)}}),Object.defineProperty(d(r),"handleValueKeyboard",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){13!==e.keyCode&&32!==e.keyCode||r.handleChangeValue(t)}}),r.state={viewPage:r.props.currentPage+1},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n.default.PureComponent),f(t,null,[{key:"getDerivedStateFromProps",value:function(e,r){var n=t.getCategoryFilteredState(e.currentCategory,e.categories,e.icons),a=t.getCategoryFilteredState(e.currentCategory,e.categories,null===e.search?e.icons:e.search),o=t.getActiveIcons(n,a,e.currentSearch),l=o.activeIcons,i=o.activeTitles,u=e.currentPage,c=e.iconsPerPage,s={iconView:t.getCurrentViewIcons(l,c,u),titleView:t.getCurrentViewIcons(i,c,u),totalPage:Math.ceil(l.length/c)};return""!==r.viewPage&&(s.viewPage=e.currentPage+1),s}},{key:"getActiveIcons",value:function(e,t,r){var n=c(e),a=c(t);if(""===r||null===r)return{activeIcons:n,activeTitles:a};var o=[],i=[];return n.forEach(function(e,n){(0,l.fuzzySearch)(r,t[n])&&(o.push(e),i.push(t[n]))}),{activeIcons:o,activeTitles:i}}},{key:"getCategoryFilteredState",value:function(e,t,r){var n=null,a=(0,l.getSourceType)(r);if(Array.isArray(t)){if("object"!==a)throw new l.InvalidSourceException(a,"object")}else if("array"!==a)throw new l.InvalidSourceException(a,"array");return 0!==e&&Array.isArray(t)&&(n=t[e]||null),(0,l.flattenPossiblyCategorizedSource)(r,n)}},{key:"getCurrentViewIcons",value:function(e,t,r){var n=r*t,a=(r+1)*t;return e.slice(n,a)}}]),f(t,[{key:"renderPager",value:function(){var e=this;if(this.state.totalPage<1)return null;var t=this.props.currentPage>0?n.default.createElement("span",{className:"rfipicons__left",role:"button",tabIndex:0,onKeyDown:function(t){return e.handlePageKeyBoard(t,"prev")},onClick:function(t){return e.handleChangePage(t,"prev")}},n.default.createElement("span",{role:"presentation",className:"rfipicons__label","aria-label":"Left"},n.default.createElement("i",{className:"fipicon-angle-left"}))):null,r=this.props.currentPage<this.state.totalPage-1?n.default.createElement("span",{className:"rfipicons__right",role:"button",tabIndex:0,onKeyDown:function(t){return e.handlePageKeyBoard(t,"next")},onClick:function(t){return e.handleChangePage(t,"next")}},n.default.createElement("span",{role:"presentation",className:"rfipicons__label","aria-label":"Right"},n.default.createElement("i",{className:"fipicon-angle-right"}))):null;return n.default.createElement("div",{className:"rfipicons__pager"},n.default.createElement("div",{className:"rfipicons__num"},n.default.createElement("input",{value:this.state.viewPage,onChange:this.handleChangePage,className:"rfipicons__cp",type:"tel",min:1}),n.default.createElement("span",{className:"rfipicons__sp"},"/"),n.default.createElement("span",{className:"rfipicons__tp"},this.state.totalPage)),n.default.createElement("div",{className:"rfipicons__arrow"},t,r))}},{key:"renderIconView",value:function(){var e=this;return this.state.totalPage>0?this.state.iconView.map(function(t,r){var a=(0,o.default)("rfipicons__icon",{"rfipicons__icon--selected":e.props.value===t||Array.isArray(e.props.value)&&e.props.value.includes(t)});return n.default.createElement("span",{className:a,key:t,title:e.state.titleView[r]},n.default.createElement("span",{className:"rfipicons__ibox",tabIndex:0,role:"button",onClick:function(){return e.handleChangeValue(t)},onKeyDown:function(r){return e.handleValueKeyboard(r,t)}},e.props.renderIcon(t)))}):n.default.createElement("span",{className:"rfipicons__icon--error"},n.default.createElement("span",{className:"rfipicons__ibox--error"},this.props.noIconPlaceholder))}},{key:"render",value:function(){return n.default.createElement("div",{className:"rfipicons"},this.renderPager(),n.default.createElement("div",{className:"rfipicons__selector"},this.renderIconView()))}}]),t}();Object.defineProperty(p,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{categories:a.default.arrayOf(a.default.string),currentCategory:a.default.number,isMulti:a.default.bool.isRequired,icons:a.default.oneOfType([a.default.arrayOf(a.default.string),a.default.arrayOf(a.default.number),a.default.objectOf(a.default.oneOfType([a.default.arrayOf(a.default.number),a.default.arrayOf(a.default.string)]))]).isRequired,search:a.default.oneOfType([a.default.objectOf(a.default.arrayOf(a.default.string)),a.default.arrayOf(a.default.string)]),value:a.default.oneOfType([a.default.number,a.default.string,a.default.arrayOf(a.default.oneOfType([a.default.number,a.default.string]))]).isRequired,currentSearch:a.default.string.isRequired,handleChangeValue:a.default.func.isRequired,currentPage:a.default.number.isRequired,iconsPerPage:a.default.number.isRequired,handleChangePage:a.default.func.isRequired,renderIcon:a.default.func.isRequired,noIconPlaceholder:a.default.string.isRequired}}),Object.defineProperty(p,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{categories:null,currentCategory:null,search:null}});var h=p;t.default=h},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(1)),a=o(r(0));function o(e){return e&&e.__esModule?e:{default:e}}var l=function(e){return n.default.createElement("div",{className:"rfipsearch"},n.default.createElement("input",{type:"text",className:"rfipsearch__input",value:e.value,onChange:e.handleSearch,placeholder:e.placeholder}))};l.propTypes={handleSearch:a.default.func.isRequired,value:a.default.string.isRequired,placeholder:a.default.string.isRequired};var i=l;t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(1)),a=o(r(0));function o(e){return e&&e.__esModule?e:{default:e}}function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var u=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n.default.PureComponent),r=t,(a=[{key:"render",value:function(){return n.default.createElement("div",{className:"rfipcategory"},n.default.createElement("select",{className:"rfipcategory__select",onChange:this.props.handleCategory,value:this.props.value},this.props.categories.map(function(e,t){return n.default.createElement("option",{className:"rfipcategory__select__option",key:e,value:t},e)})),n.default.createElement("i",{className:"fipicon-angle-down",role:"presentation","aria-label":"Open"}))}}])&&i(r.prototype,a),t}();Object.defineProperty(u,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{handleCategory:a.default.func.isRequired,value:a.default.number.isRequired,categories:a.default.arrayOf(a.default.string).isRequired}});var c=u;t.default=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=c(r(1)),a=c(r(0)),o=c(r(10)),l=c(r(9)),i=c(r(8)),u=r(2);function c(e){return e&&e.__esModule?e:{default:e}}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),e}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var h=function(e){function t(e){var r,n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this,n=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),r=!n||"object"!==s(n)&&"function"!=typeof n?p(this):n,Object.defineProperty(p(r),"handleCategory",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=parseInt(e.target.value,10);Number.isNaN(t)&&(t=0),r.props.handleChangeCategory(t),r.props.handleChangePage(0)}}),Object.defineProperty(p(r),"handleSearch",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.target.value;r.props.handleChangeSearch(t)}}),r.state={},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n.default.PureComponent),d(t,null,[{key:"getDerivedStateFromProps",value:function(e){var t=(0,u.getPossibleCategories)(e.icons);return null!==t&&(t=[e.allCatPlaceholder].concat(function(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}(t))),{categories:t,searchString:e.currentSearch}}}]),d(t,[{key:"render",value:function(){return n.default.createElement("div",{className:"rfipdropdown__selector"},this.props.showSearch?n.default.createElement(l.default,{handleSearch:this.handleSearch,value:this.state.searchString,placeholder:this.props.searchPlaceholder}):null,this.props.showCategory&&this.state.categories&&this.state.categories.length?n.default.createElement(o.default,{handleCategory:this.handleCategory,value:this.props.currentCategory,categories:this.state.categories}):null,n.default.createElement(i.default,{categories:this.state.categories,currentCategory:this.props.currentCategory,isMulti:this.props.isMulti,icons:this.props.icons,search:this.props.search,value:this.props.value,currentSearch:this.props.currentSearch,handleChangeValue:this.props.handleChangeValue,currentPage:this.props.currentPage,iconsPerPage:this.props.iconsPerPage,handleChangePage:this.props.handleChangePage,renderIcon:this.props.renderIcon,noIconPlaceholder:this.props.noIconPlaceholder}))}}]),t}();Object.defineProperty(h,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{isMulti:a.default.bool.isRequired,value:a.default.oneOfType([a.default.number,a.default.string,a.default.arrayOf(a.default.any)]).isRequired,currentCategory:a.default.number.isRequired,currentPage:a.default.number.isRequired,currentSearch:a.default.string.isRequired,icons:a.default.oneOfType([a.default.arrayOf(a.default.number),a.default.arrayOf(a.default.string),a.default.objectOf(a.default.oneOfType([a.default.arrayOf(a.default.number),a.default.arrayOf(a.default.string)]))]).isRequired,search:a.default.oneOfType([a.default.object,a.default.arrayOf(a.default.string)]),showCategory:a.default.bool.isRequired,showSearch:a.default.bool.isRequired,iconsPerPage:a.default.number.isRequired,allCatPlaceholder:a.default.string.isRequired,searchPlaceholder:a.default.string.isRequired,noIconPlaceholder:a.default.string.isRequired,renderIcon:a.default.func.isRequired,handleChangeValue:a.default.func.isRequired,handleChangeCategory:a.default.func.isRequired,handleChangePage:a.default.func.isRequired,handleChangeSearch:a.default.func.isRequired}}),Object.defineProperty(h,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{search:null}});var y=h;t.default=y},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=l(r(1)),a=l(r(0)),o=l(r(3));function l(e){return e&&e.__esModule?e:{default:e}}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?f(e):t}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var d=function(e){function t(){var e,r,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,l=new Array(o),i=0;i<o;i++)l[i]=arguments[i];return s(a,(r=a=s(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),Object.defineProperty(f(a),"handleClick",{configurable:!0,enumerable:!0,writable:!0,value:function(){a.props.onClick()}}),Object.defineProperty(f(a),"handleKeyDown",{configurable:!0,enumerable:!0,writable:!0,value:function(e){32!==e.keyCode&&13!==e.keyCode||a.props.onClick()}}),Object.defineProperty(f(a),"handleDelete",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){e.stopPropagation(),a.props.handleDeleteValue(t)}}),Object.defineProperty(f(a),"handleDeleteKeyboard",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){32!==e.keyCode&&13!==e.keyCode||a.props.handleDeleteValue(t)}}),Object.defineProperty(f(a),"renderEmptyIcon",{configurable:!0,enumerable:!0,writable:!0,value:function(){return n.default.createElement("span",{className:"rfipbtn__icon--empty"},a.props.noSelectedPlaceholder)}}),r))}var r,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n.default.PureComponent),r=t,(a=[{key:"renderIcon",value:function(e){var t=this;return""===e||null===e||void 0===e?this.renderEmptyIcon():n.default.createElement("span",{className:"rfipbtn__icon",key:e},n.default.createElement("span",{className:"rfipbtn__elm"},this.props.renderIcon(e)),n.default.createElement("span",{className:"rfipbtn__del",onClick:function(r){return t.handleDelete(r,e)},onKeyDown:function(r){return t.handleDeleteKeyboard(r,e)},tabIndex:0,role:"button"},"×"))}},{key:"renderCurrentIcons",value:function(){var e=this;return this.props.isMulti?this.props.value.length?this.props.value.map(function(t){return e.renderIcon(t)}):this.renderEmptyIcon():this.renderIcon(this.props.value)}},{key:"render",value:function(){var e={onClick:this.handleClick,onKeyDown:this.handleKeyDown,onFocus:this.handleFocus,onBlur:this.handleBlur,tabIndex:0},t=(0,o.default)("rfipbtn__button","rfipbtn__button--".concat(this.props.isOpen?"open":"close")),r=(0,o.default)(this.props.className);return n.default.createElement("div",u({className:r,ref:this.props.domRef},e),n.default.createElement("div",{className:"rfipbtn__current"},this.renderCurrentIcons()),n.default.createElement("div",{className:t},n.default.createElement("i",{className:"fipicon-angle-down",role:"presentation","aria-label":"Open"})))}}])&&c(r.prototype,a),t}();Object.defineProperty(d,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:a.default.string.isRequired,isOpen:a.default.bool.isRequired,onClick:a.default.func.isRequired,domRef:a.default.object.isRequired,isMulti:a.default.bool.isRequired,value:a.default.oneOfType([a.default.number,a.default.string,a.default.arrayOf(a.default.oneOfType([a.default.number,a.default.string]))]).isRequired,renderIcon:a.default.func.isRequired,handleDeleteValue:a.default.func.isRequired,noSelectedPlaceholder:a.default.string.isRequired}});var p=d;t.default=p},function(e,t){e.exports=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=f(r(1)),a=f(r(0)),o=f(r(3)),l=r(13),i=f(r(12)),u=f(r(11)),c=f(r(7)),s=r(2);function f(e){return e&&e.__esModule?e:{default:e}}function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b(e,t,r){return t&&y(e.prototype,t),r&&y(e,r),e}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var m=[],v="",P=function(e){function t(e){var r,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this,a=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),r=!a||"object"!==d(a)&&"function"!=typeof a?g(this):a,Object.defineProperty(g(r),"handleOuterClick",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.target;r.isClickWithin(t)||r.closeDropdown()}}),Object.defineProperty(g(r),"handleEscapeKeyboard",{configurable:!0,enumerable:!0,writable:!0,value:function(e){27===e.keyCode&&r.closeDropdown()}}),Object.defineProperty(g(r),"isClickWithin",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return r.fipButtonRef.current.contains(e)||r.fipDropDownRef.current&&r.fipDropDownRef.current.contains(e)}}),Object.defineProperty(g(r),"handleToggle",{configurable:!0,enumerable:!0,writable:!0,value:function(){r.setState(function(e){return r.handleDropDown(!e.isOpen,!1)})}}),Object.defineProperty(g(r),"closeDropdown",{configurable:!0,enumerable:!0,writable:!0,value:function(){r.handleDropDown(!1)}}),Object.defineProperty(g(r),"handleDropDown",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a={isOpen:e};return a.elemClass=t.getDerivedClassName("rfip",r.props.theme,r.props.isMulti,e),a.btnClass=t.getDerivedClassName("rfipbtn",r.props.theme,r.props.isMulti,e),a.ddClass=t.getDerivedClassName("rfipdropdown",r.props.theme,r.props.isMulti,e),n&&r.setState(a),a}}),Object.defineProperty(g(r),"handleChangeValue",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t;r.props.isMulti?(t=p(r.state.value)).includes(e)?(t=t.filter(function(t){return t!==e})).length||(t=m):t.push(e):t=e===r.state.value?v:e,r.setState({value:t,isOpen:!r.props.closeOnSelect}),r.props.onChange(t)}}),Object.defineProperty(g(r),"handleDeleteValue",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var n;n=r.props.isMulti?r.state.value.filter(function(t){return t!==e}):t.getDerivedValue(n,r.props.isMulti),r.setState({value:n}),r.props.onChange(n)}}),Object.defineProperty(g(r),"handleChangePage",{configurable:!0,enumerable:!0,writable:!0,value:function(e){r.setState({currentPage:e})}}),Object.defineProperty(g(r),"handleChangeCategory",{configurable:!0,enumerable:!0,writable:!0,value:function(e){r.setState({currentCategory:e,currentPage:0})}}),Object.defineProperty(g(r),"handleChangeSearch",{configurable:!0,enumerable:!0,writable:!0,value:function(e){r.setState({currentSearch:e,currentPage:0})}}),Object.defineProperty(g(r),"resetPortalStyle",{configurable:!0,enumerable:!0,writable:!0,value:function(e){["maxHeight","paddingTop","paddingBottom"].forEach(function(t){e.style[t]=null})}}),Object.defineProperty(g(r),"handlePortalEnter",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];r.resetPortalStyle(t);var n=getComputedStyle(t);r.fipPortalComputedStyle={height:n.height,paddingTop:n.paddingTop,paddingBottom:n.paddingBottom},["maxHeight","paddingTop","paddingBottom"].forEach(function(e){t.style[e]="0px"})}}),Object.defineProperty(g(r),"handlePortalEntering",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];t.style.maxHeight=r.fipPortalComputedStyle.height,t.style.paddingTop=r.fipPortalComputedStyle.paddingTop,t.style.paddingBottom=r.fipPortalComputedStyle.paddingBottom}}),Object.defineProperty(g(r),"handlePortalEntered",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];r.resetPortalStyle(t),r.props.showSearch&&void 0===window.orientation&&-1===navigator.userAgent.indexOf("IEMobile")&&t.querySelector(".rfipsearch__input").focus()}}),Object.defineProperty(g(r),"handlePortalExit",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];r.resetPortalStyle(t);var n=getComputedStyle(t).height;t.style.maxHeight=n}}),Object.defineProperty(g(r),"handlePortalExiting",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];t.style.maxHeight="0px",t.style.paddingTop="0px",t.style.paddingBottom="0px"}}),Object.defineProperty(g(r),"renderIcon",{configurable:!0,enumerable:!0,writable:!0,value:function(e){if("function"==typeof r.props.renderFunc)return r.props.renderFunc(e);if("class"===r.props.renderUsing)return n.default.createElement("i",{className:e});var t=h({},r.props.renderUsing,r.props.convertHex?(0,s.convertToHex)(e):e);return n.default.createElement("i",t)}}),r.fipButtonRef=n.default.createRef(),r.fipDropDownRef=n.default.createRef(),r.state={currentCategory:0,currentPage:0,isOpen:!1,currentSearch:""},r.fipPortalComputedStyle=null,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n.default.PureComponent),b(t,null,[{key:"getDerivedStateFromProps",value:function(e,r){var n={};return n.elemClass=t.getDerivedClassName("rfip",e.theme,e.isMulti,r.isOpen),n.btnClass=t.getDerivedClassName("rfipbtn",e.theme,e.isMulti,r.isOpen),n.ddClass=t.getDerivedClassName("rfipdropdown",e.theme,e.isMulti,r.isOpen),n.value=t.getDerivedValue(e.value,e.isMulti),e.showCategory||(n.currentCategory=0,n.currentPage=0),e.showSearch||(n.currentSearch="",n.currentPage=0),n}},{key:"getDerivedClassName",value:function(e,t,r,n){return(0,o.default)(e,"".concat(e,"--").concat(t),h({},"".concat(e,"--multi"),r),"".concat(e,"--").concat(n?"open":"close"))}},{key:"getDerivedValue",value:function(e,t){var r=e;return t?r=Array.isArray(e)?p(e):m:"number"!=typeof e&&"string"!=typeof e&&(r=v),r}}]),b(t,[{key:"componentDidMount",value:function(){var e=this;["click"].forEach(function(t){document.addEventListener(t,e.handleOuterClick,!1)}),document.addEventListener("keydown",this.handleEscapeKeyboard,!1),this.props.onChange(this.state.value)}},{key:"componentWillUnmount",value:function(){var e=this;["click"].forEach(function(t){document.removeEventListener(t,e.handleOuterClick,!1)}),document.removeEventListener("keydown",this.handleEscapeKeyboard,!1)}},{key:"render",value:function(){var e={currentCategory:this.state.currentCategory,currentPage:this.state.currentPage,currentSearch:this.state.currentSearch,value:this.state.value,isMulti:this.props.isMulti,icons:this.props.icons,search:this.props.search,showCategory:this.props.showCategory,showSearch:this.props.showSearch,iconsPerPage:this.props.iconsPerPage,allCatPlaceholder:this.props.allCatPlaceholder,searchPlaceholder:this.props.searchPlaceholder,noIconPlaceholder:this.props.noIconPlaceholder,renderIcon:this.renderIcon,handleChangeValue:this.handleChangeValue,handleChangeCategory:this.handleChangeCategory,handleChangePage:this.handleChangePage,handleChangeSearch:this.handleChangeSearch};return n.default.createElement("div",{className:this.state.elemClass,ref:this.fipRef},n.default.createElement(i.default,{className:this.state.btnClass,isOpen:this.state.isOpen,onClick:this.handleToggle,domRef:this.fipButtonRef,isMulti:this.props.isMulti,value:this.state.value,renderIcon:this.renderIcon,handleDeleteValue:this.handleDeleteValue,noSelectedPlaceholder:this.props.noSelectedPlaceholder}),n.default.createElement(l.CSSTransition,{classNames:"fipappear",timeout:300,in:this.state.isOpen,unmountOnExit:!0,onEnter:this.handlePortalEnter,onEntering:this.handlePortalEntering,onEntered:this.handlePortalEntered,onExit:this.handlePortalExit,onExiting:this.handlePortalExiting},n.default.createElement(c.default,{appendRoot:this.props.appendTo,domRef:this.fipDropDownRef,btnRef:this.fipButtonRef,className:this.state.ddClass},n.default.createElement(u.default,e))))}}]),t}();Object.defineProperty(P,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{icons:a.default.oneOfType([a.default.arrayOf(a.default.string),a.default.arrayOf(a.default.number),a.default.objectOf(a.default.oneOfType([a.default.arrayOf(a.default.number),a.default.arrayOf(a.default.string)]))]).isRequired,search:a.default.oneOfType([a.default.objectOf(a.default.arrayOf(a.default.string)),a.default.arrayOf(a.default.string)]),iconsPerPage:a.default.number,theme:a.default.string,onChange:a.default.func.isRequired,showCategory:a.default.bool,showSearch:a.default.bool,value:a.default.oneOfType([a.default.arrayOf(a.default.string),a.default.arrayOf(a.default.number),a.default.number,a.default.string]),isMulti:a.default.bool,renderUsing:a.default.string,convertHex:a.default.bool,renderFunc:a.default.func,appendTo:a.default.oneOfType([a.default.bool,a.default.string]),allCatPlaceholder:a.default.string,searchPlaceholder:a.default.string,noIconPlaceholder:a.default.string,noSelectedPlaceholder:a.default.string,closeOnSelect:a.default.bool}}),Object.defineProperty(P,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{search:null,iconsPerPage:20,theme:"default",showCategory:!0,showSearch:!0,value:null,isMulti:!1,renderUsing:"class",convertHex:!0,renderFunc:null,appendTo:!1,allCatPlaceholder:"Show from all",searchPlaceholder:"Search Icons",noIconPlaceholder:"No icons found",noSelectedPlaceholder:"Select icon",closeOnSelect:!1}}),Object.defineProperty(P,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"FontIconPicker"});var O=P;t.default=O},function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=((n=r(14))&&n.__esModule?n:{default:n}).default;t.default=a}]).default}); 366 367 368/***/ }), 369
vendor: 1,764 bytes, lines 370-437
370/***/ "./node_modules/classnames/index.js": 371/*!******************************************!*\ 372 !*** ./node_modules/classnames/index.js ***! 373 \******************************************/ 374/*! no static exports found */ 375/***/ (function(module, exports, __webpack_require__) { 376 377var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! 378 Copyright (c) 2018 Jed Watson. 379 Licensed under the MIT License (MIT), see 380 http://jedwatson.github.io/classnames 381*/ 382/* global define */ 383 384(function () { 385 'use strict'; 386 387 var hasOwn = {}.hasOwnProperty; 388 389 function classNames() { 390 var classes = []; 391 392 for (var i = 0; i < arguments.length; i++) { 393 var arg = arguments[i]; 394 if (!arg) continue; 395 396 var argType = typeof arg; 397 398 if (argType === 'string' || argType === 'number') { 399 classes.push(arg); 400 } else if (Array.isArray(arg)) { 401 if (arg.length) { 402 var inner = classNames.apply(null, arg); 403 if (inner) { 404 classes.push(inner); 405 } 406 } 407 } else if (argType === 'object') { 408 if (arg.toString === Object.prototype.toString) { 409 for (var key in arg) { 410 if (hasOwn.call(arg, key) && arg[key]) { 411 classes.push(key); 412 } 413 } 414 } else { 415 classes.push(arg.toString()); 416 } 417 } 418 } 419 420 return classes.join(' '); 421 } 422 423 if (typeof module !== 'undefined' && module.exports) { 424 classNames.default = classNames; 425 module.exports = classNames; 426 } else if (true) { 427 // register as 'classnames', consistent with npm package name 428 !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () { 429 return classNames; 430 }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), 431 __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); 432 } else {} 433}()); 434 435 436/***/ }), 437
vendor: 1,069 bytes, lines 438-490
438/***/ "./node_modules/clsx/dist/clsx.m.js": 439/*!******************************************!*\ 440 !*** ./node_modules/clsx/dist/clsx.m.js ***! 441 \******************************************/ 442/*! exports provided: default */ 443/***/ (function(module, __webpack_exports__, __webpack_require__) { 444 445"use strict"; 446__webpack_require__.r(__webpack_exports__); 447function toVal(mix) { 448 var k, y, str=''; 449 450 if (typeof mix === 'string' || typeof mix === 'number') { 451 str += mix; 452 } else if (typeof mix === 'object') { 453 if (Array.isArray(mix)) { 454 for (k=0; k < mix.length; k++) { 455 if (mix[k]) { 456 if (y = toVal(mix[k])) { 457 str && (str += ' '); 458 str += y; 459 } 460 } 461 } 462 } else { 463 for (k in mix) { 464 if (mix[k]) { 465 str && (str += ' '); 466 str += k; 467 } 468 } 469 } 470 } 471 472 return str; 473} 474 475/* harmony default export */ __webpack_exports__["default"] = (function () { 476 var i=0, tmp, x, str=''; 477 while (i < arguments.length) { 478 if (tmp = arguments[i++]) { 479 if (x = toVal(tmp)) { 480 str && (str += ' '); 481 str += x 482 } 483 } 484 } 485 return str; 486}); 487 488 489/***/ }), 490
vendor: 2,409 bytes, lines 491-592
491/***/ "./node_modules/object-assign/index.js": 492/*!*********************************************!*\ 493 !*** ./node_modules/object-assign/index.js ***! 494 \*********************************************/ 495/*! no static exports found */ 496/***/ (function(module, exports, __webpack_require__) { 497 498"use strict"; 499/* 500object-assign 501(c) Sindre Sorhus 502@license MIT 503*/ 504 505 506/* eslint-disable no-unused-vars */ 507var getOwnPropertySymbols = Object.getOwnPropertySymbols; 508var hasOwnProperty = Object.prototype.hasOwnProperty; 509var propIsEnumerable = Object.prototype.propertyIsEnumerable; 510 511function toObject(val) { 512 if (val === null || val === undefined) { 513 throw new TypeError('Object.assign cannot be called with null or undefined'); 514 } 515 516 return Object(val); 517} 518 519function shouldUseNative() { 520 try { 521 if (!Object.assign) { 522 return false; 523 } 524 525 // Detect buggy property enumeration order in older V8 versions. 526 527 // https://bugs.chromium.org/p/v8/issues/detail?id=4118 528 var test1 = new String('abc'); // eslint-disable-line no-new-wrappers 529 test1[5] = 'de'; 530 if (Object.getOwnPropertyNames(test1)[0] === '5') { 531 return false; 532 } 533 534 // https://bugs.chromium.org/p/v8/issues/detail?id=3056 535 var test2 = {}; 536 for (var i = 0; i < 10; i++) { 537 test2['_' + String.fromCharCode(i)] = i; 538 } 539 var order2 = Object.getOwnPropertyNames(test2).map(function (n) { 540 return test2[n]; 541 }); 542 if (order2.join('') !== '0123456789') { 543 return false; 544 } 545 546 // https://bugs.chromium.org/p/v8/issues/detail?id=3056 547 var test3 = {}; 548 'abcdefghijklmnopqrst'.split('').forEach(function (letter) { 549 test3[letter] = letter; 550 }); 551 if (Object.keys(Object.assign({}, test3)).join('') !== 552 'abcdefghijklmnopqrst') { 553 return false; 554 } 555 556 return true; 557 } catch (err) { 558 // We don't expect any of the above to throw, but better to be safe. 559 return false; 560 } 561} 562 563module.exports = shouldUseNative() ? Object.assign : function (target, source) { 564 var from; 565 var to = toObject(target); 566 var symbols; 567 568 for (var s = 1; s < arguments.length; s++) { 569 from = Object(arguments[s]); 570 571 for (var key in from) { 572 if (hasOwnProperty.call(from, key)) { 573 to[key] = from[key]; 574 } 575 } 576 577 if (getOwnPropertySymbols) { 578 symbols = getOwnPropertySymbols(from); 579 for (var i = 0; i < symbols.length; i++) { 580 if (propIsEnumerable.call(from, symbols[i])) { 581 to[symbols[i]] = from[symbols[i]]; 582 } 583 } 584 } 585 } 586 587 return to; 588}; 589 590 591/***/ }), 592
vendor: 4,080 bytes, lines 593-706
593/***/ "./node_modules/prop-types/checkPropTypes.js": 594/*!***************************************************!*\ 595 !*** ./node_modules/prop-types/checkPropTypes.js ***! 596 \***************************************************/ 597/*! no static exports found */ 598/***/ (function(module, exports, __webpack_require__) { 599 600"use strict"; 601/** 602 * Copyright (c) 2013-present, Facebook, Inc. 603 * 604 * This source code is licensed under the MIT license found in the 605 * LICENSE file in the root directory of this source tree. 606 */ 607 608 609 610var printWarning = function() {}; 611 612if (true) { 613 var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "./node_modules/prop-types/lib/ReactPropTypesSecret.js"); 614 var loggedTypeFailures = {}; 615 var has = Function.call.bind(Object.prototype.hasOwnProperty); 616 617 printWarning = function(text) { 618 var message = 'Warning: ' + text; 619 if (typeof console !== 'undefined') { 620 console.error(message); 621 } 622 try { 623 // --- Welcome to debugging React --- 624 // This error was thrown as a convenience so that you can use this stack 625 // to find the callsite that caused this warning to fire. 626 throw new Error(message); 627 } catch (x) {} 628 }; 629} 630 631/** 632 * Assert that the values match with the type specs. 633 * Error messages are memorized and will only be shown once. 634 * 635 * @param {object} typeSpecs Map of name to a ReactPropType 636 * @param {object} values Runtime values that need to be type-checked 637 * @param {string} location e.g. "prop", "context", "child context" 638 * @param {string} componentName Name of the component for error messages. 639 * @param {?Function} getStack Returns the component stack. 640 * @private 641 */ 642function checkPropTypes(typeSpecs, values, location, componentName, getStack) { 643 if (true) { 644 for (var typeSpecName in typeSpecs) { 645 if (has(typeSpecs, typeSpecName)) { 646 var error; 647 // Prop type validation may throw. In case they do, we don't want to 648 // fail the render phase where it didn't fail before. So we log it. 649 // After these have been cleaned up, we'll let them throw. 650 try { 651 // This is intentionally an invariant that gets caught. It's the same 652 // behavior as without this statement except with a better message. 653 if (typeof typeSpecs[typeSpecName] !== 'function') { 654 var err = Error( 655 (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 656 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' 657 ); 658 err.name = 'Invariant Violation'; 659 throw err; 660 } 661 error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret); 662 } catch (ex) { 663 error = ex; 664 } 665 if (error && !(error instanceof Error)) { 666 printWarning( 667 (componentName || 'React class') + ': type specification of ' + 668 location + ' `' + typeSpecName + '` is invalid; the type checker ' + 669 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' + 670 'You may have forgotten to pass an argument to the type checker ' + 671 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 672 'shape all require an argument).' 673 ); 674 } 675 if (error instanceof Error && !(error.message in loggedTypeFailures)) { 676 // Only monitor this failure once because there tends to be a lot of the 677 // same error. 678 loggedTypeFailures[error.message] = true; 679 680 var stack = getStack ? getStack() : ''; 681 682 printWarning( 683 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '') 684 ); 685 } 686 } 687 } 688 } 689} 690 691/** 692 * Resets warning cache when testing. 693 * 694 * @private 695 */ 696checkPropTypes.resetWarningCache = function() { 697 if (true) { 698 loggedTypeFailures = {}; 699 } 700} 701 702module.exports = checkPropTypes; 703 704 705/***/ }), 706
vendor: 22,034 bytes, lines 707-1309
707/***/ "./node_modules/prop-types/factoryWithTypeCheckers.js": 708/*!************************************************************!*\ 709 !*** ./node_modules/prop-types/factoryWithTypeCheckers.js ***! 710 \************************************************************/ 711/*! no static exports found */ 712/***/ (function(module, exports, __webpack_require__) { 713 714"use strict"; 715/** 716 * Copyright (c) 2013-present, Facebook, Inc. 717 * 718 * This source code is licensed under the MIT license found in the 719 * LICENSE file in the root directory of this source tree. 720 */ 721 722 723 724var ReactIs = __webpack_require__(/*! react-is */ "./node_modules/react-is/index.js"); 725var assign = __webpack_require__(/*! object-assign */ "./node_modules/object-assign/index.js"); 726 727var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "./node_modules/prop-types/lib/ReactPropTypesSecret.js"); 728var checkPropTypes = __webpack_require__(/*! ./checkPropTypes */ "./node_modules/prop-types/checkPropTypes.js"); 729 730var has = Function.call.bind(Object.prototype.hasOwnProperty); 731var printWarning = function() {}; 732 733if (true) { 734 printWarning = function(text) { 735 var message = 'Warning: ' + text; 736 if (typeof console !== 'undefined') { 737 console.error(message); 738 } 739 try { 740 // --- Welcome to debugging React --- 741 // This error was thrown as a convenience so that you can use this stack 742 // to find the callsite that caused this warning to fire. 743 throw new Error(message); 744 } catch (x) {} 745 }; 746} 747 748function emptyFunctionThatReturnsNull() { 749 return null; 750} 751 752module.exports = function(isValidElement, throwOnDirectAccess) { 753 /* global Symbol */ 754 var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator; 755 var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec. 756 757 /** 758 * Returns the iterator method function contained on the iterable object. 759 * 760 * Be sure to invoke the function with the iterable as context: 761 * 762 * var iteratorFn = getIteratorFn(myIterable); 763 * if (iteratorFn) { 764 * var iterator = iteratorFn.call(myIterable); 765 * ... 766 * } 767 * 768 * @param {?object} maybeIterable 769 * @return {?function} 770 */ 771 function getIteratorFn(maybeIterable) { 772 var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]); 773 if (typeof iteratorFn === 'function') { 774 return iteratorFn; 775 } 776 } 777 778 /** 779 * Collection of methods that allow declaration and validation of props that are 780 * supplied to React components. Example usage: 781 * 782 * var Props = require('ReactPropTypes'); 783 * var MyArticle = React.createClass({ 784 * propTypes: { 785 * // An optional string prop named "description". 786 * description: Props.string, 787 * 788 * // A required enum prop named "category". 789 * category: Props.oneOf(['News','Photos']).isRequired, 790 * 791 * // A prop named "dialog" that requires an instance of Dialog. 792 * dialog: Props.instanceOf(Dialog).isRequired 793 * }, 794 * render: function() { ... } 795 * }); 796 * 797 * A more formal specification of how these methods are used: 798 * 799 * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...) 800 * decl := ReactPropTypes.{type}(.isRequired)? 801 * 802 * Each and every declaration produces a function with the same signature. This 803 * allows the creation of custom validation functions. For example: 804 * 805 * var MyLink = React.createClass({ 806 * propTypes: { 807 * // An optional string or URI prop named "href". 808 * href: function(props, propName, componentName) { 809 * var propValue = props[propName]; 810 * if (propValue != null && typeof propValue !== 'string' && 811 * !(propValue instanceof URI)) { 812 * return new Error( 813 * 'Expected a string or an URI for ' + propName + ' in ' + 814 * componentName 815 * ); 816 * } 817 * } 818 * }, 819 * render: function() {...} 820 * }); 821 * 822 * @internal 823 */ 824 825 var ANONYMOUS = '<<anonymous>>'; 826 827 // Important! 828 // Keep this list in sync with production version in `./factoryWithThrowingShims.js`. 829 var ReactPropTypes = { 830 array: createPrimitiveTypeChecker('array'), 831 bool: createPrimitiveTypeChecker('boolean'), 832 func: createPrimitiveTypeChecker('function'), 833 number: createPrimitiveTypeChecker('number'), 834 object: createPrimitiveTypeChecker('object'), 835 string: createPrimitiveTypeChecker('string'), 836 symbol: createPrimitiveTypeChecker('symbol'), 837 838 any: createAnyTypeChecker(), 839 arrayOf: createArrayOfTypeChecker, 840 element: createElementTypeChecker(), 841 elementType: createElementTypeTypeChecker(), 842 instanceOf: createInstanceTypeChecker, 843 node: createNodeChecker(), 844 objectOf: createObjectOfTypeChecker, 845 oneOf: createEnumTypeChecker, 846 oneOfType: createUnionTypeChecker, 847 shape: createShapeTypeChecker, 848 exact: createStrictShapeTypeChecker, 849 }; 850 851 /** 852 * inlined Object.is polyfill to avoid requiring consumers ship their own 853 * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is 854 */ 855 /*eslint-disable no-self-compare*/ 856 function is(x, y) { 857 // SameValue algorithm 858 if (x === y) { 859 // Steps 1-5, 7-10 860 // Steps 6.b-6.e: +0 != -0 861 return x !== 0 || 1 / x === 1 / y; 862 } else { 863 // Step 6.a: NaN == NaN 864 return x !== x && y !== y; 865 } 866 } 867 /*eslint-enable no-self-compare*/ 868 869 /** 870 * We use an Error-like object for backward compatibility as people may call 871 * PropTypes directly and inspect their output. However, we don't use real 872 * Errors anymore. We don't inspect their stack anyway, and creating them 873 * is prohibitively expensive if they are created too often, such as what 874 * happens in oneOfType() for any type before the one that matched. 875 */ 876 function PropTypeError(message) { 877 this.message = message; 878 this.stack = ''; 879 } 880 // Make `instanceof Error` still work for returned errors. 881 PropTypeError.prototype = Error.prototype; 882 883 function createChainableTypeChecker(validate) { 884 if (true) { 885 var manualPropTypeCallCache = {}; 886 var manualPropTypeWarningCount = 0; 887 } 888 function checkType(isRequired, props, propName, componentName, location, propFullName, secret) { 889 componentName = componentName || ANONYMOUS; 890 propFullName = propFullName || propName; 891 892 if (secret !== ReactPropTypesSecret) { 893 if (throwOnDirectAccess) { 894 // New behavior only for users of `prop-types` package 895 var err = new Error( 896 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' + 897 'Use `PropTypes.checkPropTypes()` to call them. ' + 898 'Read more at http://fb.me/use-check-prop-types' 899 ); 900 err.name = 'Invariant Violation'; 901 throw err; 902 } else if ("development" !== 'production' && typeof console !== 'undefined') { 903 // Old behavior for people using React.PropTypes 904 var cacheKey = componentName + ':' + propName; 905 if ( 906 !manualPropTypeCallCache[cacheKey] && 907 // Avoid spamming the console because they are often not actionable except for lib authors 908 manualPropTypeWarningCount < 3 909 ) { 910 printWarning( 911 'You are manually calling a React.PropTypes validation ' + 912 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' + 913 'and will throw in the standalone `prop-types` package. ' + 914 'You may be seeing this warning due to a third-party PropTypes ' + 915 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.' 916 ); 917 manualPropTypeCallCache[cacheKey] = true; 918 manualPropTypeWarningCount++; 919 } 920 } 921 } 922 if (props[propName] == null) { 923 if (isRequired) { 924 if (props[propName] === null) { 925 return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.')); 926 } 927 return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.')); 928 } 929 return null; 930 } else { 931 return validate(props, propName, componentName, location, propFullName); 932 } 933 } 934 935 var chainedCheckType = checkType.bind(null, false); 936 chainedCheckType.isRequired = checkType.bind(null, true); 937 938 return chainedCheckType; 939 } 940 941 function createPrimitiveTypeChecker(expectedType) { 942 function validate(props, propName, componentName, location, propFullName, secret) { 943 var propValue = props[propName]; 944 var propType = getPropType(propValue); 945 if (propType !== expectedType) { 946 // `propValue` being instance of, say, date/regexp, pass the 'object' 947 // check, but we can offer a more precise error message here rather than 948 // 'of type `object`'. 949 var preciseType = getPreciseType(propValue); 950 951 return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.')); 952 } 953 return null; 954 } 955 return createChainableTypeChecker(validate); 956 } 957 958 function createAnyTypeChecker() { 959 return createChainableTypeChecker(emptyFunctionThatReturnsNull); 960 } 961 962 function createArrayOfTypeChecker(typeChecker) { 963 function validate(props, propName, componentName, location, propFullName) { 964 if (typeof typeChecker !== 'function') { 965 return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.'); 966 } 967 var propValue = props[propName]; 968 if (!Array.isArray(propValue)) { 969 var propType = getPropType(propValue); 970 return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.')); 971 } 972 for (var i = 0; i < propValue.length; i++) { 973 var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret); 974 if (error instanceof Error) { 975 return error; 976 } 977 } 978 return null; 979 } 980 return createChainableTypeChecker(validate); 981 } 982 983 function createElementTypeChecker() { 984 function validate(props, propName, componentName, location, propFullName) { 985 var propValue = props[propName]; 986 if (!isValidElement(propValue)) { 987 var propType = getPropType(propValue); 988 return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.')); 989 } 990 return null; 991 } 992 return createChainableTypeChecker(validate); 993 } 994 995 function createElementTypeTypeChecker() { 996 function validate(props, propName, componentName, location, propFullName) { 997 var propValue = props[propName]; 998 if (!ReactIs.isValidElementType(propValue)) { 999 var propType = getPropType(propValue); 1000 return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.')); 1001 } 1002 return null; 1003 } 1004 return createChainableTypeChecker(validate); 1005 } 1006 1007 function createInstanceTypeChecker(expectedClass) { 1008 function validate(props, propName, componentName, location, propFullName) { 1009 if (!(props[propName] instanceof expectedClass)) { 1010 var expectedClassName = expectedClass.name || ANONYMOUS; 1011 var actualClassName = getClassName(props[propName]); 1012 return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.')); 1013 } 1014 return null; 1015 } 1016 return createChainableTypeChecker(validate); 1017 } 1018 1019 function createEnumTypeChecker(expectedValues) { 1020 if (!Array.isArray(expectedValues)) { 1021 if (true) { 1022 if (arguments.length > 1) { 1023 printWarning( 1024 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' + 1025 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).' 1026 ); 1027 } else { 1028 printWarning('Invalid argument supplied to oneOf, expected an array.'); 1029 } 1030 } 1031 return emptyFunctionThatReturnsNull; 1032 } 1033 1034 function validate(props, propName, componentName, location, propFullName) { 1035 var propValue = props[propName]; 1036 for (var i = 0; i < expectedValues.length; i++) { 1037 if (is(propValue, expectedValues[i])) { 1038 return null; 1039 } 1040 } 1041 1042 var valuesString = JSON.stringify(expectedValues, function replacer(key, value) { 1043 var type = getPreciseType(value); 1044 if (type === 'symbol') { 1045 return String(value); 1046 } 1047 return value; 1048 }); 1049 return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.')); 1050 } 1051 return createChainableTypeChecker(validate); 1052 } 1053 1054 function createObjectOfTypeChecker(typeChecker) { 1055 function validate(props, propName, componentName, location, propFullName) { 1056 if (typeof typeChecker !== 'function') { 1057 return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.'); 1058 } 1059 var propValue = props[propName]; 1060 var propType = getPropType(propValue); 1061 if (propType !== 'object') { 1062 return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.')); 1063 } 1064 for (var key in propValue) { 1065 if (has(propValue, key)) { 1066 var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret); 1067 if (error instanceof Error) { 1068 return error; 1069 } 1070 } 1071 } 1072 return null; 1073 } 1074 return createChainableTypeChecker(validate); 1075 } 1076 1077 function createUnionTypeChecker(arrayOfTypeCheckers) { 1078 if (!Array.isArray(arrayOfTypeCheckers)) { 1079 true ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : undefined; 1080 return emptyFunctionThatReturnsNull; 1081 } 1082 1083 for (var i = 0; i < arrayOfTypeCheckers.length; i++) { 1084 var checker = arrayOfTypeCheckers[i]; 1085 if (typeof checker !== 'function') { 1086 printWarning( 1087 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' + 1088 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.' 1089 ); 1090 return emptyFunctionThatReturnsNull; 1091 } 1092 } 1093 1094 function validate(props, propName, componentName, location, propFullName) { 1095 for (var i = 0; i < arrayOfTypeCheckers.length; i++) { 1096 var checker = arrayOfTypeCheckers[i]; 1097 if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) { 1098 return null; 1099 } 1100 } 1101 1102 return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.')); 1103 } 1104 return createChainableTypeChecker(validate); 1105 } 1106 1107 function createNodeChecker() { 1108 function validate(props, propName, componentName, location, propFullName) { 1109 if (!isNode(props[propName])) { 1110 return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.')); 1111 } 1112 return null; 1113 } 1114 return createChainableTypeChecker(validate); 1115 } 1116 1117 function createShapeTypeChecker(shapeTypes) { 1118 function validate(props, propName, componentName, location, propFullName) { 1119 var propValue = props[propName]; 1120 var propType = getPropType(propValue); 1121 if (propType !== 'object') { 1122 return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.')); 1123 } 1124 for (var key in shapeTypes) { 1125 var checker = shapeTypes[key]; 1126 if (!checker) { 1127 continue; 1128 } 1129 var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret); 1130 if (error) { 1131 return error; 1132 } 1133 } 1134 return null; 1135 } 1136 return createChainableTypeChecker(validate); 1137 } 1138 1139 function createStrictShapeTypeChecker(shapeTypes) { 1140 function validate(props, propName, componentName, location, propFullName) { 1141 var propValue = props[propName]; 1142 var propType = getPropType(propValue); 1143 if (propType !== 'object') { 1144 return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.')); 1145 } 1146 // We need to check all keys in case some are required but missing from 1147 // props. 1148 var allKeys = assign({}, props[propName], shapeTypes); 1149 for (var key in allKeys) { 1150 var checker = shapeTypes[key]; 1151 if (!checker) { 1152 return new PropTypeError( 1153 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' + 1154 '\nBad object: ' + JSON.stringify(props[propName], null, ' ') + 1155 '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ') 1156 ); 1157 } 1158 var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret); 1159 if (error) { 1160 return error; 1161 } 1162 } 1163 return null; 1164 } 1165 1166 return createChainableTypeChecker(validate); 1167 } 1168 1169 function isNode(propValue) { 1170 switch (typeof propValue) { 1171 case 'number': 1172 case 'string': 1173 case 'undefined': 1174 return true; 1175 case 'boolean': 1176 return !propValue; 1177 case 'object': 1178 if (Array.isArray(propValue)) { 1179 return propValue.every(isNode); 1180 } 1181 if (propValue === null || isValidElement(propValue)) { 1182 return true; 1183 } 1184 1185 var iteratorFn = getIteratorFn(propValue); 1186 if (iteratorFn) { 1187 var iterator = iteratorFn.call(propValue); 1188 var step; 1189 if (iteratorFn !== propValue.entries) { 1190 while (!(step = iterator.next()).done) { 1191 if (!isNode(step.value)) { 1192 return false; 1193 } 1194 } 1195 } else { 1196 // Iterator will provide entry [k,v] tuples rather than values. 1197 while (!(step = iterator.next()).done) { 1198 var entry = step.value; 1199 if (entry) { 1200 if (!isNode(entry[1])) { 1201 return false; 1202 } 1203 } 1204 } 1205 } 1206 } else { 1207 return false; 1208 } 1209 1210 return true; 1211 default: 1212 return false; 1213 } 1214 } 1215 1216 function isSymbol(propType, propValue) { 1217 // Native Symbol. 1218 if (propType === 'symbol') { 1219 return true; 1220 } 1221 1222 // falsy value can't be a Symbol 1223 if (!propValue) { 1224 return false; 1225 } 1226 1227 // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol' 1228 if (propValue['@@toStringTag'] === 'Symbol') { 1229 return true; 1230 } 1231 1232 // Fallback for non-spec compliant Symbols which are polyfilled. 1233 if (typeof Symbol === 'function' && propValue instanceof Symbol) { 1234 return true; 1235 } 1236 1237 return false; 1238 } 1239 1240 // Equivalent of `typeof` but with special handling for array and regexp. 1241 function getPropType(propValue) { 1242 var propType = typeof propValue; 1243 if (Array.isArray(propValue)) { 1244 return 'array'; 1245 } 1246 if (propValue instanceof RegExp) { 1247 // Old webkits (at least until Android 4.0) return 'function' rather than 1248 // 'object' for typeof a RegExp. We'll normalize this here so that /bla/ 1249 // passes PropTypes.object. 1250 return 'object'; 1251 } 1252 if (isSymbol(propType, propValue)) { 1253 return 'symbol'; 1254 } 1255 return propType; 1256 } 1257 1258 // This handles more types than `getPropType`. Only used for error messages. 1259 // See `createPrimitiveTypeChecker`. 1260 function getPreciseType(propValue) { 1261 if (typeof propValue === 'undefined' || propValue === null) { 1262 return '' + propValue; 1263 } 1264 var propType = getPropType(propValue); 1265 if (propType === 'object') { 1266 if (propValue instanceof Date) { 1267 return 'date'; 1268 } else if (propValue instanceof RegExp) { 1269 return 'regexp'; 1270 } 1271 } 1272 return propType; 1273 } 1274 1275 // Returns a string that is postfixed to a warning about an invalid type. 1276 // For example, "undefined" or "of type array" 1277 function getPostfixForTypeWarning(value) { 1278 var type = getPreciseType(value); 1279 switch (type) { 1280 case 'array': 1281 case 'object': 1282 return 'an ' + type; 1283 case 'boolean': 1284 case 'date': 1285 case 'regexp': 1286 return 'a ' + type; 1287 default: 1288 return type; 1289 } 1290 } 1291 1292 // Returns class name of the object, if any. 1293 function getClassName(propValue) { 1294 if (!propValue.constructor || !propValue.constructor.name) { 1295 return ANONYMOUS; 1296 } 1297 return propValue.constructor.name; 1298 } 1299 1300 ReactPropTypes.checkPropTypes = checkPropTypes; 1301 ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache; 1302 ReactPropTypes.PropTypes = ReactPropTypes; 1303 1304 return ReactPropTypes; 1305}; 1306 1307 1308/***/ }), 1309
vendor: 908 bytes, lines 1310-1335
1310/***/ "./node_modules/prop-types/index.js": 1311/*!******************************************!*\ 1312 !*** ./node_modules/prop-types/index.js ***! 1313 \******************************************/ 1314/*! no static exports found */ 1315/***/ (function(module, exports, __webpack_require__) { 1316 1317/** 1318 * Copyright (c) 2013-present, Facebook, Inc. 1319 * 1320 * This source code is licensed under the MIT license found in the 1321 * LICENSE file in the root directory of this source tree. 1322 */ 1323 1324if (true) { 1325 var ReactIs = __webpack_require__(/*! react-is */ "./node_modules/react-is/index.js"); 1326 1327 // By explicitly using `prop-types` you are opting into new development behavior. 1328 // http://fb.me/prop-types-in-prod 1329 var throwOnDirectAccess = true; 1330 module.exports = __webpack_require__(/*! ./factoryWithTypeCheckers */ "./node_modules/prop-types/factoryWithTypeCheckers.js")(ReactIs.isElement, throwOnDirectAccess); 1331} else {} 1332 1333 1334/***/ }), 1335
vendor: 679 bytes, lines 1336-1359
1336/***/ "./node_modules/prop-types/lib/ReactPropTypesSecret.js": 1337/*!*************************************************************!*\ 1338 !*** ./node_modules/prop-types/lib/ReactPropTypesSecret.js ***! 1339 \*************************************************************/ 1340/*! no static exports found */ 1341/***/ (function(module, exports, __webpack_require__) { 1342 1343"use strict"; 1344/** 1345 * Copyright (c) 2013-present, Facebook, Inc. 1346 * 1347 * This source code is licensed under the MIT license found in the 1348 * LICENSE file in the root directory of this source tree. 1349 */ 1350 1351 1352 1353var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'; 1354 1355module.exports = ReactPropTypesSecret; 1356 1357 1358/***/ }), 1359
vendor: 8,390 bytes, lines 1360-1598
1360/***/ "./node_modules/react-is/cjs/react-is.development.js": 1361/*!***********************************************************!*\ 1362 !*** ./node_modules/react-is/cjs/react-is.development.js ***! 1363 \***********************************************************/ 1364/*! no static exports found */ 1365/***/ (function(module, exports, __webpack_require__) { 1366 1367"use strict"; 1368/** @license React v16.8.6 1369 * react-is.development.js 1370 * 1371 * Copyright (c) Facebook, Inc. and its affiliates. 1372 * 1373 * This source code is licensed under the MIT license found in the 1374 * LICENSE file in the root directory of this source tree. 1375 */ 1376 1377 1378 1379 1380 1381if (true) { 1382 (function() { 1383'use strict'; 1384 1385Object.defineProperty(exports, '__esModule', { value: true }); 1386 1387// The Symbol used to tag the ReactElement-like types. If there is no native Symbol 1388// nor polyfill, then a plain number is used for performance. 1389var hasSymbol = typeof Symbol === 'function' && Symbol.for; 1390 1391var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7; 1392var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca; 1393var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb; 1394var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc; 1395var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2; 1396var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd; 1397var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; 1398var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf; 1399var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf; 1400var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0; 1401var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1; 1402var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3; 1403var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4; 1404 1405function isValidElementType(type) { 1406 return typeof type === 'string' || typeof type === 'function' || 1407 // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. 1408 type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE); 1409} 1410 1411/** 1412 * Forked from fbjs/warning: 1413 * https://github.com/facebook/fbjs/blob/e66ba20ad5be433eb54423f2b097d829324d9de6/packages/fbjs/src/__forks__/warning.js 1414 * 1415 * Only change is we use console.warn instead of console.error, 1416 * and do nothing when 'console' is not supported. 1417 * This really simplifies the code. 1418 * --- 1419 * Similar to invariant but only logs a warning if the condition is not met. 1420 * This can be used to log issues in development environments in critical 1421 * paths. Removing the logging code for production environments will keep the 1422 * same logic and follow the same code paths. 1423 */ 1424 1425var lowPriorityWarning = function () {}; 1426 1427{ 1428 var printWarning = function (format) { 1429 for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { 1430 args[_key - 1] = arguments[_key]; 1431 } 1432 1433 var argIndex = 0; 1434 var message = 'Warning: ' + format.replace(/%s/g, function () { 1435 return args[argIndex++]; 1436 }); 1437 if (typeof console !== 'undefined') { 1438 console.warn(message); 1439 } 1440 try { 1441 // --- Welcome to debugging React --- 1442 // This error was thrown as a convenience so that you can use this stack 1443 // to find the callsite that caused this warning to fire. 1444 throw new Error(message); 1445 } catch (x) {} 1446 }; 1447 1448 lowPriorityWarning = function (condition, format) { 1449 if (format === undefined) { 1450 throw new Error('`lowPriorityWarning(condition, format, ...args)` requires a warning ' + 'message argument'); 1451 } 1452 if (!condition) { 1453 for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) { 1454 args[_key2 - 2] = arguments[_key2]; 1455 } 1456 1457 printWarning.apply(undefined, [format].concat(args)); 1458 } 1459 }; 1460} 1461 1462var lowPriorityWarning$1 = lowPriorityWarning; 1463 1464function typeOf(object) { 1465 if (typeof object === 'object' && object !== null) { 1466 var $$typeof = object.$$typeof; 1467 switch ($$typeof) { 1468 case REACT_ELEMENT_TYPE: 1469 var type = object.type; 1470 1471 switch (type) { 1472 case REACT_ASYNC_MODE_TYPE: 1473 case REACT_CONCURRENT_MODE_TYPE: 1474 case REACT_FRAGMENT_TYPE: 1475 case REACT_PROFILER_TYPE: 1476 case REACT_STRICT_MODE_TYPE: 1477 case REACT_SUSPENSE_TYPE: 1478 return type; 1479 default: 1480 var $$typeofType = type && type.$$typeof; 1481 1482 switch ($$typeofType) { 1483 case REACT_CONTEXT_TYPE: 1484 case REACT_FORWARD_REF_TYPE: 1485 case REACT_PROVIDER_TYPE: 1486 return $$typeofType; 1487 default: 1488 return $$typeof; 1489 } 1490 } 1491 case REACT_LAZY_TYPE: 1492 case REACT_MEMO_TYPE: 1493 case REACT_PORTAL_TYPE: 1494 return $$typeof; 1495 } 1496 } 1497 1498 return undefined; 1499} 1500 1501// AsyncMode is deprecated along with isAsyncMode 1502var AsyncMode = REACT_ASYNC_MODE_TYPE; 1503var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE; 1504var ContextConsumer = REACT_CONTEXT_TYPE; 1505var ContextProvider = REACT_PROVIDER_TYPE; 1506var Element = REACT_ELEMENT_TYPE; 1507var ForwardRef = REACT_FORWARD_REF_TYPE; 1508var Fragment = REACT_FRAGMENT_TYPE; 1509var Lazy = REACT_LAZY_TYPE; 1510var Memo = REACT_MEMO_TYPE; 1511var Portal = REACT_PORTAL_TYPE; 1512var Profiler = REACT_PROFILER_TYPE; 1513var StrictMode = REACT_STRICT_MODE_TYPE; 1514var Suspense = REACT_SUSPENSE_TYPE; 1515 1516var hasWarnedAboutDeprecatedIsAsyncMode = false; 1517 1518// AsyncMode should be deprecated 1519function isAsyncMode(object) { 1520 { 1521 if (!hasWarnedAboutDeprecatedIsAsyncMode) { 1522 hasWarnedAboutDeprecatedIsAsyncMode = true; 1523 lowPriorityWarning$1(false, 'The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.'); 1524 } 1525 } 1526 return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE; 1527} 1528function isConcurrentMode(object) { 1529 return typeOf(object) === REACT_CONCURRENT_MODE_TYPE; 1530} 1531function isContextConsumer(object) { 1532 return typeOf(object) === REACT_CONTEXT_TYPE; 1533} 1534function isContextProvider(object) { 1535 return typeOf(object) === REACT_PROVIDER_TYPE; 1536} 1537function isElement(object) { 1538 return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE; 1539} 1540function isForwardRef(object) { 1541 return typeOf(object) === REACT_FORWARD_REF_TYPE; 1542} 1543function isFragment(object) { 1544 return typeOf(object) === REACT_FRAGMENT_TYPE; 1545} 1546function isLazy(object) { 1547 return typeOf(object) === REACT_LAZY_TYPE; 1548} 1549function isMemo(object) { 1550 return typeOf(object) === REACT_MEMO_TYPE; 1551} 1552function isPortal(object) { 1553 return typeOf(object) === REACT_PORTAL_TYPE; 1554} 1555function isProfiler(object) { 1556 return typeOf(object) === REACT_PROFILER_TYPE; 1557} 1558function isStrictMode(object) { 1559 return typeOf(object) === REACT_STRICT_MODE_TYPE; 1560} 1561function isSuspense(object) { 1562 return typeOf(object) === REACT_SUSPENSE_TYPE; 1563} 1564 1565exports.typeOf = typeOf; 1566exports.AsyncMode = AsyncMode; 1567exports.ConcurrentMode = ConcurrentMode; 1568exports.ContextConsumer = ContextConsumer; 1569exports.ContextProvider = ContextProvider; 1570exports.Element = Element; 1571exports.ForwardRef = ForwardRef; 1572exports.Fragment = Fragment; 1573exports.Lazy = Lazy; 1574exports.Memo = Memo; 1575exports.Portal = Portal; 1576exports.Profiler = Profiler; 1577exports.StrictMode = StrictMode; 1578exports.Suspense = Suspense; 1579exports.isValidElementType = isValidElementType; 1580exports.isAsyncMode = isAsyncMode; 1581exports.isConcurrentMode = isConcurrentMode; 1582exports.isContextConsumer = isContextConsumer; 1583exports.isContextProvider = isContextProvider; 1584exports.isElement = isElement; 1585exports.isForwardRef = isForwardRef; 1586exports.isFragment = isFragment; 1587exports.isLazy = isLazy; 1588exports.isMemo = isMemo; 1589exports.isPortal = isPortal; 1590exports.isProfiler = isProfiler; 1591exports.isStrictMode = isStrictMode; 1592exports.isSuspense = isSuspense; 1593 })(); 1594} 1595 1596 1597/***/ }), 1598
vendor: 451 bytes, lines 1599-1615
1599/***/ "./node_modules/react-is/index.js": 1600/*!****************************************!*\ 1601 !*** ./node_modules/react-is/index.js ***! 1602 \****************************************/ 1603/*! no static exports found */ 1604/***/ (function(module, exports, __webpack_require__) { 1605 1606"use strict"; 1607 1608 1609if (false) {} else { 1610 module.exports = __webpack_require__(/*! ./cjs/react-is.development.js */ "./node_modules/react-is/cjs/react-is.development.js"); 1611} 1612 1613 1614/***/ }), 1615
vendor: 5,791 bytes, lines 1616-1738
1616/***/ "./node_modules/react-tabs/esm/components/Tab.js": 1617/*!*******************************************************!*\ 1618 !*** ./node_modules/react-tabs/esm/components/Tab.js ***! 1619 \*******************************************************/ 1620/*! exports provided: default */ 1621/***/ (function(module, __webpack_exports__, __webpack_require__) { 1622 1623"use strict"; 1624__webpack_require__.r(__webpack_exports__); 1625/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return Tab; }); 1626/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js"); 1627/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__); 1628/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react"); 1629/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__); 1630/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/clsx/dist/clsx.m.js"); 1631function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } 1632 1633function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } 1634 1635function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); } 1636 1637function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } 1638 1639 1640 1641 1642var DEFAULT_CLASS = 'react-tabs__tab'; 1643 1644var Tab = /*#__PURE__*/function (_Component) { 1645 _inheritsLoose(Tab, _Component); 1646 1647 function Tab() { 1648 return _Component.apply(this, arguments) || this; 1649 } 1650 1651 var _proto = Tab.prototype; 1652 1653 _proto.componentDidMount = function componentDidMount() { 1654 this.checkFocus(); 1655 }; 1656 1657 _proto.componentDidUpdate = function componentDidUpdate() { 1658 this.checkFocus(); 1659 }; 1660 1661 _proto.checkFocus = function checkFocus() { 1662 var _this$props = this.props, 1663 selected = _this$props.selected, 1664 focus = _this$props.focus; 1665 1666 if (selected && focus) { 1667 this.node.focus(); 1668 } 1669 }; 1670 1671 _proto.render = function render() { 1672 var _cx, 1673 _this = this; 1674 1675 var _this$props2 = this.props, 1676 children = _this$props2.children, 1677 className = _this$props2.className, 1678 disabled = _this$props2.disabled, 1679 disabledClassName = _this$props2.disabledClassName, 1680 focus = _this$props2.focus, 1681 id = _this$props2.id, 1682 panelId = _this$props2.panelId, 1683 selected = _this$props2.selected, 1684 selectedClassName = _this$props2.selectedClassName, 1685 tabIndex = _this$props2.tabIndex, 1686 tabRef = _this$props2.tabRef, 1687 attributes = _objectWithoutPropertiesLoose(_this$props2, ["children", "className", "disabled", "disabledClassName", "focus", "id", "panelId", "selected", "selectedClassName", "tabIndex", "tabRef"]); 1688 1689 return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("li", _extends({}, attributes, { 1690 className: Object(clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(className, (_cx = {}, _cx[selectedClassName] = selected, _cx[disabledClassName] = disabled, _cx)), 1691 ref: function ref(node) { 1692 _this.node = node; 1693 if (tabRef) tabRef(node); 1694 }, 1695 role: "tab", 1696 id: id, 1697 "aria-selected": selected ? 'true' : 'false', 1698 "aria-disabled": disabled ? 'true' : 'false', 1699 "aria-controls": panelId, 1700 tabIndex: tabIndex || (selected ? '0' : null) 1701 }), children); 1702 }; 1703 1704 return Tab; 1705}(react__WEBPACK_IMPORTED_MODULE_1__["Component"]); 1706 1707Tab.defaultProps = { 1708 className: DEFAULT_CLASS, 1709 disabledClassName: DEFAULT_CLASS + "--disabled", 1710 focus: false, 1711 id: null, 1712 panelId: null, 1713 selected: false, 1714 selectedClassName: DEFAULT_CLASS + "--selected" 1715}; 1716 1717Tab.propTypes = true ? { 1718 children: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.array, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.object, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string]), 1719 className: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.array, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.object]), 1720 disabled: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.bool, 1721 tabIndex: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, 1722 disabledClassName: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, 1723 focus: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.bool, 1724 // private 1725 id: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, 1726 // private 1727 panelId: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, 1728 // private 1729 selected: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.bool, 1730 // private 1731 selectedClassName: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, 1732 tabRef: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.func // private 1733 1734} : undefined; 1735Tab.tabsRole = 'Tab'; 1736 1737/***/ }), 1738
vendor: 3,566 bytes, lines 1739-1801
1739/***/ "./node_modules/react-tabs/esm/components/TabList.js": 1740/*!***********************************************************!*\ 1741 !*** ./node_modules/react-tabs/esm/components/TabList.js ***! 1742 \***********************************************************/ 1743/*! exports provided: default */ 1744/***/ (function(module, __webpack_exports__, __webpack_require__) { 1745 1746"use strict"; 1747__webpack_require__.r(__webpack_exports__); 1748/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return TabList; }); 1749/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js"); 1750/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__); 1751/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react"); 1752/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__); 1753/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/clsx/dist/clsx.m.js"); 1754function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } 1755 1756function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } 1757 1758function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); } 1759 1760function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } 1761 1762 1763 1764 1765 1766var TabList = /*#__PURE__*/function (_Component) { 1767 _inheritsLoose(TabList, _Component); 1768 1769 function TabList() { 1770 return _Component.apply(this, arguments) || this; 1771 } 1772 1773 var _proto = TabList.prototype; 1774 1775 _proto.render = function render() { 1776 var _this$props = this.props, 1777 children = _this$props.children, 1778 className = _this$props.className, 1779 attributes = _objectWithoutPropertiesLoose(_this$props, ["children", "className"]); 1780 1781 return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("ul", _extends({}, attributes, { 1782 className: Object(clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(className), 1783 role: "tablist" 1784 }), children); 1785 }; 1786 1787 return TabList; 1788}(react__WEBPACK_IMPORTED_MODULE_1__["Component"]); 1789 1790TabList.defaultProps = { 1791 className: 'react-tabs__tab-list' 1792}; 1793 1794TabList.propTypes = true ? { 1795 children: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.object, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.array]), 1796 className: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.array, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.object]) 1797} : undefined; 1798TabList.tabsRole = 'TabList'; 1799 1800/***/ }), 1801
vendor: 4,375 bytes, lines 1802-1884
1802/***/ "./node_modules/react-tabs/esm/components/TabPanel.js": 1803/*!************************************************************!*\ 1804 !*** ./node_modules/react-tabs/esm/components/TabPanel.js ***! 1805 \************************************************************/ 1806/*! exports provided: default */ 1807/***/ (function(module, __webpack_exports__, __webpack_require__) { 1808 1809"use strict"; 1810__webpack_require__.r(__webpack_exports__); 1811/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return TabPanel; }); 1812/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js"); 1813/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__); 1814/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react"); 1815/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__); 1816/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/clsx/dist/clsx.m.js"); 1817function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } 1818 1819function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } 1820 1821function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); } 1822 1823function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } 1824 1825 1826 1827 1828var DEFAULT_CLASS = 'react-tabs__tab-panel'; 1829 1830var TabPanel = /*#__PURE__*/function (_Component) { 1831 _inheritsLoose(TabPanel, _Component); 1832 1833 function TabPanel() { 1834 return _Component.apply(this, arguments) || this; 1835 } 1836 1837 var _proto = TabPanel.prototype; 1838 1839 _proto.render = function render() { 1840 var _cx; 1841 1842 var _this$props = this.props, 1843 children = _this$props.children, 1844 className = _this$props.className, 1845 forceRender = _this$props.forceRender, 1846 id = _this$props.id, 1847 selected = _this$props.selected, 1848 selectedClassName = _this$props.selectedClassName, 1849 tabId = _this$props.tabId, 1850 attributes = _objectWithoutPropertiesLoose(_this$props, ["children", "className", "forceRender", "id", "selected", "selectedClassName", "tabId"]); 1851 1852 return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", _extends({}, attributes, { 1853 className: Object(clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(className, (_cx = {}, _cx[selectedClassName] = selected, _cx)), 1854 role: "tabpanel", 1855 id: id, 1856 "aria-labelledby": tabId 1857 }), forceRender || selected ? children : null); 1858 }; 1859 1860 return TabPanel; 1861}(react__WEBPACK_IMPORTED_MODULE_1__["Component"]); 1862 1863TabPanel.defaultProps = { 1864 className: DEFAULT_CLASS, 1865 forceRender: false, 1866 selectedClassName: DEFAULT_CLASS + "--selected" 1867}; 1868 1869TabPanel.propTypes = true ? { 1870 children: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.node, 1871 className: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.array, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.object]), 1872 forceRender: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.bool, 1873 id: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, 1874 // private 1875 selected: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.bool, 1876 // private 1877 selectedClassName: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, 1878 tabId: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string // private 1879 1880} : undefined; 1881TabPanel.tabsRole = 'TabPanel'; 1882 1883/***/ }), 1884
vendor: 7,134 bytes, lines 1885-2043
1885/***/ "./node_modules/react-tabs/esm/components/Tabs.js": 1886/*!********************************************************!*\ 1887 !*** ./node_modules/react-tabs/esm/components/Tabs.js ***! 1888 \********************************************************/ 1889/*! exports provided: default */ 1890/***/ (function(module, __webpack_exports__, __webpack_require__) { 1891 1892"use strict"; 1893__webpack_require__.r(__webpack_exports__); 1894/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return Tabs; }); 1895/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js"); 1896/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__); 1897/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react"); 1898/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__); 1899/* harmony import */ var _helpers_propTypes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../helpers/propTypes */ "./node_modules/react-tabs/esm/helpers/propTypes.js"); 1900/* harmony import */ var _UncontrolledTabs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./UncontrolledTabs */ "./node_modules/react-tabs/esm/components/UncontrolledTabs.js"); 1901/* harmony import */ var _helpers_count__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/count */ "./node_modules/react-tabs/esm/helpers/count.js"); 1902function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } 1903 1904function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); } 1905 1906function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } 1907 1908 1909 1910 1911 1912 1913var MODE_CONTROLLED = 0; 1914var MODE_UNCONTROLLED = 1; 1915 1916var Tabs = /*#__PURE__*/function (_Component) { 1917 _inheritsLoose(Tabs, _Component); 1918 1919 function Tabs(props) { 1920 var _this; 1921 1922 _this = _Component.call(this, props) || this; 1923 1924 _this.handleSelected = function (index, last, event) { 1925 var onSelect = _this.props.onSelect; 1926 var mode = _this.state.mode; // Call change event handler 1927 1928 if (typeof onSelect === 'function') { 1929 // Check if the change event handler cancels the tab change 1930 if (onSelect(index, last, event) === false) return; 1931 } 1932 1933 var state = { 1934 // Set focus if the change was triggered from the keyboard 1935 focus: event.type === 'keydown' 1936 }; 1937 1938 if (mode === MODE_UNCONTROLLED) { 1939 // Update selected index 1940 state.selectedIndex = index; 1941 } 1942 1943 _this.setState(state); 1944 }; 1945 1946 _this.state = Tabs.copyPropsToState(_this.props, {}, props.defaultFocus); 1947 return _this; 1948 } 1949 1950 Tabs.getDerivedStateFromProps = function getDerivedStateFromProps(props, state) { 1951 return Tabs.copyPropsToState(props, state); 1952 }; 1953 1954 Tabs.getModeFromProps = function getModeFromProps(props) { 1955 return props.selectedIndex === null ? MODE_UNCONTROLLED : MODE_CONTROLLED; 1956 }; 1957 1958 // preserve the existing selectedIndex from state. 1959 // If the state has not selectedIndex, default to the defaultIndex or 0 1960 Tabs.copyPropsToState = function copyPropsToState(props, state, focus) { 1961 if (focus === void 0) { 1962 focus = false; 1963 } 1964 1965 if ("development" !== 'production' && state.mode !== undefined && state.mode !== Tabs.getModeFromProps(props)) { 1966 throw new Error("Switching between controlled mode (by using `selectedIndex`) and uncontrolled mode is not supported in `Tabs`.\nFor more information about controlled and uncontrolled mode of react-tabs see https://github.com/reactjs/react-tabs#controlled-vs-uncontrolled-mode."); 1967 } 1968 1969 var newState = { 1970 focus: focus, 1971 mode: Tabs.getModeFromProps(props) 1972 }; 1973 1974 if (newState.mode === MODE_UNCONTROLLED) { 1975 var maxTabIndex = Math.max(0, Object(_helpers_count__WEBPACK_IMPORTED_MODULE_4__["getTabsCount"])(props.children) - 1); 1976 var selectedIndex = null; 1977 1978 if (state.selectedIndex != null) { 1979 selectedIndex = Math.min(state.selectedIndex, maxTabIndex); 1980 } else { 1981 selectedIndex = props.defaultIndex || 0; 1982 } 1983 1984 newState.selectedIndex = selectedIndex; 1985 } 1986 1987 return newState; 1988 }; 1989 1990 var _proto = Tabs.prototype; 1991 1992 _proto.render = function render() { 1993 var _this$props = this.props, 1994 children = _this$props.children, 1995 defaultIndex = _this$props.defaultIndex, 1996 defaultFocus = _this$props.defaultFocus, 1997 props = _objectWithoutPropertiesLoose(_this$props, ["children", "defaultIndex", "defaultFocus"]); 1998 1999 var _this$state = this.state, 2000 focus = _this$state.focus, 2001 selectedIndex = _this$state.selectedIndex; 2002 props.focus = focus; 2003 props.onSelect = this.handleSelected; 2004 2005 if (selectedIndex != null) { 2006 props.selectedIndex = selectedIndex; 2007 } 2008 2009 return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_UncontrolledTabs__WEBPACK_IMPORTED_MODULE_3__["default"], props, children); 2010 }; 2011 2012 return Tabs; 2013}(react__WEBPACK_IMPORTED_MODULE_1__["Component"]); 2014 2015Tabs.defaultProps = { 2016 defaultFocus: false, 2017 forceRenderTabPanel: false, 2018 selectedIndex: null, 2019 defaultIndex: null, 2020 environment: null, 2021 disableUpDownKeys: false 2022}; 2023 2024Tabs.propTypes = true ? { 2025 children: _helpers_propTypes__WEBPACK_IMPORTED_MODULE_2__["childrenPropType"], 2026 direction: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOf(['rtl', 'ltr']), 2027 className: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.array, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.object]), 2028 defaultFocus: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.bool, 2029 defaultIndex: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number, 2030 disabledTabClassName: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, 2031 disableUpDownKeys: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.bool, 2032 domRef: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.func, 2033 forceRenderTabPanel: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.bool, 2034 onSelect: _helpers_propTypes__WEBPACK_IMPORTED_MODULE_2__["onSelectPropType"], 2035 selectedIndex: _helpers_propTypes__WEBPACK_IMPORTED_MODULE_2__["selectedIndexPropType"], 2036 selectedTabClassName: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, 2037 selectedTabPanelClassName: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, 2038 environment: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.object 2039} : undefined; 2040Tabs.tabsRole = 'Tabs'; 2041 2042/***/ }), 2043
vendor: 16,746 bytes, lines 2044-2457
2044/***/ "./node_modules/react-tabs/esm/components/UncontrolledTabs.js": 2045/*!********************************************************************!*\ 2046 !*** ./node_modules/react-tabs/esm/components/UncontrolledTabs.js ***! 2047 \********************************************************************/ 2048/*! exports provided: default */ 2049/***/ (function(module, __webpack_exports__, __webpack_require__) { 2050 2051"use strict"; 2052__webpack_require__.r(__webpack_exports__); 2053/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return UncontrolledTabs; }); 2054/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js"); 2055/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__); 2056/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react"); 2057/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__); 2058/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/clsx/dist/clsx.m.js"); 2059/* harmony import */ var _helpers_uuid__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/uuid */ "./node_modules/react-tabs/esm/helpers/uuid.js"); 2060/* harmony import */ var _helpers_propTypes__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/propTypes */ "./node_modules/react-tabs/esm/helpers/propTypes.js"); 2061/* harmony import */ var _helpers_count__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../helpers/count */ "./node_modules/react-tabs/esm/helpers/count.js"); 2062/* harmony import */ var _helpers_childrenDeepMap__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/childrenDeepMap */ "./node_modules/react-tabs/esm/helpers/childrenDeepMap.js"); 2063/* harmony import */ var _helpers_elementTypes__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../helpers/elementTypes */ "./node_modules/react-tabs/esm/helpers/elementTypes.js"); 2064function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } 2065 2066function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } 2067 2068function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); } 2069 2070function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081function isNode(node) { 2082 return node && 'getAttribute' in node; 2083} // Determine if a node from event.target is a Tab element 2084 2085 2086function isTabNode(node) { 2087 return isNode(node) && node.getAttribute('role') === 'tab'; 2088} // Determine if a tab node is disabled 2089 2090 2091function isTabDisabled(node) { 2092 return isNode(node) && node.getAttribute('aria-disabled') === 'true'; 2093} 2094 2095var canUseActiveElement; 2096 2097function determineCanUseActiveElement(environment) { 2098 var env = environment || (typeof window !== 'undefined' ? window : undefined); 2099 2100 try { 2101 canUseActiveElement = !!(typeof env !== 'undefined' && env.document && env.document.activeElement); 2102 } catch (e) { 2103 // Work around for IE bug when accessing document.activeElement in an iframe 2104 // Refer to the following resources: 2105 // http://stackoverflow.com/a/10982960/369687 2106 // https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/12733599 2107 canUseActiveElement = false; 2108 } 2109} 2110 2111var UncontrolledTabs = /*#__PURE__*/function (_Component) { 2112 _inheritsLoose(UncontrolledTabs, _Component); 2113 2114 function UncontrolledTabs() { 2115 var _this; 2116 2117 for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { 2118 args[_key] = arguments[_key]; 2119 } 2120 2121 _this = _Component.call.apply(_Component, [this].concat(args)) || this; 2122 _this.tabNodes = []; 2123 2124 _this.handleKeyDown = function (e) { 2125 var _this$props = _this.props, 2126 direction = _this$props.direction, 2127 disableUpDownKeys = _this$props.disableUpDownKeys; 2128 2129 if (_this.isTabFromContainer(e.target)) { 2130 var index = _this.props.selectedIndex; 2131 var preventDefault = false; 2132 var useSelectedIndex = false; 2133 2134 if (e.keyCode === 32 || e.keyCode === 13) { 2135 preventDefault = true; 2136 useSelectedIndex = false; 2137 2138 _this.handleClick(e); 2139 } 2140 2141 if (e.keyCode === 37 || !disableUpDownKeys && e.keyCode === 38) { 2142 // Select next tab to the left, validate if up arrow is not disabled 2143 if (direction === 'rtl') { 2144 index = _this.getNextTab(index); 2145 } else { 2146 index = _this.getPrevTab(index); 2147 } 2148 2149 preventDefault = true; 2150 useSelectedIndex = true; 2151 } else if (e.keyCode === 39 || !disableUpDownKeys && e.keyCode === 40) { 2152 // Select next tab to the right, validate if down arrow is not disabled 2153 if (direction === 'rtl') { 2154 index = _this.getPrevTab(index); 2155 } else { 2156 index = _this.getNextTab(index); 2157 } 2158 2159 preventDefault = true; 2160 useSelectedIndex = true; 2161 } else if (e.keyCode === 35) { 2162 // Select last tab (End key) 2163 index = _this.getLastTab(); 2164 preventDefault = true; 2165 useSelectedIndex = true; 2166 } else if (e.keyCode === 36) { 2167 // Select first tab (Home key) 2168 index = _this.getFirstTab(); 2169 preventDefault = true; 2170 useSelectedIndex = true; 2171 } // This prevents scrollbars from moving around 2172 2173 2174 if (preventDefault) { 2175 e.preventDefault(); 2176 } // Only use the selected index in the state if we're not using the tabbed index 2177 2178 2179 if (useSelectedIndex) { 2180 _this.setSelected(index, e); 2181 } 2182 } 2183 }; 2184 2185 _this.handleClick = function (e) { 2186 var node = e.target; 2187 2188 do { 2189 if (_this.isTabFromContainer(node)) { 2190 if (isTabDisabled(node)) { 2191 return; 2192 } 2193 2194 var index = [].slice.call(node.parentNode.children).filter(isTabNode).indexOf(node); 2195 2196 _this.setSelected(index, e); 2197 2198 return; 2199 } 2200 } while ((node = node.parentNode) != null); 2201 }; 2202 2203 return _this; 2204 } 2205 2206 var _proto = UncontrolledTabs.prototype; 2207 2208 _proto.setSelected = function setSelected(index, event) { 2209 // Check index boundary 2210 if (index < 0 || index >= this.getTabsCount()) return; 2211 var _this$props2 = this.props, 2212 onSelect = _this$props2.onSelect, 2213 selectedIndex = _this$props2.selectedIndex; // Call change event handler 2214 2215 onSelect(index, selectedIndex, event); 2216 }; 2217 2218 _proto.getNextTab = function getNextTab(index) { 2219 var count = this.getTabsCount(); // Look for non-disabled tab from index to the last tab on the right 2220 2221 for (var i = index + 1; i < count; i++) { 2222 if (!isTabDisabled(this.getTab(i))) { 2223 return i; 2224 } 2225 } // If no tab found, continue searching from first on left to index 2226 2227 2228 for (var _i = 0; _i < index; _i++) { 2229 if (!isTabDisabled(this.getTab(_i))) { 2230 return _i; 2231 } 2232 } // No tabs are disabled, return index 2233 2234 2235 return index; 2236 }; 2237 2238 _proto.getPrevTab = function getPrevTab(index) { 2239 var i = index; // Look for non-disabled tab from index to first tab on the left 2240 2241 while (i--) { 2242 if (!isTabDisabled(this.getTab(i))) { 2243 return i; 2244 } 2245 } // If no tab found, continue searching from last tab on right to index 2246 2247 2248 i = this.getTabsCount(); 2249 2250 while (i-- > index) { 2251 if (!isTabDisabled(this.getTab(i))) { 2252 return i; 2253 } 2254 } // No tabs are disabled, return index 2255 2256 2257 return index; 2258 }; 2259 2260 _proto.getFirstTab = function getFirstTab() { 2261 var count = this.getTabsCount(); // Look for non disabled tab from the first tab 2262 2263 for (var i = 0; i < count; i++) { 2264 if (!isTabDisabled(this.getTab(i))) { 2265 return i; 2266 } 2267 } 2268 2269 return null; 2270 }; 2271 2272 _proto.getLastTab = function getLastTab() { 2273 var i = this.getTabsCount(); // Look for non disabled tab from the last tab 2274 2275 while (i--) { 2276 if (!isTabDisabled(this.getTab(i))) { 2277 return i; 2278 } 2279 } 2280 2281 return null; 2282 }; 2283 2284 _proto.getTabsCount = function getTabsCount() { 2285 var children = this.props.children; 2286 return Object(_helpers_count__WEBPACK_IMPORTED_MODULE_5__["getTabsCount"])(children); 2287 }; 2288 2289 _proto.getPanelsCount = function getPanelsCount() { 2290 var children = this.props.children; 2291 return Object(_helpers_count__WEBPACK_IMPORTED_MODULE_5__["getPanelsCount"])(children); 2292 }; 2293 2294 _proto.getTab = function getTab(index) { 2295 return this.tabNodes["tabs-" + index]; 2296 }; 2297 2298 _proto.getChildren = function getChildren() { 2299 var _this2 = this; 2300 2301 var index = 0; 2302 var _this$props3 = this.props, 2303 children = _this$props3.children, 2304 disabledTabClassName = _this$props3.disabledTabClassName, 2305 focus = _this$props3.focus, 2306 forceRenderTabPanel = _this$props3.forceRenderTabPanel, 2307 selectedIndex = _this$props3.selectedIndex, 2308 selectedTabClassName = _this$props3.selectedTabClassName, 2309 selectedTabPanelClassName = _this$props3.selectedTabPanelClassName, 2310 environment = _this$props3.environment; 2311 this.tabIds = this.tabIds || []; 2312 this.panelIds = this.panelIds || []; 2313 var diff = this.tabIds.length - this.getTabsCount(); // Add ids if new tabs have been added 2314 // Don't bother removing ids, just keep them in case they are added again 2315 // This is more efficient, and keeps the uuid counter under control 2316 2317 while (diff++ < 0) { 2318 this.tabIds.push(Object(_helpers_uuid__WEBPACK_IMPORTED_MODULE_3__["default"])()); 2319 this.panelIds.push(Object(_helpers_uuid__WEBPACK_IMPORTED_MODULE_3__["default"])()); 2320 } // Map children to dynamically setup refs 2321 2322 2323 return Object(_helpers_childrenDeepMap__WEBPACK_IMPORTED_MODULE_6__["deepMap"])(children, function (child) { 2324 var result = child; // Clone TabList and Tab components to have refs 2325 2326 if (Object(_helpers_elementTypes__WEBPACK_IMPORTED_MODULE_7__["isTabList"])(child)) { 2327 var listIndex = 0; // Figure out if the current focus in the DOM is set on a Tab 2328 // If it is we should keep the focus on the next selected tab 2329 2330 var wasTabFocused = false; 2331 2332 if (canUseActiveElement == null) { 2333 determineCanUseActiveElement(environment); 2334 } 2335 2336 if (canUseActiveElement) { 2337 wasTabFocused = react__WEBPACK_IMPORTED_MODULE_1___default.a.Children.toArray(child.props.children).filter(_helpers_elementTypes__WEBPACK_IMPORTED_MODULE_7__["isTab"]).some(function (tab, i) { 2338 var env = environment || (typeof window !== 'undefined' ? window : undefined); 2339 return env && env.document.activeElement === _this2.getTab(i); 2340 }); 2341 } 2342 2343 result = /*#__PURE__*/Object(react__WEBPACK_IMPORTED_MODULE_1__["cloneElement"])(child, { 2344 children: Object(_helpers_childrenDeepMap__WEBPACK_IMPORTED_MODULE_6__["deepMap"])(child.props.children, function (tab) { 2345 var key = "tabs-" + listIndex; 2346 var selected = selectedIndex === listIndex; 2347 var props = { 2348 tabRef: function tabRef(node) { 2349 _this2.tabNodes[key] = node; 2350 }, 2351 id: _this2.tabIds[listIndex], 2352 panelId: _this2.panelIds[listIndex], 2353 selected: selected, 2354 focus: selected && (focus || wasTabFocused) 2355 }; 2356 if (selectedTabClassName) props.selectedClassName = selectedTabClassName; 2357 if (disabledTabClassName) props.disabledClassName = disabledTabClassName; 2358 listIndex++; 2359 return /*#__PURE__*/Object(react__WEBPACK_IMPORTED_MODULE_1__["cloneElement"])(tab, props); 2360 }) 2361 }); 2362 } else if (Object(_helpers_elementTypes__WEBPACK_IMPORTED_MODULE_7__["isTabPanel"])(child)) { 2363 var props = { 2364 id: _this2.panelIds[index], 2365 tabId: _this2.tabIds[index], 2366 selected: selectedIndex === index 2367 }; 2368 if (forceRenderTabPanel) props.forceRender = forceRenderTabPanel; 2369 if (selectedTabPanelClassName) props.selectedClassName = selectedTabPanelClassName; 2370 index++; 2371 result = /*#__PURE__*/Object(react__WEBPACK_IMPORTED_MODULE_1__["cloneElement"])(child, props); 2372 } 2373 2374 return result; 2375 }); 2376 }; 2377 2378 /** 2379 * Determine if a node from event.target is a Tab element for the current Tabs container. 2380 * If the clicked element is not a Tab, it returns false. 2381 * If it finds another Tabs container between the Tab and `this`, it returns false. 2382 */ 2383 _proto.isTabFromContainer = function isTabFromContainer(node) { 2384 // return immediately if the clicked element is not a Tab. 2385 if (!isTabNode(node)) { 2386 return false; 2387 } // Check if the first occurrence of a Tabs container is `this` one. 2388 2389 2390 var nodeAncestor = node.parentElement; 2391 2392 do { 2393 if (nodeAncestor === this.node) return true; 2394 if (nodeAncestor.getAttribute('data-tabs')) break; 2395 nodeAncestor = nodeAncestor.parentElement; 2396 } while (nodeAncestor); 2397 2398 return false; 2399 }; 2400 2401 _proto.render = function render() { 2402 var _this3 = this; 2403 2404 // Delete all known props, so they don't get added to DOM 2405 var _this$props4 = this.props, 2406 children = _this$props4.children, 2407 className = _this$props4.className, 2408 disabledTabClassName = _this$props4.disabledTabClassName, 2409 domRef = _this$props4.domRef, 2410 focus = _this$props4.focus, 2411 forceRenderTabPanel = _this$props4.forceRenderTabPanel, 2412 onSelect = _this$props4.onSelect, 2413 selectedIndex = _this$props4.selectedIndex, 2414 selectedTabClassName = _this$props4.selectedTabClassName, 2415 selectedTabPanelClassName = _this$props4.selectedTabPanelClassName, 2416 environment = _this$props4.environment, 2417 disableUpDownKeys = _this$props4.disableUpDownKeys, 2418 attributes = _objectWithoutPropertiesLoose(_this$props4, ["children", "className", "disabledTabClassName", "domRef", "focus", "forceRenderTabPanel", "onSelect", "selectedIndex", "selectedTabClassName", "selectedTabPanelClassName", "environment", "disableUpDownKeys"]); 2419 2420 return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement("div", _extends({}, attributes, { 2421 className: Object(clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(className), 2422 onClick: this.handleClick, 2423 onKeyDown: this.handleKeyDown, 2424 ref: function ref(node) { 2425 _this3.node = node; 2426 if (domRef) domRef(node); 2427 }, 2428 "data-tabs": true 2429 }), this.getChildren()); 2430 }; 2431 2432 return UncontrolledTabs; 2433}(react__WEBPACK_IMPORTED_MODULE_1__["Component"]); 2434 2435UncontrolledTabs.defaultProps = { 2436 className: 'react-tabs', 2437 focus: false 2438}; 2439 2440UncontrolledTabs.propTypes = true ? { 2441 children: _helpers_propTypes__WEBPACK_IMPORTED_MODULE_4__["childrenPropType"], 2442 direction: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOf(['rtl', 'ltr']), 2443 className: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.array, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.object]), 2444 disabledTabClassName: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, 2445 disableUpDownKeys: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.bool, 2446 domRef: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.func, 2447 focus: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.bool, 2448 forceRenderTabPanel: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.bool, 2449 onSelect: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.func.isRequired, 2450 selectedIndex: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number.isRequired, 2451 selectedTabClassName: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, 2452 selectedTabPanelClassName: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, 2453 environment: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.object 2454} : undefined; 2455 2456/***/ }), 2457
vendor: 3,155 bytes, lines 2458-2517
2458/***/ "./node_modules/react-tabs/esm/helpers/childrenDeepMap.js": 2459/*!****************************************************************!*\ 2460 !*** ./node_modules/react-tabs/esm/helpers/childrenDeepMap.js ***! 2461 \****************************************************************/ 2462/*! exports provided: deepMap, deepForEach */ 2463/***/ (function(module, __webpack_exports__, __webpack_require__) { 2464 2465"use strict"; 2466__webpack_require__.r(__webpack_exports__); 2467/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "deepMap", function() { return deepMap; }); 2468/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "deepForEach", function() { return deepForEach; }); 2469/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); 2470/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); 2471/* harmony import */ var _elementTypes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./elementTypes */ "./node_modules/react-tabs/esm/helpers/elementTypes.js"); 2472function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } 2473 2474 2475 2476 2477function isTabChild(child) { 2478 return Object(_elementTypes__WEBPACK_IMPORTED_MODULE_1__["isTab"])(child) || Object(_elementTypes__WEBPACK_IMPORTED_MODULE_1__["isTabList"])(child) || Object(_elementTypes__WEBPACK_IMPORTED_MODULE_1__["isTabPanel"])(child); 2479} 2480 2481function deepMap(children, callback) { 2482 return react__WEBPACK_IMPORTED_MODULE_0__["Children"].map(children, function (child) { 2483 // null happens when conditionally rendering TabPanel/Tab 2484 // see https://github.com/reactjs/react-tabs/issues/37 2485 if (child === null) return null; 2486 2487 if (isTabChild(child)) { 2488 return callback(child); 2489 } 2490 2491 if (child.props && child.props.children && typeof child.props.children === 'object') { 2492 // Clone the child that has children and map them too 2493 return /*#__PURE__*/Object(react__WEBPACK_IMPORTED_MODULE_0__["cloneElement"])(child, _extends({}, child.props, { 2494 children: deepMap(child.props.children, callback) 2495 })); 2496 } 2497 2498 return child; 2499 }); 2500} 2501function deepForEach(children, callback) { 2502 return react__WEBPACK_IMPORTED_MODULE_0__["Children"].forEach(children, function (child) { 2503 // null happens when conditionally rendering TabPanel/Tab 2504 // see https://github.com/reactjs/react-tabs/issues/37 2505 if (child === null) return; 2506 2507 if (Object(_elementTypes__WEBPACK_IMPORTED_MODULE_1__["isTab"])(child) || Object(_elementTypes__WEBPACK_IMPORTED_MODULE_1__["isTabPanel"])(child)) { 2508 callback(child); 2509 } else if (child.props && child.props.children && typeof child.props.children === 'object') { 2510 if (Object(_elementTypes__WEBPACK_IMPORTED_MODULE_1__["isTabList"])(child)) callback(child); 2511 deepForEach(child.props.children, callback); 2512 } 2513 }); 2514} 2515 2516/***/ }), 2517
vendor: 1,590 bytes, lines 2518-2549
2518/***/ "./node_modules/react-tabs/esm/helpers/count.js": 2519/*!******************************************************!*\ 2520 !*** ./node_modules/react-tabs/esm/helpers/count.js ***! 2521 \******************************************************/ 2522/*! exports provided: getTabsCount, getPanelsCount */ 2523/***/ (function(module, __webpack_exports__, __webpack_require__) { 2524 2525"use strict"; 2526__webpack_require__.r(__webpack_exports__); 2527/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getTabsCount", function() { return getTabsCount; }); 2528/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getPanelsCount", function() { return getPanelsCount; }); 2529/* harmony import */ var _childrenDeepMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./childrenDeepMap */ "./node_modules/react-tabs/esm/helpers/childrenDeepMap.js"); 2530/* harmony import */ var _elementTypes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./elementTypes */ "./node_modules/react-tabs/esm/helpers/elementTypes.js"); 2531 2532 2533function getTabsCount(children) { 2534 var tabCount = 0; 2535 Object(_childrenDeepMap__WEBPACK_IMPORTED_MODULE_0__["deepForEach"])(children, function (child) { 2536 if (Object(_elementTypes__WEBPACK_IMPORTED_MODULE_1__["isTab"])(child)) tabCount++; 2537 }); 2538 return tabCount; 2539} 2540function getPanelsCount(children) { 2541 var panelCount = 0; 2542 Object(_childrenDeepMap__WEBPACK_IMPORTED_MODULE_0__["deepForEach"])(children, function (child) { 2543 if (Object(_elementTypes__WEBPACK_IMPORTED_MODULE_1__["isTabPanel"])(child)) panelCount++; 2544 }); 2545 return panelCount; 2546} 2547 2548/***/ }), 2549
vendor: 1,082 bytes, lines 2550-2573
2550/***/ "./node_modules/react-tabs/esm/helpers/elementTypes.js": 2551/*!*************************************************************!*\ 2552 !*** ./node_modules/react-tabs/esm/helpers/elementTypes.js ***! 2553 \*************************************************************/ 2554/*! exports provided: isTab, isTabList, isTabPanel */ 2555/***/ (function(module, __webpack_exports__, __webpack_require__) { 2556 2557"use strict"; 2558__webpack_require__.r(__webpack_exports__); 2559/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isTab", function() { return isTab; }); 2560/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isTabList", function() { return isTabList; }); 2561/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isTabPanel", function() { return isTabPanel; }); 2562function makeTypeChecker(tabsRole) { 2563 return function (element) { 2564 return !!element.type && element.type.tabsRole === tabsRole; 2565 }; 2566} 2567 2568var isTab = makeTypeChecker('Tab'); 2569var isTabList = makeTypeChecker('TabList'); 2570var isTabPanel = makeTypeChecker('TabPanel'); 2571 2572/***/ }), 2573
vendor: 4,451 bytes, lines 2574-2657
2574/***/ "./node_modules/react-tabs/esm/helpers/propTypes.js": 2575/*!**********************************************************!*\ 2576 !*** ./node_modules/react-tabs/esm/helpers/propTypes.js ***! 2577 \**********************************************************/ 2578/*! exports provided: childrenPropType, onSelectPropType, selectedIndexPropType */ 2579/***/ (function(module, __webpack_exports__, __webpack_require__) { 2580 2581"use strict"; 2582__webpack_require__.r(__webpack_exports__); 2583/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "childrenPropType", function() { return childrenPropType; }); 2584/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "onSelectPropType", function() { return onSelectPropType; }); 2585/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "selectedIndexPropType", function() { return selectedIndexPropType; }); 2586/* harmony import */ var _childrenDeepMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./childrenDeepMap */ "./node_modules/react-tabs/esm/helpers/childrenDeepMap.js"); 2587/* harmony import */ var _elementTypes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./elementTypes */ "./node_modules/react-tabs/esm/helpers/elementTypes.js"); 2588 2589 2590function childrenPropType(props, propName, componentName) { 2591 var error; 2592 var tabsCount = 0; 2593 var panelsCount = 0; 2594 var tabListFound = false; 2595 var listTabs = []; 2596 var children = props[propName]; 2597 Object(_childrenDeepMap__WEBPACK_IMPORTED_MODULE_0__["deepForEach"])(children, function (child) { 2598 if (Object(_elementTypes__WEBPACK_IMPORTED_MODULE_1__["isTabList"])(child)) { 2599 if (child.props && child.props.children && typeof child.props.children === 'object') { 2600 Object(_childrenDeepMap__WEBPACK_IMPORTED_MODULE_0__["deepForEach"])(child.props.children, function (listChild) { 2601 return listTabs.push(listChild); 2602 }); 2603 } 2604 2605 if (tabListFound) { 2606 error = new Error("Found multiple 'TabList' components inside 'Tabs'. Only one is allowed."); 2607 } 2608 2609 tabListFound = true; 2610 } 2611 2612 if (Object(_elementTypes__WEBPACK_IMPORTED_MODULE_1__["isTab"])(child)) { 2613 if (!tabListFound || listTabs.indexOf(child) === -1) { 2614 error = new Error("Found a 'Tab' component outside of the 'TabList' component. 'Tab' components " + "have to be inside the 'TabList' component."); 2615 } 2616 2617 tabsCount++; 2618 } else if (Object(_elementTypes__WEBPACK_IMPORTED_MODULE_1__["isTabPanel"])(child)) { 2619 panelsCount++; 2620 } 2621 }); 2622 2623 if (!error && tabsCount !== panelsCount) { 2624 error = new Error("There should be an equal number of 'Tab' and 'TabPanel' in `" + componentName + "`. " + ("Received " + tabsCount + " 'Tab' and " + panelsCount + " 'TabPanel'.")); 2625 } 2626 2627 return error; 2628} 2629function onSelectPropType(props, propName, componentName, location, propFullName) { 2630 var prop = props[propName]; 2631 var name = propFullName || propName; 2632 var error = null; 2633 2634 if (prop && typeof prop !== 'function') { 2635 error = new Error("Invalid " + location + " `" + name + "` of type `" + typeof prop + "` supplied " + ("to `" + componentName + "`, expected `function`.")); 2636 } else if (props.selectedIndex != null && prop == null) { 2637 error = new Error("The " + location + " `" + name + "` is marked as required in `" + componentName + "`, but " + "its value is `undefined` or `null`.\n" + "`onSelect` is required when `selectedIndex` is also set. Not doing so will " + "make the tabs not do anything, as `selectedIndex` indicates that you want to " + "handle the selected tab yourself.\n" + "If you only want to set the inital tab replace `selectedIndex` with `defaultIndex`."); 2638 } 2639 2640 return error; 2641} 2642function selectedIndexPropType(props, propName, componentName, location, propFullName) { 2643 var prop = props[propName]; 2644 var name = propFullName || propName; 2645 var error = null; 2646 2647 if (prop != null && typeof prop !== 'number') { 2648 error = new Error("Invalid " + location + " `" + name + "` of type `" + typeof prop + "` supplied to " + ("`" + componentName + "`, expected `number`.")); 2649 } else if (props.defaultIndex != null && prop != null) { 2650 return new Error("The " + location + " `" + name + "` cannot be used together with `defaultIndex` " + ("in `" + componentName + "`.\n") + ("Either remove `" + name + "` to let `" + componentName + "` handle the selected ") + "tab internally or remove `defaultIndex` to handle it yourself."); 2651 } 2652 2653 return error; 2654} 2655 2656/***/ }), 2657
vendor: 781 bytes, lines 2658-2679
2658/***/ "./node_modules/react-tabs/esm/helpers/uuid.js": 2659/*!*****************************************************!*\ 2660 !*** ./node_modules/react-tabs/esm/helpers/uuid.js ***! 2661 \*****************************************************/ 2662/*! exports provided: default, reset */ 2663/***/ (function(module, __webpack_exports__, __webpack_require__) { 2664 2665"use strict"; 2666__webpack_require__.r(__webpack_exports__); 2667/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return uuid; }); 2668/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "reset", function() { return reset; }); 2669// Get a universally unique identifier 2670var count = 0; 2671function uuid() { 2672 return "react-tabs-" + count++; 2673} 2674function reset() { 2675 count = 0; 2676} 2677 2678/***/ }), 2679
vendor: 2,118 bytes, lines 2680-2711
2680/***/ "./node_modules/react-tabs/esm/index.js": 2681/*!**********************************************!*\ 2682 !*** ./node_modules/react-tabs/esm/index.js ***! 2683 \**********************************************/ 2684/*! exports provided: Tabs, TabList, Tab, TabPanel, resetIdCounter */ 2685/***/ (function(module, __webpack_exports__, __webpack_require__) { 2686 2687"use strict"; 2688__webpack_require__.r(__webpack_exports__); 2689/* harmony import */ var _components_Tabs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./components/Tabs */ "./node_modules/react-tabs/esm/components/Tabs.js"); 2690/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Tabs", function() { return _components_Tabs__WEBPACK_IMPORTED_MODULE_0__["default"]; }); 2691 2692/* harmony import */ var _components_TabList__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./components/TabList */ "./node_modules/react-tabs/esm/components/TabList.js"); 2693/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TabList", function() { return _components_TabList__WEBPACK_IMPORTED_MODULE_1__["default"]; }); 2694 2695/* harmony import */ var _components_Tab__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./components/Tab */ "./node_modules/react-tabs/esm/components/Tab.js"); 2696/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Tab", function() { return _components_Tab__WEBPACK_IMPORTED_MODULE_2__["default"]; }); 2697 2698/* harmony import */ var _components_TabPanel__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./components/TabPanel */ "./node_modules/react-tabs/esm/components/TabPanel.js"); 2699/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TabPanel", function() { return _components_TabPanel__WEBPACK_IMPORTED_MODULE_3__["default"]; }); 2700 2701/* harmony import */ var _helpers_uuid__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./helpers/uuid */ "./node_modules/react-tabs/esm/helpers/uuid.js"); 2702/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "resetIdCounter", function() { return _helpers_uuid__WEBPACK_IMPORTED_MODULE_4__["reset"]; }); 2703 2704 2705 2706 2707 2708 2709 2710/***/ }), 2711
vendor: 16,479 bytes, lines 2712-3146
2712/***/ "./node_modules/react-transition-group/esm/CSSTransition.js": 2713/*!******************************************************************!*\ 2714 !*** ./node_modules/react-transition-group/esm/CSSTransition.js ***! 2715 \******************************************************************/ 2716/*! exports provided: default */ 2717/***/ (function(module, __webpack_exports__, __webpack_require__) { 2718 2719"use strict"; 2720__webpack_require__.r(__webpack_exports__); 2721/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/react-transition-group/node_modules/@babel/runtime/helpers/esm/extends.js"); 2722/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/react-transition-group/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"); 2723/* harmony import */ var _babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inheritsLoose */ "./node_modules/react-transition-group/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js"); 2724/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js"); 2725/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_3__); 2726/* harmony import */ var dom_helpers_addClass__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! dom-helpers/addClass */ "./node_modules/react-transition-group/node_modules/dom-helpers/esm/addClass.js"); 2727/* harmony import */ var dom_helpers_removeClass__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! dom-helpers/removeClass */ "./node_modules/react-transition-group/node_modules/dom-helpers/esm/removeClass.js"); 2728/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ "react"); 2729/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__); 2730/* harmony import */ var _Transition__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Transition */ "./node_modules/react-transition-group/esm/Transition.js"); 2731/* harmony import */ var _utils_PropTypes__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./utils/PropTypes */ "./node_modules/react-transition-group/esm/utils/PropTypes.js"); 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742var _addClass = function addClass(node, classes) { 2743 return node && classes && classes.split(' ').forEach(function (c) { 2744 return Object(dom_helpers_addClass__WEBPACK_IMPORTED_MODULE_4__["default"])(node, c); 2745 }); 2746}; 2747 2748var removeClass = function removeClass(node, classes) { 2749 return node && classes && classes.split(' ').forEach(function (c) { 2750 return Object(dom_helpers_removeClass__WEBPACK_IMPORTED_MODULE_5__["default"])(node, c); 2751 }); 2752}; 2753/** 2754 * A transition component inspired by the excellent 2755 * [ng-animate](https://docs.angularjs.org/api/ngAnimate) library, you should 2756 * use it if you're using CSS transitions or animations. It's built upon the 2757 * [`Transition`](https://reactcommunity.org/react-transition-group/transition) 2758 * component, so it inherits all of its props. 2759 * 2760 * `CSSTransition` applies a pair of class names during the `appear`, `enter`, 2761 * and `exit` states of the transition. The first class is applied and then a 2762 * second `*-active` class in order to activate the CSS transition. After the 2763 * transition, matching `*-done` class names are applied to persist the 2764 * transition state. 2765 * 2766 * ```jsx 2767 * function App() { 2768 * const [inProp, setInProp] = useState(false); 2769 * return ( 2770 * <div> 2771 * <CSSTransition in={inProp} timeout={200} classNames="my-node"> 2772 * <div> 2773 * {"I'll receive my-node-* classes"} 2774 * </div> 2775 * </CSSTransition> 2776 * <button type="button" onClick={() => setInProp(true)}> 2777 * Click to Enter 2778 * </button> 2779 * </div> 2780 * ); 2781 * } 2782 * ``` 2783 * 2784 * When the `in` prop is set to `true`, the child component will first receive 2785 * the class `example-enter`, then the `example-enter-active` will be added in 2786 * the next tick. `CSSTransition` [forces a 2787 * reflow](https://github.com/reactjs/react-transition-group/blob/5007303e729a74be66a21c3e2205e4916821524b/src/CSSTransition.js#L208-L215) 2788 * between before adding the `example-enter-active`. This is an important trick 2789 * because it allows us to transition between `example-enter` and 2790 * `example-enter-active` even though they were added immediately one after 2791 * another. Most notably, this is what makes it possible for us to animate 2792 * _appearance_. 2793 * 2794 * ```css 2795 * .my-node-enter { 2796 * opacity: 0; 2797 * } 2798 * .my-node-enter-active { 2799 * opacity: 1; 2800 * transition: opacity 200ms; 2801 * } 2802 * .my-node-exit { 2803 * opacity: 1; 2804 * } 2805 * .my-node-exit-active { 2806 * opacity: 0; 2807 * transition: opacity 200ms; 2808 * } 2809 * ``` 2810 * 2811 * `*-active` classes represent which styles you want to animate **to**, so it's 2812 * important to add `transition` declaration only to them, otherwise transitions 2813 * might not behave as intended! This might not be obvious when the transitions 2814 * are symmetrical, i.e. when `*-enter-active` is the same as `*-exit`, like in 2815 * the example above (minus `transition`), but it becomes apparent in more 2816 * complex transitions. 2817 * 2818 * **Note**: If you're using the 2819 * [`appear`](http://reactcommunity.org/react-transition-group/transition#Transition-prop-appear) 2820 * prop, make sure to define styles for `.appear-*` classes as well. 2821 */ 2822 2823 2824var CSSTransition = /*#__PURE__*/function (_React$Component) { 2825 Object(_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_2__["default"])(CSSTransition, _React$Component); 2826 2827 function CSSTransition() { 2828 var _this; 2829 2830 for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { 2831 args[_key] = arguments[_key]; 2832 } 2833 2834 _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this; 2835 _this.appliedClasses = { 2836 appear: {}, 2837 enter: {}, 2838 exit: {} 2839 }; 2840 2841 _this.onEnter = function (maybeNode, maybeAppearing) { 2842 var _this$resolveArgument = _this.resolveArguments(maybeNode, maybeAppearing), 2843 node = _this$resolveArgument[0], 2844 appearing = _this$resolveArgument[1]; 2845 2846 _this.removeClasses(node, 'exit'); 2847 2848 _this.addClass(node, appearing ? 'appear' : 'enter', 'base'); 2849 2850 if (_this.props.onEnter) { 2851 _this.props.onEnter(maybeNode, maybeAppearing); 2852 } 2853 }; 2854 2855 _this.onEntering = function (maybeNode, maybeAppearing) { 2856 var _this$resolveArgument2 = _this.resolveArguments(maybeNode, maybeAppearing), 2857 node = _this$resolveArgument2[0], 2858 appearing = _this$resolveArgument2[1]; 2859 2860 var type = appearing ? 'appear' : 'enter'; 2861 2862 _this.addClass(node, type, 'active'); 2863 2864 if (_this.props.onEntering) { 2865 _this.props.onEntering(maybeNode, maybeAppearing); 2866 } 2867 }; 2868 2869 _this.onEntered = function (maybeNode, maybeAppearing) { 2870 var _this$resolveArgument3 = _this.resolveArguments(maybeNode, maybeAppearing), 2871 node = _this$resolveArgument3[0], 2872 appearing = _this$resolveArgument3[1]; 2873 2874 var type = appearing ? 'appear' : 'enter'; 2875 2876 _this.removeClasses(node, type); 2877 2878 _this.addClass(node, type, 'done'); 2879 2880 if (_this.props.onEntered) { 2881 _this.props.onEntered(maybeNode, maybeAppearing); 2882 } 2883 }; 2884 2885 _this.onExit = function (maybeNode) { 2886 var _this$resolveArgument4 = _this.resolveArguments(maybeNode), 2887 node = _this$resolveArgument4[0]; 2888 2889 _this.removeClasses(node, 'appear'); 2890 2891 _this.removeClasses(node, 'enter'); 2892 2893 _this.addClass(node, 'exit', 'base'); 2894 2895 if (_this.props.onExit) { 2896 _this.props.onExit(maybeNode); 2897 } 2898 }; 2899 2900 _this.onExiting = function (maybeNode) { 2901 var _this$resolveArgument5 = _this.resolveArguments(maybeNode), 2902 node = _this$resolveArgument5[0]; 2903 2904 _this.addClass(node, 'exit', 'active'); 2905 2906 if (_this.props.onExiting) { 2907 _this.props.onExiting(maybeNode); 2908 } 2909 }; 2910 2911 _this.onExited = function (maybeNode) { 2912 var _this$resolveArgument6 = _this.resolveArguments(maybeNode), 2913 node = _this$resolveArgument6[0]; 2914 2915 _this.removeClasses(node, 'exit'); 2916 2917 _this.addClass(node, 'exit', 'done'); 2918 2919 if (_this.props.onExited) { 2920 _this.props.onExited(maybeNode); 2921 } 2922 }; 2923 2924 _this.resolveArguments = function (maybeNode, maybeAppearing) { 2925 return _this.props.nodeRef ? [_this.props.nodeRef.current, maybeNode] // here `maybeNode` is actually `appearing` 2926 : [maybeNode, maybeAppearing]; 2927 }; 2928 2929 _this.getClassNames = function (type) { 2930 var classNames = _this.props.classNames; 2931 var isStringClassNames = typeof classNames === 'string'; 2932 var prefix = isStringClassNames && classNames ? classNames + "-" : ''; 2933 var baseClassName = isStringClassNames ? "" + prefix + type : classNames[type]; 2934 var activeClassName = isStringClassNames ? baseClassName + "-active" : classNames[type + "Active"]; 2935 var doneClassName = isStringClassNames ? baseClassName + "-done" : classNames[type + "Done"]; 2936 return { 2937 baseClassName: baseClassName, 2938 activeClassName: activeClassName, 2939 doneClassName: doneClassName 2940 }; 2941 }; 2942 2943 return _this; 2944 } 2945 2946 var _proto = CSSTransition.prototype; 2947 2948 _proto.addClass = function addClass(node, type, phase) { 2949 var className = this.getClassNames(type)[phase + "ClassName"]; 2950 2951 var _this$getClassNames = this.getClassNames('enter'), 2952 doneClassName = _this$getClassNames.doneClassName; 2953 2954 if (type === 'appear' && phase === 'done' && doneClassName) { 2955 className += " " + doneClassName; 2956 } // This is to force a repaint, 2957 // which is necessary in order to transition styles when adding a class name. 2958 2959 2960 if (phase === 'active') { 2961 /* eslint-disable no-unused-expressions */ 2962 node && node.scrollTop; 2963 } 2964 2965 if (className) { 2966 this.appliedClasses[type][phase] = className; 2967 2968 _addClass(node, className); 2969 } 2970 }; 2971 2972 _proto.removeClasses = function removeClasses(node, type) { 2973 var _this$appliedClasses$ = this.appliedClasses[type], 2974 baseClassName = _this$appliedClasses$.base, 2975 activeClassName = _this$appliedClasses$.active, 2976 doneClassName = _this$appliedClasses$.done; 2977 this.appliedClasses[type] = {}; 2978 2979 if (baseClassName) { 2980 removeClass(node, baseClassName); 2981 } 2982 2983 if (activeClassName) { 2984 removeClass(node, activeClassName); 2985 } 2986 2987 if (doneClassName) { 2988 removeClass(node, doneClassName); 2989 } 2990 }; 2991 2992 _proto.render = function render() { 2993 var _this$props = this.props, 2994 _ = _this$props.classNames, 2995 props = Object(_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(_this$props, ["classNames"]); 2996 2997 return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default.a.createElement(_Transition__WEBPACK_IMPORTED_MODULE_7__["default"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, props, { 2998 onEnter: this.onEnter, 2999 onEntered: this.onEntered, 3000 onEntering: this.onEntering, 3001 onExit: this.onExit, 3002 onExiting: this.onExiting, 3003 onExited: this.onExited 3004 })); 3005 }; 3006 3007 return CSSTransition; 3008}(react__WEBPACK_IMPORTED_MODULE_6___default.a.Component); 3009 3010CSSTransition.defaultProps = { 3011 classNames: '' 3012}; 3013CSSTransition.propTypes = true ? Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, _Transition__WEBPACK_IMPORTED_MODULE_7__["default"].propTypes, { 3014 /** 3015 * The animation classNames applied to the component as it appears, enters, 3016 * exits or has finished the transition. A single name can be provided, which 3017 * will be suffixed for each stage, e.g. `classNames="fade"` applies: 3018 * 3019 * - `fade-appear`, `fade-appear-active`, `fade-appear-done` 3020 * - `fade-enter`, `fade-enter-active`, `fade-enter-done` 3021 * - `fade-exit`, `fade-exit-active`, `fade-exit-done` 3022 * 3023 * A few details to note about how these classes are applied: 3024 * 3025 * 1. They are _joined_ with the ones that are already defined on the child 3026 * component, so if you want to add some base styles, you can use 3027 * `className` without worrying that it will be overridden. 3028 * 3029 * 2. If the transition component mounts with `in={false}`, no classes are 3030 * applied yet. You might be expecting `*-exit-done`, but if you think 3031 * about it, a component cannot finish exiting if it hasn't entered yet. 3032 * 3033 * 2. `fade-appear-done` and `fade-enter-done` will _both_ be applied. This 3034 * allows you to define different behavior for when appearing is done and 3035 * when regular entering is done, using selectors like 3036 * `.fade-enter-done:not(.fade-appear-done)`. For example, you could apply 3037 * an epic entrance animation when element first appears in the DOM using 3038 * [Animate.css](https://daneden.github.io/animate.css/). Otherwise you can 3039 * simply use `fade-enter-done` for defining both cases. 3040 * 3041 * Each individual classNames can also be specified independently like: 3042 * 3043 * ```js 3044 * classNames={{ 3045 * appear: 'my-appear', 3046 * appearActive: 'my-active-appear', 3047 * appearDone: 'my-done-appear', 3048 * enter: 'my-enter', 3049 * enterActive: 'my-active-enter', 3050 * enterDone: 'my-done-enter', 3051 * exit: 'my-exit', 3052 * exitActive: 'my-active-exit', 3053 * exitDone: 'my-done-exit', 3054 * }} 3055 * ``` 3056 * 3057 * If you want to set these classes using CSS Modules: 3058 * 3059 * ```js 3060 * import styles from './styles.css'; 3061 * ``` 3062 * 3063 * you might want to use camelCase in your CSS file, that way could simply 3064 * spread them instead of listing them one by one: 3065 * 3066 * ```js 3067 * classNames={{ ...styles }} 3068 * ``` 3069 * 3070 * @type {string | { 3071 * appear?: string, 3072 * appearActive?: string, 3073 * appearDone?: string, 3074 * enter?: string, 3075 * enterActive?: string, 3076 * enterDone?: string, 3077 * exit?: string, 3078 * exitActive?: string, 3079 * exitDone?: string, 3080 * }} 3081 */ 3082 classNames: _utils_PropTypes__WEBPACK_IMPORTED_MODULE_8__["classNamesShape"], 3083 3084 /** 3085 * A `<Transition>` callback fired immediately after the 'enter' or 'appear' class is 3086 * applied. 3087 * 3088 * **Note**: when `nodeRef` prop is passed, `node` is not passed. 3089 * 3090 * @type Function(node: HtmlElement, isAppearing: bool) 3091 */ 3092 onEnter: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func, 3093 3094 /** 3095 * A `<Transition>` callback fired immediately after the 'enter-active' or 3096 * 'appear-active' class is applied. 3097 * 3098 * **Note**: when `nodeRef` prop is passed, `node` is not passed. 3099 * 3100 * @type Function(node: HtmlElement, isAppearing: bool) 3101 */ 3102 onEntering: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func, 3103 3104 /** 3105 * A `<Transition>` callback fired immediately after the 'enter' or 3106 * 'appear' classes are **removed** and the `done` class is added to the DOM node. 3107 * 3108 * **Note**: when `nodeRef` prop is passed, `node` is not passed. 3109 * 3110 * @type Function(node: HtmlElement, isAppearing: bool) 3111 */ 3112 onEntered: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func, 3113 3114 /** 3115 * A `<Transition>` callback fired immediately after the 'exit' class is 3116 * applied. 3117 * 3118 * **Note**: when `nodeRef` prop is passed, `node` is not passed 3119 * 3120 * @type Function(node: HtmlElement) 3121 */ 3122 onExit: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func, 3123 3124 /** 3125 * A `<Transition>` callback fired immediately after the 'exit-active' is applied. 3126 * 3127 * **Note**: when `nodeRef` prop is passed, `node` is not passed 3128 * 3129 * @type Function(node: HtmlElement) 3130 */ 3131 onExiting: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func, 3132 3133 /** 3134 * A `<Transition>` callback fired immediately after the 'exit' classes 3135 * are **removed** and the `exit-done` class is added to the DOM node. 3136 * 3137 * **Note**: when `nodeRef` prop is passed, `node` is not passed 3138 * 3139 * @type Function(node: HtmlElement) 3140 */ 3141 onExited: prop_types__WEBPACK_IMPORTED_MODULE_3___default.a.func 3142}) : undefined; 3143/* harmony default export */ __webpack_exports__["default"] = (CSSTransition); 3144 3145/***/ }), 3146
vendor: 6,734 bytes, lines 3147-3303
3147/***/ "./node_modules/react-transition-group/esm/ReplaceTransition.js": 3148/*!**********************************************************************!*\ 3149 !*** ./node_modules/react-transition-group/esm/ReplaceTransition.js ***! 3150 \**********************************************************************/ 3151/*! exports provided: default */ 3152/***/ (function(module, __webpack_exports__, __webpack_require__) { 3153 3154"use strict"; 3155__webpack_require__.r(__webpack_exports__); 3156/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/react-transition-group/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"); 3157/* harmony import */ var _babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inheritsLoose */ "./node_modules/react-transition-group/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js"); 3158/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js"); 3159/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__); 3160/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "react"); 3161/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__); 3162/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-dom */ "react-dom"); 3163/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_4__); 3164/* harmony import */ var _TransitionGroup__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./TransitionGroup */ "./node_modules/react-transition-group/esm/TransitionGroup.js"); 3165 3166 3167 3168 3169 3170 3171/** 3172 * The `<ReplaceTransition>` component is a specialized `Transition` component 3173 * that animates between two children. 3174 * 3175 * ```jsx 3176 * <ReplaceTransition in> 3177 * <Fade><div>I appear first</div></Fade> 3178 * <Fade><div>I replace the above</div></Fade> 3179 * </ReplaceTransition> 3180 * ``` 3181 */ 3182 3183var ReplaceTransition = /*#__PURE__*/function (_React$Component) { 3184 Object(_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(ReplaceTransition, _React$Component); 3185 3186 function ReplaceTransition() { 3187 var _this; 3188 3189 for (var _len = arguments.length, _args = new Array(_len), _key = 0; _key < _len; _key++) { 3190 _args[_key] = arguments[_key]; 3191 } 3192 3193 _this = _React$Component.call.apply(_React$Component, [this].concat(_args)) || this; 3194 3195 _this.handleEnter = function () { 3196 for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { 3197 args[_key2] = arguments[_key2]; 3198 } 3199 3200 return _this.handleLifecycle('onEnter', 0, args); 3201 }; 3202 3203 _this.handleEntering = function () { 3204 for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) { 3205 args[_key3] = arguments[_key3]; 3206 } 3207 3208 return _this.handleLifecycle('onEntering', 0, args); 3209 }; 3210 3211 _this.handleEntered = function () { 3212 for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) { 3213 args[_key4] = arguments[_key4]; 3214 } 3215 3216 return _this.handleLifecycle('onEntered', 0, args); 3217 }; 3218 3219 _this.handleExit = function () { 3220 for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) { 3221 args[_key5] = arguments[_key5]; 3222 } 3223 3224 return _this.handleLifecycle('onExit', 1, args); 3225 }; 3226 3227 _this.handleExiting = function () { 3228 for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) { 3229 args[_key6] = arguments[_key6]; 3230 } 3231 3232 return _this.handleLifecycle('onExiting', 1, args); 3233 }; 3234 3235 _this.handleExited = function () { 3236 for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) { 3237 args[_key7] = arguments[_key7]; 3238 } 3239 3240 return _this.handleLifecycle('onExited', 1, args); 3241 }; 3242 3243 return _this; 3244 } 3245 3246 var _proto = ReplaceTransition.prototype; 3247 3248 _proto.handleLifecycle = function handleLifecycle(handler, idx, originalArgs) { 3249 var _child$props; 3250 3251 var children = this.props.children; 3252 var child = react__WEBPACK_IMPORTED_MODULE_3___default.a.Children.toArray(children)[idx]; 3253 if (child.props[handler]) (_child$props = child.props)[handler].apply(_child$props, originalArgs); 3254 3255 if (this.props[handler]) { 3256 var maybeNode = child.props.nodeRef ? undefined : react_dom__WEBPACK_IMPORTED_MODULE_4___default.a.findDOMNode(this); 3257 this.props[handler](maybeNode); 3258 } 3259 }; 3260 3261 _proto.render = function render() { 3262 var _this$props = this.props, 3263 children = _this$props.children, 3264 inProp = _this$props.in, 3265 props = Object(_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__["default"])(_this$props, ["children", "in"]); 3266 3267 var _React$Children$toArr = react__WEBPACK_IMPORTED_MODULE_3___default.a.Children.toArray(children), 3268 first = _React$Children$toArr[0], 3269 second = _React$Children$toArr[1]; 3270 3271 delete props.onEnter; 3272 delete props.onEntering; 3273 delete props.onEntered; 3274 delete props.onExit; 3275 delete props.onExiting; 3276 delete props.onExited; 3277 return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(_TransitionGroup__WEBPACK_IMPORTED_MODULE_5__["default"], props, inProp ? react__WEBPACK_IMPORTED_MODULE_3___default.a.cloneElement(first, { 3278 key: 'first', 3279 onEnter: this.handleEnter, 3280 onEntering: this.handleEntering, 3281 onEntered: this.handleEntered 3282 }) : react__WEBPACK_IMPORTED_MODULE_3___default.a.cloneElement(second, { 3283 key: 'second', 3284 onEnter: this.handleExit, 3285 onEntering: this.handleExiting, 3286 onEntered: this.handleExited 3287 })); 3288 }; 3289 3290 return ReplaceTransition; 3291}(react__WEBPACK_IMPORTED_MODULE_3___default.a.Component); 3292 3293ReplaceTransition.propTypes = true ? { 3294 in: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool.isRequired, 3295 children: function children(props, propName) { 3296 if (react__WEBPACK_IMPORTED_MODULE_3___default.a.Children.count(props[propName]) !== 2) return new Error("\"" + propName + "\" must be exactly two transition components."); 3297 return null; 3298 } 3299} : undefined; 3300/* harmony default export */ __webpack_exports__["default"] = (ReplaceTransition); 3301 3302/***/ }), 3303
vendor: 9,787 bytes, lines 3304-3580
3304/***/ "./node_modules/react-transition-group/esm/SwitchTransition.js": 3305/*!*********************************************************************!*\ 3306 !*** ./node_modules/react-transition-group/esm/SwitchTransition.js ***! 3307 \*********************************************************************/ 3308/*! exports provided: modes, default */ 3309/***/ (function(module, __webpack_exports__, __webpack_require__) { 3310 3311"use strict"; 3312__webpack_require__.r(__webpack_exports__); 3313/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "modes", function() { return modes; }); 3314/* harmony import */ var _babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inheritsLoose */ "./node_modules/react-transition-group/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js"); 3315/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react"); 3316/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__); 3317/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js"); 3318/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__); 3319/* harmony import */ var _Transition__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Transition */ "./node_modules/react-transition-group/esm/Transition.js"); 3320/* harmony import */ var _TransitionGroupContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./TransitionGroupContext */ "./node_modules/react-transition-group/esm/TransitionGroupContext.js"); 3321 3322 3323var _leaveRenders, _enterRenders; 3324 3325 3326 3327 3328 3329 3330function areChildrenDifferent(oldChildren, newChildren) { 3331 if (oldChildren === newChildren) return false; 3332 3333 if (react__WEBPACK_IMPORTED_MODULE_1___default.a.isValidElement(oldChildren) && react__WEBPACK_IMPORTED_MODULE_1___default.a.isValidElement(newChildren) && oldChildren.key != null && oldChildren.key === newChildren.key) { 3334 return false; 3335 } 3336 3337 return true; 3338} 3339/** 3340 * Enum of modes for SwitchTransition component 3341 * @enum { string } 3342 */ 3343 3344 3345var modes = { 3346 out: 'out-in', 3347 in: 'in-out' 3348}; 3349 3350var callHook = function callHook(element, name, cb) { 3351 return function () { 3352 var _element$props; 3353 3354 element.props[name] && (_element$props = element.props)[name].apply(_element$props, arguments); 3355 cb(); 3356 }; 3357}; 3358 3359var leaveRenders = (_leaveRenders = {}, _leaveRenders[modes.out] = function (_ref) { 3360 var current = _ref.current, 3361 changeState = _ref.changeState; 3362 return react__WEBPACK_IMPORTED_MODULE_1___default.a.cloneElement(current, { 3363 in: false, 3364 onExited: callHook(current, 'onExited', function () { 3365 changeState(_Transition__WEBPACK_IMPORTED_MODULE_3__["ENTERING"], null); 3366 }) 3367 }); 3368}, _leaveRenders[modes.in] = function (_ref2) { 3369 var current = _ref2.current, 3370 changeState = _ref2.changeState, 3371 children = _ref2.children; 3372 return [current, react__WEBPACK_IMPORTED_MODULE_1___default.a.cloneElement(children, { 3373 in: true, 3374 onEntered: callHook(children, 'onEntered', function () { 3375 changeState(_Transition__WEBPACK_IMPORTED_MODULE_3__["ENTERING"]); 3376 }) 3377 })]; 3378}, _leaveRenders); 3379var enterRenders = (_enterRenders = {}, _enterRenders[modes.out] = function (_ref3) { 3380 var children = _ref3.children, 3381 changeState = _ref3.changeState; 3382 return react__WEBPACK_IMPORTED_MODULE_1___default.a.cloneElement(children, { 3383 in: true, 3384 onEntered: callHook(children, 'onEntered', function () { 3385 changeState(_Transition__WEBPACK_IMPORTED_MODULE_3__["ENTERED"], react__WEBPACK_IMPORTED_MODULE_1___default.a.cloneElement(children, { 3386 in: true 3387 })); 3388 }) 3389 }); 3390}, _enterRenders[modes.in] = function (_ref4) { 3391 var current = _ref4.current, 3392 children = _ref4.children, 3393 changeState = _ref4.changeState; 3394 return [react__WEBPACK_IMPORTED_MODULE_1___default.a.cloneElement(current, { 3395 in: false, 3396 onExited: callHook(current, 'onExited', function () { 3397 changeState(_Transition__WEBPACK_IMPORTED_MODULE_3__["ENTERED"], react__WEBPACK_IMPORTED_MODULE_1___default.a.cloneElement(children, { 3398 in: true 3399 })); 3400 }) 3401 }), react__WEBPACK_IMPORTED_MODULE_1___default.a.cloneElement(children, { 3402 in: true 3403 })]; 3404}, _enterRenders); 3405/** 3406 * A transition component inspired by the [vue transition modes](https://vuejs.org/v2/guide/transitions.html#Transition-Modes). 3407 * You can use it when you want to control the render between state transitions. 3408 * Based on the selected mode and the child's key which is the `Transition` or `CSSTransition` component, the `SwitchTransition` makes a consistent transition between them. 3409 * 3410 * If the `out-in` mode is selected, the `SwitchTransition` waits until the old child leaves and then inserts a new child. 3411 * If the `in-out` mode is selected, the `SwitchTransition` inserts a new child first, waits for the new child to enter and then removes the old child. 3412 * 3413 * **Note**: If you want the animation to happen simultaneously 3414 * (that is, to have the old child removed and a new child inserted **at the same time**), 3415 * you should use 3416 * [`TransitionGroup`](https://reactcommunity.org/react-transition-group/transition-group) 3417 * instead. 3418 * 3419 * ```jsx 3420 * function App() { 3421 * const [state, setState] = useState(false); 3422 * return ( 3423 * <SwitchTransition> 3424 * <CSSTransition 3425 * key={state ? "Goodbye, world!" : "Hello, world!"} 3426 * addEndListener={(node, done) => node.addEventListener("transitionend", done, false)} 3427 * classNames='fade' 3428 * > 3429 * <button onClick={() => setState(state => !state)}> 3430 * {state ? "Goodbye, world!" : "Hello, world!"} 3431 * </button> 3432 * </CSSTransition> 3433 * </SwitchTransition> 3434 * ); 3435 * } 3436 * ``` 3437 * 3438 * ```css 3439 * .fade-enter{ 3440 * opacity: 0; 3441 * } 3442 * .fade-exit{ 3443 * opacity: 1; 3444 * } 3445 * .fade-enter-active{ 3446 * opacity: 1; 3447 * } 3448 * .fade-exit-active{ 3449 * opacity: 0; 3450 * } 3451 * .fade-enter-active, 3452 * .fade-exit-active{ 3453 * transition: opacity 500ms; 3454 * } 3455 * ``` 3456 */ 3457 3458var SwitchTransition = /*#__PURE__*/function (_React$Component) { 3459 Object(_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_0__["default"])(SwitchTransition, _React$Component); 3460 3461 function SwitchTransition() { 3462 var _this; 3463 3464 for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { 3465 args[_key] = arguments[_key]; 3466 } 3467 3468 _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this; 3469 _this.state = { 3470 status: _Transition__WEBPACK_IMPORTED_MODULE_3__["ENTERED"], 3471 current: null 3472 }; 3473 _this.appeared = false; 3474 3475 _this.changeState = function (status, current) { 3476 if (current === void 0) { 3477 current = _this.state.current; 3478 } 3479 3480 _this.setState({ 3481 status: status, 3482 current: current 3483 }); 3484 }; 3485 3486 return _this; 3487 } 3488 3489 var _proto = SwitchTransition.prototype; 3490 3491 _proto.componentDidMount = function componentDidMount() { 3492 this.appeared = true; 3493 }; 3494 3495 SwitchTransition.getDerivedStateFromProps = function getDerivedStateFromProps(props, state) { 3496 if (props.children == null) { 3497 return { 3498 current: null 3499 }; 3500 } 3501 3502 if (state.status === _Transition__WEBPACK_IMPORTED_MODULE_3__["ENTERING"] && props.mode === modes.in) { 3503 return { 3504 status: _Transition__WEBPACK_IMPORTED_MODULE_3__["ENTERING"] 3505 }; 3506 } 3507 3508 if (state.current && areChildrenDifferent(state.current, props.children)) { 3509 return { 3510 status: _Transition__WEBPACK_IMPORTED_MODULE_3__["EXITING"] 3511 }; 3512 } 3513 3514 return { 3515 current: react__WEBPACK_IMPORTED_MODULE_1___default.a.cloneElement(props.children, { 3516 in: true 3517 }) 3518 }; 3519 }; 3520 3521 _proto.render = function render() { 3522 var _this$props = this.props, 3523 children = _this$props.children, 3524 mode = _this$props.mode, 3525 _this$state = this.state, 3526 status = _this$state.status, 3527 current = _this$state.current; 3528 var data = { 3529 children: children, 3530 current: current, 3531 changeState: this.changeState, 3532 status: status 3533 }; 3534 var component; 3535 3536 switch (status) { 3537 case _Transition__WEBPACK_IMPORTED_MODULE_3__["ENTERING"]: 3538 component = enterRenders[mode](data); 3539 break; 3540 3541 case _Transition__WEBPACK_IMPORTED_MODULE_3__["EXITING"]: 3542 component = leaveRenders[mode](data); 3543 break; 3544 3545 case _Transition__WEBPACK_IMPORTED_MODULE_3__["ENTERED"]: 3546 component = current; 3547 } 3548 3549 return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_TransitionGroupContext__WEBPACK_IMPORTED_MODULE_4__["default"].Provider, { 3550 value: { 3551 isMounting: !this.appeared 3552 } 3553 }, component); 3554 }; 3555 3556 return SwitchTransition; 3557}(react__WEBPACK_IMPORTED_MODULE_1___default.a.Component); 3558 3559SwitchTransition.propTypes = true ? { 3560 /** 3561 * Transition modes. 3562 * `out-in`: Current element transitions out first, then when complete, the new element transitions in. 3563 * `in-out`: New element transitions in first, then when complete, the current element transitions out. 3564 * 3565 * @type {'out-in'|'in-out'} 3566 */ 3567 mode: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOf([modes.in, modes.out]), 3568 3569 /** 3570 * Any `Transition` or `CSSTransition` component. 3571 */ 3572 children: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element.isRequired]) 3573} : undefined; 3574SwitchTransition.defaultProps = { 3575 mode: modes.out 3576}; 3577/* harmony default export */ __webpack_exports__["default"] = (SwitchTransition); 3578 3579/***/ }), 3580
vendor: 22,793 bytes, lines 3581-4224
3581/***/ "./node_modules/react-transition-group/esm/Transition.js": 3582/*!***************************************************************!*\ 3583 !*** ./node_modules/react-transition-group/esm/Transition.js ***! 3584 \***************************************************************/ 3585/*! exports provided: UNMOUNTED, EXITED, ENTERING, ENTERED, EXITING, default */ 3586/***/ (function(module, __webpack_exports__, __webpack_require__) { 3587 3588"use strict"; 3589__webpack_require__.r(__webpack_exports__); 3590/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UNMOUNTED", function() { return UNMOUNTED; }); 3591/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EXITED", function() { return EXITED; }); 3592/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ENTERING", function() { return ENTERING; }); 3593/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ENTERED", function() { return ENTERED; }); 3594/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EXITING", function() { return EXITING; }); 3595/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/react-transition-group/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"); 3596/* harmony import */ var _babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inheritsLoose */ "./node_modules/react-transition-group/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js"); 3597/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js"); 3598/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_2__); 3599/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ "react"); 3600/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__); 3601/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-dom */ "react-dom"); 3602/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_4__); 3603/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./config */ "./node_modules/react-transition-group/esm/config.js"); 3604/* harmony import */ var _utils_PropTypes__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./utils/PropTypes */ "./node_modules/react-transition-group/esm/utils/PropTypes.js"); 3605/* harmony import */ var _TransitionGroupContext__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./TransitionGroupContext */ "./node_modules/react-transition-group/esm/TransitionGroupContext.js"); 3606 3607 3608 3609 3610 3611 3612 3613 3614var UNMOUNTED = 'unmounted'; 3615var EXITED = 'exited'; 3616var ENTERING = 'entering'; 3617var ENTERED = 'entered'; 3618var EXITING = 'exiting'; 3619/** 3620 * The Transition component lets you describe a transition from one component 3621 * state to another _over time_ with a simple declarative API. Most commonly 3622 * it's used to animate the mounting and unmounting of a component, but can also 3623 * be used to describe in-place transition states as well. 3624 * 3625 * --- 3626 * 3627 * **Note**: `Transition` is a platform-agnostic base component. If you're using 3628 * transitions in CSS, you'll probably want to use 3629 * [`CSSTransition`](https://reactcommunity.org/react-transition-group/css-transition) 3630 * instead. It inherits all the features of `Transition`, but contains 3631 * additional features necessary to play nice with CSS transitions (hence the 3632 * name of the component). 3633 * 3634 * --- 3635 * 3636 * By default the `Transition` component does not alter the behavior of the 3637 * component it renders, it only tracks "enter" and "exit" states for the 3638 * components. It's up to you to give meaning and effect to those states. For 3639 * example we can add styles to a component when it enters or exits: 3640 * 3641 * ```jsx 3642 * import { Transition } from 'react-transition-group'; 3643 * 3644 * const duration = 300; 3645 * 3646 * const defaultStyle = { 3647 * transition: `opacity ${duration}ms ease-in-out`, 3648 * opacity: 0, 3649 * } 3650 * 3651 * const transitionStyles = { 3652 * entering: { opacity: 1 }, 3653 * entered: { opacity: 1 }, 3654 * exiting: { opacity: 0 }, 3655 * exited: { opacity: 0 }, 3656 * }; 3657 * 3658 * const Fade = ({ in: inProp }) => ( 3659 * <Transition in={inProp} timeout={duration}> 3660 * {state => ( 3661 * <div style={{ 3662 * ...defaultStyle, 3663 * ...transitionStyles[state] 3664 * }}> 3665 * I'm a fade Transition! 3666 * </div> 3667 * )} 3668 * </Transition> 3669 * ); 3670 * ``` 3671 * 3672 * There are 4 main states a Transition can be in: 3673 * - `'entering'` 3674 * - `'entered'` 3675 * - `'exiting'` 3676 * - `'exited'` 3677 * 3678 * Transition state is toggled via the `in` prop. When `true` the component 3679 * begins the "Enter" stage. During this stage, the component will shift from 3680 * its current transition state, to `'entering'` for the duration of the 3681 * transition and then to the `'entered'` stage once it's complete. Let's take 3682 * the following example (we'll use the 3683 * [useState](https://reactjs.org/docs/hooks-reference.html#usestate) hook): 3684 * 3685 * ```jsx 3686 * function App() { 3687 * const [inProp, setInProp] = useState(false); 3688 * return ( 3689 * <div> 3690 * <Transition in={inProp} timeout={500}> 3691 * {state => ( 3692 * // ... 3693 * )} 3694 * </Transition> 3695 * <button onClick={() => setInProp(true)}> 3696 * Click to Enter 3697 * </button> 3698 * </div> 3699 * ); 3700 * } 3701 * ``` 3702 * 3703 * When the button is clicked the component will shift to the `'entering'` state 3704 * and stay there for 500ms (the value of `timeout`) before it finally switches 3705 * to `'entered'`. 3706 * 3707 * When `in` is `false` the same thing happens except the state moves from 3708 * `'exiting'` to `'exited'`. 3709 */ 3710 3711var Transition = /*#__PURE__*/function (_React$Component) { 3712 Object(_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_1__["default"])(Transition, _React$Component); 3713 3714 function Transition(props, context) { 3715 var _this; 3716 3717 _this = _React$Component.call(this, props, context) || this; 3718 var parentGroup = context; // In the context of a TransitionGroup all enters are really appears 3719 3720 var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear; 3721 var initialStatus; 3722 _this.appearStatus = null; 3723 3724 if (props.in) { 3725 if (appear) { 3726 initialStatus = EXITED; 3727 _this.appearStatus = ENTERING; 3728 } else { 3729 initialStatus = ENTERED; 3730 } 3731 } else { 3732 if (props.unmountOnExit || props.mountOnEnter) { 3733 initialStatus = UNMOUNTED; 3734 } else { 3735 initialStatus = EXITED; 3736 } 3737 } 3738 3739 _this.state = { 3740 status: initialStatus 3741 }; 3742 _this.nextCallback = null; 3743 return _this; 3744 } 3745 3746 Transition.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) { 3747 var nextIn = _ref.in; 3748 3749 if (nextIn && prevState.status === UNMOUNTED) { 3750 return { 3751 status: EXITED 3752 }; 3753 } 3754 3755 return null; 3756 } // getSnapshotBeforeUpdate(prevProps) { 3757 // let nextStatus = null 3758 // if (prevProps !== this.props) { 3759 // const { status } = this.state 3760 // if (this.props.in) { 3761 // if (status !== ENTERING && status !== ENTERED) { 3762 // nextStatus = ENTERING 3763 // } 3764 // } else { 3765 // if (status === ENTERING || status === ENTERED) { 3766 // nextStatus = EXITING 3767 // } 3768 // } 3769 // } 3770 // return { nextStatus } 3771 // } 3772 ; 3773 3774 var _proto = Transition.prototype; 3775 3776 _proto.componentDidMount = function componentDidMount() { 3777 this.updateStatus(true, this.appearStatus); 3778 }; 3779 3780 _proto.componentDidUpdate = function componentDidUpdate(prevProps) { 3781 var nextStatus = null; 3782 3783 if (prevProps !== this.props) { 3784 var status = this.state.status; 3785 3786 if (this.props.in) { 3787 if (status !== ENTERING && status !== ENTERED) { 3788 nextStatus = ENTERING; 3789 } 3790 } else { 3791 if (status === ENTERING || status === ENTERED) { 3792 nextStatus = EXITING; 3793 } 3794 } 3795 } 3796 3797 this.updateStatus(false, nextStatus); 3798 }; 3799 3800 _proto.componentWillUnmount = function componentWillUnmount() { 3801 this.cancelNextCallback(); 3802 }; 3803 3804 _proto.getTimeouts = function getTimeouts() { 3805 var timeout = this.props.timeout; 3806 var exit, enter, appear; 3807 exit = enter = appear = timeout; 3808 3809 if (timeout != null && typeof timeout !== 'number') { 3810 exit = timeout.exit; 3811 enter = timeout.enter; // TODO: remove fallback for next major 3812 3813 appear = timeout.appear !== undefined ? timeout.appear : enter; 3814 } 3815 3816 return { 3817 exit: exit, 3818 enter: enter, 3819 appear: appear 3820 }; 3821 }; 3822 3823 _proto.updateStatus = function updateStatus(mounting, nextStatus) { 3824 if (mounting === void 0) { 3825 mounting = false; 3826 } 3827 3828 if (nextStatus !== null) { 3829 // nextStatus will always be ENTERING or EXITING. 3830 this.cancelNextCallback(); 3831 3832 if (nextStatus === ENTERING) { 3833 this.performEnter(mounting); 3834 } else { 3835 this.performExit(); 3836 } 3837 } else if (this.props.unmountOnExit && this.state.status === EXITED) { 3838 this.setState({ 3839 status: UNMOUNTED 3840 }); 3841 } 3842 }; 3843 3844 _proto.performEnter = function performEnter(mounting) { 3845 var _this2 = this; 3846 3847 var enter = this.props.enter; 3848 var appearing = this.context ? this.context.isMounting : mounting; 3849 3850 var _ref2 = this.props.nodeRef ? [appearing] : [react_dom__WEBPACK_IMPORTED_MODULE_4___default.a.findDOMNode(this), appearing], 3851 maybeNode = _ref2[0], 3852 maybeAppearing = _ref2[1]; 3853 3854 var timeouts = this.getTimeouts(); 3855 var enterTimeout = appearing ? timeouts.appear : timeouts.enter; // no enter animation skip right to ENTERED 3856 // if we are mounting and running this it means appear _must_ be set 3857 3858 if (!mounting && !enter || _config__WEBPACK_IMPORTED_MODULE_5__["default"].disabled) { 3859 this.safeSetState({ 3860 status: ENTERED 3861 }, function () { 3862 _this2.props.onEntered(maybeNode); 3863 }); 3864 return; 3865 } 3866 3867 this.props.onEnter(maybeNode, maybeAppearing); 3868 this.safeSetState({ 3869 status: ENTERING 3870 }, function () { 3871 _this2.props.onEntering(maybeNode, maybeAppearing); 3872 3873 _this2.onTransitionEnd(enterTimeout, function () { 3874 _this2.safeSetState({ 3875 status: ENTERED 3876 }, function () { 3877 _this2.props.onEntered(maybeNode, maybeAppearing); 3878 }); 3879 }); 3880 }); 3881 }; 3882 3883 _proto.performExit = function performExit() { 3884 var _this3 = this; 3885 3886 var exit = this.props.exit; 3887 var timeouts = this.getTimeouts(); 3888 var maybeNode = this.props.nodeRef ? undefined : react_dom__WEBPACK_IMPORTED_MODULE_4___default.a.findDOMNode(this); // no exit animation skip right to EXITED 3889 3890 if (!exit || _config__WEBPACK_IMPORTED_MODULE_5__["default"].disabled) { 3891 this.safeSetState({ 3892 status: EXITED 3893 }, function () { 3894 _this3.props.onExited(maybeNode); 3895 }); 3896 return; 3897 } 3898 3899 this.props.onExit(maybeNode); 3900 this.safeSetState({ 3901 status: EXITING 3902 }, function () { 3903 _this3.props.onExiting(maybeNode); 3904 3905 _this3.onTransitionEnd(timeouts.exit, function () { 3906 _this3.safeSetState({ 3907 status: EXITED 3908 }, function () { 3909 _this3.props.onExited(maybeNode); 3910 }); 3911 }); 3912 }); 3913 }; 3914 3915 _proto.cancelNextCallback = function cancelNextCallback() { 3916 if (this.nextCallback !== null) { 3917 this.nextCallback.cancel(); 3918 this.nextCallback = null; 3919 } 3920 }; 3921 3922 _proto.safeSetState = function safeSetState(nextState, callback) { 3923 // This shouldn't be necessary, but there are weird race conditions with 3924 // setState callbacks and unmounting in testing, so always make sure that 3925 // we can cancel any pending setState callbacks after we unmount. 3926 callback = this.setNextCallback(callback); 3927 this.setState(nextState, callback); 3928 }; 3929 3930 _proto.setNextCallback = function setNextCallback(callback) { 3931 var _this4 = this; 3932 3933 var active = true; 3934 3935 this.nextCallback = function (event) { 3936 if (active) { 3937 active = false; 3938 _this4.nextCallback = null; 3939 callback(event); 3940 } 3941 }; 3942 3943 this.nextCallback.cancel = function () { 3944 active = false; 3945 }; 3946 3947 return this.nextCallback; 3948 }; 3949 3950 _proto.onTransitionEnd = function onTransitionEnd(timeout, handler) { 3951 this.setNextCallback(handler); 3952 var node = this.props.nodeRef ? this.props.nodeRef.current : react_dom__WEBPACK_IMPORTED_MODULE_4___default.a.findDOMNode(this); 3953 var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener; 3954 3955 if (!node || doesNotHaveTimeoutOrListener) { 3956 setTimeout(this.nextCallback, 0); 3957 return; 3958 } 3959 3960 if (this.props.addEndListener) { 3961 var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node, this.nextCallback], 3962 maybeNode = _ref3[0], 3963 maybeNextCallback = _ref3[1]; 3964 3965 this.props.addEndListener(maybeNode, maybeNextCallback); 3966 } 3967 3968 if (timeout != null) { 3969 setTimeout(this.nextCallback, timeout); 3970 } 3971 }; 3972 3973 _proto.render = function render() { 3974 var status = this.state.status; 3975 3976 if (status === UNMOUNTED) { 3977 return null; 3978 } 3979 3980 var _this$props = this.props, 3981 children = _this$props.children, 3982 _in = _this$props.in, 3983 _mountOnEnter = _this$props.mountOnEnter, 3984 _unmountOnExit = _this$props.unmountOnExit, 3985 _appear = _this$props.appear, 3986 _enter = _this$props.enter, 3987 _exit = _this$props.exit, 3988 _timeout = _this$props.timeout, 3989 _addEndListener = _this$props.addEndListener, 3990 _onEnter = _this$props.onEnter, 3991 _onEntering = _this$props.onEntering, 3992 _onEntered = _this$props.onEntered, 3993 _onExit = _this$props.onExit, 3994 _onExiting = _this$props.onExiting, 3995 _onExited = _this$props.onExited, 3996 _nodeRef = _this$props.nodeRef, 3997 childProps = Object(_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__["default"])(_this$props, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]); 3998 3999 return ( 4000 /*#__PURE__*/ 4001 // allows for nested Transitions 4002 react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(_TransitionGroupContext__WEBPACK_IMPORTED_MODULE_7__["default"].Provider, { 4003 value: null 4004 }, typeof children === 'function' ? children(status, childProps) : react__WEBPACK_IMPORTED_MODULE_3___default.a.cloneElement(react__WEBPACK_IMPORTED_MODULE_3___default.a.Children.only(children), childProps)) 4005 ); 4006 }; 4007 4008 return Transition; 4009}(react__WEBPACK_IMPORTED_MODULE_3___default.a.Component); 4010 4011Transition.contextType = _TransitionGroupContext__WEBPACK_IMPORTED_MODULE_7__["default"]; 4012Transition.propTypes = true ? { 4013 /** 4014 * A React reference to DOM element that need to transition: 4015 * https://stackoverflow.com/a/51127130/4671932 4016 * 4017 * - When `nodeRef` prop is used, `node` is not passed to callback functions 4018 * (e.g. `onEnter`) because user already has direct access to the node. 4019 * - When changing `key` prop of `Transition` in a `TransitionGroup` a new 4020 * `nodeRef` need to be provided to `Transition` with changed `key` prop 4021 * (see 4022 * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)). 4023 */ 4024 nodeRef: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.shape({ 4025 current: typeof Element === 'undefined' ? prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.any : function (propValue, key, componentName, location, propFullName, secret) { 4026 var value = propValue[key]; 4027 return prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.instanceOf(value && 'ownerDocument' in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret); 4028 } 4029 }), 4030 4031 /** 4032 * A `function` child can be used instead of a React element. This function is 4033 * called with the current transition status (`'entering'`, `'entered'`, 4034 * `'exiting'`, `'exited'`), which can be used to apply context 4035 * specific props to a component. 4036 * 4037 * ```jsx 4038 * <Transition in={this.state.in} timeout={150}> 4039 * {state => ( 4040 * <MyComponent className={`fade fade-${state}`} /> 4041 * )} 4042 * </Transition> 4043 * ``` 4044 */ 4045 children: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func.isRequired, prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.element.isRequired]).isRequired, 4046 4047 /** 4048 * Show the component; triggers the enter or exit states 4049 */ 4050 in: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool, 4051 4052 /** 4053 * By default the child component is mounted immediately along with 4054 * the parent `Transition` component. If you want to "lazy mount" the component on the 4055 * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay 4056 * mounted, even on "exited", unless you also specify `unmountOnExit`. 4057 */ 4058 mountOnEnter: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool, 4059 4060 /** 4061 * By default the child component stays mounted after it reaches the `'exited'` state. 4062 * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting. 4063 */ 4064 unmountOnExit: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool, 4065 4066 /** 4067 * By default the child component does not perform the enter transition when 4068 * it first mounts, regardless of the value of `in`. If you want this 4069 * behavior, set both `appear` and `in` to `true`. 4070 * 4071 * > **Note**: there are no special appear states like `appearing`/`appeared`, this prop 4072 * > only adds an additional enter transition. However, in the 4073 * > `<CSSTransition>` component that first enter transition does result in 4074 * > additional `.appear-*` classes, that way you can choose to style it 4075 * > differently. 4076 */ 4077 appear: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool, 4078 4079 /** 4080 * Enable or disable enter transitions. 4081 */ 4082 enter: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool, 4083 4084 /** 4085 * Enable or disable exit transitions. 4086 */ 4087 exit: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.bool, 4088 4089 /** 4090 * The duration of the transition, in milliseconds. 4091 * Required unless `addEndListener` is provided. 4092 * 4093 * You may specify a single timeout for all transitions: 4094 * 4095 * ```jsx 4096 * timeout={500} 4097 * ``` 4098 * 4099 * or individually: 4100 * 4101 * ```jsx 4102 * timeout={{ 4103 * appear: 500, 4104 * enter: 300, 4105 * exit: 500, 4106 * }} 4107 * ``` 4108 * 4109 * - `appear` defaults to the value of `enter` 4110 * - `enter` defaults to `0` 4111 * - `exit` defaults to `0` 4112 * 4113 * @type {number | { enter?: number, exit?: number, appear?: number }} 4114 */ 4115 timeout: function timeout(props) { 4116 var pt = _utils_PropTypes__WEBPACK_IMPORTED_MODULE_6__["timeoutsShape"]; 4117 if (!props.addEndListener) pt = pt.isRequired; 4118 4119 for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { 4120 args[_key - 1] = arguments[_key]; 4121 } 4122 4123 return pt.apply(void 0, [props].concat(args)); 4124 }, 4125 4126 /** 4127 * Add a custom transition end trigger. Called with the transitioning 4128 * DOM node and a `done` callback. Allows for more fine grained transition end 4129 * logic. Timeouts are still used as a fallback if provided. 4130 * 4131 * **Note**: when `nodeRef` prop is passed, `node` is not passed. 4132 * 4133 * ```jsx 4134 * addEndListener={(node, done) => { 4135 * // use the css transitionend event to mark the finish of a transition 4136 * node.addEventListener('transitionend', done, false); 4137 * }} 4138 * ``` 4139 */ 4140 addEndListener: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func, 4141 4142 /** 4143 * Callback fired before the "entering" status is applied. An extra parameter 4144 * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount 4145 * 4146 * **Note**: when `nodeRef` prop is passed, `node` is not passed. 4147 * 4148 * @type Function(node: HtmlElement, isAppearing: bool) -> void 4149 */ 4150 onEnter: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func, 4151 4152 /** 4153 * Callback fired after the "entering" status is applied. An extra parameter 4154 * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount 4155 * 4156 * **Note**: when `nodeRef` prop is passed, `node` is not passed. 4157 * 4158 * @type Function(node: HtmlElement, isAppearing: bool) 4159 */ 4160 onEntering: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func, 4161 4162 /** 4163 * Callback fired after the "entered" status is applied. An extra parameter 4164 * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount 4165 * 4166 * **Note**: when `nodeRef` prop is passed, `node` is not passed. 4167 * 4168 * @type Function(node: HtmlElement, isAppearing: bool) -> void 4169 */ 4170 onEntered: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func, 4171 4172 /** 4173 * Callback fired before the "exiting" status is applied. 4174 * 4175 * **Note**: when `nodeRef` prop is passed, `node` is not passed. 4176 * 4177 * @type Function(node: HtmlElement) -> void 4178 */ 4179 onExit: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func, 4180 4181 /** 4182 * Callback fired after the "exiting" status is applied. 4183 * 4184 * **Note**: when `nodeRef` prop is passed, `node` is not passed. 4185 * 4186 * @type Function(node: HtmlElement) -> void 4187 */ 4188 onExiting: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func, 4189 4190 /** 4191 * Callback fired after the "exited" status is applied. 4192 * 4193 * **Note**: when `nodeRef` prop is passed, `node` is not passed 4194 * 4195 * @type Function(node: HtmlElement) -> void 4196 */ 4197 onExited: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.func 4198} : undefined; // Name the function so it is clearer in the documentation 4199 4200function noop() {} 4201 4202Transition.defaultProps = { 4203 in: false, 4204 mountOnEnter: false, 4205 unmountOnExit: false, 4206 appear: false, 4207 enter: true, 4208 exit: true, 4209 onEnter: noop, 4210 onEntering: noop, 4211 onEntered: noop, 4212 onExit: noop, 4213 onExiting: noop, 4214 onExited: noop 4215}; 4216Transition.UNMOUNTED = UNMOUNTED; 4217Transition.EXITED = EXITED; 4218Transition.ENTERING = ENTERING; 4219Transition.ENTERED = ENTERED; 4220Transition.EXITING = EXITING; 4221/* harmony default export */ __webpack_exports__["default"] = (Transition); 4222 4223/***/ }), 4224
vendor: 9,504 bytes, lines 4225-4435
4225/***/ "./node_modules/react-transition-group/esm/TransitionGroup.js": 4226/*!********************************************************************!*\ 4227 !*** ./node_modules/react-transition-group/esm/TransitionGroup.js ***! 4228 \********************************************************************/ 4229/*! exports provided: default */ 4230/***/ (function(module, __webpack_exports__, __webpack_require__) { 4231 4232"use strict"; 4233__webpack_require__.r(__webpack_exports__); 4234/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ "./node_modules/react-transition-group/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"); 4235/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./node_modules/react-transition-group/node_modules/@babel/runtime/helpers/esm/extends.js"); 4236/* harmony import */ var _babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ "./node_modules/react-transition-group/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js"); 4237/* harmony import */ var _babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inheritsLoose */ "./node_modules/react-transition-group/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js"); 4238/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js"); 4239/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_4__); 4240/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ "react"); 4241/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__); 4242/* harmony import */ var _TransitionGroupContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./TransitionGroupContext */ "./node_modules/react-transition-group/esm/TransitionGroupContext.js"); 4243/* harmony import */ var _utils_ChildMapping__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./utils/ChildMapping */ "./node_modules/react-transition-group/esm/utils/ChildMapping.js"); 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253var values = Object.values || function (obj) { 4254 return Object.keys(obj).map(function (k) { 4255 return obj[k]; 4256 }); 4257}; 4258 4259var defaultProps = { 4260 component: 'div', 4261 childFactory: function childFactory(child) { 4262 return child; 4263 } 4264}; 4265/** 4266 * The `<TransitionGroup>` component manages a set of transition components 4267 * (`<Transition>` and `<CSSTransition>`) in a list. Like with the transition 4268 * components, `<TransitionGroup>` is a state machine for managing the mounting 4269 * and unmounting of components over time. 4270 * 4271 * Consider the example below. As items are removed or added to the TodoList the 4272 * `in` prop is toggled automatically by the `<TransitionGroup>`. 4273 * 4274 * Note that `<TransitionGroup>` does not define any animation behavior! 4275 * Exactly _how_ a list item animates is up to the individual transition 4276 * component. This means you can mix and match animations across different list 4277 * items. 4278 */ 4279 4280var TransitionGroup = /*#__PURE__*/function (_React$Component) { 4281 Object(_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_3__["default"])(TransitionGroup, _React$Component); 4282 4283 function TransitionGroup(props, context) { 4284 var _this; 4285 4286 _this = _React$Component.call(this, props, context) || this; 4287 4288 var handleExited = _this.handleExited.bind(Object(_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2__["default"])(_this)); // Initial children should all be entering, dependent on appear 4289 4290 4291 _this.state = { 4292 contextValue: { 4293 isMounting: true 4294 }, 4295 handleExited: handleExited, 4296 firstRender: true 4297 }; 4298 return _this; 4299 } 4300 4301 var _proto = TransitionGroup.prototype; 4302 4303 _proto.componentDidMount = function componentDidMount() { 4304 this.mounted = true; 4305 this.setState({ 4306 contextValue: { 4307 isMounting: false 4308 } 4309 }); 4310 }; 4311 4312 _proto.componentWillUnmount = function componentWillUnmount() { 4313 this.mounted = false; 4314 }; 4315 4316 TransitionGroup.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, _ref) { 4317 var prevChildMapping = _ref.children, 4318 handleExited = _ref.handleExited, 4319 firstRender = _ref.firstRender; 4320 return { 4321 children: firstRender ? Object(_utils_ChildMapping__WEBPACK_IMPORTED_MODULE_7__["getInitialChildMapping"])(nextProps, handleExited) : Object(_utils_ChildMapping__WEBPACK_IMPORTED_MODULE_7__["getNextChildMapping"])(nextProps, prevChildMapping, handleExited), 4322 firstRender: false 4323 }; 4324 } // node is `undefined` when user provided `nodeRef` prop 4325 ; 4326 4327 _proto.handleExited = function handleExited(child, node) { 4328 var currentChildMapping = Object(_utils_ChildMapping__WEBPACK_IMPORTED_MODULE_7__["getChildMapping"])(this.props.children); 4329 if (child.key in currentChildMapping) return; 4330 4331 if (child.props.onExited) { 4332 child.props.onExited(node); 4333 } 4334 4335 if (this.mounted) { 4336 this.setState(function (state) { 4337 var children = Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_1__["default"])({}, state.children); 4338 4339 delete children[child.key]; 4340 return { 4341 children: children 4342 }; 4343 }); 4344 } 4345 }; 4346 4347 _proto.render = function render() { 4348 var _this$props = this.props, 4349 Component = _this$props.component, 4350 childFactory = _this$props.childFactory, 4351 props = Object(_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__["default"])(_this$props, ["component", "childFactory"]); 4352 4353 var contextValue = this.state.contextValue; 4354 var children = values(this.state.children).map(childFactory); 4355 delete props.appear; 4356 delete props.enter; 4357 delete props.exit; 4358 4359 if (Component === null) { 4360 return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement(_TransitionGroupContext__WEBPACK_IMPORTED_MODULE_6__["default"].Provider, { 4361 value: contextValue 4362 }, children); 4363 } 4364 4365 return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement(_TransitionGroupContext__WEBPACK_IMPORTED_MODULE_6__["default"].Provider, { 4366 value: contextValue 4367 }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default.a.createElement(Component, props, children)); 4368 }; 4369 4370 return TransitionGroup; 4371}(react__WEBPACK_IMPORTED_MODULE_5___default.a.Component); 4372 4373TransitionGroup.propTypes = true ? { 4374 /** 4375 * `<TransitionGroup>` renders a `<div>` by default. You can change this 4376 * behavior by providing a `component` prop. 4377 * If you use React v16+ and would like to avoid a wrapping `<div>` element 4378 * you can pass in `component={null}`. This is useful if the wrapping div 4379 * borks your css styles. 4380 */ 4381 component: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.any, 4382 4383 /** 4384 * A set of `<Transition>` components, that are toggled `in` and out as they 4385 * leave. the `<TransitionGroup>` will inject specific transition props, so 4386 * remember to spread them through if you are wrapping the `<Transition>` as 4387 * with our `<Fade>` example. 4388 * 4389 * While this component is meant for multiple `Transition` or `CSSTransition` 4390 * children, sometimes you may want to have a single transition child with 4391 * content that you want to be transitioned out and in when you change it 4392 * (e.g. routes, images etc.) In that case you can change the `key` prop of 4393 * the transition child as you change its content, this will cause 4394 * `TransitionGroup` to transition the child out and back in. 4395 */ 4396 children: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.node, 4397 4398 /** 4399 * A convenience prop that enables or disables appear animations 4400 * for all children. Note that specifying this will override any defaults set 4401 * on individual children Transitions. 4402 */ 4403 appear: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool, 4404 4405 /** 4406 * A convenience prop that enables or disables enter animations 4407 * for all children. Note that specifying this will override any defaults set 4408 * on individual children Transitions. 4409 */ 4410 enter: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool, 4411 4412 /** 4413 * A convenience prop that enables or disables exit animations 4414 * for all children. Note that specifying this will override any defaults set 4415 * on individual children Transitions. 4416 */ 4417 exit: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.bool, 4418 4419 /** 4420 * You may need to apply reactive updates to a child as it is exiting. 4421 * This is generally done by using `cloneElement` however in the case of an exiting 4422 * child the element has already been removed and not accessible to the consumer. 4423 * 4424 * If you do need to update a child as it leaves you can provide a `childFactory` 4425 * to wrap every child, even the ones that are leaving. 4426 * 4427 * @type Function(child: ReactElement) -> ReactElement 4428 */ 4429 childFactory: prop_types__WEBPACK_IMPORTED_MODULE_4___default.a.func 4430} : undefined; 4431TransitionGroup.defaultProps = defaultProps; 4432/* harmony default export */ __webpack_exports__["default"] = (TransitionGroup); 4433 4434/***/ }), 4435
vendor: 869 bytes, lines 4436-4451
4436/***/ "./node_modules/react-transition-group/esm/TransitionGroupContext.js": 4437/*!***************************************************************************!*\ 4438 !*** ./node_modules/react-transition-group/esm/TransitionGroupContext.js ***! 4439 \***************************************************************************/ 4440/*! exports provided: default */ 4441/***/ (function(module, __webpack_exports__, __webpack_require__) { 4442 4443"use strict"; 4444__webpack_require__.r(__webpack_exports__); 4445/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); 4446/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); 4447 4448/* harmony default export */ __webpack_exports__["default"] = (react__WEBPACK_IMPORTED_MODULE_0___default.a.createContext(null)); 4449 4450/***/ }), 4451
vendor: 514 bytes, lines 4452-4466
4452/***/ "./node_modules/react-transition-group/esm/config.js": 4453/*!***********************************************************!*\ 4454 !*** ./node_modules/react-transition-group/esm/config.js ***! 4455 \***********************************************************/ 4456/*! exports provided: default */ 4457/***/ (function(module, __webpack_exports__, __webpack_require__) { 4458 4459"use strict"; 4460__webpack_require__.r(__webpack_exports__); 4461/* harmony default export */ __webpack_exports__["default"] = ({ 4462 disabled: false 4463}); 4464 4465/***/ }), 4466
vendor: 2,592 bytes, lines 4467-4502
4467/***/ "./node_modules/react-transition-group/esm/index.js": 4468/*!**********************************************************!*\ 4469 !*** ./node_modules/react-transition-group/esm/index.js ***! 4470 \**********************************************************/ 4471/*! exports provided: CSSTransition, ReplaceTransition, SwitchTransition, TransitionGroup, Transition, config */ 4472/***/ (function(module, __webpack_exports__, __webpack_require__) { 4473 4474"use strict"; 4475__webpack_require__.r(__webpack_exports__); 4476/* harmony import */ var _CSSTransition__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CSSTransition */ "./node_modules/react-transition-group/esm/CSSTransition.js"); 4477/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "CSSTransition", function() { return _CSSTransition__WEBPACK_IMPORTED_MODULE_0__["default"]; }); 4478 4479/* harmony import */ var _ReplaceTransition__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ReplaceTransition */ "./node_modules/react-transition-group/esm/ReplaceTransition.js"); 4480/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "ReplaceTransition", function() { return _ReplaceTransition__WEBPACK_IMPORTED_MODULE_1__["default"]; }); 4481 4482/* harmony import */ var _SwitchTransition__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./SwitchTransition */ "./node_modules/react-transition-group/esm/SwitchTransition.js"); 4483/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SwitchTransition", function() { return _SwitchTransition__WEBPACK_IMPORTED_MODULE_2__["default"]; }); 4484 4485/* harmony import */ var _TransitionGroup__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./TransitionGroup */ "./node_modules/react-transition-group/esm/TransitionGroup.js"); 4486/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "TransitionGroup", function() { return _TransitionGroup__WEBPACK_IMPORTED_MODULE_3__["default"]; }); 4487 4488/* harmony import */ var _Transition__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Transition */ "./node_modules/react-transition-group/esm/Transition.js"); 4489/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Transition", function() { return _Transition__WEBPACK_IMPORTED_MODULE_4__["default"]; }); 4490 4491/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./config */ "./node_modules/react-transition-group/esm/config.js"); 4492/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "config", function() { return _config__WEBPACK_IMPORTED_MODULE_5__["default"]; }); 4493 4494 4495 4496 4497 4498 4499 4500 4501/***/ }), 4502
vendor: 6,385 bytes, lines 4503-4660
4503/***/ "./node_modules/react-transition-group/esm/utils/ChildMapping.js": 4504/*!***********************************************************************!*\ 4505 !*** ./node_modules/react-transition-group/esm/utils/ChildMapping.js ***! 4506 \***********************************************************************/ 4507/*! exports provided: getChildMapping, mergeChildMappings, getInitialChildMapping, getNextChildMapping */ 4508/***/ (function(module, __webpack_exports__, __webpack_require__) { 4509 4510"use strict"; 4511__webpack_require__.r(__webpack_exports__); 4512/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getChildMapping", function() { return getChildMapping; }); 4513/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "mergeChildMappings", function() { return mergeChildMappings; }); 4514/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getInitialChildMapping", function() { return getInitialChildMapping; }); 4515/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "getNextChildMapping", function() { return getNextChildMapping; }); 4516/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "react"); 4517/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__); 4518 4519/** 4520 * Given `this.props.children`, return an object mapping key to child. 4521 * 4522 * @param {*} children `this.props.children` 4523 * @return {object} Mapping of key to child 4524 */ 4525 4526function getChildMapping(children, mapFn) { 4527 var mapper = function mapper(child) { 4528 return mapFn && Object(react__WEBPACK_IMPORTED_MODULE_0__["isValidElement"])(child) ? mapFn(child) : child; 4529 }; 4530 4531 var result = Object.create(null); 4532 if (children) react__WEBPACK_IMPORTED_MODULE_0__["Children"].map(children, function (c) { 4533 return c; 4534 }).forEach(function (child) { 4535 // run the map function here instead so that the key is the computed one 4536 result[child.key] = mapper(child); 4537 }); 4538 return result; 4539} 4540/** 4541 * When you're adding or removing children some may be added or removed in the 4542 * same render pass. We want to show *both* since we want to simultaneously 4543 * animate elements in and out. This function takes a previous set of keys 4544 * and a new set of keys and merges them with its best guess of the correct 4545 * ordering. In the future we may expose some of the utilities in 4546 * ReactMultiChild to make this easy, but for now React itself does not 4547 * directly have this concept of the union of prevChildren and nextChildren 4548 * so we implement it here. 4549 * 4550 * @param {object} prev prev children as returned from 4551 * `ReactTransitionChildMapping.getChildMapping()`. 4552 * @param {object} next next children as returned from 4553 * `ReactTransitionChildMapping.getChildMapping()`. 4554 * @return {object} a key set that contains all keys in `prev` and all keys 4555 * in `next` in a reasonable order. 4556 */ 4557 4558function mergeChildMappings(prev, next) { 4559 prev = prev || {}; 4560 next = next || {}; 4561 4562 function getValueForKey(key) { 4563 return key in next ? next[key] : prev[key]; 4564 } // For each key of `next`, the list of keys to insert before that key in 4565 // the combined list 4566 4567 4568 var nextKeysPending = Object.create(null); 4569 var pendingKeys = []; 4570 4571 for (var prevKey in prev) { 4572 if (prevKey in next) { 4573 if (pendingKeys.length) { 4574 nextKeysPending[prevKey] = pendingKeys; 4575 pendingKeys = []; 4576 } 4577 } else { 4578 pendingKeys.push(prevKey); 4579 } 4580 } 4581 4582 var i; 4583 var childMapping = {}; 4584 4585 for (var nextKey in next) { 4586 if (nextKeysPending[nextKey]) { 4587 for (i = 0; i < nextKeysPending[nextKey].length; i++) { 4588 var pendingNextKey = nextKeysPending[nextKey][i]; 4589 childMapping[nextKeysPending[nextKey][i]] = getValueForKey(pendingNextKey); 4590 } 4591 } 4592 4593 childMapping[nextKey] = getValueForKey(nextKey); 4594 } // Finally, add the keys which didn't appear before any key in `next` 4595 4596 4597 for (i = 0; i < pendingKeys.length; i++) { 4598 childMapping[pendingKeys[i]] = getValueForKey(pendingKeys[i]); 4599 } 4600 4601 return childMapping; 4602} 4603 4604function getProp(child, prop, props) { 4605 return props[prop] != null ? props[prop] : child.props[prop]; 4606} 4607 4608function getInitialChildMapping(props, onExited) { 4609 return getChildMapping(props.children, function (child) { 4610 return Object(react__WEBPACK_IMPORTED_MODULE_0__["cloneElement"])(child, { 4611 onExited: onExited.bind(null, child), 4612 in: true, 4613 appear: getProp(child, 'appear', props), 4614 enter: getProp(child, 'enter', props), 4615 exit: getProp(child, 'exit', props) 4616 }); 4617 }); 4618} 4619function getNextChildMapping(nextProps, prevChildMapping, onExited) { 4620 var nextChildMapping = getChildMapping(nextProps.children); 4621 var children = mergeChildMappings(prevChildMapping, nextChildMapping); 4622 Object.keys(children).forEach(function (key) { 4623 var child = children[key]; 4624 if (!Object(react__WEBPACK_IMPORTED_MODULE_0__["isValidElement"])(child)) return; 4625 var hasPrev = (key in prevChildMapping); 4626 var hasNext = (key in nextChildMapping); 4627 var prevChild = prevChildMapping[key]; 4628 var isLeaving = Object(react__WEBPACK_IMPORTED_MODULE_0__["isValidElement"])(prevChild) && !prevChild.props.in; // item is new (entering) 4629 4630 if (hasNext && (!hasPrev || isLeaving)) { 4631 // console.log('entering', key) 4632 children[key] = Object(react__WEBPACK_IMPORTED_MODULE_0__["cloneElement"])(child, { 4633 onExited: onExited.bind(null, child), 4634 in: true, 4635 exit: getProp(child, 'exit', nextProps), 4636 enter: getProp(child, 'enter', nextProps) 4637 }); 4638 } else if (!hasNext && hasPrev && !isLeaving) { 4639 // item is old (exiting) 4640 // console.log('leaving', key) 4641 children[key] = Object(react__WEBPACK_IMPORTED_MODULE_0__["cloneElement"])(child, { 4642 in: false 4643 }); 4644 } else if (hasNext && hasPrev && Object(react__WEBPACK_IMPORTED_MODULE_0__["isValidElement"])(prevChild)) { 4645 // item hasn't changed transition states 4646 // copy over the last transition props; 4647 // console.log('unchanged', key) 4648 children[key] = Object(react__WEBPACK_IMPORTED_MODULE_0__["cloneElement"])(child, { 4649 onExited: onExited.bind(null, child), 4650 in: prevChild.props.in, 4651 exit: getProp(child, 'exit', nextProps), 4652 enter: getProp(child, 'enter', nextProps) 4653 }); 4654 } 4655 }); 4656 return children; 4657} 4658 4659/***/ }), 4660
vendor: 2,386 bytes, lines 4661-4694
4661/***/ "./node_modules/react-transition-group/esm/utils/PropTypes.js": 4662/*!********************************************************************!*\ 4663 !*** ./node_modules/react-transition-group/esm/utils/PropTypes.js ***! 4664 \********************************************************************/ 4665/*! exports provided: timeoutsShape, classNamesShape */ 4666/***/ (function(module, __webpack_exports__, __webpack_require__) { 4667 4668"use strict"; 4669__webpack_require__.r(__webpack_exports__); 4670/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "timeoutsShape", function() { return timeoutsShape; }); 4671/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "classNamesShape", function() { return classNamesShape; }); 4672/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! prop-types */ "./node_modules/prop-types/index.js"); 4673/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__); 4674 4675var timeoutsShape = true ? prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.shape({ 4676 enter: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number, 4677 exit: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number, 4678 appear: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.number 4679}).isRequired]) : undefined; 4680var classNamesShape = true ? prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.shape({ 4681 enter: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, 4682 exit: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, 4683 active: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string 4684}), prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.shape({ 4685 enter: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, 4686 enterDone: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, 4687 enterActive: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, 4688 exit: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, 4689 exitDone: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string, 4690 exitActive: prop_types__WEBPACK_IMPORTED_MODULE_0___default.a.string 4691})]) : undefined; 4692 4693/***/ }), 4694
vendor: 942 bytes, lines 4695-4714
4695/***/ "./node_modules/react-transition-group/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js": 4696/*!**************************************************************************************************************!*\ 4697 !*** ./node_modules/react-transition-group/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js ***! 4698 \**************************************************************************************************************/ 4699/*! exports provided: default */ 4700/***/ (function(module, __webpack_exports__, __webpack_require__) { 4701 4702"use strict"; 4703__webpack_require__.r(__webpack_exports__); 4704/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _assertThisInitialized; }); 4705function _assertThisInitialized(self) { 4706 if (self === void 0) { 4707 throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); 4708 } 4709 4710 return self; 4711} 4712 4713/***/ }), 4714
vendor: 1,077 bytes, lines 4715-4744
4715/***/ "./node_modules/react-transition-group/node_modules/@babel/runtime/helpers/esm/extends.js": 4716/*!************************************************************************************************!*\ 4717 !*** ./node_modules/react-transition-group/node_modules/@babel/runtime/helpers/esm/extends.js ***! 4718 \************************************************************************************************/ 4719/*! exports provided: default */ 4720/***/ (function(module, __webpack_exports__, __webpack_require__) { 4721 4722"use strict"; 4723__webpack_require__.r(__webpack_exports__); 4724/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _extends; }); 4725function _extends() { 4726 _extends = Object.assign || function (target) { 4727 for (var i = 1; i < arguments.length; i++) { 4728 var source = arguments[i]; 4729 4730 for (var key in source) { 4731 if (Object.prototype.hasOwnProperty.call(source, key)) { 4732 target[key] = source[key]; 4733 } 4734 } 4735 } 4736 4737 return target; 4738 }; 4739 4740 return _extends.apply(this, arguments); 4741} 4742 4743/***/ }), 4744
vendor: 1,194 bytes, lines 4745-4764
4745/***/ "./node_modules/react-transition-group/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js": 4746/*!******************************************************************************************************!*\ 4747 !*** ./node_modules/react-transition-group/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js ***! 4748 \******************************************************************************************************/ 4749/*! exports provided: default */ 4750/***/ (function(module, __webpack_exports__, __webpack_require__) { 4751 4752"use strict"; 4753__webpack_require__.r(__webpack_exports__); 4754/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _inheritsLoose; }); 4755/* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ "./node_modules/react-transition-group/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"); 4756 4757function _inheritsLoose(subClass, superClass) { 4758 subClass.prototype = Object.create(superClass.prototype); 4759 subClass.prototype.constructor = subClass; 4760 Object(_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__["default"])(subClass, superClass); 4761} 4762 4763/***/ }), 4764
vendor: 1,135 bytes, lines 4765-4791
4765/***/ "./node_modules/react-transition-group/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js": 4766/*!*********************************************************************************************************************!*\ 4767 !*** ./node_modules/react-transition-group/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js ***! 4768 \*********************************************************************************************************************/ 4769/*! exports provided: default */ 4770/***/ (function(module, __webpack_exports__, __webpack_require__) { 4771 4772"use strict"; 4773__webpack_require__.r(__webpack_exports__); 4774/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _objectWithoutPropertiesLoose; }); 4775function _objectWithoutPropertiesLoose(source, excluded) { 4776 if (source == null) return {}; 4777 var target = {}; 4778 var sourceKeys = Object.keys(source); 4779 var key, i; 4780 4781 for (i = 0; i < sourceKeys.length; i++) { 4782 key = sourceKeys[i]; 4783 if (excluded.indexOf(key) >= 0) continue; 4784 target[key] = source[key]; 4785 } 4786 4787 return target; 4788} 4789 4790/***/ }), 4791
vendor: 915 bytes, lines 4792-4812
4792/***/ "./node_modules/react-transition-group/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js": 4793/*!*******************************************************************************************************!*\ 4794 !*** ./node_modules/react-transition-group/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js ***! 4795 \*******************************************************************************************************/ 4796/*! exports provided: default */ 4797/***/ (function(module, __webpack_exports__, __webpack_require__) { 4798 4799"use strict"; 4800__webpack_require__.r(__webpack_exports__); 4801/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _setPrototypeOf; }); 4802function _setPrototypeOf(o, p) { 4803 _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { 4804 o.__proto__ = p; 4805 return o; 4806 }; 4807 4808 return _setPrototypeOf(o, p); 4809} 4810 4811/***/ }), 4812
vendor: 1,362 bytes, lines 4813-4837
4813/***/ "./node_modules/react-transition-group/node_modules/dom-helpers/esm/addClass.js": 4814/*!**************************************************************************************!*\ 4815 !*** ./node_modules/react-transition-group/node_modules/dom-helpers/esm/addClass.js ***! 4816 \**************************************************************************************/ 4817/*! exports provided: default */ 4818/***/ (function(module, __webpack_exports__, __webpack_require__) { 4819 4820"use strict"; 4821__webpack_require__.r(__webpack_exports__); 4822/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return addClass; }); 4823/* harmony import */ var _hasClass__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./hasClass */ "./node_modules/react-transition-group/node_modules/dom-helpers/esm/hasClass.js"); 4824 4825/** 4826 * Adds a CSS class to a given element. 4827 * 4828 * @param element the element 4829 * @param className the CSS class name 4830 */ 4831 4832function addClass(element, className) { 4833 if (element.classList) element.classList.add(className);else if (!Object(_hasClass__WEBPACK_IMPORTED_MODULE_0__["default"])(element, className)) if (typeof element.className === 'string') element.className = element.className + " " + className;else element.setAttribute('class', (element.className && element.className.baseVal || '') + " " + className); 4834} 4835 4836/***/ }), 4837
vendor: 1,020 bytes, lines 4838-4860
4838/***/ "./node_modules/react-transition-group/node_modules/dom-helpers/esm/hasClass.js": 4839/*!**************************************************************************************!*\ 4840 !*** ./node_modules/react-transition-group/node_modules/dom-helpers/esm/hasClass.js ***! 4841 \**************************************************************************************/ 4842/*! exports provided: default */ 4843/***/ (function(module, __webpack_exports__, __webpack_require__) { 4844 4845"use strict"; 4846__webpack_require__.r(__webpack_exports__); 4847/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return hasClass; }); 4848/** 4849 * Checks if a given element has a CSS class. 4850 * 4851 * @param element the element 4852 * @param className the CSS class name 4853 */ 4854function hasClass(element, className) { 4855 if (element.classList) return !!className && element.classList.contains(className); 4856 return (" " + (element.className.baseVal || element.className) + " ").indexOf(" " + className + " ") !== -1; 4857} 4858 4859/***/ }), 4860
vendor: 1,364 bytes, lines 4861-4893
4861/***/ "./node_modules/react-transition-group/node_modules/dom-helpers/esm/removeClass.js": 4862/*!*****************************************************************************************!*\ 4863 !*** ./node_modules/react-transition-group/node_modules/dom-helpers/esm/removeClass.js ***! 4864 \*****************************************************************************************/ 4865/*! exports provided: default */ 4866/***/ (function(module, __webpack_exports__, __webpack_require__) { 4867 4868"use strict"; 4869__webpack_require__.r(__webpack_exports__); 4870/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return removeClass; }); 4871function replaceClassName(origClass, classToRemove) { 4872 return origClass.replace(new RegExp("(^|\\s)" + classToRemove + "(?:\\s|$)", 'g'), '$1').replace(/\s+/g, ' ').replace(/^\s*|\s*$/g, ''); 4873} 4874/** 4875 * Removes a CSS class from a given element. 4876 * 4877 * @param element the element 4878 * @param className the CSS class name 4879 */ 4880 4881 4882function removeClass(element, className) { 4883 if (element.classList) { 4884 element.classList.remove(className); 4885 } else if (typeof element.className === 'string') { 4886 element.className = replaceClassName(element.className, className); 4887 } else { 4888 element.setAttribute('class', replaceClassName(element.className && element.className.baseVal || '', className)); 4889 } 4890} 4891 4892/***/ }), 4893
4894/***/ "./src/blocks/custom-buttons/index.js": 4895/*!********************************************!*\ 4896 !*** ./src/blocks/custom-buttons/index.js ***! 4897 \********************************************/ 4898/*! exports provided: default */ 4899/***/ (function(module, __webpack_exports__, __webpack_require__) { 4900 4901"use strict"; 4902__webpack_require__.r(__webpack_exports__); 4903/* harmony import */ var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "./node_modules/@babel/runtime/helpers/classCallCheck.js"); 4904/* harmony import */ var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__); 4905/* harmony import */ var _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "./node_modules/@babel/runtime/helpers/createClass.js"); 4906/* harmony import */ var _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__); 4907/* harmony import */ var _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/assertThisInitialized.js"); 4908/* harmony import */ var _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2__); 4909/* harmony import */ var _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/inherits */ "./node_modules/@babel/runtime/helpers/inherits.js"); 4910/* harmony import */ var _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_3__); 4911/* harmony import */ var _babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"); 4912/* harmony import */ var _babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__); 4913/* harmony import */ var _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/getPrototypeOf.js"); 4914/* harmony import */ var _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__); 4915/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element"); 4916/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__); 4917/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ "react"); 4918/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__); 4919 4920 4921 4922 4923 4924 4925 4926 4927function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5___default()(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5___default()(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4___default()(this, result); }; } 4928 4929function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } 4930 4931/** 4932 * Custom Gutenberg Block for Buttons 4933 */ 4934 4935 4936var CustomButton = /*#__PURE__*/function (_React$Component) { 4937 _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_3___default()(CustomButton, _React$Component); 4938 4939 var _super = _createSuper(CustomButton); 4940 4941 function CustomButton(props) { 4942 var _this; 4943 4944 _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0___default()(this, CustomButton); 4945 4946 _this = _super.call(this, props); 4947 _this.onChange = _this.onChange.bind(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2___default()(_this)); 4948 return _this; 4949 } 4950 4951 _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1___default()(CustomButton, [{ 4952 key: "onChange", 4953 value: function onChange(e) { 4954 if (e.target.classList.value.indexOf(e.target.value) < 0) { 4955 this.props.onChange(e.target.value); 4956 } else { 4957 this.props.onChange(''); 4958 } 4959 } 4960 }, { 4961 key: "render", 4962 value: function render() { 4963 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("button", { 4964 className: this.props.className, 4965 onClick: this.onChange, 4966 value: this.props.value 4967 }); 4968 } 4969 }]); 4970 4971 return CustomButton; 4972}(react__WEBPACK_IMPORTED_MODULE_7___default.a.Component); 4973 4974/* harmony default export */ __webpack_exports__["default"] = (CustomButton); 4975 4976/***/ }), 4977
4978/***/ "./src/blocks/emage-hover-effects-block.js": 4979/*!*************************************************!*\ 4980 !*** ./src/blocks/emage-hover-effects-block.js ***! 4981 \*************************************************/ 4982/*! no exports provided */ 4983/***/ (function(module, __webpack_exports__, __webpack_require__) { 4984 4985"use strict"; 4986__webpack_require__.r(__webpack_exports__); 4987/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ "./node_modules/@babel/runtime/helpers/slicedToArray.js"); 4988/* harmony import */ var _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__); 4989/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element"); 4990/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__); 4991/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); 4992/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__); 4993/* harmony import */ var _js_assets_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./js/assets.js */ "./src/blocks/js/assets.js"); 4994/* harmony import */ var _fonticonpicker_react_fonticonpicker__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @fonticonpicker/react-fonticonpicker */ "./node_modules/@fonticonpicker/react-fonticonpicker/dist/fonticonpicker.react.js"); 4995/* harmony import */ var _fonticonpicker_react_fonticonpicker__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_fonticonpicker_react_fonticonpicker__WEBPACK_IMPORTED_MODULE_4__); 4996/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! lodash */ "lodash"); 4997/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_5__); 4998/* harmony import */ var _selectize_index__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./selectize/index */ "./src/blocks/selectize/index.js"); 4999/* harmony import */ var _selectize_multiple_index__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./selectize-multiple/index */ "./src/blocks/selectize-multiple/index.js"); 5000/* harmony import */ var _custom_buttons_index__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./custom-buttons/index */ "./src/blocks/custom-buttons/index.js"); 5001/* harmony import */ var _repeater_index__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./repeater/index */ "./src/blocks/repeater/index.js"); 5002/* harmony import */ var react_tabs__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react-tabs */ "./node_modules/react-tabs/esm/index.js"); 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014var Fragment = wp.element.Fragment; 5015var registerBlockType = wp.blocks.registerBlockType; 5016var _wp$blockEditor = wp.blockEditor, 5017 BlockControls = _wp$blockEditor.BlockControls, 5018 InspectorControls = _wp$blockEditor.InspectorControls, 5019 MediaUpload = _wp$blockEditor.MediaUpload; 5020registerBlockType('block/emage-hover-effects-block', { 5021 title: 'Emage Hover Effects', 5022 description: 'Add hover effects to images', 5023 icon: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["EHEG_LOGO"])(), 5024 category: 'common', 5025 // EDIT FUNCTION 5026 edit: function edit(props) { 5027 var _ = __webpack_require__(/*! lodash */ "lodash"); 5028 5029 var setAttributes = props.setAttributes; 5030 var webfonts = eheg.data['webfonts']; 5031 var license_purchase_code = props.attributes.license_purchase_code; 5032 var license_action_deactivate = props.attributes.license_action_deactivate; 5033 var license_action_activate = props.attributes.license_action_activate; 5034 var license = props.attributes.license; 5035 var placeholder = props.attributes.placeholder; 5036 var clientId = props.attributes.clientId; 5037 var image = props.attributes.image; 5038 var imagefull = props.attributes.imagefull; 5039 var imgid = props.attributes.imgid; 5040 var img_size = props.attributes.img_size; 5041 var img_size_default = props.attributes.img_size_default; 5042 var img_size_id = props.attributes.img_size_id; 5043 var image_effect = props.attributes.image_effect; 5044 var image_opacity = props.attributes.image_opacity; 5045 var image_duration = props.attributes.image_duration; 5046 var target = props.attributes.target; 5047 var link = props.attributes.link; 5048 var customalt = props.attributes.customalt; 5049 var linktarget = props.attributes.linktarget; 5050 var linkrel = props.attributes.linkrel; 5051 var overlay_show = props.attributes.overlay_show; 5052 var overlay_effect = props.attributes.overlay_effect; 5053 var overlay_duration = props.attributes.overlay_duration; 5054 var title = props.attributes.title; 5055 var subtitle = props.attributes.subtitle; 5056 var content = props.attributes.content; 5057 var align = props.attributes.align;
5058 var valign = props.attributes.valign; 5059 var content_effect = props.attributes.content_effect; 5060 var content_duration = props.attributes.content_duration; 5061 var content_delay = props.attributes.content_delay; 5062 var content_appearance = props.attributes.content_appearance; 5063 var buttons = props.attributes.buttons; 5064 var buttons_direction = props.attributes.buttons_direction; 5065 var buttons_align = props.attributes.buttons_align; 5066 var buttons_valign = props.attributes.buttons_valign; 5067 var buttons_icon_align = props.attributes.buttons_icon_align; 5068 var image_background = props.attributes.image_background; 5069 var match_height = props.attributes.match_height; 5070 var image_height = props.attributes.image_height; 5071 var image_brr_unit = props.attributes.image_brr_unit; 5072 var image_brr_check = props.attributes.image_brr_check; 5073 var image_brr_top_left = props.attributes.image_brr_top_left; 5074 var image_brr_top_right = props.attributes.image_brr_top_right; 5075 var image_brr_bottom_left = props.attributes.image_brr_bottom_left; 5076 var image_brr_bottom_right = props.attributes.image_brr_bottom_right; 5077 var overlay_bdr_type = props.attributes.overlay_bdr_type; 5078 var overlay_bdr_unit = props.attributes.overlay_bdr_unit; 5079 var overlay_bdr_check = props.attributes.overlay_bdr_check; 5080 var overlay_bdr_top = props.attributes.overlay_bdr_top; 5081 var overlay_bdr_right = props.attributes.overlay_bdr_right; 5082 var overlay_bdr_bottom = props.attributes.overlay_bdr_bottom; 5083 var overlay_bdr_left = props.attributes.overlay_bdr_left; 5084 var overlay_bdr_color = props.attributes.overlay_bdr_color; 5085 var overlay_margin_unit = props.attributes.overlay_margin_unit; 5086 var overlay_margin_check = props.attributes.overlay_margin_check; 5087 var overlay_margin_top = props.attributes.overlay_margin_top; 5088 var overlay_margin_right = props.attributes.overlay_margin_right; 5089 var overlay_margin_bottom = props.attributes.overlay_margin_bottom; 5090 var overlay_margin_left = props.attributes.overlay_margin_left; 5091 var overlay_bg_type = props.attributes.overlay_bg_type; 5092 var overlay_bg_cl_color = props.attributes.overlay_bg_cl_color; 5093 var overlay_bg_cl_image = props.attributes.overlay_bg_cl_image; 5094 var overlay_bg_cl_position = props.attributes.overlay_bg_cl_position; 5095 var overlay_bg_cl_attachment = props.attributes.overlay_bg_cl_attachment; 5096 var overlay_bg_cl_repeat = props.attributes.overlay_bg_cl_repeat; 5097 var overlay_bg_cl_size = props.attributes.overlay_bg_cl_size; 5098 var overlay_bg_lg_color = props.attributes.overlay_bg_lg_color; 5099 var overlay_bg_lg_location = props.attributes.overlay_bg_lg_location; 5100 var overlay_bg_lg_second_color = props.attributes.overlay_bg_lg_second_color; 5101 var overlay_bg_lg_second_location = props.attributes.overlay_bg_lg_second_location; 5102 var overlay_bg_lg_type = props.attributes.overlay_bg_lg_type; 5103 var overlay_bg_lg_angle = props.attributes.overlay_bg_lg_angle; 5104 var overlay_bg_lg_position = props.attributes.overlay_bg_lg_position; 5105 var title_color = props.attributes.title_color; 5106 var subtitle_color = props.attributes.subtitle_color; 5107 var content_color = props.attributes.content_color; 5108 var title_font = props.attributes.title_font; 5109 var title_font_subset = props.attributes.title_font_subset; 5110 var title_font_size = props.attributes.title_font_size; 5111 var title_font_weight = props.attributes.title_font_weight; 5112 var title_font_transform = props.attributes.title_font_transform; 5113 var title_font_style = props.attributes.title_font_style; 5114 var title_font_decoration = props.attributes.title_font_decoration; 5115 var title_line_height = props.attributes.title_line_height; 5116 var title_letter_spacing = props.attributes.title_letter_spacing; 5117 var title_style = props.attributes.title_style; 5118 var subtitle_font = props.attributes.subtitle_font; 5119 var subtitle_font_subset = props.attributes.subtitle_font_subset; 5120 var subtitle_font_size = props.attributes.subtitle_font_size; 5121 var subtitle_font_weight = props.attributes.subtitle_font_weight; 5122 var subtitle_font_transform = props.attributes.subtitle_font_transform; 5123 var subtitle_font_style = props.attributes.subtitle_font_style; 5124 var subtitle_font_decoration = props.attributes.subtitle_font_decoration; 5125 var subtitle_line_height = props.attributes.subtitle_line_height; 5126 var subtitle_letter_spacing = props.attributes.subtitle_letter_spacing; 5127 var subtitle_style = props.attributes.subtitle_style; 5128 var content_font = props.attributes.content_font; 5129 var content_font_subset = props.attributes.content_font_subset; 5130 var content_font_size = props.attributes.content_font_size; 5131 var content_font_weight = props.attributes.content_font_weight; 5132 var content_font_transform = props.attributes.content_font_transform; 5133 var content_font_style = props.attributes.content_font_style; 5134 var content_font_decoration = props.attributes.content_font_decoration; 5135 var content_line_height = props.attributes.content_line_height; 5136 var content_letter_spacing = props.attributes.content_letter_spacing; 5137 var content_style = props.attributes.content_style; 5138 var padding_unit = props.attributes.padding_unit; 5139 var padding_check = props.attributes.padding_check; 5140 var padding_top = props.attributes.padding_top; 5141 var padding_right = props.attributes.padding_right; 5142 var padding_bottom = props.attributes.padding_bottom; 5143 var padding_left = props.attributes.padding_left; 5144 var margin_unit = props.attributes.margin_unit; 5145 var margin_check = props.attributes.margin_check; 5146 var margin_top = props.attributes.margin_top; 5147 var margin_right = props.attributes.margin_right; 5148 var margin_bottom = props.attributes.margin_bottom; 5149 var margin_left = props.attributes.margin_left; 5150 var content_bg_type = props.attributes.content_bg_type; 5151 var content_bg_cl_color = props.attributes.content_bg_cl_color; 5152 var content_bg_cl_image = props.attributes.content_bg_cl_image; 5153 var content_bg_cl_position = props.attributes.content_bg_cl_position; 5154 var content_bg_cl_attachment = props.attributes.content_bg_cl_attachment; 5155 var content_bg_cl_repeat = props.attributes.content_bg_cl_repeat; 5156 var content_bg_cl_size = props.attributes.content_bg_cl_size; 5157 var content_bg_lg_color = props.attributes.content_bg_lg_color; 5158 var content_bg_lg_location = props.attributes.content_bg_lg_location; 5159 var content_bg_lg_second_color = props.attributes.content_bg_lg_second_color; 5160 var content_bg_lg_second_location = props.attributes.content_bg_lg_second_location; 5161 var content_bg_lg_type = props.attributes.content_bg_lg_type; 5162 var content_bg_lg_angle = props.attributes.content_bg_lg_angle; 5163 var content_bg_lg_position = props.attributes.content_bg_lg_position; 5164 var buttons_color = props.attributes.buttons_color; 5165 var buttons_background = props.attributes.buttons_background; 5166 var buttons_font = props.attributes.buttons_font; 5167 var buttons_font_subset = props.attributes.buttons_font_subset; 5168 var buttons_font_size = props.attributes.buttons_font_size; 5169 var buttons_font_weight = props.attributes.buttons_font_weight; 5170 var buttons_font_transform = props.attributes.buttons_font_transform; 5171 var buttons_font_style = props.attributes.buttons_font_style; 5172 var buttons_font_decoration = props.attributes.buttons_font_decoration; 5173 var buttons_line_height = props.attributes.buttons_line_height; 5174 var buttons_letter_spacing = props.attributes.buttons_letter_spacing; 5175 var buttons_style = props.attributes.buttons_style; 5176 var buttons_bdr_type = props.attributes.buttons_bdr_type; 5177 var buttons_bdr_unit = props.attributes.buttons_bdr_unit; 5178 var buttons_bdr_check = props.attributes.buttons_bdr_check; 5179 var buttons_bdr_top = props.attributes.buttons_bdr_top; 5180 var buttons_bdr_right = props.attributes.buttons_bdr_right; 5181 var buttons_bdr_bottom = props.attributes.buttons_bdr_bottom; 5182 var buttons_bdr_left = props.attributes.buttons_bdr_left; 5183 var buttons_bdr_color = props.attributes.buttons_bdr_color; 5184 var buttons_spacing = props.attributes.buttons_spacing; 5185 var buttons_icon_spacing = props.attributes.buttons_icon_spacing; 5186 var buttons_spacing_unit = props.attributes.buttons_spacing_unit; 5187 var buttons_icon_spacing_unit = props.attributes.buttons_icon_spacing_unit; 5188 var buttons_brr_unit = props.attributes.buttons_brr_unit; 5189 var buttons_brr_check = props.attributes.buttons_brr_check; 5190 var buttons_brr_top_left = props.attributes.buttons_brr_top_left; 5191 var buttons_brr_top_right = props.attributes.buttons_brr_top_right; 5192 var buttons_brr_bottom_left = props.attributes.buttons_brr_bottom_left; 5193 var buttons_brr_bottom_right = props.attributes.buttons_brr_bottom_right; 5194 var buttons_padding_unit = props.attributes.buttons_padding_unit; 5195 var buttons_padding_check = props.attributes.buttons_padding_check; 5196 var buttons_padding_top = props.attributes.buttons_padding_top; 5197 var buttons_padding_right = props.attributes.buttons_padding_right; 5198 var buttons_padding_bottom = props.attributes.buttons_padding_bottom; 5199 var buttons_padding_left = props.attributes.buttons_padding_left; 5200 var buttons_margin_unit = props.attributes.buttons_margin_unit; 5201 var buttons_margin_check = props.attributes.buttons_margin_check; 5202 var buttons_margin_top = props.attributes.buttons_margin_top; 5203 var buttons_margin_right = props.attributes.buttons_margin_right; 5204 var buttons_margin_bottom = props.attributes.buttons_margin_bottom; 5205 var buttons_margin_left = props.attributes.buttons_margin_left; // Select Image Control... 5206 5207 function chooseImage(value) { 5208 setAttributes({ 5209 imgid: value.id 5210 }); 5211 var sizes = []; 5212 5213 for (var key in value.sizes) { 5214 var getwh = value.sizes[key].url.split('-').pop().split('.')[0].split('x'); 5215 var getwidth = key != 'full' ? getwh[0] : value.sizes[key].width; 5216 var getheight = key != 'full' ? getwh[1] : value.sizes[key].height; 5217 sizes.push({
5218 label: key.charAt(0).toUpperCase() + key.slice(1) + ' - (' + getwidth + ' x ' + getheight + ')', 5219 value: key 5220 }); 5221 } 5222 5223 setAttributes({ 5224 image: value.url 5225 }); 5226 setAttributes({ 5227 img_size: 'full' 5228 }); 5229 setAttributes({ 5230 imagefull: value.sizes.full.url 5231 }); 5232 setAttributes({ 5233 img_size_id: sizes 5234 }); 5235 } // Image Size Control... 5236 5237 5238 function changeImageSize(content) { 5239 setAttributes({ 5240 img_size: content 5241 }); 5242 5243 if (imgid) { 5244 wp.media.attachment(imgid).fetch().then(function (data) { 5245 var newurl = data.sizes[content].url; 5246 setAttributes({ 5247 image: newurl 5248 }); 5249 setAttributes({ 5250 imagefull: data.sizes.full.url 5251 }); 5252 }); 5253 } else { 5254 setAttributes({ 5255 imgid: 0 5256 }); 5257 setAttributes({ 5258 image: img_size_default[0][content] 5259 }); 5260 setAttributes({ 5261 imagefull: img_size_default[0]['full'] 5262 }); 5263 } 5264 } // Get Image Size options... 5265 5266 5267 function getImageSizeOptions() { 5268 return img_size_id; 5269 } // Get Google Font List... 5270 5271 5272 function getFontfamily() { 5273 var fonts = []; 5274 fonts.push({ 5275 label: 'Default', 5276 value: '' 5277 }); 5278 5279 for (var i = 0; i < webfonts.items.length; i++) { 5280 fonts.push({ 5281 label: webfonts.items[i].family, 5282 value: webfonts.items[i].family 5283 }); 5284 } 5285 5286 return fonts; 5287 } // TITLE... 5288 5289 5290 function titleFont(content) { 5291 setAttributes({ 5292 title_font: content 5293 }); 5294 ehegAddFont(content); 5295 } // DESCRIPTION... 5296 5297 5298 function subTitleFont(content) { 5299 setAttributes({ 5300 subtitle_font: content 5301 }); 5302 ehegAddFont(content); 5303 } // CONTENT... 5304 5305 5306 function contentFont(content) { 5307 setAttributes({ 5308 content_font: content 5309 }); 5310 ehegAddFont(content); 5311 } // BUTTON... 5312 5313 5314 function buttonFont(content) { 5315 console.log(content); 5316 setAttributes({ 5317 buttons_font: content 5318 }); 5319 ehegAddFont(content); 5320 } // Get Font Objeect to find Font-Family Variants... 5321 5322 5323 function getFontObject(font_family) { 5324 for (var i = 0; i < webfonts.items.length; i++) { 5325 if (webfonts.items[i].family === font_family) { 5326 var font_obj = webfonts.items[i]; 5327 } 5328 } 5329 5330 return font_obj; 5331 } // Generate Variants List to Selected Font... 5332 5333 5334 function variantOptions(selected_font) { 5335 if (selected_font == '') { 5336 return [{ 5337 value: '', 5338 label: 'Default' 5339 }, { 5340 value: '400', 5341 label: '400' 5342 }]; 5343 } else { 5344 var font_obj = getFontObject(selected_font); 5345 5346 if (!font_obj) { 5347 return; 5348 } 5349 5350 var variants = []; 5351 var variant_options = [{ 5352 value: '', 5353 label: 'Default' 5354 }]; 5355 5356 for (var i = 0; i < font_obj.variants.length; i++) { 5357 var var_option = parseInt(font_obj.variants[i] === 'regular' ? "400" : font_obj.variants[i]); 5358 5359 if (!isNaN(var_option) && variants.indexOf(var_option) == -1) { 5360 variants.push(var_option); 5361 } 5362 } 5363 5364 for (var i = 0; i < variants.length; i++) { 5365 variant_options.push({ 5366 label: variants[i], 5367 value: variants[i] 5368 }); 5369 } 5370 5371 return variant_options; 5372 } 5373 } // Generate Subsets List to Selected Font... 5374 5375 5376 function subsetOptions(selected_font) { 5377 if (selected_font == '') { 5378 return [{ 5379 label: "Latin", 5380 value: "latin" 5381 }]; 5382 } else { 5383 var font_obj = getFontObject(selected_font); 5384 5385 if (!font_obj) { 5386 return; 5387 } 5388 5389 var subsets = []; 5390 var subsets_options = []; 5391 5392 for (var i = 0; i < font_obj.subsets.length; i++) { 5393 subsets.push(font_obj.subsets[i]); 5394 } 5395 5396 for (var i = 0; i < subsets.length; i++) { 5397 subsets_options.push({ 5398 label: subsets[i], 5399 value: subsets[i] 5400 }); 5401 } 5402 5403 return subsets_options; 5404 } 5405 } // Add Google Font To Backend... 5406 5407 5408 function ehegAddFont(content) { 5409 var font_obj = getFontObject(content); 5410 var variants_tolink = []; 5411 var subsets_tolink = []; 5412 5413 for (var i = 0; i < font_obj.variants.length; i++) { 5414 variants_tolink.push(font_obj.variants[i]); 5415 } 5416 5417 for (var i = 0; i < font_obj.subsets.length; i++) { 5418 subsets_tolink.push(font_obj.subsets[i]); 5419 } 5420 5421 var variants = variants_tolink.join(','); 5422 var subsets = subsets_tolink.join(','); 5423 var head = document.head; 5424 var link = document.createElement('link'); 5425 link.type = 'text/css'; 5426 link.rel = 'stylesheet';
5427 link.href = '//fonts.googleapis.com/css?family=' + content.replace(/\s+/g, '+') + ':' + variants + '&display=swap&subset=' + subsets; 5428 head.appendChild(link); 5429 } // Border Radius... 5430 5431 5432 function commonBorderRadiusDimension(value, image_brr_check) { 5433 if (image_brr_check == true) { 5434 setAttributes({ 5435 image_brr_top_left: value 5436 }); 5437 setAttributes({ 5438 image_brr_top_right: value 5439 }); 5440 setAttributes({ 5441 image_brr_bottom_left: value 5442 }); 5443 setAttributes({ 5444 image_brr_bottom_right: value 5445 }); 5446 } else { 5447 if (value == '') { 5448 setAttributes({ 5449 image_brr_top_left: 0 5450 }); 5451 setAttributes({ 5452 image_brr_top_right: 0 5453 }); 5454 setAttributes({ 5455 image_brr_bottom_left: 0 5456 }); 5457 setAttributes({ 5458 image_brr_bottom_right: 0 5459 }); 5460 } 5461 } 5462 } 5463 5464 function borderRadiusTopLeft(value) { 5465 setAttributes({ 5466 image_brr_top_left: value 5467 }); 5468 commonBorderRadiusDimension(value, image_brr_check); 5469 } 5470 5471 function borderRadiusTopRight(value) { 5472 setAttributes({ 5473 image_brr_top_right: value 5474 }); 5475 commonBorderRadiusDimension(value, image_brr_check); 5476 } 5477 5478 function borderRadiusBottomLeft(value) { 5479 setAttributes({ 5480 image_brr_bottom_left: value 5481 }); 5482 commonBorderRadiusDimension(value, image_brr_check); 5483 } 5484 5485 function borderRadiusBottomRight(value) { 5486 setAttributes({ 5487 image_brr_bottom_right: value 5488 }); 5489 commonBorderRadiusDimension(value, image_brr_check); 5490 } 5491 5492 function borderRadiusDimension(value) { 5493 setAttributes({ 5494 image_brr_check: value 5495 }); 5496 commonBorderRadiusDimension(image_brr_top_left, value); 5497 } // Border... 5498 5499 5500 function commonBorderDimension(value, overlay_bdr_check) { 5501 if (overlay_bdr_check == true) { 5502 setAttributes({ 5503 overlay_bdr_top: value 5504 }); 5505 setAttributes({ 5506 overlay_bdr_right: value 5507 }); 5508 setAttributes({ 5509 overlay_bdr_bottom: value 5510 }); 5511 setAttributes({ 5512 overlay_bdr_left: value 5513 }); 5514 } else { 5515 if (value == '') { 5516 setAttributes({ 5517 overlay_bdr_top: 0 5518 }); 5519 setAttributes({ 5520 overlay_bdr_right: 0 5521 }); 5522 setAttributes({ 5523 overlay_bdr_bottom: 0 5524 }); 5525 setAttributes({ 5526 overlay_bdr_left: 0 5527 }); 5528 } 5529 } 5530 } 5531 5532 function borderTop(value) { 5533 setAttributes({ 5534 overlay_bdr_top: value 5535 }); 5536 commonBorderDimension(value, overlay_bdr_check); 5537 } 5538 5539 function borderRight(value) { 5540 setAttributes({ 5541 overlay_bdr_right: value 5542 }); 5543 commonBorderDimension(value, overlay_bdr_check); 5544 } 5545 5546 function borderBottom(value) { 5547 setAttributes({ 5548 overlay_bdr_bottom: value 5549 }); 5550 commonBorderDimension(value, overlay_bdr_check); 5551 } 5552 5553 function borderLeft(value) { 5554 setAttributes({ 5555 overlay_bdr_left: value 5556 }); 5557 commonBorderDimension(value, overlay_bdr_check); 5558 } 5559 5560 function borderDimension(value) { 5561 setAttributes({ 5562 overlay_bdr_check: value 5563 }); 5564 commonBorderDimension(overlay_bdr_top, value); 5565 } // Overlay Margin... 5566 5567 5568 function commonOverlayMarginDimension(value, overlay_margin_check) { 5569 if (overlay_margin_check == true) { 5570 setAttributes({ 5571 overlay_margin_top: value 5572 }); 5573 setAttributes({ 5574 overlay_margin_right: value 5575 }); 5576 setAttributes({ 5577 overlay_margin_bottom: value 5578 }); 5579 setAttributes({ 5580 overlay_margin_left: value 5581 }); 5582 } else { 5583 if (value == '') { 5584 setAttributes({ 5585 overlay_margin_top: 0 5586 }); 5587 setAttributes({ 5588 overlay_margin_right: 0 5589 }); 5590 setAttributes({ 5591 overlay_margin_bottom: 0 5592 }); 5593 setAttributes({ 5594 overlay_margin_left: 0 5595 }); 5596 } 5597 } 5598 } 5599 5600 function overlayMarginTop(value) { 5601 setAttributes({ 5602 overlay_margin_top: value 5603 }); 5604 commonOverlayMarginDimension(value, overlay_margin_check); 5605 } 5606 5607 function overlayMarginRight(value) { 5608 setAttributes({ 5609 overlay_margin_right: value 5610 }); 5611 commonOverlayMarginDimension(value, overlay_margin_check); 5612 } 5613 5614 function overlayMarginBottom(value) { 5615 setAttributes({ 5616 overlay_margin_bottom: value 5617 }); 5618 commonOverlayMarginDimension(value, overlay_margin_check); 5619 } 5620 5621 function overlayMarginLeft(value) { 5622 setAttributes({ 5623 overlay_margin_left: value 5624 }); 5625 commonOverlayMarginDimension(value, overlay_margin_check); 5626 } 5627 5628 function overlayMarginDimension(value) { 5629 setAttributes({ 5630 overlay_margin_check: value 5631 }); 5632 commonOverlayMarginDimension(overlay_margin_top, value); 5633 } // Padding... 5634 5635 5636 function commonPaddingDimension(value, padding_check) { 5637 if (padding_check == true) { 5638 setAttributes({ 5639 padding_top: value 5640 }); 5641 setAttributes({ 5642 padding_right: value 5643 }); 5644 setAttributes({ 5645 padding_bottom: value 5646 }); 5647 setAttributes({ 5648 padding_left: value 5649 }); 5650 } else { 5651 if (value == '') { 5652 setAttributes({ 5653 padding_top: 0 5654 }); 5655 setAttributes({ 5656 padding_right: 0 5657 }); 5658 setAttributes({ 5659 padding_bottom: 0 5660 }); 5661 setAttributes({ 5662 padding_left: 0 5663 }); 5664 } 5665 } 5666 } 5667 5668 function paddingTop(value) { 5669 setAttributes({ 5670 padding_top: value 5671 }); 5672 commonPaddingDimension(value, padding_check); 5673 } 5674 5675 function paddingRight(value) { 5676 setAttributes({ 5677 padding_right: value 5678 }); 5679 commonPaddingDimension(value, padding_check); 5680 } 5681 5682 function paddingBottom(value) { 5683 setAttributes({ 5684 padding_bottom: value 5685 }); 5686 commonPaddingDimension(value, padding_check); 5687 } 5688 5689 function paddingLeft(value) { 5690 setAttributes({ 5691 padding_left: value 5692 }); 5693 commonPaddingDimension(value, padding_check); 5694 } 5695 5696 function paddingDimension(value) { 5697 setAttributes({ 5698 padding_check: value 5699 }); 5700 commonPaddingDimension(padding_top, value); 5701 } // Margin... 5702 5703 5704 function commonMarginDimension(value, margin_check) { 5705 if (margin_check == true) { 5706 setAttributes({ 5707 margin_top: value 5708 }); 5709 setAttributes({ 5710 margin_right: value 5711 }); 5712 setAttributes({ 5713 margin_bottom: value 5714 }); 5715 setAttributes({ 5716 margin_left: value 5717 }); 5718 } else { 5719 if (value == '') { 5720 setAttributes({ 5721 margin_top: 0 5722 }); 5723 setAttributes({ 5724 margin_right: 0 5725 }); 5726 setAttributes({ 5727 margin_bottom: 0 5728 }); 5729 setAttributes({ 5730 margin_left: 0 5731 }); 5732 } 5733 } 5734 } 5735 5736 function marginTop(value) { 5737 setAttributes({ 5738 margin_top: value 5739 }); 5740 commonMarginDimension(value, margin_check); 5741 } 5742 5743 function marginRight(value) { 5744 setAttributes({ 5745 margin_right: value 5746 }); 5747 commonMarginDimension(value, margin_check); 5748 } 5749 5750 function marginBottom(value) { 5751 setAttributes({ 5752 margin_bottom: value 5753 }); 5754 commonMarginDimension(value, margin_check); 5755 } 5756 5757 function marginLeft(value) { 5758 setAttributes({ 5759 margin_left: value 5760 }); 5761 commonMarginDimension(value, margin_check); 5762 } 5763 5764 function marginDimension(value) { 5765 setAttributes({ 5766 margin_check: value 5767 }); 5768 commonMarginDimension(margin_top, value); 5769 } //BUTTON FUNCTIONS 5770 // Border Radius... 5771 5772 5773 function commonBtnBorderRadiusDimension(value, buttons_brr_check) { 5774 if (buttons_brr_check == true) { 5775 setAttributes({ 5776 buttons_brr_top_left: value 5777 }); 5778 setAttributes({ 5779 buttons_brr_top_right: value 5780 }); 5781 setAttributes({ 5782 buttons_brr_bottom_left: value 5783 }); 5784 setAttributes({ 5785 buttons_brr_bottom_right: value 5786 }); 5787 } else { 5788 if (value == '') { 5789 setAttributes({ 5790 buttons_brr_top_left: 0 5791 }); 5792 setAttributes({ 5793 buttons_brr_top_right: 0 5794 }); 5795 setAttributes({ 5796 buttons_brr_bottom_left: 0 5797 }); 5798 setAttributes({ 5799 buttons_brr_bottom_right: 0 5800 }); 5801 } 5802 } 5803 } 5804 5805 function btnBorderRadiusTopLeft(value) { 5806 setAttributes({ 5807 buttons_brr_top_left: value 5808 }); 5809 commonBtnBorderRadiusDimension(value, buttons_brr_check); 5810 } 5811 5812 function btnBorderRadiusTopRight(value) { 5813 setAttributes({ 5814 buttons_brr_top_right: value 5815 }); 5816 commonBtnBorderRadiusDimension(value, buttons_brr_check); 5817 } 5818 5819 function btnBorderRadiusBottomLeft(value) { 5820 setAttributes({ 5821 buttons_brr_bottom_left: value 5822 }); 5823 commonBtnBorderRadiusDimension(value, buttons_brr_check); 5824 } 5825 5826 function btnBorderRadiusBottomRight(value) { 5827 setAttributes({ 5828 buttons_brr_bottom_right: value 5829 }); 5830 commonBtnBorderRadiusDimension(value, buttons_brr_check); 5831 } 5832 5833 function btnBorderRadiusDimension(value) { 5834 setAttributes({ 5835 buttons_brr_check: value 5836 }); 5837 commonBtnBorderRadiusDimension(buttons_brr_top_left, value); 5838 } // Border... 5839 5840 5841 function commonBtnBorderDimension(value, buttons_bdr_check) { 5842 if (buttons_bdr_check == true) { 5843 setAttributes({ 5844 buttons_bdr_top: value 5845 }); 5846 setAttributes({ 5847 buttons_bdr_right: value 5848 }); 5849 setAttributes({ 5850 buttons_bdr_bottom: value 5851 }); 5852 setAttributes({ 5853 buttons_bdr_left: value 5854 }); 5855 } else { 5856 if (value == '') { 5857 setAttributes({ 5858 buttons_bdr_top: 0 5859 }); 5860 setAttributes({ 5861 buttons_bdr_right: 0 5862 }); 5863 setAttributes({ 5864 buttons_bdr_bottom: 0 5865 }); 5866 setAttributes({ 5867 buttons_bdr_left: 0 5868 }); 5869 } 5870 } 5871 } 5872 5873 function btnBorderTop(value) { 5874 setAttributes({ 5875 buttons_bdr_top: value 5876 }); 5877 commonBtnBorderDimension(value, buttons_bdr_check); 5878 } 5879 5880 function btnBorderRight(value) { 5881 setAttributes({ 5882 buttons_bdr_right: value 5883 }); 5884 commonBtnBorderDimension(value, buttons_bdr_check); 5885 } 5886 5887 function btnBorderBottom(value) { 5888 setAttributes({ 5889 buttons_bdr_bottom: value 5890 }); 5891 commonBtnBorderDimension(value, buttons_bdr_check); 5892 } 5893 5894 function btnBorderLeft(value) { 5895 setAttributes({ 5896 buttons_bdr_left: value 5897 }); 5898 commonBtnBorderDimension(value, buttons_bdr_check); 5899 } 5900 5901 function btnBorderDimension(value) { 5902 setAttributes({ 5903 buttons_bdr_check: value 5904 }); 5905 commonBtnBorderDimension(buttons_bdr_top, value); 5906 } // Padding... 5907 5908 5909 function commonBtnPaddingDimension(value, buttons_padding_check) { 5910 if (buttons_padding_check == true) { 5911 setAttributes({ 5912 buttons_padding_top: value 5913 }); 5914 setAttributes({ 5915 buttons_padding_right: value 5916 }); 5917 setAttributes({ 5918 buttons_padding_bottom: value 5919 }); 5920 setAttributes({ 5921 buttons_padding_left: value 5922 }); 5923 } else { 5924 if (value == '') { 5925 setAttributes({ 5926 buttons_padding_top: 0 5927 }); 5928 setAttributes({ 5929 buttons_padding_right: 0 5930 }); 5931 setAttributes({ 5932 buttons_padding_bottom: 0 5933 }); 5934 setAttributes({ 5935 buttons_padding_left: 0 5936 }); 5937 } 5938 } 5939 } 5940 5941 function btnPaddingTop(value) { 5942 setAttributes({ 5943 buttons_padding_top: value 5944 }); 5945 commonBtnPaddingDimension(value, buttons_padding_check); 5946 } 5947 5948 function btnPaddingRight(value) { 5949 setAttributes({ 5950 buttons_padding_right: value 5951 }); 5952 commonBtnPaddingDimension(value, buttons_padding_check); 5953 } 5954 5955 function btnPaddingBottom(value) { 5956 setAttributes({ 5957 buttons_padding_bottom: value 5958 }); 5959 commonBtnPaddingDimension(value, buttons_padding_check); 5960 } 5961 5962 function btnPaddingLeft(value) { 5963 setAttributes({ 5964 buttons_padding_left: value 5965 }); 5966 commonBtnPaddingDimension(value, buttons_padding_check); 5967 } 5968 5969 function btnPaddingDimension(value) { 5970 setAttributes({ 5971 buttons_padding_check: value 5972 }); 5973 commonBtnPaddingDimension(buttons_padding_top, value); 5974 } // Margin... 5975 5976 5977 function commonBtnMarginDimension(value, buttons_margin_check) { 5978 if (buttons_margin_check == true) { 5979 setAttributes({ 5980 buttons_margin_top: value 5981 }); 5982 setAttributes({ 5983 buttons_margin_right: value 5984 }); 5985 setAttributes({ 5986 buttons_margin_bottom: value 5987 }); 5988 setAttributes({ 5989 buttons_margin_left: value 5990 }); 5991 } else { 5992 if (value == '') { 5993 setAttributes({ 5994 buttons_margin_top: 0 5995 }); 5996 setAttributes({ 5997 buttons_margin_right: 0 5998 }); 5999 setAttributes({ 6000 buttons_margin_bottom: 0 6001 }); 6002 setAttributes({ 6003 buttons_margin_left: 0 6004 }); 6005 } 6006 } 6007 } 6008 6009 function btnMarginTop(value) { 6010 setAttributes({ 6011 buttons_margin_top: value 6012 }); 6013 commonBtnMarginDimension(value, buttons_margin_check); 6014 } 6015 6016 function btnMarginRight(value) { 6017 setAttributes({ 6018 buttons_margin_right: value 6019 }); 6020 commonBtnMarginDimension(value, buttons_margin_check); 6021 } 6022 6023 function btnMarginBottom(value) { 6024 setAttributes({ 6025 buttons_margin_bottom: value 6026 }); 6027 commonBtnMarginDimension(value, buttons_margin_check); 6028 } 6029 6030 function btnMarginLeft(value) { 6031 setAttributes({ 6032 buttons_margin_left: value 6033 }); 6034 commonBtnMarginDimension(value, buttons_margin_check); 6035 } 6036 6037 function btnMarginDimension(value) { 6038 setAttributes({ 6039 buttons_margin_check: value 6040 }); 6041 commonBtnMarginDimension(buttons_margin_top, value); 6042 } 6043 6044 function fonts(_ref) { 6045 var _ref2 = _babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_ref, 8), 6046 ff = _ref2[0], 6047 fs = _ref2[1], 6048 fw = _ref2[2], 6049 fst = _ref2[3], 6050 ft = _ref2[4], 6051 fd = _ref2[5], 6052 lh = _ref2[6], 6053 ls = _ref2[7]; 6054 6055 return (ff != '' && typeof ff !== 'undefined' ? "font-family:" + ff + ";" : "") + (fs != '' && typeof fs !== 'undefined' ? "font-size:" + fs + "px" + ";" : "") + (fw != '' && typeof fw !== 'undefined' ? "font-weight:" + fw + ";" : "") + (fst != '' && typeof fst !== 'undefined' ? "font-style:" + fst + ";" : "") + (ft != '' && typeof ft !== 'undefined' ? "text-transform:" + ft + ";" : "") + (fd != '' && typeof fd !== 'undefined' ? "text-decoration:" + fd + ";" : "") + (lh != '' && typeof lh !== 'undefined' ? "line-height:" + lh + "px" + ";" : "") + (ls != '' && typeof ls !== 'undefined' ? "letter-spacing:" + ls + "px" + ";" : ""); 6056 } 6057 6058 function dimensions(property, a, b, c, d, unit, check) { 6059 return a != "" ? property + ": " + a + unit + " " + b + unit + " " + c + unit + " " + d + unit + ";" : ""; 6060 } 6061 6062 function checkOneArray(my_arr) { 6063 for (var i = 0; i < my_arr.length; i++) { 6064 if (my_arr[i] !== "") return true; 6065 } 6066 6067 return false;
6068 } 6069 6070 function checkAllArray(my_arr) { 6071 for (var i = 0; i < my_arr.length; i++) { 6072 if (my_arr[i] === "") return false; 6073 } 6074 6075 return true; 6076 } 6077 6078 function check_license(content) { 6079 var data = { 6080 action: 'eheg_license', 6081 license_action: content.currentTarget.value, 6082 code: license_purchase_code 6083 }; 6084 var noticeDiv = jQuery('.license_notice'); 6085 jQuery('.license_action_btn .publish-label').hide(); 6086 jQuery('.license_action_btn .components-spinner').show(); 6087 jQuery.post(eheg.ajax_url, data, function (response) { 6088 jQuery('.license_action_btn .components-spinner').hide(); 6089 jQuery('.license_action_btn .publish-label').show(); 6090 jQuery('.image-panel .license_notice').show(); 6091 noticeDiv.html('<div style="color:#0b5885;background-color:#d0eeff;border-color:#bee7ff;padding: .75rem 1.25rem;border-radius: .25rem;line-height: 1.3em;border: 1px solid #bbcff5;">' + response.message + '</div>'); 6092 setTimeout(function () { 6093 jQuery(".edit-post-sidebar").animate({ 6094 scrollTop: jQuery('.edit-post-sidebar').prop("scrollHeight") 6095 }, 1000); 6096 }, 1000); 6097 setAttributes({ 6098 license: response.license 6099 }); 6100 setAttributes({ 6101 license_purchase_code: response.license_key 6102 }); 6103 }); 6104 } 6105 6106 setAttributes({ 6107 clientId: props.clientId 6108 }); 6109 var settings = { 6110 image: image, 6111 imagefull: imagefull, 6112 imgid: imgid, 6113 img_size: img_size, 6114 img_size_default: img_size_default, 6115 img_size_id: img_size_id, 6116 image_effect: image_effect, 6117 image_opacity: image_opacity, 6118 image_duration: image_duration, 6119 target: target, 6120 link: link, 6121 linktarget: linktarget, 6122 linkrel: linkrel, 6123 overlay_show: overlay_show, 6124 overlay_effect: overlay_effect, 6125 overlay_duration: overlay_duration, 6126 title: title, 6127 subtitle: subtitle, 6128 content: content, 6129 align: align, 6130 valign: valign, 6131 content_effect: content_effect, 6132 content_duration: content_duration, 6133 content_delay: content_delay, 6134 content_appearance: content_appearance, 6135 buttons: buttons, 6136 buttons_direction: buttons_direction, 6137 buttons_align: buttons_align, 6138 buttons_valign: buttons_valign, 6139 buttons_icon_align: buttons_icon_align, 6140 image_background: image_background, 6141 match_height: match_height, 6142 image_height: image_height, 6143 image_brr_unit: image_brr_unit, 6144 image_brr_check: image_brr_check, 6145 image_brr_top_left: image_brr_top_left, 6146 image_brr_top_right: image_brr_top_right, 6147 image_brr_bottom_left: image_brr_bottom_left, 6148 image_brr_bottom_right: image_brr_bottom_right, 6149 overlay_bdr_type: overlay_bdr_type, 6150 overlay_bdr_unit: overlay_bdr_unit, 6151 overlay_bdr_check: overlay_bdr_check, 6152 overlay_bdr_top: overlay_bdr_top, 6153 overlay_bdr_right: overlay_bdr_right, 6154 overlay_bdr_bottom: overlay_bdr_bottom, 6155 overlay_bdr_left: overlay_bdr_left, 6156 overlay_bdr_color: overlay_bdr_color, 6157 overlay_margin_unit: overlay_margin_unit, 6158 overlay_margin_check: overlay_margin_check, 6159 overlay_margin_top: overlay_margin_top, 6160 overlay_margin_right: overlay_margin_right, 6161 overlay_margin_bottom: overlay_margin_bottom, 6162 overlay_margin_left: overlay_margin_left, 6163 overlay_bg_type: overlay_bg_type, 6164 overlay_bg_cl_color: overlay_bg_cl_color, 6165 overlay_bg_cl_image: overlay_bg_cl_image, 6166 overlay_bg_cl_position: overlay_bg_cl_position, 6167 overlay_bg_cl_attachment: overlay_bg_cl_attachment, 6168 overlay_bg_cl_repeat: overlay_bg_cl_repeat, 6169 overlay_bg_cl_size: overlay_bg_cl_size, 6170 overlay_bg_lg_color: overlay_bg_lg_color, 6171 overlay_bg_lg_location: overlay_bg_lg_location, 6172 overlay_bg_lg_second_color: overlay_bg_lg_second_color, 6173 overlay_bg_lg_second_location: overlay_bg_lg_second_location, 6174 overlay_bg_lg_type: overlay_bg_lg_type, 6175 overlay_bg_lg_angle: overlay_bg_lg_angle, 6176 overlay_bg_lg_position: overlay_bg_lg_position, 6177 title_color: title_color,
6178 subtitle_color: subtitle_color, 6179 content_color: content_color, 6180 title_font: title_font, 6181 title_font_subset: title_font_subset, 6182 title_font_size: title_font_size, 6183 title_font_weight: title_font_weight, 6184 title_font_transform: title_font_transform, 6185 title_font_style: title_font_style, 6186 title_font_decoration: title_font_decoration, 6187 title_line_height: title_line_height, 6188 title_letter_spacing: title_letter_spacing, 6189 title_style: title_style, 6190 subtitle_font: subtitle_font, 6191 subtitle_font_subset: subtitle_font_subset, 6192 subtitle_font_size: subtitle_font_size, 6193 subtitle_font_weight: subtitle_font_weight, 6194 subtitle_font_transform: subtitle_font_transform, 6195 subtitle_font_style: subtitle_font_style, 6196 subtitle_font_decoration: subtitle_font_decoration, 6197 subtitle_line_height: subtitle_line_height, 6198 subtitle_letter_spacing: subtitle_letter_spacing, 6199 subtitle_style: subtitle_style, 6200 content_font: content_font, 6201 content_font_subset: content_font_subset, 6202 content_font_size: content_font_size, 6203 content_font_weight: content_font_weight, 6204 content_font_transform: content_font_transform, 6205 content_font_style: content_font_style, 6206 content_font_decoration: content_font_decoration, 6207 content_line_height: content_line_height, 6208 content_letter_spacing: content_letter_spacing, 6209 content_style: content_style, 6210 padding_unit: padding_unit, 6211 padding_check: padding_check, 6212 padding_top: padding_top, 6213 padding_right: padding_right, 6214 padding_bottom: padding_bottom, 6215 padding_left: padding_left, 6216 margin_unit: margin_unit, 6217 margin_check: margin_check, 6218 margin_top: margin_top, 6219 margin_right: margin_right, 6220 margin_bottom: margin_bottom, 6221 margin_left: margin_left, 6222 content_bg_type: content_bg_type, 6223 content_bg_cl_color: content_bg_cl_color, 6224 content_bg_cl_image: content_bg_cl_image, 6225 content_bg_cl_position: content_bg_cl_position, 6226 content_bg_cl_attachment: content_bg_cl_attachment, 6227 content_bg_cl_repeat: content_bg_cl_repeat, 6228 content_bg_cl_size: content_bg_cl_size, 6229 content_bg_lg_color: content_bg_lg_color, 6230 content_bg_lg_location: content_bg_lg_location, 6231 content_bg_lg_second_color: content_bg_lg_second_color, 6232 content_bg_lg_second_location: content_bg_lg_second_location, 6233 content_bg_lg_type: content_bg_lg_type, 6234 content_bg_lg_angle: content_bg_lg_angle, 6235 content_bg_lg_position: content_bg_lg_position, 6236 buttons_color: buttons_color, 6237 buttons_background: buttons_background, 6238 buttons_font: buttons_font, 6239 buttons_font_subset: buttons_font_subset, 6240 buttons_font_size: buttons_font_size, 6241 buttons_font_weight: buttons_font_weight, 6242 buttons_font_transform: buttons_font_transform, 6243 buttons_font_style: buttons_font_style, 6244 buttons_font_decoration: buttons_font_decoration, 6245 buttons_line_height: buttons_line_height, 6246 buttons_letter_spacing: buttons_letter_spacing, 6247 buttons_style: buttons_style, 6248 buttons_bdr_type: buttons_bdr_type, 6249 buttons_bdr_unit: buttons_bdr_unit, 6250 buttons_bdr_check: buttons_bdr_check, 6251 buttons_bdr_top: buttons_bdr_top, 6252 buttons_bdr_right: buttons_bdr_right, 6253 buttons_bdr_bottom: buttons_bdr_bottom, 6254 buttons_bdr_left: buttons_bdr_left, 6255 buttons_bdr_color: buttons_bdr_color, 6256 buttons_spacing: buttons_spacing, 6257 buttons_icon_spacing: buttons_icon_spacing, 6258 buttons_brr_unit: buttons_brr_unit, 6259 buttons_brr_check: buttons_brr_check, 6260 buttons_brr_top_left: buttons_brr_top_left, 6261 buttons_brr_top_right: buttons_brr_top_right, 6262 buttons_brr_bottom_left: buttons_brr_bottom_left, 6263 buttons_brr_bottom_right: buttons_brr_bottom_right, 6264 buttons_padding_unit: buttons_padding_unit, 6265 buttons_padding_check: buttons_padding_check, 6266 buttons_padding_top: buttons_padding_top, 6267 buttons_padding_right: buttons_padding_right, 6268 buttons_padding_bottom: buttons_padding_bottom, 6269 buttons_padding_left: buttons_padding_left, 6270 buttons_margin_unit: buttons_margin_unit, 6271 buttons_margin_check: buttons_margin_check, 6272 buttons_margin_top: buttons_margin_top, 6273 buttons_margin_right: buttons_margin_right, 6274 buttons_margin_bottom: buttons_margin_bottom, 6275 buttons_margin_left: buttons_margin_left 6276 }; // Set default image in widget initialy... 6277 6278 if (imgid === 0) { 6279 setAttributes({ 6280 image: img_size_default[0][img_size] 6281 }); 6282 setAttributes({ 6283 imagefull: img_size_default[0]['full'] 6284 }); 6285 } 6286 6287 var index = 0; 6288 var delays = ['ih-delay-zero', 'ih-delay-xs', 'ih-delay-sm', 'ih-delay-md', 'ih-delay-lg', 'ih-delay-xl', 'ih-delay-xxl'];
6289 var contents = ['title', 'subtitle', 'content']; 6290 var types = ['image', 'overlay', 'content']; 6291 var classes = { 6292 imghvr: ['imghvr'], 6293 image: ['imghvr-anim-none'], 6294 overlay: ['imghvr-anim-none imghvr-anim-single'], 6295 content: ['imghvr-anim-none'] 6296 }; 6297 var wrapper = "#block-" + clientId; 6298 var overlay_all = [overlay_bg_cl_position, overlay_bg_cl_repeat, overlay_bg_cl_size, overlay_bg_cl_attachment, overlay_bg_cl_color, overlay_bg_cl_image]; 6299 var overlay_lg_all = [overlay_bg_lg_color, overlay_bg_lg_location, overlay_bg_lg_second_color, overlay_bg_lg_second_location, overlay_bg_lg_type, overlay_bg_lg_angle, overlay_bg_lg_position]; 6300 var content_all = [content_bg_cl_position, content_bg_cl_repeat, content_bg_cl_size, content_bg_cl_attachment, content_bg_cl_color, content_bg_cl_image]; 6301 var content_lg_all = [content_bg_lg_color, content_bg_lg_location, content_bg_lg_second_color, content_bg_lg_second_location, content_bg_lg_type, content_bg_lg_angle, content_bg_lg_position]; 6302 title_style = [title_font, title_font_size, title_font_weight, title_font_style, title_font_transform, title_font_decoration, title_line_height, title_letter_spacing]; 6303 subtitle_style = [subtitle_font, subtitle_font_size, subtitle_font_weight, subtitle_font_style, subtitle_font_transform, subtitle_font_decoration, subtitle_line_height, subtitle_letter_spacing]; 6304 content_style = [content_font, content_font_size, content_font_weight, content_font_style, content_font_transform, content_font_decoration, content_line_height, content_letter_spacing]; 6305 buttons_style = [buttons_font, buttons_font_size, buttons_font_weight, buttons_font_style, buttons_font_transform, buttons_font_decoration, buttons_line_height, buttons_letter_spacing]; 6306 6307 _.each(types, function (type) { 6308 var tmpclass = settings[type + '_effect'] ? settings[type + '_effect'].split('|') : classes[type]; 6309 classes[type] = tmpclass[0]; 6310 6311 if (tmpclass[1]) { 6312 classes['imghvr'].push(tmpclass[1]); 6313 } 6314 }); 6315 6316 _.uniq(classes['imghvr']); 6317 6318 var buttonslist = JSON.parse(settings.buttons); 6319 var all_buttons = []; 6320 var all_overlay = []; 6321 6322 _.each(contents, function (content) { 6323 var anim = settings.content_appearance[index] ? settings.content_appearance[index] : 'imghvr-anim-none'; 6324 all_overlay.push(settings[content] ? Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6325 class: "imghvr-" + content + " " + anim + " " + delays[index] 6326 }, settings[content]) : ''); 6327 settings[content] ? index++ : ''; 6328 }); 6329 6330 _.each(buttonslist, function (button) { 6331 var anim = settings.content_appearance[index] ? settings.content_appearance[index] : 'imghvr-anim-none'; 6332 var target = button.linktarget ? '_blank' : '_self'; 6333 var nofollow = button.linkrel ? 'nofollow' : ''; 6334 all_buttons.push(Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6335 class: "imghvr-button-wrapper " + anim + " " + delays[index] 6336 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("a", { 6337 href: button.link, 6338 target: target, 6339 rel: nofollow, 6340 class: "imghvr-button" 6341 }, button.icon ? Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("i", { 6342 class: button.icon 6343 }) : '', button.text))); 6344 index++; 6345 }); 6346 6347 var style = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("style", { 6348 type: "text/css" 6349 }, wrapper + " .imghvr-anim-color { opacity: " + image_opacity + "; }", wrapper + " .imghvr:hover .imghvr-anim-color { opacity: 1; }", wrapper + " .imghvr, " + wrapper + " .imghvr img { transition: " + image_duration + "s; animation-duration: " + image_duration + "s; }", wrapper + " .imghvr-overlay, " + wrapper + " .imghvr-anim-pseudo:before, " + wrapper + " .imghvr-anim-pseudo:after, " + wrapper + " .imghvr-anim-pseudo div:before, " + wrapper + " .imghvr-anim-pseudo div:after { transition-duration: " + overlay_duration + "s; animation-duration: " + overlay_duration + "s; }", wrapper + " .imghvr:hover .imghvr-overlay, " + wrapper + " .imghvr:hover .imghvr-anim-pseudo:before, " + wrapper + " .imghvr:hover .imghvr-anim-pseudo:after, " + wrapper + " .imghvr:hover .imghvr-anim-pseudo div:before, " + wrapper + " .imghvr:hover .imghvr-anim-pseudo div:after { transition-duration: " + overlay_duration + "s; animation-duration: " + overlay_duration + "s; }", wrapper + " .imghvr .imghvr-content-wrapper { justify-content: " + valign + "; transition-duration: " + content_duration + "s; transition-delay: " + content_delay + "s; animation-duration: " + content_delay + "s; }", wrapper + " .imghvr:hover .imghvr-content-wrapper { animation-duration: " + content_duration + "s; }", buttons_align != 'center' ? wrapper + " .imghvr .imghvr-buttons { margin-" + buttons_align + ": auto; }" : '', buttons_valign != 'center' ? wrapper + " .imghvr .imghvr-buttons { margin-" + buttons_valign + ": auto; }" : '', image_background != '' ? wrapper + " .imghvr {background: " + image_background + "; }" : "", wrapper + " .imghvr-wrapper, " + wrapper + " .col-row { height: " + match_height + "; }", match_height == 'auto' ? wrapper + " .imghvr { max-height: " + image_height + "px; }
6349" : "", match_height == 'auto' ? wrapper + " .imghvr-padding:hover { padding-top: " + image_height + "px; }" : "", image_brr_top_left != '' ? wrapper + " .imghvr { " + dimensions('border-radius', image_brr_top_left, image_brr_top_right, image_brr_bottom_left, image_brr_bottom_right, image_brr_unit, image_brr_check) + " }" : '', overlay_margin_top != '' ? wrapper + " .imghvr .imghvr-overlay { " + dimensions('margin', overlay_margin_top, overlay_margin_right, overlay_margin_bottom, overlay_margin_left, overlay_margin_unit, overlay_margin_check) + " }" : "", overlay_bdr_type != 'none' ? wrapper + " .imghvr .imghvr-overlay { border-color: " + overlay_bdr_color + "; border-style: " + overlay_bdr_type + "; " + dimensions('border-width', overlay_bdr_top, overlay_bdr_right, overlay_bdr_bottom, overlay_bdr_left, overlay_bdr_unit, overlay_bdr_check) + " }" : "", overlay_bg_type == 'classic' && checkOneArray(overlay_all) ? wrapper + " .imghvr-anim-single, " + wrapper + " .imghvr-anim-pseudo::before, " + wrapper + " .imghvr-anim-pseudo::after, " + wrapper + " .imghvr-anim-pseudo div::before, " + wrapper + " .imghvr-anim-pseudo div::after { " + (overlay_bg_cl_position != '' ? "background-position: " + overlay_bg_cl_position + ";" : "") + " " + (overlay_bg_cl_repeat != '' ? "background-repeat: " + overlay_bg_cl_repeat + ";" : "") + " " + (overlay_bg_cl_size != '' ? "background-size: " + overlay_bg_cl_size + ";" : "") + " " + (overlay_bg_cl_attachment != '' ? "background-attachment: " + overlay_bg_cl_attachment + ";" : "") + " " + (overlay_bg_cl_color != '' ? "background-color: " + overlay_bg_cl_color + ";" : "") + " " + (overlay_bg_cl_image != '' ? "background-image: url(" + overlay_bg_cl_image + ");" : "") + " }" : '', overlay_bg_type == 'gradient' && checkAllArray(overlay_lg_all) ? wrapper + " .imghvr-anim-single, " + wrapper + " .imghvr-anim-pseudo::before, " + wrapper + " .imghvr-anim-pseudo::after, " + wrapper + " .imghvr-anim-pseudo div::before, " + wrapper + " .imghvr-anim-pseudo div::after { background-color: transparent; background-image: " + overlay_bg_lg_type + "-gradient(" + (overlay_bg_lg_type == 'linear' ? overlay_bg_lg_angle + 'deg' : 'at ' + overlay_bg_lg_position) + ", " + overlay_bg_lg_color + " " + overlay_bg_lg_location + "%, " + overlay_bg_lg_second_color + " " + overlay_bg_lg_second_location + "%); }" : '', title_color != '' ? wrapper + " .imghvr-title {color: " + title_color + "; }" : "", subtitle_color != '' ? wrapper + " .imghvr-subtitle {color: " + subtitle_color + "; }" : "", content_color != '' ? wrapper + " .imghvr-content {color: " + content_color + "; }" : "", checkOneArray(title_style) ? wrapper + " .imghvr-title {" + fonts(title_style) + "}" : "", checkOneArray(subtitle_style) ? wrapper + " .imghvr-subtitle {" + fonts(subtitle_style) + "}" : "", checkOneArray(content_style) ? wrapper + " .imghvr-content {" + fonts(content_style) + "}" : "", padding_top != '' ? wrapper + " .imghvr-content-wrapper { " + dimensions('padding', padding_top, padding_right, padding_bottom, padding_left, padding_unit, padding_check) + " }" : "", margin_top != '' ? wrapper + " .imghvr-content-wrapper { " + dimensions('margin', margin_top, margin_right, margin_bottom, margin_left, margin_unit, margin_check) + " }" : "", content_bg_type == 'classic' && checkOneArray(content_all) ? wrapper + " .imghvr-content-wrapper { " + (content_bg_cl_position != '' ? "background-position: " + content_bg_cl_position + ";" : "") + " " + (content_bg_cl_repeat != '' ? "background-repeat: " + content_bg_cl_repeat + ";" : "") + " " + (content_bg_cl_size != '' ? "background-size: " + content_bg_cl_size + ";" : "") + " " + (content_bg_cl_attachment != '' ? "background-attachment: " + content_bg_cl_attachment + ";" : "") + " " + (content_bg_cl_color != '' ? "background-color: " + content_bg_cl_color + ";" : "") + " " + (content_bg_cl_image != '' ? "background-image: url(" + content_bg_cl_image + ");" : "") + " }" : '', content_bg_type == 'gradient' && checkAllArray(content_lg_all) ? wrapper + " .imghvr-content-wrapper { background-color: transparent; background-image: " + content_bg_lg_type + "-gradient(" + (content_bg_lg_type == 'linear' ? content_bg_lg_angle + 'deg' : 'at ' + content_bg_lg_position) + ", " + content_bg_lg_color + " " + content_bg_lg_location + "%, " + content_bg_lg_second_color + " " + content_bg_lg_second_location + "%); }" : '', buttons_color != '' ? wrapper + " .imghvr-button {color: " + buttons_color + "; }" : "", buttons_background != '' ? wrapper + " .imghvr-button {background: " + buttons_background + "; }" : "", checkOneArray(buttons_style) ? wrapper + " .imghvr-button {" + fonts(buttons_style) + "}" : "", buttons_bdr_type != 'none' ? wrapper + " .imghvr-button { border-color: " + buttons_bdr_color + "; border-style: " + buttons_bdr_type + "; " + dimensions('border-width', buttons_bdr_top, buttons_bdr_right, buttons_bdr_bottom, buttons_bdr_left, buttons_bdr_unit, buttons_bdr_check) + " }" : "", buttons_brr_top_left != '' ? wrapper + " .imghvr-button { " + dimensions('border-radius', buttons_brr_top_left, buttons_brr_top_right, buttons_brr_bottom_left, buttons_brr_bottom_right, buttons_brr_unit, buttons_brr_check) + " }" : '', buttons_padding_top != '' ? wrapper + " .imghvr-button { " + dimensions('padding', buttons_padding_top, buttons_padding_right, buttons_padding_bottom, buttons_padding_left, buttons_padding_unit, buttons_padding_check) + " }" : "", buttons_margin_top != '' ? wrapper + " .imghvr-buttons { " + dimensions('margin', buttons_margin_top, buttons_margin_right, buttons_margin_bottom, buttons_margin_left, buttons_margin_unit, buttons_margin_check) + " }" : "", wrapper + " .imghvr-buttons-row .imghvr-button-wrapper {margin-right: " + buttons_spacing + buttons_spacing_unit + ";}", wrapper + " .imghvr-buttons-row .imghvr-button-wrapper:last-child {margin-right: 0;}", wrapper + " .imghvr-buttons-column .imghvr-button-wrapper {margin-bottom: " + buttons_spacing + buttons_spacing_unit + ";}", wrapper + " .imghvr-buttons-column .imghvr-button-wrapper:last-child {margin-bottom: 0;}", wrapper + " .imghvr-buttons-icon-left .imghvr-button i {margin-left: 0.3em; margin-right: " + buttons_icon_spacing + buttons_icon_spacing_unit + ";}", wrapper + " .imghvr-buttons-icon-right .imghvr-button i {margin-left: " + buttons_icon_spacing + buttons_icon_spacing_unit + ";margin-right: 0.3em;}"); 6350 var child = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6351 class: classes['imghvr'].join(' ') 6352 }, settings.overlay_show === true ? Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6353 class: "imghvr-overlay " + classes['overlay'] 6354 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", null)) : '', Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6355 class: "imghvr-content-wrapper imghvr-content-" + settings.align + " " + classes['content'] 6356 }, all_overlay, buttonslist.length > 0 ? Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6357 class: "imghvr-buttons imghvr-buttons-" + settings.buttons_direction + " imghvr-buttons-icon-" + settings.buttons_icon_align 6358 }, all_buttons) : ''), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("img", { 6359 src: image, 6360 alt: "", 6361 className: classes['image'] 6362 })); 6363 var previewBox = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", null, license == "false" ? Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6364 class: "imghvr-wrapper " + props.className 6365 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6366 class: "imghvr" 6367 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("img", { 6368 src: placeholder, 6369 class: "imghvr-anim-none" 6370 }
6370))) : Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6371 class: "imghvr-wrapper " + props.className 6372 }, style, child)); 6373 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(Fragment, null, previewBox, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(InspectorControls, null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(react_tabs__WEBPACK_IMPORTED_MODULE_10__["Tabs"], { 6374 className: "eheg-tab-panel" 6375 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(react_tabs__WEBPACK_IMPORTED_MODULE_10__["TabList"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(react_tabs__WEBPACK_IMPORTED_MODULE_10__["Tab"], null, "Content"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(react_tabs__WEBPACK_IMPORTED_MODULE_10__["Tab"], null, "Style")), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(react_tabs__WEBPACK_IMPORTED_MODULE_10__["TabPanel"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["PanelBody"], { 6376 title: "Image", 6377 initialOpen: true, 6378 className: "eheg-panelbody key-" + license 6379 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6380 class: "eheg-block-control" 6381 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 6382 class: "block_input_label" 6383 }, "Choose Image"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6384 class: "media-handler" 6385 }, imagefull == '' ? Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_custom_buttons_index__WEBPACK_IMPORTED_MODULE_8__["default"], { 6386 onSelect: chooseImage, 6387 className: "dashicons dashicons-plus-alt", 6388 onChange: function onChange(value) {} 6389 }) : Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_custom_buttons_index__WEBPACK_IMPORTED_MODULE_8__["default"], { 6390 className: "dashicons dashicons-trash", 6391 onChange: function onChange(value) { 6392 setAttributes({ 6393 image: '' 6394 }); 6395 setAttributes({ 6396 imagefull: '' 6397 }); 6398 setAttributes({ 6399 imgid: '' 6400 }); 6401 } 6402 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(MediaUpload, { 6403 onSelect: chooseImage, 6404 value: image, 6405 render: function render(_ref3) { 6406 var open = _ref3.open; 6407 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6408 class: "render-img", 6409 style: { 6410 backgroundImage: "url(" + imagefull + ")" 6411 }, 6412 onClick: open 6413 }); 6414 } 6415 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6416 class: "eheg-block-control select-default" 6417 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 6418 class: "block_input_label" 6419 }, "Size"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 6420 value: img_size, 6421 options: getImageSizeOptions(), 6422 onChange: changeImageSize 6423 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6424 class: "eheg-block-control" 6425 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 6426 class: "block_input_label" 6427 }, "Hover Effect"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_selectize_index__WEBPACK_IMPORTED_MODULE_6__["default"], { 6428 value: image_effect, 6429 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["ImageEffects"])(), 6430 onChange: function onChange(value) { 6431 return setAttributes({ 6432 image_effect: value 6433 }); 6434 } 6435 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6436 class: "eheg-block-control condition-control swap-control " + image_effect 6437 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", null, "Add hover image in ", Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("br", null), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("b", null, "Style ", '>', " Overlay ", '>
6437', " Background Type"))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6438 class: "eheg-block-control condition-control color-control " + image_effect 6439 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RangeControl"], { 6440 label: "Image Opacity", 6441 value: image_opacity, 6442 onChange: function onChange(value) { 6443 return setAttributes({ 6444 image_opacity: value 6445 }); 6446 }, 6447 min: 0, 6448 max: 1, 6449 step: 0.01 6450 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6451 class: "eheg-block-control" 6452 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RangeControl"], { 6453 label: "Transition Duration", 6454 value: image_duration, 6455 onChange: function onChange(value) { 6456 return setAttributes({ 6457 image_duration: value 6458 }); 6459 }, 6460 min: 0, 6461 max: 10, 6462 step: 0.05 6463 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("hr", null), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6464 class: "eheg-block-control select-default" 6465 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 6466 class: "block_input_label" 6467 }, "Target"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 6468 value: target, 6469 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["Targets"])(), 6470 onChange: function onChange(value) { 6471 return setAttributes({ 6472 target: value 6473 }); 6474 } 6475 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6476 class: "eheg-block-control add-linkto condition-control condition-control-" + target 6477 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 6478 for: "eheg-addlink", 6479 class: "block_input_label" 6480 }, "Link To"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6481 class: "input_inline" 6482 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 6483 id: "eheg-addlink", 6484 value: link, 6485 onChange: function onChange(value) { 6486 return setAttributes({ 6487 link: value 6488 }); 6489 }, 6490 placeholder: "https://your-link.com" 6491 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Dashicon"], { 6492 className: "span_icon", 6493 icon: "admin-generic" 6494 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6495 class: "link-attributes" 6496 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["CheckboxControl"], { 6497 label: "Open in new window", 6498 checked: linktarget, 6499 onChange: function onChange(value) { 6500 return setAttributes({ 6501 linktarget: value 6502 }); 6503 } 6504 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["CheckboxControl"], { 6505 label: "Add nofollow", 6506 checked: linkrel, 6507 onChange: function onChange(value) { 6508 return setAttributes({ 6509 linkrel: value 6510 }); 6511 } 6512 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6513 class: "eheg-block-control custom-alt" 6514 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 6515 for: "eheg-customalt", 6516 class: "block_input_label" 6517 }, "Custom Alt"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6518 class: "input_inline" 6519 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 6520 id: "eheg-customalt", 6521 value: customalt, 6522 onChange: function onChange(value) { 6523 return setAttributes({ 6524 customalt: value 6525 }); 6526 } 6527 }
6527)))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["PanelBody"], { 6528 title: "Overlay", 6529 initialOpen: false, 6530 className: "eheg-panelbody key-" + license 6531 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6532 class: "eheg-block-control" 6533 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["ToggleControl"], { 6534 label: "Show Overlay", 6535 checked: overlay_show, 6536 onChange: function onChange(value) { 6537 return setAttributes({ 6538 overlay_show: value 6539 }); 6540 } 6541 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6542 class: "eheg-block-control condition-control overlay-" + overlay_show 6543 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 6544 class: "block_input_label" 6545 }, "Hover Effect"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_selectize_index__WEBPACK_IMPORTED_MODULE_6__["default"], { 6546 value: overlay_effect, 6547 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["OverlayEffects"])(), 6548 onChange: function onChange(value) { 6549 return setAttributes({ 6550 overlay_effect: value 6551 }); 6552 } 6553 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6554 class: "eheg-block-control condition-control overlay-" + overlay_show 6555 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RangeControl"], { 6556 label: "Transition Duration", 6557 value: overlay_duration, 6558 onChange: function onChange(value) { 6559 return setAttributes({ 6560 overlay_duration: value 6561 }); 6562 }, 6563 min: 0, 6564 max: 10, 6565 step: 0.05 6566 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["PanelBody"], { 6567 title: "Content", 6568 initialOpen: false, 6569 className: "eheg-panelbody key-" + license 6570 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6571 class: "eheg-block-control" 6572 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 6573 class: "block_input_label" 6574 }, "Title"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 6575 value: title, 6576 onChange: function onChange(value) { 6577 return setAttributes({ 6578 title: value 6579 }); 6580 } 6581 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6582 class: "eheg-block-control" 6583 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 6584 class: "block_input_label" 6585 }, "Sub Title"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 6586 value: subtitle, 6587 onChange: function onChange(value) { 6588 return setAttributes({ 6589 subtitle: value 6590 }); 6591 } 6592 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6593 class: "eheg-block-control" 6594 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 6595 class: "block_input_label" 6596 }, "Content"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextareaControl"], { 6597 value: content, 6598 help: "Supports HTML format", 6599 onChange: function onChange(value) { 6600 return setAttributes({ 6601 content: value 6602 }); 6603 } 6604 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6605 class: "eheg-block-control alignment" 6606 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 6607 class: "block_input_label" 6608 }, "Horizontal Alignment"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RadioControl"], { 6609 className: "eheg-align eheg-horizontal-align", 6610 selected: align, 6611 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["HAlign"])(), 6612 onChange: function onChange(value) { 6613 return setAttributes({ 6614 align: value 6615 }); 6616 } 6617 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6618 class: "eheg-block-control alignment" 6619 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 6620 class: "block_input_label" 6621 }, "Vertical Alignment"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RadioControl"], { 6622 className: "eheg-align eheg-vertical-align", 6623 selected: valign, 6624 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["VAlign"])(), 6625 onChange: function onChange(value) { 6626 return setAttributes({ 6627 valign: value 6628 }); 6629 } 6630 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("hr", null), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6631 class: "eheg-block-control" 6632 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 6633 class: "block_input_label" 6634 }, "Hover Effect"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_selectize_index__WEBPACK_IMPORTED_MODULE_6__["default"], { 6635 value: content_effect, 6636 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["ContentEffects"])(), 6637 onChange: function onChange(value) { 6638 return setAttributes({ 6639 content_effect: value 6640 }); 6641 } 6642 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6643 class: "eheg-block-control" 6644 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RangeControl"], { 6645 label: "Transition Duration", 6646 value: content_duration, 6647 onChange: function onChange(value) { 6648 return setAttributes({ 6649 content_duration: value 6650 }); 6651 }, 6652 min: 0, 6653 max: 10, 6654 step: 0.05 6655 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6656 class: "eheg-block-control" 6657 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RangeControl"], { 6658 label: "Transition Delay", 6659 value: content_delay, 6660 onChange: function onChange(value) { 6661 return setAttributes({ 6662 content_delay: value 6663 }); 6664 }, 6665 min: 0, 6666 max: 10, 6667 step: 0.05 6668 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("hr", null), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6669 class: "eheg-block-control content_appearance" 6670 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 6671 class: "block_input_label" 6672 }, "Content Appearance"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_selectize_multiple_index__WEBPACK_IMPORTED_MODULE_7__["default"], { 6673 value: content_appearance, 6674 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["ContentAppearance"])(), 6675 onChange: function onChange(value) { 6676 return setAttributes({ 6677 content_appearance: value 6678 }); 6679 } 6680 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["PanelBody"], { 6681 title: "Button", 6682 initialOpen: false, 6683 className: "eheg-panelbody button-panel key-" + license 6684 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6685 class: "eheg-block-control" 6686 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_repeater_index__WEBPACK_IMPORTED_MODULE_9__["default"], { 6687 value: buttons, 6688 onChange: function onChange(value) { 6689 return setAttributes({ 6690 buttons: value 6691 }); 6692 } 6693 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("hr", null), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6694 class: "eheg-block-control select-default" 6695 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 6696 class: "block_input_label" 6697 }, "Stack"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 6698 value: buttons_direction, 6699 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["ButtonsDirection"])(), 6700 onChange: function onChange(value) { 6701 return setAttributes({ 6702 buttons_direction: value 6703 }); 6704 } 6705 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6706 class: "eheg-block-control alignment" 6707 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 6708 class: "block_input_label" 6709 }, "Horizontal Alignment"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RadioControl"], { 6710 className: "eheg-align eheg-horizontal-align", 6711 selected: buttons_align, 6712 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["ButtonsHAlign"])(), 6713 onChange: function onChange(value) { 6714 return setAttributes({ 6715 buttons_align: value 6716 }); 6717 } 6718 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6719 class: "eheg-block-control alignment" 6720 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 6721 class: "block_input_label" 6722 }, "Vertical Alignment"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RadioControl"], { 6723 className: "eheg-align eheg-vertical-align", 6724 selected: buttons_valign, 6725 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["ButtonsVAlign"])(), 6726 onChange: function onChange(value) { 6727 return setAttributes({ 6728 buttons_valign: value 6729 }); 6730 } 6731 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6732 class: "eheg-block-control alignment icon-panel" 6733 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 6734 class: "block_input_label" 6735 }, "Icon Position"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RadioControl"], { 6736 className: "eheg-align eheg-horizontal-align eheg-icon-align", 6737 selected: buttons_icon_align, 6738 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["ButtonsIconAlign"])(), 6739 onChange: function onChange(value) { 6740 return setAttributes({ 6741 buttons_icon_align: value 6742 }); 6743 } 6744 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["PanelBody"], { 6745 title: "License", 6746 initialOpen: license == 'false' ? true : false, 6747 className: "eheg-panelbody license-panel" 6748 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6749 class: "eheg-block-control" 6750 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("p", null, "Enter your purchase code below to activate your addon."), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("p", null, "Activating the plugin unlocks additional settings, automatic future updates, and support from developers."), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("p", null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("a", { 6751 href: "https://help.market.envato.com/hc/en-us/articles/202822600-Where-Is-My-Purchase-Code-", 6752 target: "_blank" 6753 }, "Where is my purchase code?")), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("p", null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("a", { 6754 href: "https://codecanyon.net/item/emage-image-hover-effects-block-for-gutenberg/24483698", 6755 target: "_blank" 6756 }, "Buy a new license")), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 6757 class: "block_input_label" 6758 }, "Purchase Code"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 6759 value: license_purchase_code, 6760 placeholder: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", 6761 onChange: function onChange(value) { 6762 return setAttributes({ 6763 license_purchase_code: value 6764 }); 6765 } 6766 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6767 class: "license_notice" 6768 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("hr", null), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6769 class: "eheg-block-control license-control" 6770 }, license == 'false' && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6771 class: "eheg-flexbox-control" 6772 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 6773 class: "block_input_label" 6774 }, "Status : ", Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("b", null, "Inactive"), " "), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Button"], { 6775 className: "license_action_btn active", 6776 isDefault: true, 6777 onClick: check_license, 6778 value: license_action_activate 6779 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Spinner"], null), " ", Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6780 class: "publish-label" 6781 }, license_action_activate))), license != 'false' && Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6782 class: "eheg-flexbox-control" 6783 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 6784 class: "block_input_label" 6785 }, "Status : ", Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("b", null, "Active"), " "), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Button"], { 6786 className: "license_action_btn inactive", 6787 isDefault: true, 6788 onClick: check_license, 6789 value: license_action_deactivate 6790 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Spinner"], null), " ", Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6791 class: "publish-label" 6792 }, license_action_deactivate))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("input", { 6793 type: "hidden", 6794 value: license 6795 }
6795))))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(react_tabs__WEBPACK_IMPORTED_MODULE_10__["TabPanel"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["PanelBody"], { 6796 title: "Image", 6797 initialOpen: true, 6798 className: "eheg-panelbody" 6799 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6800 class: "eheg-block-control" 6801 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6802 class: "eheg-flexbox-control" 6803 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 6804 class: "block_input_label" 6805 }, "Background"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Dropdown"], { 6806 className: "eheg-popup-control", 6807 contentClassName: "eheg-control-container", 6808 position: "bottom right", 6809 renderToggle: function renderToggle(_ref4) { 6810 var isOpen = _ref4.isOpen, 6811 onToggle = _ref4.onToggle; 6812 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6813 style: { 6814 background: image_background 6815 }, 6816 class: "eheg-colorbox", 6817 onClick: onToggle, 6818 "aria-expanded": isOpen 6819 }); 6820 }, 6821 renderContent: function renderContent() { 6822 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6823 className: "eheg-group-controls colorpicker" 6824 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["ColorPicker"], { 6825 color: image_background, 6826 onChangeComplete: function onChangeComplete(value) { 6827 return setAttributes({ 6828 image_background: "rgba(" + value.rgb.r + "," + value.rgb.g + "," + value.rgb.b + "," + value.rgb.a + ")" 6829 }); 6830 } 6831 })); 6832 } 6833 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6834 class: "eheg-block-control select-default" 6835 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 6836 class: "block_input_label" 6837 }, "Match Height"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 6838 value: match_height, 6839 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["MatchHeight"])(), 6840 onChange: function onChange(value) { 6841 return setAttributes({ 6842 match_height: value 6843 }); 6844 } 6845 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6846 class: "eheg-block-control condition-control match-" + match_height 6847 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RangeControl"], { 6848 label: "Height", 6849 value: image_height, 6850 onChange: function onChange(value) { 6851 return setAttributes({ 6852 image_height: value 6853 }); 6854 }, 6855 min: 0, 6856 max: 1000, 6857 step: 5 6858 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6859 class: "eheg-block-control dnlslider" 6860 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6861 class: "css-dnl" 6862 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6863 class: "css-col-1" 6864 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6865 class: "eheg-flexbox-control" 6866 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 6867 class: "block_input_label" 6868 }, "Border Radius"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RadioControl"], { 6869 selected: image_brr_unit, 6870 options: [{ 6871 label: 'px', 6872 value: 'px' 6873 }, { 6874 label: '%', 6875 value: '%' 6876 }], 6877 onChange: function onChange(value) { 6878 return setAttributes({ 6879 image_brr_unit: value 6880 }); 6881 } 6882 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6883 class: "css-col-2" 6884 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6885 class: "css-dnl-indvl" 6886 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 6887 type: "number", 6888 value: image_brr_top_left, 6889 onChange: borderRadiusTopLeft 6890 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 6891 type: "number", 6892 value: image_brr_top_right, 6893 onChange: borderRadiusTopRight 6894 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 6895 type: "number", 6896 value: image_brr_bottom_left, 6897 onChange: borderRadiusBottomLeft 6898 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 6899 type: "number", 6900 value: image_brr_bottom_right, 6901 onChange: borderRadiusBottomRight 6902 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6903 class: "css-switch" 6904 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6905 class: "" 6906 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["CheckboxControl"], { 6907 label: "click", 6908 className: "css-link checked", 6909 checked: image_brr_check, 6910 onChange: borderRadiusDimension 6911 }
6911))))))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["PanelBody"], { 6912 title: "Overlay", 6913 initialOpen: false, 6914 className: "eheg-panelbody" 6915 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6916 class: "eheg-block-control" 6917 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6918 class: "eheg-flexbox-control select-default" 6919 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 6920 class: "block_input_label" 6921 }, "Border Type"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 6922 value: overlay_bdr_type, 6923 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["BorderType"])(), 6924 onChange: function onChange(value) { 6925 return setAttributes({ 6926 overlay_bdr_type: value 6927 }); 6928 } 6929 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6930 class: "eheg-block-control dnlslider condition-border-" + overlay_bdr_type 6931 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6932 class: "css-dnl" 6933 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6934 class: "css-col-1" 6935 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6936 class: "eheg-flexbox-control" 6937 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 6938 class: "block_input_label" 6939 }, "Width"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RadioControl"], { 6940 selected: overlay_bdr_unit, 6941 options: [{ 6942 label: 'px', 6943 value: 'px' 6944 }, { 6945 label: '%', 6946 value: '%' 6947 }], 6948 onChange: function onChange(value) { 6949 return setAttributes({ 6950 overlay_bdr_unit: value 6951 }); 6952 } 6953 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6954 class: "css-col-2" 6955 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6956 class: "css-dnl-indvl" 6957 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 6958 type: "number", 6959 value: overlay_bdr_top, 6960 onChange: borderTop 6961 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 6962 type: "number", 6963 value: overlay_bdr_right, 6964 onChange: borderRight 6965 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 6966 type: "number", 6967 value: overlay_bdr_bottom, 6968 onChange: borderBottom 6969 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 6970 type: "number", 6971 value: overlay_bdr_left, 6972 onChange: borderLeft 6973 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6974 class: "css-switch" 6975 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6976 class: "" 6977 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["CheckboxControl"], { 6978 label: "click", 6979 className: "css-link checked", 6980 checked: overlay_bdr_check, 6981 onChange: borderDimension 6982 })))))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6983 class: "eheg-block-control condition-border-" + overlay_bdr_type 6984 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6985 class: "eheg-flexbox-control" 6986 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 6987 class: "block_input_label" 6988 }, "Color"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Dropdown"], { 6989 className: "eheg-popup-control", 6990 contentClassName: "eheg-control-container", 6991 position: "bottom right", 6992 renderToggle: function renderToggle(_ref5) { 6993 var isOpen = _ref5.isOpen, 6994 onToggle = _ref5.onToggle; 6995 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 6996 style: { 6997 background: overlay_bdr_color 6998 }, 6999 class: "eheg-colorbox", 7000 onClick: onToggle, 7001 "aria-expanded": isOpen 7002 }); 7003 }, 7004 renderContent: function renderContent() { 7005 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7006 className: "eheg-group-controls colorpicker" 7007 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["ColorPicker"], { 7008 color: overlay_bdr_color, 7009 onChangeComplete: function onChangeComplete(value) { 7010 return setAttributes({ 7011 overlay_bdr_color: "rgba(" + value.rgb.r + "," + value.rgb.g + "," + value.rgb.b + "," + value.rgb.a + ")" 7012 }); 7013 } 7014 })); 7015 } 7016 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7017 class: "eheg-block-control dnlslider" 7018 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7019 class: "css-dnl" 7020 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7021 class: "css-col-1" 7022 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7023 class: "eheg-flexbox-control" 7024 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7025 class: "block_input_label" 7026 }, "Margin"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RadioControl"], { 7027 selected: overlay_margin_unit, 7028 options: [{ 7029 label: 'px', 7030 value: 'px' 7031 }, { 7032 label: '%', 7033 value: '%' 7034 }], 7035 onChange: function onChange(value) { 7036 return setAttributes({ 7037 overlay_margin_unit: value 7038 }); 7039 } 7040 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7041 class: "css-col-2" 7042 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7043 class: "css-dnl-indvl" 7044 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 7045 type: "number", 7046 value: overlay_margin_top, 7047 onChange: overlayMarginTop 7048 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 7049 type: "number", 7050 value: overlay_margin_right, 7051 onChange: overlayMarginRight 7052 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 7053 type: "number", 7054 value: overlay_margin_bottom, 7055 onChange: overlayMarginBottom 7056 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 7057 type: "number", 7058 value: overlay_margin_left, 7059 onChange: overlayMarginLeft 7060 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7061 class: "css-switch" 7062 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7063 class: "" 7064 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["CheckboxControl"], { 7065 label: "click", 7066 className: "css-link checked", 7067 checked: overlay_margin_check, 7068 onChange: overlayMarginDimension 7069 }
7069)))))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7070 class: "eheg-block-control bg_type" 7071 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7072 class: "eheg-flexbox-control" 7073 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7074 class: "block_input_label" 7075 }, "Background Type"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["ButtonGroup"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_custom_buttons_index__WEBPACK_IMPORTED_MODULE_8__["default"], { 7076 isDefault: true, 7077 onChange: function onChange(value) { 7078 return setAttributes({ 7079 overlay_bg_type: value 7080 }); 7081 }, 7082 value: "classic", 7083 className: "overlay-btn-" + overlay_bg_type 7084 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_custom_buttons_index__WEBPACK_IMPORTED_MODULE_8__["default"], { 7085 isDefault: true, 7086 onChange: function onChange(value) { 7087 return setAttributes({ 7088 overlay_bg_type: value 7089 }); 7090 }, 7091 value: "gradient", 7092 className: "overlay-btn-" + overlay_bg_type 7093 })))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7094 class: "eheg-block-control condition-control condition-border-classic-" + overlay_bg_type 7095 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7096 class: "eheg-flexbox-control" 7097 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7098 class: "block_input_label" 7099 }, "Color"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Dropdown"], { 7100 className: "eheg-popup-control", 7101 contentClassName: "eheg-control-container", 7102 position: "bottom right", 7103 renderToggle: function renderToggle(_ref6) { 7104 var isOpen = _ref6.isOpen, 7105 onToggle = _ref6.onToggle; 7106 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7107 style: { 7108 background: overlay_bg_cl_color 7109 }, 7110 class: "eheg-colorbox", 7111 onClick: onToggle, 7112 "aria-expanded": isOpen 7113 }); 7114 }, 7115 renderContent: function renderContent() { 7116 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7117 className: "eheg-group-controls colorpicker" 7118 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["ColorPicker"], { 7119 color: overlay_bg_cl_color, 7120 onChangeComplete: function onChangeComplete(value) { 7121 return setAttributes({ 7122 overlay_bg_cl_color: "rgba(" + value.rgb.r + "," + value.rgb.g + "," + value.rgb.b + "," + value.rgb.a + ")" 7123 }); 7124 } 7125 })); 7126 } 7127 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7128 class: "eheg-block-control condition-control condition-border-classic-" + overlay_bg_type 7129 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7130 class: "block_input_label" 7131 }, "Choose Image"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7132 class: "media-handler" 7133 }, overlay_bg_cl_image == '' ? Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_custom_buttons_index__WEBPACK_IMPORTED_MODULE_8__["default"], { 7134 onSelect: function onSelect(value) {}, 7135 className: "dashicons dashicons-plus-alt", 7136 onChange: function onChange(value) {} 7137 }) : Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_custom_buttons_index__WEBPACK_IMPORTED_MODULE_8__["default"], { 7138 className: "dashicons dashicons-trash", 7139 onChange: function onChange(value) { 7140 return setAttributes({ 7141 overlay_bg_cl_image: '' 7142 }); 7143 } 7144 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(MediaUpload, { 7145 onSelect: function onSelect(value) { 7146 return setAttributes({ 7147 overlay_bg_cl_image: value.url 7148 }); 7149 }, 7150 value: overlay_bg_cl_image, 7151 render: function render(_ref7) { 7152 var open = _ref7.open; 7153 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7154 class: "render-img", 7155 style: { 7156 backgroundImage: "url(" + overlay_bg_cl_image + ")" 7157 }, 7158 onClick: open 7159 }); 7160 } 7161 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7162 className: overlay_bg_cl_image == '' ? 'select-default condition-control' : 'select-default' 7163 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 7164 label: "Position", 7165 value: overlay_bg_cl_position, 7166 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["Position"])(), 7167 onChange: function onChange(value) { 7168 return setAttributes({ 7169 overlay_bg_cl_position: value 7170 }); 7171 } 7172 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7173 className: overlay_bg_cl_image == '' ? 'select-default condition-control' : 'select-default' 7174 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 7175 label: "Attachment", 7176 value: overlay_bg_cl_attachment, 7177 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["Attachment"])(), 7178 onChange: function onChange(value) { 7179 return setAttributes({ 7180 overlay_bg_cl_attachment: value 7181 }); 7182 } 7183 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7184 className: overlay_bg_cl_image == '' ? 'select-default condition-control' : 'select-default' 7185 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 7186 label: "Repeat", 7187 value: overlay_bg_cl_repeat, 7188 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["Repeat"])(), 7189 onChange: function onChange(value) { 7190 return setAttributes({ 7191 overlay_bg_cl_repeat: value 7192 }); 7193 } 7194 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7195 className: overlay_bg_cl_image == '' ? 'select-default condition-control' : 'select-default' 7196 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 7197 label: "Size", 7198 value: overlay_bg_cl_size, 7199 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["Size"])(), 7200 onChange: function onChange(value) { 7201 return setAttributes({ 7202 overlay_bg_cl_size: value 7203 }); 7204 } 7205 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7206 class: "eheg-block-control condition-control condition-border-gradient-" + overlay_bg_type 7207 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7208 class: "eheg-flexbox-control" 7209 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7210 class: "block_input_label" 7211 }, "Color"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Dropdown"], { 7212 className: "eheg-popup-control", 7213 contentClassName: "eheg-control-container", 7214 position: "bottom right", 7215 renderToggle: function renderToggle(_ref8) { 7216 var isOpen = _ref8.isOpen, 7217 onToggle = _ref8.onToggle; 7218 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7219 style: { 7220 background: overlay_bg_lg_color 7221 }, 7222 class: "eheg-colorbox", 7223 onClick: onToggle, 7224 "aria-expanded": isOpen 7225 }); 7226 }, 7227 renderContent: function renderContent() { 7228 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7229 className: "eheg-group-controls colorpicker" 7230 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["ColorPicker"], { 7231 color: overlay_bg_lg_color, 7232 onChangeComplete: function onChangeComplete(value) { 7233 return setAttributes({ 7234 overlay_bg_lg_color: "rgba(" + value.rgb.r + "," + value.rgb.g + "," + value.rgb.b + "," + value.rgb.a + ")" 7235 }); 7236 } 7237 })); 7238 } 7239 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7240 class: "eheg-block-control condition-control condition-border-gradient-" + overlay_bg_type 7241 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RangeControl"], { 7242 label: "Location", 7243 value: overlay_bg_lg_location, 7244 onChange: function onChange(value) { 7245 return setAttributes({ 7246 overlay_bg_lg_location: value 7247 }); 7248 }, 7249 min: 0, 7250 max: 100 7251 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7252 class: "eheg-flexbox-control" 7253 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7254 class: "block_input_label" 7255 }, "Second Color"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Dropdown"], { 7256 className: "eheg-popup-control", 7257 contentClassName: "eheg-control-container", 7258 position: "bottom right", 7259 renderToggle: function renderToggle(_ref9) { 7260 var isOpen = _ref9.isOpen, 7261 onToggle = _ref9.onToggle; 7262 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7263 style: { 7264 background: overlay_bg_lg_second_color 7265 }, 7266 class: "eheg-colorbox", 7267 onClick: onToggle, 7268 "aria-expanded": isOpen 7269 }); 7270 }, 7271 renderContent: function renderContent() { 7272 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7273 className: "eheg-group-controls colorpicker" 7274 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["ColorPicker"], { 7275 color: overlay_bg_lg_second_color, 7276 onChangeComplete: function onChangeComplete(value) { 7277 return setAttributes({ 7278 overlay_bg_lg_second_color: "rgba(" + value.rgb.r + "," + value.rgb.g + "," + value.rgb.b + "," + value.rgb.a + ")" 7279 }); 7280 } 7281 })); 7282 } 7283 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("br", null), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RangeControl"], { 7284 label: "Location", 7285 value: overlay_bg_lg_second_location, 7286 onChange: function onChange(value) { 7287 return setAttributes({ 7288 overlay_bg_lg_second_location: value 7289 }); 7290 }, 7291 min: 0, 7292 max: 100 7293 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7294 class: "select-default" 7295 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 7296 label: "Type", 7297 value: overlay_bg_lg_type, 7298 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["GradientType"])(), 7299 onChange: function onChange(value) { 7300 return setAttributes({ 7301 overlay_bg_lg_type: value 7302 }); 7303 } 7304 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7305 class: "condition-control condition-angle-linear-" + overlay_bg_lg_type 7306 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("br", null), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RangeControl"], { 7307 label: "Angle", 7308 value: overlay_bg_lg_angle, 7309 onChange: function onChange(value) { 7310 return setAttributes({ 7311 overlay_bg_lg_angle: value 7312 }); 7313 }, 7314 min: 0, 7315 max: 360 7316 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7317 class: "select-default condition-control condition-angle-radial-" + overlay_bg_lg_type 7318 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 7319 label: "Position", 7320 value: overlay_bg_lg_position, 7321 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["RadialPosition"])(), 7322 onChange: function onChange(value) { 7323 return setAttributes({ 7324 overlay_bg_lg_position: value 7325 }); 7326 } 7327 }
7327)))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["PanelBody"], { 7328 title: "Content", 7329 initialOpen: false, 7330 className: "eheg-panelbody" 7331 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7332 class: "eheg-block-control" 7333 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("h3", null, "Title")), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7334 class: "eheg-block-control" 7335 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7336 class: "eheg-flexbox-control" 7337 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7338 class: "block_input_label" 7339 }, "Color"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Dropdown"], { 7340 className: "eheg-popup-control", 7341 contentClassName: "eheg-control-container", 7342 position: "bottom right", 7343 renderToggle: function renderToggle(_ref10) { 7344 var isOpen = _ref10.isOpen, 7345 onToggle = _ref10.onToggle; 7346 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7347 style: { 7348 background: title_color 7349 }, 7350 class: "eheg-colorbox", 7351 onClick: onToggle, 7352 "aria-expanded": isOpen 7353 }); 7354 }, 7355 renderContent: function renderContent() { 7356 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7357 className: "eheg-group-controls colorpicker" 7358 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["ColorPicker"], { 7359 color: title_color, 7360 onChangeComplete: function onChangeComplete(value) { 7361 return setAttributes({ 7362 title_color: "rgba(" + value.rgb.r + "," + value.rgb.g + "," + value.rgb.b + "," + value.rgb.a + ")" 7363 }); 7364 } 7365 })); 7366 } 7367 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7368 class: "eheg-block-control" 7369 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7370 class: "eheg-flexbox-control" 7371 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7372 class: "block_input_label" 7373 }, "Typography"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Dropdown"], { 7374 className: "eheg-popup-control typography-group", 7375 contentClassName: "eheg-control-container", 7376 position: "bottom right", 7377 focusOnMount: "false", 7378 renderToggle: function renderToggle(_ref11) { 7379 var isOpen = _ref11.isOpen, 7380 onToggle = _ref11.onToggle; 7381 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7382 onClick: onToggle, 7383 "aria-expanded": isOpen 7384 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Dashicon"], { 7385 icon: "edit" 7386 })); 7387 }, 7388 renderContent: function renderContent() { 7389 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7390 className: "eheg-group-controls eheg-title-typo" 7391 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7392 class: "eheg-flexbox-control" 7393 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7394 class: "block_input_label" 7395 }, "Family"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_selectize_index__WEBPACK_IMPORTED_MODULE_6__["default"], { 7396 value: title_font, 7397 options: getFontfamily(), 7398 onChange: titleFont 7399 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7400 class: "eheg-flexbox-control select-default" 7401 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7402 class: "block_input_label" 7403 }, "Subset"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 7404 value: title_font_subset, 7405 options: subsetOptions(title_font), 7406 onChange: function onChange(value) { 7407 return setAttributes({ 7408 title_font_subset: value 7409 }); 7410 } 7411 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7412 class: "eheg-block-control" 7413 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RangeControl"], { 7414 label: "Size", 7415 value: title_font_size, 7416 onChange: function onChange(value) { 7417 return setAttributes({ 7418 title_font_size: value 7419 }); 7420 }, 7421 min: 0, 7422 max: 100 7423 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7424 class: "eheg-flexbox-control select-default" 7425 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7426 class: "block_input_label" 7427 }, "Weight"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 7428 value: title_font_weight, 7429 options: variantOptions(title_font), 7430 onChange: function onChange(value) { 7431 return setAttributes({ 7432 title_font_weight: value 7433 }); 7434 } 7435 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7436 class: "eheg-flexbox-control select-default" 7437 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7438 class: "block_input_label" 7439 }, "Transform"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 7440 value: title_font_transform, 7441 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["FontTransform"])(), 7442 onChange: function onChange(value) { 7443 return setAttributes({ 7444 title_font_transform: value 7445 }); 7446 } 7447 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7448 class: "eheg-flexbox-control select-default" 7449 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7450 class: "block_input_label" 7451 }, "Style"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 7452 value: title_font_style, 7453 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["FontStyle"])(), 7454 onChange: function onChange(value) { 7455 return setAttributes({ 7456 title_font_style: value 7457 }); 7458 } 7459 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7460 class: "eheg-flexbox-control select-default" 7461 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7462 class: "block_input_label" 7463 }, "Decoration"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 7464 value: title_font_decoration, 7465 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["FontDecoration"])(), 7466 onChange: function onChange(value) { 7467 return setAttributes({ 7468 title_font_decoration: value 7469 }); 7470 } 7471 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7472 class: "eheg-block-control" 7473 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RangeControl"], { 7474 label: "Line Height", 7475 value: title_line_height, 7476 onChange: function onChange(value) { 7477 return setAttributes({ 7478 title_line_height: value 7479 }); 7480 }, 7481 min: 0, 7482 max: 100 7483 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7484 class: "eheg-block-control" 7485 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RangeControl"], { 7486 label: "Letter Spacing", 7487 value: title_letter_spacing, 7488 onChange: function onChange(value) { 7489 return setAttributes({ 7490 title_letter_spacing: value 7491 }); 7492 }, 7493 min: -5, 7494 max: 10 7495 }))); 7496 } 7497 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("hr", null), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7498 class: "eheg-block-control" 7499 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("h3", null, "Sub Title")), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7500 class: "eheg-block-control" 7501 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7502 class: "eheg-flexbox-control" 7503 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7504 class: "block_input_label" 7505 }, "Color"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Dropdown"], { 7506 className: "eheg-popup-control", 7507 contentClassName: "eheg-control-container", 7508 position: "bottom right", 7509 renderToggle: function renderToggle(_ref12) { 7510 var isOpen = _ref12.isOpen, 7511 onToggle = _ref12.onToggle; 7512 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7513 style: { 7514 background: subtitle_color 7515 }, 7516 class: "eheg-colorbox", 7517 onClick: onToggle, 7518 "aria-expanded": isOpen 7519 }); 7520 }, 7521 renderContent: function renderContent() { 7522 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7523 className: "eheg-group-controls colorpicker" 7524 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["ColorPicker"], {
7525 color: subtitle_color, 7526 onChangeComplete: function onChangeComplete(value) { 7527 return setAttributes({ 7528 subtitle_color: "rgba(" + value.rgb.r + "," + value.rgb.g + "," + value.rgb.b + "," + value.rgb.a + ")" 7529 }); 7530 } 7531 })); 7532 } 7533 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7534 class: "eheg-block-control" 7535 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7536 class: "eheg-flexbox-control" 7537 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7538 class: "block_input_label" 7539 }, "Typography"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Dropdown"], { 7540 className: "eheg-popup-control typography-group", 7541 contentClassName: "eheg-control-container", 7542 position: "bottom right", 7543 focusOnMount: "false", 7544 renderToggle: function renderToggle(_ref13) { 7545 var isOpen = _ref13.isOpen, 7546 onToggle = _ref13.onToggle; 7547 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7548 onClick: onToggle, 7549 "aria-expanded": isOpen 7550 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Dashicon"], { 7551 icon: "edit" 7552 })); 7553 }, 7554 renderContent: function renderContent() { 7555 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7556 className: "eheg-group-controls eheg-title-typo" 7557 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7558 class: "eheg-flexbox-control" 7559 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7560 class: "block_input_label" 7561 }, "Family"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_selectize_index__WEBPACK_IMPORTED_MODULE_6__["default"], { 7562 value: subtitle_font, 7563 options: getFontfamily(), 7564 onChange: subTitleFont 7565 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7566 class: "eheg-flexbox-control select-default" 7567 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7568 class: "block_input_label" 7569 }, "Subset"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 7570 value: subtitle_font_subset, 7571 options: subsetOptions(subtitle_font), 7572 onChange: function onChange(value) { 7573 return setAttributes({ 7574 subtitle_font_subset: value 7575 }); 7576 } 7577 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7578 class: "eheg-block-control" 7579 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RangeControl"], { 7580 label: "Size", 7581 value: subtitle_font_size, 7582 onChange: function onChange(value) { 7583 return setAttributes({ 7584 subtitle_font_size: value 7585 }); 7586 }, 7587 min: 0, 7588 max: 100 7589 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7590 class: "eheg-flexbox-control select-default" 7591 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7592 class: "block_input_label" 7593 }, "Weight"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 7594 value: subtitle_font_weight, 7595 options: variantOptions(subtitle_font), 7596 onChange: function onChange(value) { 7597 return setAttributes({ 7598 subtitle_font_weight: value 7599 }); 7600 } 7601 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7602 class: "eheg-flexbox-control select-default" 7603 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7604 class: "block_input_label" 7605 }, "Transform"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 7606 value: subtitle_font_transform, 7607 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["FontTransform"])(), 7608 onChange: function onChange(value) { 7609 return setAttributes({ 7610 subtitle_font_transform: value 7611 }); 7612 } 7613 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7614 class: "eheg-flexbox-control select-default" 7615 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7616 class: "block_input_label" 7617 }, "Style"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 7618 value: subtitle_font_style, 7619 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["FontStyle"])(), 7620 onChange: function onChange(value) { 7621 return setAttributes({ 7622 subtitle_font_style: value 7623 }); 7624 } 7625 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7626 class: "eheg-flexbox-control select-default" 7627 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7628 class: "block_input_label" 7629 }, "Decoration"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 7630 value: subtitle_font_decoration, 7631 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["FontDecoration"])(), 7632 onChange: function onChange(value) { 7633 return setAttributes({ 7634 subtitle_font_decoration: value 7635 }); 7636 } 7637 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7638 class: "eheg-block-control" 7639 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RangeControl"], { 7640 label: "Line Height", 7641 value: subtitle_line_height, 7642 onChange: function onChange(value) { 7643 return setAttributes({ 7644 subtitle_line_height: value 7645 }); 7646 }, 7647 min: 0, 7648 max: 100 7649 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7650 class: "eheg-block-control" 7651 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RangeControl"], { 7652 label: "Letter Spacing", 7653 value: subtitle_letter_spacing, 7654 onChange: function onChange(value) { 7655 return setAttributes({ 7656 subtitle_letter_spacing: value 7657 }); 7658 }, 7659 min: -5, 7660 max: 10 7661 }))); 7662 } 7663 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("hr", null), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7664 class: "eheg-block-control" 7665 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("h3", null, "Content")), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7666 class: "eheg-block-control" 7667 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7668 class: "eheg-flexbox-control" 7669 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7670 class: "block_input_label" 7671 }, "Color"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Dropdown"], { 7672 className: "eheg-popup-control", 7673 contentClassName: "eheg-control-container", 7674 position: "bottom right", 7675 renderToggle: function renderToggle(_ref14) { 7676 var isOpen = _ref14.isOpen, 7677 onToggle = _ref14.onToggle; 7678 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7679 style: { 7680 background: content_color 7681 }, 7682 class: "eheg-colorbox", 7683 onClick: onToggle, 7684 "aria-expanded": isOpen 7685 }); 7686 }, 7687 renderContent: function renderContent() { 7688 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7689 className: "eheg-group-controls colorpicker" 7690 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["ColorPicker"], { 7691 color: content_color, 7692 onChangeComplete: function onChangeComplete(value) { 7693 return setAttributes({ 7694 content_color: "rgba(" + value.rgb.r + "," + value.rgb.g + "," + value.rgb.b + "," + value.rgb.a + ")" 7695 }); 7696 } 7697 })); 7698 } 7699 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7700 class: "eheg-block-control" 7701 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7702 class: "eheg-flexbox-control" 7703 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7704 class: "block_input_label" 7705 }, "Typography"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Dropdown"], { 7706 className: "eheg-popup-control typography-group", 7707 contentClassName: "eheg-control-container", 7708 position: "bottom right", 7709 focusOnMount: "false", 7710 renderToggle: function renderToggle(_ref15) { 7711 var isOpen = _ref15.isOpen, 7712 onToggle = _ref15.onToggle; 7713 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7714 onClick: onToggle, 7715 "aria-expanded": isOpen 7716 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Dashicon"], { 7717 icon: "edit" 7718 })); 7719 }, 7720 renderContent: function renderContent() { 7721 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7722 className: "eheg-group-controls eheg-title-typo" 7723 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7724 class: "eheg-flexbox-control" 7725 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7726 class: "block_input_label" 7727 }, "Family"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_selectize_index__WEBPACK_IMPORTED_MODULE_6__["default"], { 7728 value: content_font, 7729 options: getFontfamily(), 7730 onChange: contentFont 7731 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7732 class: "eheg-flexbox-control select-default" 7733 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7734 class: "block_input_label" 7735 }, "Subset"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 7736 value: content_font_subset, 7737 options: subsetOptions(content_font), 7738 onChange: function onChange(value) { 7739 return setAttributes({ 7740 content_font_subset: value 7741 }); 7742 } 7743 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7744 class: "eheg-block-control" 7745 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RangeControl"], { 7746 label: "Size", 7747 value: content_font_size, 7748 onChange: function onChange(value) { 7749 return setAttributes({ 7750 content_font_size: value 7751 }); 7752 }, 7753 min: 0, 7754 max: 100 7755 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7756 class: "eheg-flexbox-control select-default" 7757 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7758 class: "block_input_label" 7759 }, "Weight"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 7760 value: content_font_weight, 7761 options: variantOptions(content_font), 7762 onChange: function onChange(value) { 7763 return setAttributes({ 7764 content_font_weight: value 7765 }); 7766 } 7767 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7768 class: "eheg-flexbox-control select-default" 7769 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7770 class: "block_input_label" 7771 }, "Transform"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 7772 value: content_font_transform, 7773 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["FontTransform"])(), 7774 onChange: function onChange(value) { 7775 return setAttributes({ 7776 content_font_transform: value 7777 }); 7778 } 7779 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7780 class: "eheg-flexbox-control select-default" 7781 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7782 class: "block_input_label" 7783 }, "Style"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 7784 value: content_font_style, 7785 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["FontStyle"])(), 7786 onChange: function onChange(value) { 7787 return setAttributes({ 7788 content_font_style: value 7789 }); 7790 } 7791 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7792 class: "eheg-flexbox-control select-default" 7793 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7794 class: "block_input_label" 7795 }, "Decoration"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 7796 value: content_font_decoration, 7797 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["FontDecoration"])(), 7798 onChange: function onChange(value) { 7799 return setAttributes({ 7800 content_font_decoration: value 7801 }); 7802 } 7803 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7804 class: "eheg-block-control" 7805 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RangeControl"], { 7806 label: "Line Height", 7807 value: content_line_height, 7808 onChange: function onChange(value) { 7809 return setAttributes({ 7810 content_line_height: value 7811 }); 7812 }, 7813 min: 0, 7814 max: 100 7815 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7816 class: "eheg-block-control" 7817 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RangeControl"], { 7818 label: "Letter Spacing", 7819 value: content_letter_
7819spacing, 7820 onChange: function onChange(value) { 7821 return setAttributes({ 7822 content_letter_spacing: value 7823 }); 7824 }, 7825 min: -5, 7826 max: 10 7827 }))); 7828 } 7829 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("hr", null), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7830 class: "eheg-block-control dnlslider" 7831 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7832 class: "css-dnl" 7833 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7834 class: "css-col-1" 7835 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7836 class: "eheg-flexbox-control" 7837 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7838 class: "block_input_label" 7839 }, "Padding"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RadioControl"], { 7840 selected: padding_unit, 7841 options: [{ 7842 label: 'px', 7843 value: 'px' 7844 }, { 7845 label: '%', 7846 value: '%' 7847 }], 7848 onChange: function onChange(value) { 7849 return setAttributes({ 7850 padding_unit: value 7851 }); 7852 } 7853 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7854 class: "css-col-2" 7855 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7856 class: "css-dnl-indvl" 7857 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 7858 type: "number", 7859 value: padding_top, 7860 onChange: paddingTop 7861 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 7862 type: "number", 7863 value: padding_right, 7864 onChange: paddingRight 7865 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 7866 type: "number", 7867 value: padding_bottom, 7868 onChange: paddingBottom 7869 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 7870 type: "number", 7871 value: padding_left, 7872 onChange: paddingLeft 7873 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7874 class: "css-switch" 7875 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7876 class: "" 7877 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["CheckboxControl"], { 7878 label: "click", 7879 className: "css-link checked", 7880 checked: padding_check, 7881 onChange: paddingDimension 7882 })))))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7883 class: "eheg-block-control dnlslider" 7884 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7885 class: "css-dnl" 7886 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7887 class: "css-col-1" 7888 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7889 class: "eheg-flexbox-control" 7890 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7891 class: "block_input_label" 7892 }, "Margin"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RadioControl"], { 7893 selected: margin_unit, 7894 options: [{ 7895 label: 'px', 7896 value: 'px' 7897 }, { 7898 label: '%', 7899 value: '%' 7900 }], 7901 onChange: function onChange(value) { 7902 return setAttributes({ 7903 margin_unit: value 7904 }); 7905 } 7906 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7907 class: "css-col-2" 7908 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7909 class: "css-dnl-indvl" 7910 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 7911 type: "number", 7912 value: margin_top, 7913 onChange: marginTop 7914 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 7915 type: "number", 7916 value: margin_right, 7917 onChange: marginRight 7918 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 7919 type: "number", 7920 value: margin_bottom, 7921 onChange: marginBottom 7922 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 7923 type: "number", 7924 value: margin_left, 7925 onChange: marginLeft 7926 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7927 class: "css-switch" 7928 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7929 class: "" 7930 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["CheckboxControl"], { 7931 label: "click", 7932 className: "css-link checked", 7933 checked: margin_check, 7934 onChange: marginDimension 7935 }
7935)))))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7936 class: "eheg-block-control bg_type" 7937 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7938 class: "eheg-flexbox-control" 7939 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7940 class: "block_input_label" 7941 }, "Background Type"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["ButtonGroup"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_custom_buttons_index__WEBPACK_IMPORTED_MODULE_8__["default"], { 7942 isDefault: true, 7943 onChange: function onChange(value) { 7944 return setAttributes({ 7945 content_bg_type: value 7946 }); 7947 }, 7948 value: "classic", 7949 className: "content-btn-" + content_bg_type 7950 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_custom_buttons_index__WEBPACK_IMPORTED_MODULE_8__["default"], { 7951 isDefault: true, 7952 onChange: function onChange(value) { 7953 return setAttributes({ 7954 content_bg_type: value 7955 }); 7956 }, 7957 value: "gradient", 7958 className: "content-btn-" + content_bg_type 7959 })))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7960 class: "eheg-block-control condition-control condition-border-classic-" + content_bg_type 7961 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7962 class: "eheg-flexbox-control" 7963 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7964 class: "block_input_label" 7965 }, "Color"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Dropdown"], { 7966 className: "eheg-popup-control", 7967 contentClassName: "eheg-control-container", 7968 position: "bottom right", 7969 renderToggle: function renderToggle(_ref16) { 7970 var isOpen = _ref16.isOpen, 7971 onToggle = _ref16.onToggle; 7972 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7973 style: { 7974 background: content_bg_cl_color 7975 }, 7976 class: "eheg-colorbox", 7977 onClick: onToggle, 7978 "aria-expanded": isOpen 7979 }); 7980 }, 7981 renderContent: function renderContent() { 7982 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7983 className: "eheg-group-controls colorpicker" 7984 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["ColorPicker"], { 7985 color: content_bg_cl_color, 7986 onChangeComplete: function onChangeComplete(value) { 7987 return setAttributes({ 7988 content_bg_cl_color: "rgba(" + value.rgb.r + "," + value.rgb.g + "," + value.rgb.b + "," + value.rgb.a + ")" 7989 }); 7990 } 7991 })); 7992 } 7993 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7994 class: "eheg-block-control condition-control condition-border-classic-" + content_bg_type 7995 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 7996 class: "block_input_label" 7997 }, "Choose Image"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 7998 class: "media-handler" 7999 }, content_bg_cl_image == '' ? Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_custom_buttons_index__WEBPACK_IMPORTED_MODULE_8__["default"], { 8000 onSelect: function onSelect(value) {}, 8001 className: "dashicons dashicons-plus-alt", 8002 onChange: function onChange(value) {} 8003 }) : Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_custom_buttons_index__WEBPACK_IMPORTED_MODULE_8__["default"], { 8004 className: "dashicons dashicons-trash", 8005 onChange: function onChange(value) { 8006 return setAttributes({ 8007 content_bg_cl_image: '' 8008 }); 8009 } 8010 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(MediaUpload, { 8011 onSelect: function onSelect(value) { 8012 return setAttributes({ 8013 content_bg_cl_image: value.url 8014 }); 8015 }, 8016 value: content_bg_cl_image, 8017 render: function render(_ref17) { 8018 var open = _ref17.open; 8019 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8020 class: "render-img", 8021 style: { 8022 backgroundImage: "url(" + content_bg_cl_image + ")" 8023 }, 8024 onClick: open 8025 }); 8026 } 8027 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8028 className: content_bg_cl_image == '' ? "select-default condition-control" : 'select-default' 8029 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 8030 label: "Position", 8031 value: content_bg_cl_position, 8032 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["Position"])(), 8033 onChange: function onChange(value) { 8034 return setAttributes({ 8035 content_bg_cl_position: value 8036 }); 8037 } 8038 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8039 className: content_bg_cl_image == '' ? "select-default condition-control" : 'select-default' 8040 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 8041 label: "Attachment", 8042 value: content_bg_cl_attachment, 8043 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["Attachment"])(), 8044 onChange: function onChange(value) { 8045 return setAttributes({ 8046 content_bg_cl_attachment: value 8047 }); 8048 } 8049 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8050 className: content_bg_cl_image == '' ? "select-default condition-control" : 'select-default' 8051 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 8052 label: "Repeat", 8053 value: content_bg_cl_repeat, 8054 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["Repeat"])(), 8055 onChange: function onChange(value) { 8056 return setAttributes({ 8057 content_bg_cl_repeat: value 8058 }); 8059 } 8060 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8061 className: content_bg_cl_image == '' ? "select-default condition-control" : 'select-default' 8062 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 8063 label: "Size", 8064 value: content_bg_cl_size, 8065 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["Size"])(), 8066 onChange: function onChange(value) { 8067 return setAttributes({ 8068 content_bg_cl_size: value 8069 }); 8070 } 8071 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8072 class: "eheg-block-control condition-control condition-border-gradient-" + content_bg_type 8073 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8074 class: "eheg-flexbox-control" 8075 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 8076 class: "block_input_label" 8077 }, "Color"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Dropdown"], { 8078 className: "eheg-popup-control", 8079 contentClassName: "eheg-control-container", 8080 position: "bottom right", 8081 renderToggle: function renderToggle(_ref18) { 8082 var isOpen = _ref18.isOpen, 8083 onToggle = _ref18.onToggle; 8084 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8085 style: { 8086 background: content_bg_lg_color 8087 }, 8088 class: "eheg-colorbox", 8089 onClick: onToggle, 8090 "aria-expanded": isOpen 8091 }); 8092 }, 8093 renderContent: function renderContent() { 8094 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8095 className: "eheg-group-controls colorpicker" 8096 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["ColorPicker"], { 8097 color: content_bg_lg_color, 8098 onChangeComplete: function onChangeComplete(value) { 8099 return setAttributes({ 8100 content_bg_lg_color: "rgba(" + value.rgb.r + "," + value.rgb.g + "," + value.rgb.b + "," + value.rgb.a + ")" 8101 }); 8102 } 8103 })); 8104 } 8105 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8106 class: "eheg-block-control condition-control condition-border-gradient-" + content_bg_type 8107 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RangeControl"], { 8108 label: "Location", 8109 value: content_bg_lg_location, 8110 onChange: function onChange(value) { 8111 return setAttributes({ 8112 content_bg_lg_location: value 8113 }); 8114 }, 8115 min: 0, 8116 max: 100 8117 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8118 class: "eheg-flexbox-control" 8119 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 8120 class: "block_input_label" 8121 }, "Second Color"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Dropdown"], { 8122 className: "eheg-popup-control", 8123 contentClassName: "eheg-control-container", 8124 position: "bottom right", 8125 renderToggle: function renderToggle(_ref19) { 8126 var isOpen = _ref19.isOpen, 8127 onToggle = _ref19.onToggle; 8128 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8129 style: { 8130 background: content_bg_lg_second_color 8131 }, 8132 class: "eheg-colorbox", 8133 onClick: onToggle, 8134 "aria-expanded": isOpen 8135 }); 8136 }, 8137 renderContent: function renderContent() { 8138 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8139 className: "eheg-group-controls colorpicker" 8140 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["ColorPicker"], { 8141 color: content_bg_lg_second_color, 8142 onChangeComplete: function onChangeComplete(value) { 8143 return setAttributes({ 8144 content_bg_lg_second_color: "rgba(" + value.rgb.r + "," + value.rgb.g + "," + value.rgb.b + "," + value.rgb.a + ")" 8145 }); 8146 } 8147 })); 8148 } 8149 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("br", null), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RangeControl"], { 8150 label: "Location", 8151 value: content_bg_lg_second_location, 8152 onChange: function onChange(value) { 8153 return setAttributes({ 8154 content_bg_lg_second_location: value 8155 }); 8156 }, 8157 min: 0, 8158 max: 100 8159 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8160 class: "select-default" 8161 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 8162 label: "Type", 8163 value: content_bg_lg_type, 8164 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["GradientType"])(), 8165 onChange: function onChange(value) { 8166 return setAttributes({ 8167 content_bg_lg_type: value 8168 }); 8169 } 8170 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8171 class: "condition-control condition-angle-linear-" + content_bg_lg_type 8172 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("br", null), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RangeControl"], { 8173 label: "Angle", 8174 value: content_bg_lg_angle, 8175 onChange: function onChange(value) { 8176 return setAttributes({ 8177 content_bg_lg_angle: value 8178 }); 8179 }, 8180 min: 0, 8181 max: 360 8182 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8183 class: "select-default condition-control condition-angle-radial-" + content_bg_lg_type 8184 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 8185 label: "Position", 8186 value: content_bg_lg_position, 8187 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["RadialPosition"])(), 8188 onChange: function onChange(value) { 8189 return setAttributes({ 8190 content_bg_lg_position: value 8191 }); 8192 } 8193 }
8193)))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["PanelBody"], { 8194 title: "Button", 8195 initialOpen: false, 8196 className: "eheg-panelbody" 8197 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8198 class: "eheg-block-control" 8199 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8200 class: "eheg-flexbox-control" 8201 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 8202 class: "block_input_label" 8203 }, "Color"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Dropdown"], { 8204 className: "eheg-popup-control", 8205 contentClassName: "eheg-control-container", 8206 position: "bottom right", 8207 renderToggle: function renderToggle(_ref20) { 8208 var isOpen = _ref20.isOpen, 8209 onToggle = _ref20.onToggle; 8210 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8211 style: { 8212 background: buttons_color 8213 }, 8214 class: "eheg-colorbox", 8215 onClick: onToggle, 8216 "aria-expanded": isOpen 8217 }); 8218 }, 8219 renderContent: function renderContent() { 8220 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8221 className: "eheg-group-controls colorpicker" 8222 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["ColorPicker"], { 8223 color: buttons_color, 8224 onChangeComplete: function onChangeComplete(value) { 8225 return setAttributes({ 8226 buttons_color: "rgba(" + value.rgb.r + "," + value.rgb.g + "," + value.rgb.b + "," + value.rgb.a + ")" 8227 }); 8228 } 8229 })); 8230 } 8231 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8232 class: "eheg-block-control" 8233 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8234 class: "eheg-flexbox-control" 8235 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 8236 class: "block_input_label" 8237 }, "Background"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Dropdown"], { 8238 className: "eheg-popup-control", 8239 contentClassName: "eheg-control-container", 8240 position: "bottom right", 8241 renderToggle: function renderToggle(_ref21) { 8242 var isOpen = _ref21.isOpen, 8243 onToggle = _ref21.onToggle; 8244 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8245 style: { 8246 background: buttons_background 8247 }, 8248 class: "eheg-colorbox", 8249 onClick: onToggle, 8250 "aria-expanded": isOpen 8251 }); 8252 }, 8253 renderContent: function renderContent() { 8254 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8255 className: "eheg-group-controls colorpicker" 8256 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["ColorPicker"], { 8257 color: buttons_background, 8258 onChangeComplete: function onChangeComplete(value) { 8259 return setAttributes({ 8260 buttons_background: "rgba(" + value.rgb.r + "," + value.rgb.g + "," + value.rgb.b + "," + value.rgb.a + ")" 8261 }); 8262 } 8263 })); 8264 } 8265 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8266 class: "eheg-block-control" 8267 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8268 class: "eheg-flexbox-control" 8269 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 8270 class: "block_input_label" 8271 }, "Typography"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Dropdown"], { 8272 className: "eheg-popup-control typography-group", 8273 contentClassName: "eheg-control-container", 8274 position: "bottom right", 8275 focusOnMount: "false", 8276 renderToggle: function renderToggle(_ref22) { 8277 var isOpen = _ref22.isOpen, 8278 onToggle = _ref22.onToggle; 8279 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8280 onClick: onToggle, 8281 "aria-expanded": isOpen 8282 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Dashicon"], { 8283 icon: "edit" 8284 })); 8285 }, 8286 renderContent: function renderContent() { 8287 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8288 className: "eheg-group-controls eheg-title-typo" 8289 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8290 class: "eheg-flexbox-control" 8291 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 8292 class: "block_input_label" 8293 }, "Family"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_selectize_index__WEBPACK_IMPORTED_MODULE_6__["default"], { 8294 value: buttons_font, 8295 options: getFontfamily(), 8296 onChange: buttonFont 8297 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8298 class: "eheg-flexbox-control select-default" 8299 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 8300 class: "block_input_label" 8301 }, "Subset"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 8302 value: buttons_font_subset, 8303 options: subsetOptions(buttons_font), 8304 onChange: function onChange(value) { 8305 return setAttributes({ 8306 buttons_font_subset: value 8307 }); 8308 } 8309 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8310 class: "eheg-block-control" 8311 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RangeControl"], { 8312 label: "Size", 8313 value: buttons_font_size, 8314 onChange: function onChange(value) { 8315 return setAttributes({ 8316 buttons_font_size: value 8317 }); 8318 }, 8319 min: 0, 8320 max: 100 8321 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8322 class: "eheg-flexbox-control select-default" 8323 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 8324 class: "block_input_label" 8325 }, "Weight"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 8326 value: buttons_font_weight, 8327 options: variantOptions(buttons_font), 8328 onChange: function onChange(value) { 8329 return setAttributes({ 8330 buttons_font_weight: value 8331 }); 8332 } 8333 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8334 class: "eheg-flexbox-control select-default" 8335 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 8336 class: "block_input_label" 8337 }, "Transform"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 8338 value: buttons_font_transform, 8339 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["FontTransform"])(), 8340 onChange: function onChange(value) { 8341 return setAttributes({ 8342 buttons_font_transform: value 8343 }); 8344 } 8345 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8346 class: "eheg-flexbox-control select-default" 8347 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 8348 class: "block_input_label" 8349 }, "Style"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 8350 value: buttons_font_style, 8351 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["FontStyle"])(), 8352 onChange: function onChange(value) { 8353 return setAttributes({ 8354 buttons_font_style: value 8355 }); 8356 } 8357 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8358 class: "eheg-flexbox-control select-default" 8359 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 8360 class: "block_input_label" 8361 }, "Decoration"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 8362 value: buttons_font_decoration, 8363 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["FontDecoration"])(), 8364 onChange: function onChange(value) { 8365 return setAttributes({ 8366 buttons_font_decoration: value 8367 }); 8368 } 8369 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8370 class: "eheg-block-control" 8371 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RangeControl"], { 8372 label: "Line Height", 8373 value: buttons_line_height, 8374 onChange: function onChange(value) { 8375 return setAttributes({ 8376 buttons_line_height: value 8377 }); 8378 }, 8379 min: 0, 8380 max: 100 8381 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8382 class: "eheg-block-control" 8383 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RangeControl"], { 8384 label: "Letter Spacing", 8385 value: buttons_letter_spacing, 8386 onChange: function onChange(value) { 8387 return setAttributes({ 8388 buttons_letter_spacing: value 8389 }); 8390 }, 8391 min: -5, 8392 max: 10 8393 }))); 8394 } 8395 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8396 class: "eheg-block-control" 8397 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8398 class: "eheg-flexbox-control select-default" 8399 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 8400 class: "block_input_label" 8401 }, "Border Type"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SelectControl"], { 8402 value: buttons_bdr_type, 8403 options: Object(_js_assets_js__WEBPACK_IMPORTED_MODULE_3__["BorderType"])(), 8404 onChange: function onChange(value) { 8405 return setAttributes({ 8406 buttons_bdr_type: value 8407 }); 8408 } 8409 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8410 class: "eheg-block-control dnlslider condition-border-" + buttons_bdr_type 8411 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8412 class: "css-dnl" 8413 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8414 class: "css-col-1" 8415 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8416 class: "eheg-flexbox-control" 8417 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 8418 class: "block_input_label" 8419 }, "Width"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RadioControl"], { 8420 selected: buttons_bdr_unit, 8421 options: [{ 8422 label: 'px', 8423 value: 'px' 8424 }, { 8425 label: '%', 8426 value: '%' 8427 }], 8428 onChange: function onChange(value) { 8429 return setAttributes({ 8430 buttons_bdr_unit: value 8431 }); 8432 } 8433 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8434 class: "css-col-2" 8435 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8436 class: "css-dnl-indvl" 8437 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 8438 type: "number", 8439 value: buttons_bdr_top, 8440 onChange: btnBorderTop 8441 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 8442 type: "number", 8443 value: buttons_bdr_right, 8444 onChange: btnBorderRight 8445 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 8446 type: "number", 8447 value: buttons_bdr_bottom, 8448 onChange: btnBorderBottom 8449 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 8450 type: "number", 8451 value: buttons_bdr_left, 8452 onChange: btnBorderLeft 8453 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8454 class: "css-switch" 8455 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8456 class: "" 8457 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["CheckboxControl"], { 8458 label: "click", 8459 className: "css-link checked", 8460 checked: buttons_bdr_check, 8461 onChange: btnBorderDimension 8462 }
8462)))))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8463 class: "eheg-block-control condition-border-" + buttons_bdr_type 8464 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8465 class: "eheg-flexbox-control" 8466 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 8467 class: "block_input_label" 8468 }, "Color"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Dropdown"], { 8469 className: "eheg-popup-control", 8470 contentClassName: "eheg-control-container", 8471 position: "bottom right", 8472 renderToggle: function renderToggle(_ref23) { 8473 var isOpen = _ref23.isOpen, 8474 onToggle = _ref23.onToggle; 8475 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8476 style: { 8477 background: buttons_bdr_color 8478 }, 8479 class: "eheg-colorbox", 8480 onClick: onToggle, 8481 "aria-expanded": isOpen 8482 }); 8483 }, 8484 renderContent: function renderContent() { 8485 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8486 className: "eheg-group-controls colorpicker" 8487 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["ColorPicker"], { 8488 color: buttons_bdr_color, 8489 onChangeComplete: function onChangeComplete(value) { 8490 return setAttributes({ 8491 buttons_bdr_color: "rgba(" + value.rgb.r + "," + value.rgb.g + "," + value.rgb.b + "," + value.rgb.a + ")" 8492 }); 8493 } 8494 })); 8495 } 8496 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8497 class: "eheg-block-control dnlslider" 8498 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8499 class: "css-dnl" 8500 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8501 class: "css-col-1" 8502 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8503 class: "eheg-flexbox-control" 8504 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 8505 class: "block_input_label" 8506 }, "Spacing"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RadioControl"], { 8507 selected: buttons_spacing_unit, 8508 options: [{ 8509 label: 'px', 8510 value: 'px' 8511 }, { 8512 label: 'em', 8513 value: 'em' 8514 }], 8515 onChange: function onChange(value) { 8516 return setAttributes({ 8517 buttons_spacing_unit: value 8518 }); 8519 } 8520 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8521 class: "css-col-2" 8522 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RangeControl"], { 8523 value: buttons_spacing, 8524 onChange: function onChange(value) { 8525 return setAttributes({ 8526 buttons_spacing: value 8527 }); 8528 }, 8529 min: 0, 8530 max: 50, 8531 step: 1 8532 })))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8533 class: "eheg-block-control dnlslider" 8534 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8535 class: "css-dnl" 8536 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8537 class: "css-col-1" 8538 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8539 class: "eheg-flexbox-control" 8540 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 8541 class: "block_input_label" 8542 }, "Icon Spacing"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RadioControl"], { 8543 selected: buttons_icon_spacing_unit, 8544 options: [{ 8545 label: 'px', 8546 value: 'px' 8547 }, { 8548 label: 'em', 8549 value: 'em' 8550 }], 8551 onChange: function onChange(value) { 8552 return setAttributes({ 8553 buttons_icon_spacing_unit: value 8554 }); 8555 } 8556 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8557 class: "css-col-2" 8558 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RangeControl"], { 8559 value: buttons_icon_spacing, 8560 onChange: function onChange(value) { 8561 return setAttributes({ 8562 buttons_icon_spacing: value 8563 }); 8564 }, 8565 min: 0, 8566 max: 50, 8567 step: 0.1 8568 }
8568)))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8569 class: "eheg-block-control dnlslider" 8570 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8571 class: "css-dnl" 8572 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8573 class: "css-col-1" 8574 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8575 class: "eheg-flexbox-control" 8576 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 8577 class: "block_input_label" 8578 }, "Border Radius"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RadioControl"], { 8579 selected: buttons_brr_unit, 8580 options: [{ 8581 label: 'px', 8582 value: 'px' 8583 }, { 8584 label: '%', 8585 value: '%' 8586 }], 8587 onChange: function onChange(value) { 8588 return setAttributes({ 8589 buttons_brr_unit: value 8590 }); 8591 } 8592 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8593 class: "css-col-2" 8594 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8595 class: "css-dnl-indvl" 8596 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 8597 type: "number", 8598 value: buttons_brr_top_left, 8599 onChange: btnBorderRadiusTopLeft 8600 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 8601 type: "number", 8602 value: buttons_brr_top_right, 8603 onChange: btnBorderRadiusTopRight 8604 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 8605 type: "number", 8606 value: buttons_brr_bottom_left, 8607 onChange: btnBorderRadiusBottomLeft 8608 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 8609 type: "number", 8610 value: buttons_brr_bottom_right, 8611 onChange: btnBorderRadiusBottomRight 8612 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8613 class: "css-switch" 8614 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8615 class: "" 8616 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["CheckboxControl"], { 8617 label: "click", 8618 className: "css-link checked", 8619 checked: buttons_brr_check, 8620 onChange: btnBorderRadiusDimension 8621 })))))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8622 class: "eheg-block-control dnlslider" 8623 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8624 class: "css-dnl" 8625 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8626 class: "css-col-1" 8627 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8628 class: "eheg-flexbox-control" 8629 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 8630 class: "block_input_label" 8631 }, "Padding"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RadioControl"], { 8632 selected: buttons_padding_unit, 8633 options: [{ 8634 label: 'px', 8635 value: 'px' 8636 }, { 8637 label: '%', 8638 value: '%' 8639 }], 8640 onChange: function onChange(value) { 8641 return setAttributes({ 8642 buttons_padding_unit: value 8643 }); 8644 } 8645 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8646 class: "css-col-2" 8647 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8648 class: "css-dnl-indvl" 8649 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 8650 type: "number", 8651 value: buttons_padding_top, 8652 onChange: btnPaddingTop 8653 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 8654 type: "number", 8655 value: buttons_padding_right, 8656 onChange: btnPaddingRight 8657 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 8658 type: "number", 8659 value: buttons_padding_bottom, 8660 onChange: btnPaddingBottom 8661 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 8662 type: "number", 8663 value: buttons_padding_left, 8664 onChange: btnPaddingLeft 8665 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8666 class: "css-switch" 8667 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8668 class: "" 8669 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["CheckboxControl"], { 8670 label: "click", 8671 className: "css-link checked", 8672 checked: buttons_padding_check, 8673 onChange: btnPaddingDimension 8674 }
8674)))))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8675 class: "eheg-block-control dnlslider" 8676 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8677 class: "css-dnl" 8678 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8679 class: "css-col-1" 8680 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8681 class: "eheg-flexbox-control" 8682 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("label", { 8683 class: "block_input_label" 8684 }, "Margin"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["RadioControl"], { 8685 selected: buttons_margin_unit, 8686 options: [{ 8687 label: 'px', 8688 value: 'px' 8689 }, { 8690 label: '%', 8691 value: '%' 8692 }], 8693 onChange: function onChange(value) { 8694 return setAttributes({ 8695 buttons_margin_unit: value 8696 }); 8697 } 8698 }))), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8699 class: "css-col-2" 8700 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8701 class: "css-dnl-indvl" 8702 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 8703 type: "number", 8704 value: buttons_margin_top, 8705 onChange: btnMarginTop 8706 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 8707 type: "number", 8708 value: buttons_margin_right, 8709 onChange: btnMarginRight 8710 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 8711 type: "number", 8712 value: buttons_margin_bottom, 8713 onChange: btnMarginBottom 8714 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["TextControl"], { 8715 type: "number", 8716 value: buttons_margin_left, 8717 onChange: btnMarginLeft 8718 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8719 class: "css-switch" 8720 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])("div", { 8721 class: "" 8722 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_1__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["CheckboxControl"], { 8723 label: "click", 8724 className: "css-link checked", 8725 checked: buttons_margin_check, 8726 onChange: btnMarginDimension 8727 }))))))))))); 8728 }, 8729 save: function save(props) { 8730 return null; 8731 } 8732}); 8733 8734/***/ }), 8735
8736/***/ "./src/blocks/js/assets.js": 8737/*!*********************************!*\ 8738 !*** ./src/blocks/js/assets.js ***! 8739 \*********************************/ 8740/*! exports provided: EHEG_LOGO, ImageEffects, Targets, OverlayEffects, ContentEffects, ContentAppearance, HAlign, VAlign, ButtonsDirection, ButtonsHAlign, ButtonsVAlign, ButtonsIconAlign, MatchHeight, BorderType, Position, Attachment, Repeat, Size, RadialPosition, GradientType, FontTransform, FontStyle, FontDecoration, Icons */ 8741/***/ (function(module, __webpack_exports__, __webpack_require__) { 8742 8743"use strict"; 8744__webpack_require__.r(__webpack_exports__); 8745/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "EHEG_LOGO", function() { return EHEG_LOGO; }); 8746/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ImageEffects", function() { return ImageEffects; }); 8747/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Targets", function() { return Targets; }); 8748/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "OverlayEffects", function() { return OverlayEffects; }); 8749/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ContentEffects", function() { return ContentEffects; }); 8750/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ContentAppearance", function() { return ContentAppearance; }); 8751/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HAlign", function() { return HAlign; }); 8752/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VAlign", function() { return VAlign; }); 8753/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ButtonsDirection", function() { return ButtonsDirection; }); 8754/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ButtonsHAlign", function() { return ButtonsHAlign; }); 8755/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ButtonsVAlign", function() { return ButtonsVAlign; }); 8756/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ButtonsIconAlign", function() { return ButtonsIconAlign; }); 8757/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MatchHeight", function() { return MatchHeight; }); 8758/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "BorderType", function() { return BorderType; }); 8759/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Position", function() { return Position; }); 8760/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Attachment", function() { return Attachment; }); 8761/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Repeat", function() { return Repeat; }); 8762/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Size", function() { return Size; }); 8763/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RadialPosition", function() { return RadialPosition; }); 8764/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GradientType", function() { return GradientType; }); 8765/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FontTransform", function() { return FontTransform; }); 8766/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FontStyle", function() { return FontStyle; }); 8767/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FontDecoration", function() { return FontDecoration; }); 8768/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Icons", function() { return Icons; }); 8769/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element"); 8770/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__); 8771/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react"); 8772/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__); 8773/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); 8774/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__); 8775 8776 8777 8778var EHEG_LOGO = function EHEG_LOGO() { 8779 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["SVG"], {
8780 viewBox: "0 0 24 24", 8781 xmlns: "http://www.w3.org/2000/svg", 8782 width: "24", 8783 height: "24" 8784 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Path"], { 8785 fill: "none", 8786 d: "M0 0h24v24H0V0z" 8787 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["G"], null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__["Path"], { 8788 d: "M14 13l4 5H6l4-4 1.79 1.78L14 13zm-6.01-2.99A2 2 0 0 0 8 6a2 2 0 0 0-.01 4.01zM22 5v14a3 3 0 0 1-3 2.99H5c-1.64 0-3-1.36-3-3V5c0-1.64 1.36-3 3-3h14c1.65 0 3 1.36 3 3zm-2.01 0a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h7v-.01h7a1 1 0 0 0 1-1V5z" 8789 }))); 8790}; 8791var ImageEffects = function ImageEffects() { 8792 return [{ 8793 value: 'imghvr-anim-none', 8794 label: 'None' 8795 }, { 8796 value: 'imghvr-anim-grayscale', 8797 label: 'Grayscale' 8798 }, { 8799 value: 'imghvr-anim-color', 8800 label: 'Color' 8801 }, { 8802 value: 'imghvr-anim-dive', 8803 label: 'Dive' 8804 }, { 8805 value: 'imghvr-anim-none imghvr-anim-swap', 8806 label: 'Swap' 8807 }, { 8808 value: 'imghvr-anim-scroll|imghvr-padding', 8809 label: 'Scroll' 8810 }, { 8811 value: 'imghvr-anim-zoom-in', 8812 label: 'Zoom In' 8813 }, { 8814 value: 'imghvr-anim-zoom-out', 8815 label: 'Zoom Out' 8816 }, { 8817 value: 'imghvr-anim-zoom-in-out', 8818 label: 'Zoom In Out' 8819 }, { 8820 value: 'imghvr-anim-zoom-out-in', 8821 label: 'Zoom Out In' 8822 }, { 8823 value: 'imghvr-anim-zoom-in imghvr-anim-blur', 8824 label: 'Zoom In Blur' 8825 }, { 8826 value: 'imghvr-anim-zoom-out imghvr-anim-blur', 8827 label: 'Zoom Out Blur' 8828 }, { 8829 value: 'imghvr-anim-rotate', 8830 label: 'Rotate' 8831 }, { 8832 value: 'imghvr-anim-blur', 8833 label: 'Blur' 8834 }, { 8835 value: 'imghvr-anim-scale-rotate-left', 8836 label: 'Scale Rotate Left' 8837 }, { 8838 value: 'imghvr-anim-scale-rotate-right', 8839 label: 'Scale Rotate Right' 8840 }, { 8841 value: 'imghvr-anim-move imghvr-anim-move-up', 8842 label: 'Move Up' 8843 }, { 8844 value: 'imghvr-anim-move imghvr-anim-move-down', 8845 label: 'Move Down' 8846 }, { 8847 value: 'imghvr-anim-move imghvr-anim-move-left', 8848 label: 'Move Left' 8849 }, { 8850 value: 'imghvr-anim-move imghvr-anim-move-right', 8851 label: 'Move Right' 8852 }, { 8853 value: 'imghvr-anim-slide-out imghvr-anim-slide-out-up', 8854 label: 'Slide Up' 8855 }, { 8856 value: 'imghvr-anim-slide-out imghvr-anim-slide-out-down', 8857 label: 'Slide Down' 8858 }, { 8859 value: 'imghvr-anim-slide-out imghvr-anim-slide-out-left', 8860 label: 'Slide Left' 8861 }, { 8862 value: 'imghvr-anim-slide-out imghvr-anim-slide-out-right', 8863 label: 'Slide Right' 8864 }, { 8865 value: 'imghvr-anim-hinge imghvr-anim-hinge-up|imghvr-perspective', 8866 label: 'Hinge Up' 8867 }, { 8868 value: 'imghvr-anim-hinge imghvr-anim-hinge-down|imghvr-perspective', 8869 label: 'Hinge Down' 8870 }, { 8871 value: 'imghvr-anim-hinge imghvr-anim-hinge-left|imghvr-perspective', 8872 label: 'Hinge Left' 8873 }, { 8874 value: 'imghvr-anim-hinge imghvr-anim-hinge-right|imghvr-perspective', 8875 label: 'Hinge Right' 8876 }, { 8877 value: 'imghvr-anim-flip imghvr-anim-flip-hor', 8878 label: 'Flip Horizontal' 8879 }, { 8880 value: 'imghvr-anim-flip imghvr-anim-flip-vert', 8881 label: 'Flip Vertical' 8882 }, { 8883 value: 'imghvr-anim-flip imghvr-anim-flip-diag-left', 8884 label: 'Flip Diagonal Left' 8885 }, { 8886 value: 'imghvr-anim-flip imghvr-anim-flip-diag-right', 8887 label: 'Flip Diagonal Right' 8888 }, { 8889 value: 'imghvr-anim-fold imghvr-anim-fold-up', 8890 label: 'Fold Up' 8891 }, { 8892 value: 'imghvr-anim-fold imghvr-anim-fold-down', 8893 label: 'Fold Down' 8894 }, { 8895 value: 'imghvr-anim-fold imghvr-anim-fold-left', 8896 label: 'Fold Left' 8897 }, { 8898 value: 'imghvr-anim-fold imghvr-anim-fold-right', 8899 label: 'Fold Right' 8900 }, { 8901 value: 'imghvr-anim-zoom-out-slide imghvr-anim-zoom-out-slide-up', 8902 label: 'Zoom Out Up' 8903 }, { 8904 value: 'imghvr-anim-zoom-out-slide imghvr-anim-zoom-out-slide-down', 8905 label: 'Zoom Out Down' 8906 }, { 8907 value: 'imghvr-anim-zoom-out-slide imghvr-anim-zoom-out-slide-left', 8908 label: 'Zoom Out Left' 8909 }, { 8910 value: 'imghvr-anim-zoom-out-slide imghvr-anim-zoom-out-slide-right', 8911 label: 'Zoom Out Right' 8912 }, { 8913 value: 'imghvr-anim-zoom-out-flip imghvr-anim-zoom-out-flip-hor', 8914 label: 'Zoom Out Flip Horizontal' 8915 }, { 8916 value: 'imghvr-anim-zoom-out-flip imghvr-anim-zoom-out-flip-vert', 8917 label: 'Zoom Out Flip Vertical' 8918 }, { 8919 value: 'imghvr-anim-pivot-out imghvr-anim-pivot-out-top-left', 8920 label: 'Pivot Top Left' 8921 }, { 8922 value: 'imghvr-anim-pivot-out imghvr-anim-pivot-out-top-right', 8923 label: 'Pivot Top Right' 8924 }, { 8925 value: 'imghvr-anim-pivot-out imghvr-anim-pivot-out-bottom-left', 8926 label: 'Pivot Bottom Left' 8927 }, { 8928 value: 'imghvr-anim-pivot-out imghvr-anim-pivot-out-bottom-right', 8929 label: 'Pivot Bottom Right' 8930 }, {
8931 value: 'imghvr-anim-rotate-around', 8932 label: 'Rotate Around' 8933 }, { 8934 value: 'imghvr-anim-lightspeed imghvr-anim-lightspeed-out-left', 8935 label: 'Light Speed Out Left' 8936 }, { 8937 value: 'imghvr-anim-lightspeed imghvr-anim-lightspeed-out-right', 8938 label: 'Light Speed Out Right' 8939 }, { 8940 value: 'imghvr-anim-fall imghvr-anim-fall-away-horizontal', 8941 label: 'Fall Away Horizontal' 8942 }, { 8943 value: 'imghvr-anim-fall imghvr-anim-fall-away-vertical', 8944 label: 'Fall Away Vertical' 8945 }, { 8946 value: 'imghvr-anim-fall imghvr-anim-fall-away-rotate', 8947 label: 'Fall Away Rotate' 8948 }, { 8949 value: 'imghvr-anim-fall imghvr-anim-fall-away-rotate-invert', 8950 label: 'Fall Away Rotate Invert' 8951 }, { 8952 value: 'imghvr-anim-throw-out imghvr-anim-throw-out-up', 8953 label: 'Throw Up' 8954 }, { 8955 value: 'imghvr-anim-throw-out imghvr-anim-throw-out-down', 8956 label: 'Throw Down' 8957 }, { 8958 value: 'imghvr-anim-throw-out imghvr-anim-throw-out-left', 8959 label: 'Throw Left' 8960 }, { 8961 value: 'imghvr-anim-throw-out imghvr-anim-throw-out-right', 8962 label: 'Throw Right' 8963 }, { 8964 value: 'imghvr-anim-cube-out imghvr-anim-cube-out-up|imghvr-perspective imghvr-overflow', 8965 label: 'Cube Up' 8966 }, { 8967 value: 'imghvr-anim-cube-out imghvr-anim-cube-out-down|imghvr-perspective imghvr-overflow', 8968 label: 'Cube Down' 8969 }, { 8970 value: 'imghvr-anim-cube-out imghvr-anim-cube-out-right|imghvr-perspective imghvr-overflow', 8971 label: 'Cube Left' 8972 }, { 8973 value: 'imghvr-anim-cube-out imghvr-anim-cube-out-left|imghvr-perspective imghvr-overflow', 8974 label: 'Cube Right' 8975 }, { 8976 value: 'imghvr-anim-stack', 8977 label: 'Stack' 8978 }, { 8979 value: 'imghvr-anim-bounce-out', 8980 label: 'Bounce Out' 8981 }, { 8982 value: 'imghvr-anim-bounce-out-up', 8983 label: 'Bounce Out Up' 8984 }, { 8985 value: 'imghvr-anim-bounce-out-down', 8986 label: 'Bounce Out Down' 8987 }, { 8988 value: 'imghvr-anim-bounce-out-left', 8989 label: 'Bounce Out Left' 8990 }, { 8991 value: 'imghvr-anim-bounce-out-right', 8992 label: 'Bounce Out Right' 8993 }]; 8994}; 8995var Targets = function Targets() { 8996 return [{ 8997 value: 'none', 8998 label: 'None' 8999 }, { 9000 value: 'link', 9001 label: 'URL' 9002 }, { 9003 value: 'attachment', 9004 label: 'Attachment' 9005 }]; 9006}; 9007var OverlayEffects = function OverlayEffects() { 9008 return [{ 9009 value: 'imghvr-anim-none imghvr-anim-single', 9010 label: '-- Show Always --' 9011 }, { 9012 value: 'imghvr-anim-fade-in imghvr-anim-single', 9013 label: 'Fade' 9014 }, { 9015 value: 'imghvr-anim-zoom-in-alt imghvr-anim-single', 9016 label: 'Zoom In' 9017 }, { 9018 value: 'imghvr-anim-none imghvr-anim-bg-none imghvr-anim-single', 9019 label: 'No Background' 9020 }, { 9021 value: 'imghvr-anim-slide-in imghvr-anim-single imghvr-anim-slide-in-up', 9022 label: 'Slide Up' 9023 }, { 9024 value: 'imghvr-anim-slide-in imghvr-anim-single imghvr-anim-slide-in-down', 9025 label: 'Slide Down' 9026 }, { 9027 value: 'imghvr-anim-slide-in imghvr-anim-single imghvr-anim-slide-in-left', 9028 label: 'Slide Left' 9029 }, { 9030 value: 'imghvr-anim-slide-in imghvr-anim-single imghvr-anim-slide-in-right', 9031 label: 'Slide Right' 9032 }, { 9033 value: 'imghvr-anim-slide-in imghvr-anim-single imghvr-anim-slide-in-top-left', 9034 label: 'Slide Top Left' 9035 }, { 9036 value: 'imghvr-anim-slide-in imghvr-anim-single imghvr-anim-slide-in-top-right', 9037 label: 'Slide Top Right' 9038 }, { 9039 value: 'imghvr-anim-slide-in imghvr-anim-single imghvr-anim-slide-in-bottom-left', 9040 label: 'Slide Bottom Left' 9041 }, { 9042 value: 'imghvr-anim-slide-in imghvr-anim-single imghvr-anim-slide-in-bottom-right', 9043 label: 'Slide Bottom Right' 9044 }, { 9045 value: 'imghvr-anim-shutter-out imghvr-anim-single imghvr-anim-shutter-out-hor', 9046 label: 'Shutter Out Horizontal' 9047 }, { 9048 value: 'imghvr-anim-shutter-out imghvr-anim-single imghvr-anim-shutter-out-vert', 9049 label: 'Shutter Out Vertical' 9050 }, { 9051 value: 'imghvr-anim-shutter-out imghvr-anim-single imghvr-anim-shutter-out-diag-left', 9052 label: 'Shutter Out Diagonal Left' 9053 }, { 9054 value: 'imghvr-anim-shutter-out imghvr-anim-single imghvr-anim-shutter-out-diag-right', 9055 label: 'Shutter Out Diagonal Right' 9056 }, { 9057 value: 'imghvr-anim-shutter-in imghvr-anim-pseudo imghvr-anim-shutter-in-hor', 9058 label: 'Shutter In Horizontal' 9059 }, { 9060 value: 'imghvr-anim-shutter-in imghvr-anim-pseudo imghvr-anim-shutter-in-vert', 9061 label: 'Shutter In Vertical' 9062 }, { 9063 value: 'imghvr-anim-shutter-in-out imghvr-anim-pseudo imghvr-anim-shutter-in-out-hor', 9064 label: 'Shutter In Out Horizontal' 9065 }, { 9066 value: 'imghvr-anim-shutter-in-out imghvr-anim-pseudo imghvr-anim-shutter-in-out-vert', 9067 label: 'Shutter In Out Vertical' 9068 }, { 9069 value: 'imghvr-anim-shutter-in-out imghvr-anim-pseudo imghvr-anim-shutter-in-out-diag-left', 9070 label: 'Shutter In Out Diagonal Left' 9071 }, { 9072 value: 'imghvr-anim-shutter-in-out imghvr-anim-pseudo imghvr-anim-shutter-in-out-diag-right', 9073 label: 'Shutter In Out Diagonal Right' 9074 }, { 9075 value: 'imghvr-anim-strip-shutter imghvr-anim-pseudo imghvr-anim-strip-shutter-up', 9076 label: 'Strip Shutter Up' 9077 }, { 9078 value: 'imghvr-anim-strip-shutter imghvr-anim-pseudo imghvr-anim-strip-shutter-down', 9079 label: 'Strip Shutter Down' 9080 }, { 9081 value: 'imghvr-anim-strip-shutter imghvr-anim-pseudo imghvr-anim-strip-shutter-left', 9082 label: 'Strip Shutter Left' 9083 }, { 9084 value: 'imghvr-anim-strip-shutter imghvr-anim-pseudo imghvr-anim-strip-shutter-right', 9085 label: 'Strip Shutter Right' 9086 }, { 9087 value: 'imghvr-anim-strip-hor imghvr-anim-pseudo imghvr-anim-strip-hor-up', 9088 label: 'Strip Horizontal Up' 9089 }, { 9090 value: 'imghvr-anim-strip-hor imghvr-anim-pseudo imghvr-anim-strip-hor-down', 9091 label: 'Strip Horizontal Down' 9092 }, { 9093 value: 'imghvr-anim-strip-hor imghvr-anim-pseudo imghvr-anim-strip-hor-top-left', 9094 label: 'Strip Horizontal Top Left' 9095 }, { 9096 value: 'imghvr-anim-strip-hor imghvr-anim-pseudo imghvr-anim-strip-hor-top-right', 9097 label: 'Strip Horizontal Top Right' 9098 }, { 9099 value: 'imghvr-anim-strip-hor imghvr-anim-pseudo imghvr-anim-strip-hor-bottom-left', 9100 label: 'Strip Horizontal Bottom Left' 9101 }, { 9102 value: 'imghvr-anim-strip-hor imghvr-anim-pseudo imghvr-anim-strip-hor-bottom-right', 9103 label: 'Strip Horizontal Bottom Right' 9104 }, { 9105 value: 'imghvr-anim-strip-vert imghvr-anim-pseudo imghvr-anim-strip-vert-left', 9106 label: 'Strip Vertical Left' 9107 }, { 9108 value: 'imghvr-anim-strip-vert imghvr-anim-pseudo imghvr-anim-strip-vert-right', 9109 label: 'Strip Vertical Right' 9110 }, { 9111 value: 'imghvr-anim-strip-vert imghvr-anim-pseudo imghvr-anim-strip-vert-top-left', 9112 label: 'Strip Vertical Top Left' 9113 }, { 9114 value: 'imghvr-anim-strip-vert imghvr-anim-pseudo imghvr-anim-strip-vert-top-right', 9115 label: 'Strip Vertical Top Right' 9116 }, { 9117 value: 'imghvr-anim-strip-vert imghvr-anim-pseudo imghvr-anim-strip-vert-bottom-left', 9118 label: 'Strip Vertical Bottom Left' 9119 }, { 9120 value: 'imghvr-anim-strip-vert imghvr-anim-pseudo imghvr-anim-strip-vert-bottom-right', 9121 label: 'Strip Vertical Bottom Right' 9122 }, { 9123 value: 'imghvr-anim-pixel imghvr-anim-pseudo imghvr-anim-pixel-up', 9124 label: 'Pixel Up' 9125 }, { 9126 value: 'imghvr-anim-pixel imghvr-anim-pseudo imghvr-anim-pixel-down', 9127 label: 'Pixel Down' 9128 }, { 9129 value: 'imghvr-anim-pixel imghvr-anim-pseudo imghvr-anim-pixel-left', 9130 label: 'Pixel Left' 9131 }, { 9132 value: 'imghvr-anim-pixel imghvr-anim-pseudo imghvr-anim-pixel-right', 9133 label: 'Pixel Right' 9134 }, { 9135 value: 'imghvr-anim-pixel imghvr-anim-pseudo imghvr-anim-pixel-top-left', 9136 label: 'Pixel Top Left' 9137 }, { 9138 value: 'imghvr-anim-pixel imghvr-anim-pseudo imghvr-anim-pixel-top-right', 9139 label: 'Pixel Top Right' 9140 }, { 9141 value: 'imghvr-anim-pixel imghvr-anim-pseudo imghvr-anim-pixel-bottom-left', 9142 label: 'Pixel Bottom Left' 9143 }, { 9144 value: 'imghvr-anim-pixel imghvr-anim-pseudo imghvr-anim-pixel-bottom-right', 9145 label: 'Pixel Bottom Right' 9146 }, { 9147 value: 'imghvr-anim-pivot-in imghvr-anim-single imghvr-anim-pivot-in-top-left', 9148 label: 'Pivot Top Left' 9149 }, { 9150 value: 'imghvr-anim-pivot-in imghvr-anim-single imghvr-anim-pivot-in-top-right', 9151 label: 'Pivot Top Right' 9152 }, { 9153 value: 'imghvr-anim-pivot-in imghvr-anim-single imghvr-anim-pivot-in-bottom-left', 9154 label: 'Pivot Bottom Left' 9155 }, { 9156 value: 'imghvr-anim-pivot-in imghvr-anim-single imghvr-anim-pivot-in-bottom-right', 9157 label: 'Pivot Bottom Right' 9158 }, { 9159 value: 'imghvr-anim-blocks imghvr-anim-pseudo imghvr-anim-blocks-rotate-left', 9160 label: 'Blocks Rotate Left' 9161 }, { 9162 value: 'imghvr-anim-blocks imghvr-anim-pseudo imghvr-anim-blocks-rotate-right', 9163 label: 'Blocks Rotate Right' 9164 }, { 9165 value: 'imghvr-anim-blocks imghvr-anim-pseudo imghvr-anim-blocks-rotate-in-left', 9166 label: 'Blocks Rotate In Left' 9167 }, { 9168 value: 'imghvr-anim-blocks imghvr-anim-pseudo imghvr-anim-blocks-rotate-in-right', 9169 label: 'Blocks Rotate In Right' 9170 }, { 9171 value: 'imghvr-anim-blocks imghvr-anim-pseudo imghvr-anim-blocks-in', 9172 label: 'Blocks In' 9173 }, { 9174 value: 'imghvr-anim-blocks imghvr-anim-pseudo imghvr-anim-blocks-out', 9175 label: 'Blocks Out' 9176 }, { 9177 value: 'imghvr-anim-blocks imghvr-anim-pseudo imghvr-anim-blocks-float-up', 9178 label: 'Blocks Float Up' 9179 }, { 9180 value: 'imghvr-anim-blocks imghvr-anim-pseudo imghvr-anim-blocks-float-down', 9181 label: 'Blocks Float Down' 9182 }, { 9183 value: 'imghvr-anim-blocks imghvr-anim-pseudo imghvr-anim-blocks-float-left', 9184 label: 'Blocks Float Left' 9185 }, { 9186 value: 'imghvr-anim-blocks imghvr-anim-pseudo imghvr-anim-blocks-float-right', 9187 label: 'Blocks Float Right' 9188 }, { 9189 value: 'imghvr-anim-blocks imghvr-anim-pseudo imghvr-anim-blocks-zoom-top-left', 9190 label: 'Blocks Zoom Top Left' 9191 }, { 9192 value: 'imghvr-anim-blocks imghvr-anim-pseudo imghvr-anim-blocks-zoom-top-right', 9193 label: 'Blocks Zoom Top Right' 9194 }, { 9195 value: 'imghvr-anim-blocks imghvr-anim-pseudo imghvr-anim-blocks-zoom-bottom-left', 9196 label: 'Blocks Zoom Bottom Left' 9197 }, { 9198 value: 'imghvr-anim-blocks imghvr-anim-pseudo imghvr-anim-blocks-zoom-bottom-right', 9199 label: 'Blocks Zoom Bottom Right' 9200 }, { 9201 value: 'imghvr-anim-throw-in imghvr-anim-single imghvr-anim-throw-in-up', 9202 label: 'Throw Up' 9203 }, { 9204 value: 'imghvr-anim-throw-in imghvr-anim-single imghvr-anim-throw-in-down', 9205 label: 'Throw Down' 9206 }, { 9207 value: 'imghvr-anim-throw-in imghvr-anim-single imghvr-anim-throw-in-left', 9208 label: 'Throw Left' 9209 }, { 9210 value: 'imghvr-anim-throw-in imghvr-anim-single imghvr-anim-throw-in-right', 9211 label: 'Throw Right' 9212 }, { 9213 value: 'imghvr-anim-flash imghvr-anim-pseudo imghvr-anim-flash-top-left', 9214 label: 'Flash Top Left' 9215 }, { 9216 value: 'imghvr-anim-flash imghvr-anim-pseudo imghvr-anim-flash-top-right', 9217 label: 'Flash Top Right' 9218 }, { 9219 value: 'imghvr-anim-flash imghvr-anim-pseudo imghvr-anim-flash-bottom-left', 9220 label: 'Flash Bottom Left' 9221 }, { 9222 value: 'imghvr-anim-flash imghvr-anim-pseudo imghvr-anim-flash-bottom-right', 9223 label: 'Flash Bottom Right' 9224 }, { 9225 value: 'imghvr-anim-splash imghvr-anim-pseudo imghvr-anim-splash-up', 9226 label: 'Splash Up' 9227 }, { 9228 value: 'imghvr-anim-splash imghvr-anim-pseudo imghvr-anim-splash-down', 9229 label: 'Splash Down' 9230 }, { 9231 value: 'imghvr-anim-splash imghvr-anim-pseudo imghvr-anim-splash-left', 9232 label: 'Splash Left' 9233 }, { 9234 value: 'imghvr-anim-splash imghvr-anim-pseudo imghvr-anim-splash-right', 9235 label: 'Splash Right' 9236 }, { 9237 value: 'imghvr-anim-stack imghvr-anim-single imghvr-anim-stack-up', 9238 label: 'Stack Up' 9239 }, { 9240 value: 'imghvr-anim-stack imghvr-anim-single imghvr-anim-stack-down', 9241 label: 'Stack Down' 9242 }, { 9243 value: 'imghvr-anim-stack imghvr-anim-single imghvr-anim-stack-left', 9244 label: 'Stack Left' 9245 }, { 9246 value: 'imghvr-anim-stack imghvr-anim-single imghvr-anim-stack-right', 9247 label: 'Stack Right' 9248 }, { 9249 value: 'imghvr-anim-circle imghvr-anim-pseudo imghvr-anim-circle-up', 9250 label: 'Circle Up' 9251 }, { 9252 value: 'imghvr-anim-circle imghvr-anim-pseudo imghvr-anim-circle-down', 9253 label: 'Circle Down' 9254 }, { 9255 value: 'imghvr-anim-circle imghvr-anim-pseudo imghvr-anim-circle-left', 9256 label: 'Circle Left' 9257 }, { 9258 value: 'imghvr-anim-circle imghvr-anim-pseudo imghvr-anim-circle-right', 9259 label: 'Circle Right' 9260 }, { 9261 value: 'imghvr-anim-circle imghvr-anim-pseudo imghvr-anim-circle-top-left', 9262 label: 'Circle Top Left' 9263 }, { 9264 value: 'imghvr-anim-circle imghvr-anim-pseudo imghvr-anim-circle-top-right', 9265 label: 'Circle Top Right' 9266 }, { 9267 value: 'imghvr-anim-circle imghvr-anim-pseudo imghvr-anim-circle-bottom-left', 9268 label: 'Circle Bottom Left' 9269 }, { 9270 value: 'imghvr-anim-circle imghvr-anim-pseudo imghvr-anim-circle-bottom-right', 9271 label: 'Circle Bottom Right' 9272 }, { 9273 value: 'imghvr-anim-book imghvr-anim-pseudo imghvr-anim-book-open-horiz|imghvr-perspective imghvr-overflow', 9274 label: 'Book Open Horizontal' 9275 }, { 9276 value: 'imghvr-anim-book imghvr-anim-pseudo imghvr-anim-book-open-vert|imghvr-perspective imghvr-overflow', 9277 label: 'Book Open Vertical' 9278 }, { 9279 value: 'imghvr-anim-border-reveal imghvr-anim-pseudo', 9280 label: 'Border Reveal' 9281 }, { 9282 value: 'imghvr-anim-border-reveal imghvr-anim-pseudo imghvr-anim-border-reveal-horiz', 9283 label: 'Border Reveal Horizontal' 9284 }, { 9285 value: 'imghvr-anim-border-reveal imghvr-anim-pseudo imghvr-anim-border-reveal-vert', 9286 label: 'Border Reveal Vertical' 9287 }, { 9288 value: 'imghvr-anim-border-reveal imghvr-anim-pseudo imghvr-anim-border-reveal-corners-2', 9289 label: 'Border Reveal Diagonal Left' 9290 }, { 9291 value: 'imghvr-anim-border-reveal imghvr-anim-pseudo imghvr-anim-border-reveal-corners-1', 9292 label: 'Border Reveal Diagonal Right' 9293 }, { 9294 value: 'imghvr-anim-border-reveal imghvr-anim-pseudo imghvr-anim-border-reveal-top-left', 9295 label: 'Border Reveal Top Left' 9296 }, { 9297 value: 'imghvr-anim-border-reveal imghvr-anim-pseudo imghvr-anim-border-reveal-top-right', 9298 label: 'Border Reveal Top Right' 9299 }, { 9300 value: 'imghvr-anim-border-reveal imghvr-anim-pseudo imghvr-anim-border-reveal-bottom-left', 9301 label: 'Border Reveal Bottom Left' 9302 }, { 9303 value: 'imghvr-anim-border-reveal imghvr-anim-pseudo imghvr-anim-border-reveal-bottom-right', 9304 label: 'Border Reveal Bottom Right' 9305 }, { 9306 value: 'imghvr-anim-border-reveal imghvr-anim-pseudo imghvr-anim-border-reveal-cc-1', 9307 label: 'Border Reveal Clockwise' 9308 }, { 9309 value: 'imghvr-anim-border-reveal imghvr-anim-pseudo imghvr-anim-border-reveal-ccc-1', 9310 label: 'Border Reveal Anti Clockwise' 9311 }, { 9312 value: 'imghvr-anim-border-reveal imghvr-anim-pseudo imghvr-anim-border-reveal-cc-2', 9313 label: 'Border Reveal Split Clockwise' 9314 }, { 9315 value: 'imghvr-anim-border-reveal imghvr-anim-pseudo imghvr-anim-border-reveal-ccc-2', 9316 label: 'Border Reveal Split Anti Clockwise' 9317 }, { 9318 value: 'imghvr-anim-border-reveal imghvr-anim-pseudo imghvr-anim-border-reveal-cc-3', 9319 label: 'Border Reveal Attach Clockwise' 9320 }, { 9321 value: 'imghvr-anim-border-reveal imghvr-anim-pseudo imghvr-anim-border-reveal-ccc-3', 9322 label: 'Border Reveal Attach Anti Clockwise' 9323 }, { 9324 value: 'imghvr-anim-blinds imghvr-anim-pseudo imghvr-anim-blinds-horiz', 9325 label: 'Blinds Horizontal' 9326 }, { 9327 value: 'imghvr-anim-blinds imghvr-anim-pseudo imghvr-anim-blinds-vert', 9328 label: 'Blinds Vertical' 9329 }, { 9330 value: 'imghvr-anim-blinds imghvr-anim-pseudo imghvr-anim-blinds-up', 9331 label: 'Blinds Up' 9332 }, { 9333 value: 'imghvr-anim-blinds imghvr-anim-pseudo imghvr-anim-blinds-down', 9334 label: 'Blinds Down' 9335 }, { 9336 value: 'imghvr-anim-blinds imghvr-anim-pseudo imghvr-anim-blinds-left', 9337 label: 'Blinds Left' 9338 }, { 9339 value: 'imghvr-anim-blinds imghvr-anim-pseudo imghvr-anim-blinds-right', 9340 label: 'Blinds Right' 9341 }]; 9342}; 9343var ContentEffects = function ContentEffects() { 9344 return [{ 9345 value: 'imghvr-anim-none', 9346 label: '-- Show Always --' 9347 }, { 9348 value: 'imghvr-anim-fade-in', 9349 label: 'Fade' 9350 }, { 9351 value: 'imghvr-anim-zoom-in-alt', 9352 label: 'Zoom In' 9353 }, { 9354 value: 'imghvr-anim-slide-in imghvr-anim-slide-in-up', 9355 label: 'Slide Up' 9356 }, { 9357 value: 'imghvr-anim-slide-in imghvr-anim-slide-in-down', 9358 label: 'Slide Down' 9359 }, { 9360 value: 'imghvr-anim-slide-in imghvr-anim-slide-in-left', 9361 label: 'Slide Left' 9362 }, { 9363 value: 'imghvr-anim-slide-in imghvr-anim-slide-in-right', 9364
9364 label: 'Slide Right' 9365 }, { 9366 value: 'imghvr-anim-slide-in imghvr-anim-slide-in-top-left', 9367 label: 'Slide Top Left' 9368 }, { 9369 value: 'imghvr-anim-slide-in imghvr-anim-slide-in-top-right', 9370 label: 'Slide Top Right' 9371 }, { 9372 value: 'imghvr-anim-slide-in imghvr-anim-slide-in-bottom-left', 9373 label: 'Slide Bottom Left' 9374 }, { 9375 value: 'imghvr-anim-slide-in imghvr-anim-slide-in-bottom-right', 9376 label: 'Slide Bottom Right' 9377 }, { 9378 value: 'imghvr-anim-fade imghvr-anim-fade-up', 9379 label: 'Fade Up' 9380 }, { 9381 value: 'imghvr-anim-fade imghvr-anim-fade-down', 9382 label: 'Fade Down' 9383 }, { 9384 value: 'imghvr-anim-fade imghvr-anim-fade-left', 9385 label: 'Fade Left' 9386 }, { 9387 value: 'imghvr-anim-fade imghvr-anim-fade-right', 9388 label: 'Fade Right' 9389 }, { 9390 value: 'imghvr-anim-hinge imghvr-anim-hinge-up|imghvr-perspective', 9391 label: 'Hinge Up' 9392 }, { 9393 value: 'imghvr-anim-hinge imghvr-anim-hinge-down|imghvr-perspective', 9394 label: 'Hinge Down' 9395 }, { 9396 value: 'imghvr-anim-hinge imghvr-anim-hinge-left|imghvr-perspective', 9397 label: 'Hinge Left' 9398 }, { 9399 value: 'imghvr-anim-hinge imghvr-anim-hinge-right|imghvr-perspective', 9400 label: 'Hinge Right' 9401 }, { 9402 value: 'imghvr-anim-flip imghvr-anim-flip-hor', 9403 label: 'Flip Horizontal' 9404 }, { 9405 value: 'imghvr-anim-flip imghvr-anim-flip-vert', 9406 label: 'Flip Vertical' 9407 }, { 9408 value: 'imghvr-anim-flip imghvr-anim-flip-diag-left', 9409 label: 'Flip Diagonal Left' 9410 }, { 9411 value: 'imghvr-anim-flip imghvr-anim-flip-diag-right', 9412 label: 'Flip Diagonal Right' 9413 }, { 9414 value: 'imghvr-anim-fold imghvr-anim-fold-down', 9415 label: 'Fold Up' 9416 }, { 9417 value: 'imghvr-anim-fold imghvr-anim-fold-up', 9418 label: 'Fold Down' 9419 }, { 9420 value: 'imghvr-anim-fold imghvr-anim-fold-left', 9421 label: 'Fold Left' 9422 }, { 9423 value: 'imghvr-anim-fold imghvr-anim-fold-right', 9424 label: 'Fold Right' 9425 }, { 9426 value: 'imghvr-anim-zoom-in-flip imghvr-anim-zoom-in-flip-hor', 9427 label: 'Zoom In Flip Horizontal' 9428 }, { 9429 value: 'imghvr-anim-zoom-in-flip imghvr-anim-zoom-in-flip-vert', 9430 label: 'Zoom In Flip Vertical' 9431 }, { 9432 value: 'imghvr-anim-pivot-in imghvr-anim-pivot-in-top-left', 9433 label: 'Pivot Top Left' 9434 }, { 9435 value: 'imghvr-anim-pivot-in imghvr-anim-pivot-in-top-right', 9436 label: 'Pivot Top Right' 9437 }, { 9438 value: 'imghvr-anim-pivot-in imghvr-anim-pivot-in-bottom-left', 9439 label: 'Pivot Bottom Left' 9440 }, { 9441 value: 'imghvr-anim-pivot-in imghvr-anim-pivot-in-bottom-right', 9442 label: 'Pivot Bottom Right' 9443 }, { 9444 value: 'imghvr-anim-throw-in imghvr-anim-throw-in-up', 9445 label: 'Throw Up' 9446 }, { 9447 value: 'imghvr-anim-throw-in imghvr-anim-throw-in-down', 9448 label: 'Throw Down' 9449 }, { 9450 value: 'imghvr-anim-throw-in imghvr-anim-throw-in-left', 9451 label: 'Throw Left' 9452 }, { 9453 value: 'imghvr-anim-throw-in imghvr-anim-throw-in-right', 9454 label: 'Throw Right' 9455 }, { 9456 value: 'imghvr-anim-cube-in imghvr-anim-cube-in-up|imghvr-perspective imghvr-overflow', 9457 label: 'Cube Up' 9458 }, { 9459 value: 'imghvr-anim-cube-in imghvr-anim-cube-in-down|imghvr-perspective imghvr-overflow', 9460 label: 'Cube Down' 9461 }, { 9462 value: 'imghvr-anim-cube-in imghvr-anim-cube-in-right|imghvr-perspective imghvr-overflow', 9463 label: 'Cube Left' 9464 }, { 9465 value: 'imghvr-anim-cube-in imghvr-anim-cube-in-left|imghvr-perspective imghvr-overflow', 9466 label: 'Cube Right' 9467 }, { 9468 value: 'imghvr-anim-lightspeed-in imghvr-anim-lightspeed-in-left', 9469 label: 'Lightspeed In Left' 9470 }, { 9471 value: 'imghvr-anim-lightspeed-in imghvr-anim-lightspeed-in-right', 9472 label: 'Lightspeed In Right' 9473 }, { 9474 value: 'imghvr-anim-bounce-in', 9475 label: 'Bounce In' 9476 }, { 9477 value: 'imghvr-anim-bounce-in-up', 9478 label: 'Bounce In Up' 9479 }, { 9480 value: 'imghvr-anim-bounce-in-down', 9481 label: 'Bounce In Down' 9482 }, { 9483 value: 'imghvr-anim-bounce-in-left', 9484 label: 'Bounce In Left' 9485 }, { 9486 value: 'imghvr-anim-bounce-in-right', 9487 label: 'Bounce In Right' 9488 }, { 9489 value: 'imghvr-anim-shift imghvr-anim-shift-top-left|imghvr-overflow', 9490 label: 'Shift Top Left' 9491 }, { 9492 value: 'imghvr-anim-shift imghvr-anim-shift-top-right|imghvr-overflow', 9493 label: 'Shift Top Right' 9494 }, { 9495 value: 'imghvr-anim-shift imghvr-anim-shift-bottom-left|imghvr-overflow', 9496 label: 'Shift Bottom Left' 9497 }, { 9498 value: 'imghvr-anim-shift imghvr-anim-shift-bottom-right|imghvr-overflow', 9499 label: 'Shift Bottom Right' 9500 }]; 9501}; 9502var ContentAppearance = function ContentAppearance() { 9503 return [{ 9504 value: 'imghvr-anim-none', 9505 label: '-- Show Always --' 9506 }, { 9507 value: 'imghvr-anim-fade-content imghvr-anim-fade-content-up', 9508 label: 'Fade Up' 9509 }, { 9510 value: 'imghvr-anim-fade-content imghvr-anim-fade-content-down', 9511 label: 'Fade Down' 9512 }, { 9513 value: 'imghvr-anim-fade-content imghvr-anim-fade-content-left', 9514 label: 'Fade Left' 9515 }, { 9516 value: 'imghvr-anim-fade-content imghvr-anim-fade-content-right', 9517 label: 'Fade Right' 9518 }, { 9519 value: 'imghvr-anim-slide-content imghvr-anim-slide-content-up', 9520 label: 'Slide Up' 9521 }, { 9522 value: 'imghvr-anim-slide-content imghvr-anim-slide-content-down', 9523 label: 'Slide Down' 9524 }, { 9525 value: 'imghvr-anim-zoom-content imghvr-anim-zoom-content-in', 9526 label: 'Zoom In' 9527 }, { 9528 value: 'imghvr-anim-zoom-content imghvr-anim-zoom-content-out', 9529 label: 'Zoom Out' 9530 }, { 9531 value: 'imghvr-anim-flip-content imghvr-anim-flip-content-x', 9532 label: 'Flip X' 9533 }, { 9534 value: 'imghvr-anim-flip-content imghvr-anim-flip-content-y', 9535 label: 'Flip Y' 9536 }]; 9537}; 9538var HAlign = function HAlign() { 9539 return [{ 9540 value: 'left', 9541 label: 'left' 9542 }, { 9543 value: 'center', 9544 label: 'center' 9545 }, { 9546 value: 'right', 9547 label: 'right' 9548 }]; 9549}; 9550var VAlign = function VAlign() { 9551 return [{ 9552 value: 'flex-start', 9553 label: 'top' 9554 }, { 9555 value: 'center', 9556 label: 'middle' 9557 }, { 9558 value: 'flex-end', 9559 label: 'bottom' 9560 }]; 9561}; 9562var ButtonsDirection = function ButtonsDirection() { 9563 return [{ 9564 value: 'row', 9565 label: 'Horizontal' 9566 }, { 9567 value: 'column', 9568 label: 'Vertical' 9569 }]; 9570}; 9571var ButtonsHAlign = function ButtonsHAlign() { 9572 return [{ 9573 value: 'right', 9574 label: 'left' 9575 }, { 9576 value: 'center', 9577 label: 'center' 9578 }, { 9579 value: 'left', 9580 label: 'right' 9581 }]; 9582}; 9583var ButtonsVAlign = function ButtonsVAlign() { 9584 return [{ 9585 value: 'bottom', 9586 label: 'top' 9587 }, { 9588 value: 'center', 9589 label: 'center' 9590 }, { 9591 value: 'top', 9592 label: 'bottom' 9593 }]; 9594}; 9595var ButtonsIconAlign = function ButtonsIconAlign() { 9596 return [{ 9597 value: 'left', 9598 label: 'left' 9599 }, { 9600 value: 'right', 9601 label: 'right' 9602 }]; 9603}; 9604var MatchHeight = function MatchHeight() { 9605 return [{ 9606 value: '100%', 9607 label: 'Yes' 9608 }, { 9609 value: 'auto', 9610 label: 'No' 9611 }]; 9612}; 9613var BorderType = function BorderType() { 9614 return [{ 9615 value: 'none', 9616 label: 'None' 9617 }, { 9618 value: 'solid', 9619 label: 'Solid' 9620 }, { 9621 value: 'double', 9622 label: 'Double' 9623 }, { 9624 value: 'dotted', 9625 label: 'Dotted' 9626 }, { 9627 value: 'dashed', 9628 label: 'Dashed' 9629 }, { 9630 value: 'groove', 9631 label: 'Groove' 9632 }]; 9633}; 9634var Position = function Position() { 9635 return [{ 9636 value: '', 9637 label: 'Default' 9638 }, { 9639 value: 'top left', 9640 label: 'Top Left' 9641 }, { 9642 value: 'top center', 9643 label: 'Top Center' 9644 }, { 9645 value: 'top right', 9646 label: 'Top Right' 9647 }, { 9648 value: 'center left', 9649 label: 'Center Left' 9650 }, { 9651 value: 'center center', 9652 label: 'Center Center' 9653 }, { 9654 value: 'center right', 9655 label: 'Center Right' 9656 }, { 9657 value: 'bottom left', 9658 label: 'Bottom Left' 9659 }, { 9660 value: 'bottom center', 9661 label: 'Bottom Center' 9662 }, { 9663 value: 'bottom right', 9664 label: 'Bottom Right' 9665 }]; 9666}; 9667var Attachment = function Attachment() { 9668 return [{ 9669 value: '', 9670 label: 'Default' 9671 }, { 9672 value: 'scroll', 9673 label: 'Scroll' 9674 }, { 9675 value: 'fixed', 9676 label: 'Fixed' 9677 }]; 9678}; 9679var Repeat = function Repeat() { 9680 return [{ 9681 value: '', 9682 label: 'Default' 9683 }, { 9684 value: 'no-repeat', 9685 label: 'No-repeat' 9686 }, { 9687 value: 'repeat', 9688 label: 'Repeat' 9689 }, { 9690 value: 'repeat-x', 9691 label: 'Repeat-x' 9692 }, { 9693 value: 'repeat-y', 9694 label: 'Repeat-y' 9695 }]; 9696}; 9697var Size = function Size() { 9698 return [{ 9699 value: '', 9700 label: 'Default' 9701 }, { 9702 value: 'auto', 9703 label: 'Auto' 9704 }, { 9705 value: 'cover', 9706 label: 'Cover' 9707 }, { 9708 value: 'contain', 9709 label: 'Contain' 9710 }]; 9711}; 9712var RadialPosition = function RadialPosition() { 9713 return [{ 9714 value: 'center center', 9715 label: 'Center Center' 9716 }, { 9717 value: 'center left', 9718 label: 'Center Left' 9719 }, { 9720 value: 'center right', 9721 label: 'Center Right' 9722 }, { 9723 value: 'top center', 9724 label: 'Top Center' 9725 }, { 9726 value: 'top left', 9727 label: 'Top Left' 9728 }, { 9729 value: 'top right', 9730 label: 'Top Right' 9731 }, { 9732 value: 'bottom center', 9733 label: 'Bottom Center' 9734 }, { 9735 value: 'bottom left', 9736 label: 'Bottom Left' 9737 }, { 9738 value: 'bottom right', 9739 label: 'Bottom Right' 9740 }]; 9741}; 9742var GradientType = function GradientType() { 9743 return [{ 9744 value: 'linear', 9745 label: 'Linear' 9746 }, { 9747 value: 'radial', 9748 label: 'Radial' 9749 }]; 9750}; 9751var FontTransform = function FontTransform() { 9752 return [{ 9753 value: '', 9754 label: 'Default' 9755 }, { 9756 value: 'none', 9757 label: 'None' 9758 }, { 9759 value: 'capitalize', 9760 label: 'Capitalize' 9761 }, { 9762 value: 'uppercase', 9763 label: 'Uppercase' 9764 }, { 9765 value: 'lowercase', 9766 label: 'Lowercase' 9767 }, { 9768 value: 'initial', 9769 label: 'Initial' 9770 }, { 9771 value: 'inherit', 9772 label: 'Inherit' 9773 }]; 9774}; 9775var FontStyle = function FontStyle() { 9776 return [{ 9777 value: '', 9778 label: 'Default' 9779 }, { 9780 value: 'normal', 9781 label: 'Normal' 9782 }, { 9783 value: 'italic', 9784 label: 'Italic' 9785 }, { 9786 value: 'oblique', 9787 label: 'Oblique' 9788 }]; 9789}; 9790var FontDecoration = function FontDecoration() { 9791 return [{ 9792 value: '', 9793 label: 'Default' 9794 }, { 9795 value: 'none', 9796 label: 'None' 9797 }, { 9798 value: 'underline', 9799 label: 'Underline' 9800 }, { 9801 value: 'overline', 9802 label: 'Overline' 9803 }, { 9804 value: 'line-through', 9805 label: 'Line Through' 9806 }]; 9807}; 9808var Icons = function Icons() { 9809 return ['fab fa-500px', 'fab fa-accessible-icon', 'fab fa-accusoft', 'fas fa-ad', 'far fa-address-book', 'fas fa-address-book', 'far fa-address-card', 'fas fa-address-card', 'fas fa-adjust', 'fab fa-adn', 'fab fa-adversal', 'fab fa-affiliatetheme', 'fas fa-air-freshener', 'fab fa-algolia', 'fas fa-align-center', 'fas fa-align-justify', 'fas fa-align-left', 'fas fa-align-right', 'fab fa-alipay', 'fas fa-allergies', 'fab fa-amazon', 'fab fa-amazon-pay', 'fas fa-ambulance', 'fas fa-american-sign-language-interpreting', 'fab fa-amilia', 'fas fa-anchor', 'fab fa-android', 'fab fa-angellist', 'fas fa-angle-double-down', 'fas fa-angle-double-left', 'fas fa-angle-double-right', 'fas fa-angle-double-up', 'fas fa-angle-down', 'fas fa-angle-left', 'fas fa-angle-right', 'fas fa-angle-up', 'far fa-angry', 'fas fa-angry', 'fab fa-angrycreative', 'fab fa-angular', 'fas fa-ankh', 'fab fa-app-store', 'fab fa-app-store-ios', 'fab fa-apper', 'fab fa-apple', 'fas fa-apple-alt', 'fab fa-apple-pay', 'fas fa-archive', 'fas fa-archway', 'far fa-arrow-alt-circle-down', 'fas fa-arrow-alt-circle-down', 'far fa-arrow-alt-circle-left', 'fas fa-arrow-alt-circle-left', 'far fa-arrow-alt-circle-right', 'fas fa-arrow-alt-circle-right', 'far fa-arrow-alt-circle-up', 'fas fa-arrow-alt-circle-up', 'fas fa-arrow-circle-down', 'fas fa-arrow-circle-left', 'fas fa-arrow-circle-right', 'fas fa-arrow-circle-up', 'fas fa-arrow-down', 'fas fa-arrow-left', 'fas fa-arrow-right', 'fas fa-arrow-up', 'fas fa-arrows-alt', 'fas fa-arrows-alt-h', 'fas fa-arrows-alt-v', 'fas fa-assistive-listening-systems', 'fas fa-asterisk', 'fab fa-asymmetrik', 'fas fa-at', 'fas fa-atlas', 'fas fa-atom', 'fab fa-audible', 'fas fa-audio-description', 'fab fa-autoprefixer', 'fab fa-avianex', 'fab fa-aviato', 'fas fa-award', 'fab fa-aws', 'fas fa-backspace', 'fas fa-backward', 'fas fa-balance-scale', 'fas fa-ban', 'fas fa-band-aid', 'fab fa-bandcamp', 'fas fa-barcode', 'fas fa-bars', 'fas fa-baseball-ball', 'fas fa-basketball-ball', 'fas fa-bath', 'fas fa-battery-empty', 'fas fa-battery-full', 'fas fa-battery-half', 'fas fa-battery-quarter', 'fas fa-battery-three-quarters', 'fas fa-bed', 'fas fa-beer', 'fab fa-behance', 'fab fa-behance-square', 'far fa-bell', 'fas fa-bell', 'far fa-bell-slash', 'fas fa-bell-slash', 'fas fa-bezier-curve', 'fas fa-bible', 'fas fa-bicycle', 'fab fa-bimobject', 'fas fa-binoculars', 'fas fa-birthday-cake', 'fab fa-bitbucket', 'fab fa-bitcoin', 'fab fa-bity', 'fab fa-black-tie', 'fab fa-blackberry', 'fas fa-blender', 'fas fa-blind', 'fab fa-blogger', 'fab fa-blogger-b', 'fab fa-bluetooth', 'fab fa-bluetooth-b', 'fas fa-bold', 'fas fa-bolt', 'fas fa-bomb', 'fas fa-bone', 'fas fa-bong', 'fas fa-book', 'fas fa-book-open', 'fas fa-book-reader', 'far fa-bookmark', 'fas fa-bookmark', 'fas fa-bowling-ball', 'fas fa-box', 'fas fa-box-open', 'fas fa-boxes', 'fas fa-braille', 'fas fa-brain', 'fas fa-briefcase', 'fas fa-briefcase-medical', 'fas fa-broadcast-tower', 'fas fa-broom', 'fas fa-brush', 'fab fa-btc', 'fas fa-bug', 'far fa-building', 'fas fa-building', 'fas fa-bullhorn', 'fas fa-bullseye', 'fas fa-burn', 'fab fa-buromobelexperte', 'fas fa-bus', 'fas fa-bus-alt', 'fas fa-business-time', 'fab fa-buysellads', 'fas fa-calculator', 'far fa-calendar', 'fas fa-calendar', 'far fa-calendar-alt', 'fas fa-calendar-alt', 'far fa-calendar-check', 'fas fa-calendar-check', 'far fa-calendar-minus', 'fas fa-calendar-minus', 'far fa-calendar-plus', 'fas fa-calendar-plus', 'far fa-calendar-times', 'fas fa-calendar-times', 'fas fa-camera', 'fas fa-camera-retro', 'fas fa-cannabis', 'fas fa-capsules', 'fas fa-car', 'fas fa-car-alt', 'fas fa-car-battery', 'fas fa-car-crash', 'fas fa-car-side', 'fas fa-caret-down', 'fas fa-caret-left', 'fas fa-caret-right', 'far fa-caret-square-down', 'fas fa-caret-square-down', 'far fa-caret-square-left', 'fas fa-caret-square-left', 'far fa-caret-square-right', 'fas fa-caret-square-right', 'far fa-caret-square-up', 'fas fa-caret-square-up', 'fas fa-caret-up', 'fas fa-cart-arrow-down', 'fas fa-cart-plus', 'fab fa-cc-amazon-pay', 'fab fa-cc-amex', 'fab fa-cc-apple-pay', 'fab fa-cc-diners-club', 'fab fa-cc-discover', 'fab fa-cc-jcb', 'fab fa-cc-mastercard', 'fab fa-cc-paypal', 'fab fa-cc-stripe', 'fab fa-cc-visa', 'fab fa-centercode', 'fas fa-certificate', 'fas fa-chalkboard', 'fas fa-chalkboard-teacher', 'fas fa-charging-station', 'fas fa-chart-area', 'far fa-chart-bar', 'fas fa-chart-bar', 'fas fa-chart-line', 'fas fa-chart-pie', 'fas fa-check', 'far fa-check-circle', 'fas fa-check-circle', 'fas fa-check-double', 'far fa-check-square', 'fas fa-check-square', 'fas fa-chess', 'fas fa-chess-bishop', 'fas fa-chess-board', 'fas fa-chess-king', 'fas fa-chess-knight', 'fas fa-chess-pawn', 'fas fa-chess-queen', 'fas fa-chess-rook', 'fas fa-chevron-circle-down', 'fas fa-chevron-circle-left', 'fas fa-chevron-circle-right', 'fas fa-chevron-circle-up', 'fas fa-chevron-down', 'fas fa-chevron-left', 'fas fa-chevron-right', 'fas fa-chevron-up', 'fas fa-child', 'fab fa-chrome', 'fas fa-church', 'far fa-circle', 'fas fa-circle', 'fas fa-circle-notch', 'fas fa-city', 'far fa-clipboard', 'fas fa-clipboard', 'fas fa-clipboard-check', 'fas fa-clipboard-list', 'far fa-clock', 'fas fa-clock', 'far fa-clone', 'fas fa-clone', 'far fa-closed-captioning', 'fas fa-closed-captioning', 'fas fa-cloud', 'fas fa-cloud-download-alt', 'fas fa-cloud-upload-alt', 'fab fa-cloudscale', 'fab fa-cloudsmith', 'fab fa-cloudversify', 'fas fa-cocktail', 'fas fa-code', 'fas fa-code-branch', 'fab fa-codepen', 'fab fa-codiepie', 'fas fa-coffee', 'fas fa-cog', 'fas fa-cogs', 'fas fa-coins', 'fas fa-columns', 'far fa-comment', 'fas fa-comment', 'far fa-comment-alt', 'fas fa-comment-alt', 'fas fa-comment-dollar', 'far fa-comment-dots', 'fas fa-comment-dots', 'fas fa-comment-slash', 'far fa-comments', 'fas fa-comments', 'fas fa-comments-dollar', 'fas fa-compact-disc', 'far fa-compass', 'fas fa-compass', 'fas fa-compress', 'fas fa-concierge-bell', 'fab fa-connectdevelop', 'fab fa-contao', 'fas fa-cookie', 'fas fa-cookie-bite', 'far fa-copy', 'fas fa-copy', 'far fa-copyright', 'fas fa-copyright', 'fas fa-couch', 'fab fa-cpanel', 'fab fa-creative-common
9809s', 'fab fa-creative-commons-by', 'fab fa-creative-commons-nc', 'fab fa-creative-commons-nc-eu', 'fab fa-creative-commons-nc-jp', 'fab fa-creative-commons-nd', 'fab fa-creative-commons-pd', 'fab fa-creative-commons-pd-alt', 'fab fa-creative-commons-remix', 'fab fa-creative-commons-sa', 'fab fa-creative-commons-sampling', 'fab fa-creative-commons-sampling-plus', 'fab fa-creative-commons-share', 'far fa-credit-card', 'fas fa-credit-card', 'fas fa-crop', 'fas fa-crop-alt', 'fas fa-cross', 'fas fa-crosshairs', 'fas fa-crow', 'fas fa-crown', 'fab fa-css3', 'fab fa-css3-alt', 'fas fa-cube', 'fas fa-cubes', 'fas fa-cut', 'fab fa-cuttlefish', 'fab fa-d-and-d', 'fab fa-dashcube', 'fas fa-database', 'fas fa-deaf', 'fab fa-delicious', 'fab fa-deploydog', 'fab fa-deskpro', 'fas fa-desktop', 'fab fa-deviantart', 'fas fa-dharmachakra', 'fas fa-diagnoses', 'fas fa-dice', 'fas fa-dice-five', 'fas fa-dice-four', 'fas fa-dice-one', 'fas fa-dice-six', 'fas fa-dice-three', 'fas fa-dice-two', 'fab fa-digg', 'fab fa-digital-ocean', 'fas fa-digital-tachograph', 'fas fa-directions', 'fab fa-discord', 'fab fa-discourse', 'fas fa-divide', 'far fa-dizzy', 'fas fa-dizzy', 'fas fa-dna', 'fab fa-dochub', 'fab fa-docker', 'fas fa-dollar-sign', 'fas fa-dolly', 'fas fa-dolly-flatbed', 'fas fa-donate', 'fas fa-door-closed', 'fas fa-door-open', 'far fa-dot-circle', 'fas fa-dot-circle', 'fas fa-dove', 'fas fa-download', 'fab fa-draft2digital', 'fas fa-drafting-compass', 'fas fa-draw-polygon', 'fab fa-dribbble', 'fab fa-dribbble-square', 'fab fa-dropbox', 'fas fa-drum', 'fas fa-drum-steelpan', 'fab fa-drupal', 'fas fa-dumbbell', 'fab fa-dyalog', 'fab fa-earlybirds', 'fab fa-ebay', 'fab fa-edge', 'far fa-edit', 'fas fa-edit', 'fas fa-eject', 'fab fa-elementor', 'fas fa-ellipsis-h', 'fas fa-ellipsis-v', 'fab fa-ello', 'fab fa-ember', 'fab fa-empire', 'far fa-envelope', 'fas fa-envelope', 'far fa-envelope-open', 'fas fa-envelope-open', 'fas fa-envelope-open-text', 'fas fa-envelope-square', 'fab fa-envira', 'fas fa-equals', 'fas fa-eraser', 'fab fa-erlang', 'fab fa-ethereum', 'fab fa-etsy', 'fas fa-euro-sign', 'fas fa-exchange-alt', 'fas fa-exclamation', 'fas fa-exclamation-circle', 'fas fa-exclamation-triangle', 'fas fa-expand', 'fas fa-expand-arrows-alt', 'fab fa-expeditedssl', 'fas fa-external-link-alt', 'fas fa-external-link-square-alt', 'far fa-eye', 'fas fa-eye', 'fas fa-eye-dropper', 'far fa-eye-slash', 'fas fa-eye-slash', 'fab fa-facebook', 'fab fa-facebook-f', 'fab fa-facebook-messenger', 'fab fa-facebook-square', 'fas fa-fast-backward', 'fas fa-fast-forward', 'fas fa-fax', 'fas fa-feather', 'fas fa-feather-alt', 'fas fa-female', 'fas fa-fighter-jet', 'far fa-file', 'fas fa-file', 'far fa-file-alt', 'fas fa-file-alt', 'far fa-file-archive', 'fas fa-file-archive', 'far fa-file-audio', 'fas fa-file-audio', 'far fa-file-code', 'fas fa-file-code', 'fas fa-file-contract', 'fas fa-file-download', 'far fa-file-excel', 'fas fa-file-excel', 'fas fa-file-export', 'far fa-file-image', 'fas fa-file-image', 'fas fa-file-import', 'fas fa-file-invoice', 'fas fa-file-invoice-dollar', 'fas fa-file-medical', 'fas fa-file-medical-alt', 'far fa-file-pdf', 'fas fa-file-pdf', 'far fa-file-powerpoint', 'fas fa-file-powerpoint', 'fas fa-file-prescription', 'fas fa-file-signature', 'fas fa-file-upload', 'far fa-file-video', 'fas fa-file-video', 'far fa-file-word', 'fas fa-file-word', 'fas fa-fill', 'fas fa-fill-drip', 'fas fa-film', 'fas fa-filter', 'fas fa-fingerprint', 'fas fa-fire', 'fas fa-fire-extinguisher', 'fab fa-firefox', 'fas fa-first-aid', 'fab fa-first-order', 'fab fa-first-order-alt', 'fab fa-firstdraft', 'fas fa-fish', 'far fa-flag', 'fas fa-flag', 'fas fa-flag-checkered', 'fas fa-flask', 'fab fa-flickr', 'fab fa-flipboard', 'far fa-flushed', 'fas fa-flushed', 'fab fa-fly', 'far fa-folder', 'fas fa-folder', 'fas fa-folder-minus', 'far fa-folder-open', 'fas fa-folder-open', 'fas fa-folder-plus', 'fas fa-font', 'fab fa-font-awesome', 'fab fa-font-awesome-alt', 'fab fa-font-awesome-flag', 'fab fa-font-awesome-logo-full', 'far fa-font-awesome-logo-full', 'fas fa-font-awesome-logo-full', 'fab fa-fonticons', 'fab fa-fonticons-fi', 'fas fa-football-ball', 'fab fa-fort-awesome', 'fab fa-fort-awesome-alt', 'fab fa-forumbee', 'fas fa-forward', 'fab fa-foursquare', 'fab fa-free-code-camp', 'fab fa-freebsd', 'fas fa-frog', 'far fa-frown', 'fas fa-frown', 'far fa-frown-open', 'fas fa-frown-open', 'fab fa-fulcrum', 'fas fa-funnel-dollar', 'far fa-futbol', 'fas fa-futbol', 'fab fa-galactic-republic', 'fab fa-galactic-senate', 'fas fa-gamepad', 'fas fa-gas-pump', 'fas fa-gavel', 'far fa-gem', 'fas fa-gem', 'fas fa-genderless', 'fab fa-get-pocket', 'fab fa-gg', 'fab fa-gg-circle', 'fas fa-gift', 'fab fa-git', 'fab fa-git-square', 'fab fa-github', 'fab fa-github-alt', 'fab fa-github-square', 'fab fa-gitkraken', 'fab fa-gitlab', 'fab fa-gitter', 'fas fa-glass-martini', 'fas fa-glass-martini-alt', 'fas fa-glasses', 'fab fa-glide', 'fab fa-glide-g', 'fas fa-globe', 'fas fa-globe-africa', 'fas fa-globe-americas', 'fas fa-globe-asia', 'fab fa-gofore', 'fas fa-golf-ball', 'fab fa-goodreads', 'fab fa-goodreads-g', 'fab fa-google', 'fab fa-google-drive', 'fab fa-google-play', 'fab fa-google-plus', 'fab fa-google-plus-g', 'fab fa-google-plus-square', 'fab fa-google-wallet', 'fas fa-gopuram', 'fas fa-graduation-cap', 'fab fa-gratipay', 'fab fa-grav', 'fas fa-greater-than', 'fas fa-greater-than-equal', 'far fa-grimace', 'fas fa-grimace', 'far fa-grin', 'fas fa-grin', 'far fa-grin-alt', 'fas fa-grin-alt', 'far fa-grin-beam', 'fas fa-grin-beam', 'far fa-grin-beam-sweat', 'fas fa-grin-beam-sweat', 'far fa-grin-hearts', 'fas fa-grin-hearts', 'far fa-grin-squint', 'fas fa-grin-squint', 'far fa-grin-squint-tears', 'fas fa-grin-squint-tears', 'far fa-grin-stars', 'fas fa-grin-stars', 'far fa-grin-tears', 'fas fa-grin-tears', 'far fa-grin-tongue', 'fas fa-grin-tongue', 'far fa-grin-tongue-squint', 'fas fa-grin-tongue-squint', 'far fa-grin-tongue-wink', 'fas fa-grin-tongue-wink', 'far fa-grin-wink', 'fas fa-grin-wink', 'fas fa-grip-horizontal', 'fas fa-grip-vertical', 'fab fa-gripfire', 'fab fa-grunt', 'fab fa-gulp', 'fas fa-h-square', 'fab fa-hacker-news', 'fab fa-hacker-news-square', 'fab fa-hackerrank', 'fas fa-hamsa', 'fas fa-hand-holding', 'fas fa-hand-holding-heart', 'fas fa-hand-holding-usd', 'far fa-hand-lizard', 'fas fa-hand-lizard', 'far fa-hand-paper', 'fas fa-hand-paper', 'far fa-hand-peace', 'fas fa-hand-peace', 'far fa-hand-point-down', 'fas fa-hand-point-down', 'far fa-hand-point-left', 'fas fa-hand-point-left', 'far fa-hand-point-right', 'fas fa-hand-point-right', 'far fa-hand-point-up', 'fas fa-hand-point-up', 'far fa-hand-pointer', 'fas fa-hand-pointer', 'far fa-hand-rock', 'fas fa-hand-rock', 'far fa-hand-scissors', 'fas fa-hand-scissors', 'far fa-hand-spock', 'fas fa-hand-spock', 'fas fa-hands', 'fas fa-hands-helping', 'far fa-handshake', 'fas fa-handshake', 'fas fa-hashtag', 'fas fa-haykal', 'far fa-hdd', 'fas fa-hdd', 'fas fa-heading', 'fas fa-headphones', 'fas fa-headphones-alt', 'fas fa-headset', 'far fa-heart', 'fas fa-heart', 'fas fa-heartbeat', 'fas fa-helicopter', 'fas fa-highlighter', 'fab fa-hips', 'fab fa-hire-a-helper', 'fas fa-history', 'fas fa-hockey-puck', 'fas fa-home', 'fab fa-hooli', 'fab fa-hornbill', 'far fa-hospital', 'fas fa-hospital', 'fas fa-hospital-alt', 'fas fa-hospital-symbol', 'fas fa-hot-tub', 'fas fa-hotel', 'fab fa-hotjar', 'far fa-hourglass', 'fas fa-hourglass', 'fas fa-hourglass-end', 'fas fa-hourglass-half', 'fas fa-hourglass-start', 'fab fa-houzz', 'fab fa-html5', 'fab fa-hubspot', 'fas fa-i-cursor', 'far fa-id-badge', 'fas fa-id-badge', 'far fa-id-card', 'fas fa-id-card', 'fas fa-id-card-alt', 'far fa-image', 'fas fa-image', 'far fa-images', 'fas fa-images', 'fab fa-imdb', 'fas fa-inbox', 'fas fa-indent', 'fas fa-industry', 'fas fa-infinity', 'fas fa-info', 'fas fa-info-circle', 'fab fa-instagram', 'fab fa-internet-explorer', 'fab fa-ioxhost', 'fas fa-italic', 'fab fa-itunes', 'fab fa-itunes-note', 'fab fa-java', 'fas fa-jedi', 'fab fa-jedi-order', 'fab fa-jenkins', 'fab fa-joget', 'fas fa-joint', 'fab fa-joomla', 'fas fa-journal-whills', 'fab fa-js', 'fab fa-js-square', 'fab fa-jsfiddle', 'fas fa-kaaba', 'fab fa-kaggle', 'fas fa-key', 'fab fa-keybase', 'far fa-keyboard', 'fas fa-keyboard', 'fab fa-keycdn', 'fas fa-khanda', 'fab fa-kickstarter', 'fab fa-kickstarter-k', 'far fa-kiss', 'fas fa-kiss', 'far fa-kiss-beam', 'fas fa-kiss-beam', 'far fa-kiss-wink-heart', 'fas fa-kiss-wink-heart', 'fas fa-kiwi-bird', 'fab fa-korvue', 'fas fa-landmark', 'fas fa-language', 'fas fa-laptop', 'fas fa-laptop-code', 'fab fa-laravel', 'fab fa-lastfm', 'fab fa-lastfm-square', 'far fa-laugh', 'fas fa-laugh', 'far fa-laugh-beam', 'fas fa-laugh-beam', 'far fa-laugh-squint', 'fas fa-laugh-squint', 'far fa-laugh-wink', 'fas fa-laugh-wink', 'fas fa-layer-group', 'fas fa-leaf', 'fab fa-leanpub', 'far fa-lemon', 'fas fa-lemon', 'fab fa-less', 'fas fa-less-than', 'fas fa-less-than-equal', 'fas fa-level-down-alt', 'fas fa-level-up-alt', 'far fa-life-ring', 'fas fa-life-ring', 'far fa-lightbulb', 'fas fa-lightbulb', 'fab fa-line', 'fas fa-link', 'fab fa-linkedin', 'fab fa-linkedin-in', 'fab fa-linode', 'fab fa-linux', 'fas fa-lira-sign', 'fas fa-list', 'far fa-list-alt', 'fas fa-list-alt', 'fas fa-list-ol', 'fas fa-list-ul', 'fas fa-location-arrow', 'fas fa-lock', 'fas fa-lock-open', 'fas fa-long-arrow-alt-down', 'fas fa-long-arrow-alt-left', 'fas fa-long-arrow-alt-right', 'fas fa-long-arrow-alt-up', 'fas fa-low-vision', 'fas fa-luggage-cart', 'fab fa-lyft', 'fab fa-magento', 'fas fa-magic', 'fas fa-magnet', 'fas fa-mail-bulk', 'fab fa-mailchimp', 'fas fa-male', 'fab fa-mandalorian', 'far fa-map', 'fas fa-map', 'fas fa-map-marked', 'fas fa-map-marked-alt', 'fas fa-map-marker', 'fas fa-map-marker-alt', 'fas fa-map-pin', 'fas fa-map-signs', 'fab fa-markdown', 'fas fa-marker', 'fas fa-mars', 'fas fa-mars-double', 'fas fa-mars-stroke', 'fas fa-mars-stroke-h', 'fas fa-mars-stroke-v', 'fab fa-mastodon', 'fab fa-maxcdn', 'fas fa-medal', 'fab fa-medapps', 'fab fa-medium', 'fab fa-medium-m', 'fas fa-medkit', 'fab fa-medrt', 'fab fa-meetup', 'fab fa-megaport', 'far fa-meh', 'fas fa-meh', 'far fa-meh-blank', 'fas fa-meh-blank', 'far fa-meh-rolling-eyes', 'fas fa-meh-rolling-eyes', 'fas fa-memory', 'fas fa-menorah', 'fas fa-mercury', 'fas fa-microchip', 'fas fa-microphone', 'fas fa-microphone-alt', 'fas fa-microphone-alt-slash', 'fas fa-microphone-slash', 'fas fa-microscope', 'fab fa-microsoft', 'fas fa-minus', 'fas fa-minus-circle', 'far fa-minus-square', 'fas fa-minus-square', 'fab fa-mix', 'fab fa-mixcloud', 'fab fa-mizuni', 'fas fa-mobile', 'fas fa-mobile-alt', 'fab fa-modx', 'fab fa-monero', 'fas fa-money-bill', 'far fa-money-bill-alt', 'fas fa-money-bill-alt', 'fas fa-money-bill-wave', 'fas fa-money-bill-wave-alt', 'fas fa-money-check', 'fas fa-money-check-alt', 'fas fa-monument', 'far fa-moon', 'fas fa-moon', 'fas fa-mortar-pestle', 'fas fa-mosque', 'fas fa-motorcycle', 'fas fa-mouse-pointer', 'fas fa-music', 'fab fa-napster', 'fab fa-neos', 'fas fa-neuter', 'far fa-newspaper', 'fas fa-newspaper', 'fab fa-nimblr', 'fab fa-nintendo-switch', 'fab fa-node', 'fab fa-node-js', 'fas fa-not-equal', 'fas fa-notes-medical', 'fab fa-npm', 'fab fa-ns8', 'fab fa-nutritionix', 'far fa-object-group', 'fas fa-object-group', 'far fa-object-ungroup', 'fas fa-object-ungroup', 'fab fa-odnoklassniki', 'fab fa-odnoklassniki-square', 'fas fa-oil-can', 'fab fa-old-republic', 'fas fa-om', 'fab fa-opencart', 'fab fa-openid', 'fab fa-opera', 'fab fa-optin-monster', 'fab fa-osi', 'fas fa-outdent', 'fab fa-page4', 'fab fa-pagelines', 'fas fa-paint-brush', 'fas fa-paint-roller', 'fas fa-palette', 'fab fa-palfed', 'fas fa-pallet', 'far fa-paper-plane', 'fas fa-paper-plane', 'fas fa-paperclip', 'fas fa-parachute-box', 'fas fa-paragraph', 'fas fa-parking', 'fas fa-passport', 'fas fa-pastafarianism', 'fas fa-paste', 'fab fa-patreon', 'fas fa-pause', 'far fa-pause-circle', 'fas fa-pause-circle', 'fas fa-paw', 'fab fa-paypal', 'fas fa-peace', 'fas fa-pen', 'fas fa-pen-alt', 'fas fa-pen-fancy', 'fas fa-pen-nib', 'fas fa-pen-square', 'fas fa-pencil-alt', 'fas fa-pencil-ruler', 'fas fa-people-carry', 'fas fa-percent', 'fas fa-percentage', 'fab fa-periscope', 'fab fa-phabricator', 'fab fa-phoenix-framework', 'fab fa-phoenix-squadron', 'fas fa-phone', 'fas fa-phone-slash', 'fas fa-phone-square', 'fas fa-phone-volume', 'fab fa-php', 'fab fa-pied-piper', 'fab fa-pied-piper-alt', 'fab fa-pied-piper-hat', 'fab fa-pied-piper-pp', 'fas fa-piggy-bank', 'fas fa-pills', 'fab fa-pinterest', 'fab fa-pinterest-p', 'fab fa-pinterest-square', 'fas fa-place-of-worship', 'fas fa-plane', 'fas fa-plane-arrival', 'fas fa-plane-departure', 'fas fa-play', 'far fa-play-circle', 'fas fa-play-circle', 'fab fa-playstation', 'fas fa-plug', 'fas fa-plus', 'fas fa-plus-circle', 'far fa-plus-square', 'fas fa-plus-square', 'fas fa-podcast', 'fas fa-poll', 'fas fa-poll-h', 'fas fa-poo', 'fas fa-poop', 'fas fa-portrait', 'fas fa-pound-sign', 'fas fa-power-off', 'fas fa-pray', 'fas fa-praying-hands', 'fas fa-prescription', 'fas fa-prescription-bottle', 'fas fa-prescription-bottle-alt', 'fas fa-print', 'fas fa-procedures', 'fab fa-product-hunt', 'fas fa-project-diagram', 'fab fa-pushed', 'fas fa-puzzle-piece', 'fab fa-python', 'fab fa-qq', 'fas fa-qrcode', 'fas fa-question', 'far fa-question-circle', 'fas fa-question-circle', 'fas fa-quidditch', 'fab fa-quinscape', 'fab fa-quora', 'fas fa-quote-left', 'fas fa-quote-right', 'fas fa-quran', 'fab fa-r-project', 'fas fa-random', 'fab fa-ravelry', 'fab fa-react', 'fab fa-readme', 'fab fa-rebel', 'fas fa-receipt', 'fas fa-recycle', 'fab fa-red-river', 'fab fa-reddit', 'fab fa-reddit-alien', 'fab fa-reddit-square', 'fas fa-redo', 'fas fa-redo-alt', 'far fa-registered', 'fas fa-registered', 'fab fa-rendact', 'fab fa-renren', 'fas fa-reply', 'fas fa-reply-all', 'fab fa-replyd', 'fab fa-researchgate', 'fab fa-resolving', 'fas fa-retweet', 'fab fa-rev', 'fas fa-ribbon', 'fas fa-road', 'fas fa-robot', 'fas fa-rocket', 'fab fa-rocketchat', 'fab fa-rockrms', 'fas fa-route', 'fas fa-rss', 'fas fa-rss-square', 'fas fa-ruble-sign', 'fas fa-ruler', 'fas fa-ruler-combined', 'fas fa-ruler-horizontal', 'fas fa-ruler-vertical', 'fas fa-rupee-sign', 'far fa-sad-cry', 'fas fa-sad-cry', 'far fa-sad-tear', 'fas fa-sad-tear', 'fab fa-safari', 'fab fa-sass', 'far fa-save', 'fas fa-save', 'fab fa-schlix', 'fas fa-school', 'fas fa-screwdriver', 'fab fa-scribd', 'fas fa-search', 'fas fa-search-dollar', 'fas fa-search-location', 'fas fa-search-minus', 'fas fa-search-plus', 'fab fa-searchengin', 'fas fa-seedling', 'fab fa-sellcast', 'fab fa-sellsy', 'fas fa-server', 'fab fa-servicestack', 'fas fa-shapes', 'fas fa-share', 'fas fa-share-alt', 'fas fa-share-alt-square', 'far fa-share-square', 'fas fa-share-square', 'fas fa-shekel-sign', 'fas fa-shield-alt', 'fas fa-ship', 'fas fa-shipping-fast', 'fab fa-shirtsinbulk', 'fas fa-shoe-prints', 'fas fa-shopping-bag', 'fas fa-shopping-basket', 'fas fa-shopping-cart', 'fab fa-shopware', 'fas fa-shower', 'fas fa-shuttle-van', 'fas fa-sign', 'fas fa-sign-in-alt', 'fas fa-sign-language', 'fas fa-sign-out-alt', 'fas fa-signal', 'fas fa-signature', 'fab fa-simplybuilt', 'fab fa-sistrix', 'fas fa-sitemap', 'fab fa-sith', 'fas fa-skull', 'fab fa-skyatlas', 'fab fa-skype', 'fab fa-slack', 'fab fa-slack-hash', 'fas fa-sliders-h', 'fab fa-slideshare', 'far fa-smile', 'fas fa-smile', 'far fa-smile-beam', 'fas fa-smile-beam', 'far fa-smile-wink', 'fas fa-smile-wink', 'fas fa-smoking', 'fas fa-smoking-ban', 'fab fa-snapchat', 'fab fa-snapchat-ghost', 'fab fa-snapchat-square', 'far fa-snowflake', 'fas fa-snowflake', 'fas fa-socks', 'fas fa-solar-panel', 'fas fa-sort', 'fas fa-sort-alpha-down', 'fas fa-sort-alpha-up', 'fas fa-sort-amount-down', 'fas fa-sort-amount-up', 'fas fa-sort-down', 'fas fa-sort-numeric-down', 'fas fa-sort-numeric-up', 'fas fa-sort-up', 'fab fa-soundcloud', 'fas fa-spa', 'fas fa-space-shuttle', 'fab fa-speakap', 'fas fa-spinner', 'fas fa-splotch', 'fab fa-spotify', 'fas fa-spray-can', 'far fa-square', 'fas fa-square', 'fas fa-square-full', 'fas fa-square-root-alt', 'fab fa-squarespace', 'fab fa-stack-exchange', 'fab fa-stack-overflow', 'fas fa-stamp', 'far fa-star', 'fas fa-star', 'fas fa-star-and-crescent', 'far fa-star-half', 'fa
9809s fa-star-half', 'fas fa-star-half-alt', 'fas fa-star-of-david', 'fas fa-star-of-life', 'fab fa-staylinked', 'fab fa-steam', 'fab fa-steam-square', 'fab fa-steam-symbol', 'fas fa-step-backward', 'fas fa-step-forward', 'fas fa-stethoscope', 'fab fa-sticker-mule', 'far fa-sticky-note', 'fas fa-sticky-note', 'fas fa-stop', 'far fa-stop-circle', 'fas fa-stop-circle', 'fas fa-stopwatch', 'fas fa-store', 'fas fa-store-alt', 'fab fa-strava', 'fas fa-stream', 'fas fa-street-view', 'fas fa-strikethrough', 'fab fa-stripe', 'fab fa-stripe-s', 'fas fa-stroopwafel', 'fab fa-studiovinari', 'fab fa-stumbleupon', 'fab fa-stumbleupon-circle', 'fas fa-subscript', 'fas fa-subway', 'fas fa-suitcase', 'fas fa-suitcase-rolling', 'far fa-sun', 'fas fa-sun', 'fab fa-superpowers', 'fas fa-superscript', 'fab fa-supple', 'far fa-surprise', 'fas fa-surprise', 'fas fa-swatchbook', 'fas fa-swimmer', 'fas fa-swimming-pool', 'fas fa-synagogue', 'fas fa-sync', 'fas fa-sync-alt', 'fas fa-syringe', 'fas fa-table', 'fas fa-table-tennis', 'fas fa-tablet', 'fas fa-tablet-alt', 'fas fa-tablets', 'fas fa-tachometer-alt', 'fas fa-tag', 'fas fa-tags', 'fas fa-tape', 'fas fa-tasks', 'fas fa-taxi', 'fab fa-teamspeak', 'fas fa-teeth', 'fas fa-teeth-open', 'fab fa-telegram', 'fab fa-telegram-plane', 'fab fa-tencent-weibo', 'fas fa-terminal', 'fas fa-text-height', 'fas fa-text-width', 'fas fa-th', 'fas fa-th-large', 'fas fa-th-list', 'fab fa-the-red-yeti', 'fas fa-theater-masks', 'fab fa-themeco', 'fab fa-themeisle', 'fas fa-thermometer', 'fas fa-thermometer-empty', 'fas fa-thermometer-full', 'fas fa-thermometer-half', 'fas fa-thermometer-quarter', 'fas fa-thermometer-three-quarters', 'far fa-thumbs-down', 'fas fa-thumbs-down', 'far fa-thumbs-up', 'fas fa-thumbs-up', 'fas fa-thumbtack', 'fas fa-ticket-alt', 'fas fa-times', 'far fa-times-circle', 'fas fa-times-circle', 'fas fa-tint', 'fas fa-tint-slash', 'far fa-tired', 'fas fa-tired', 'fas fa-toggle-off', 'fas fa-toggle-on', 'fas fa-toolbox', 'fas fa-tooth', 'fas fa-torah', 'fas fa-torii-gate', 'fab fa-trade-federation', 'fas fa-trademark', 'fas fa-traffic-light', 'fas fa-train', 'fas fa-transgender', 'fas fa-transgender-alt', 'fas fa-trash', 'far fa-trash-alt', 'fas fa-trash-alt', 'fas fa-tree', 'fab fa-trello', 'fab fa-tripadvisor', 'fas fa-trophy', 'fas fa-truck', 'fas fa-truck-loading', 'fas fa-truck-monster', 'fas fa-truck-moving', 'fas fa-truck-pickup', 'fas fa-tshirt', 'fas fa-tty', 'fab fa-tumblr', 'fab fa-tumblr-square', 'fas fa-tv', 'fab fa-twitch', 'fab fa-twitter', 'fab fa-twitter-square', 'fab fa-typo3', 'fab fa-uber', 'fab fa-uikit', 'fas fa-umbrella', 'fas fa-umbrella-beach', 'fas fa-underline', 'fas fa-undo', 'fas fa-undo-alt', 'fab fa-uniregistry', 'fas fa-universal-access', 'fas fa-university', 'fas fa-unlink', 'fas fa-unlock', 'fas fa-unlock-alt', 'fab fa-untappd', 'fas fa-upload', 'fab fa-usb', 'far fa-user', 'fas fa-user', 'fas fa-user-alt', 'fas fa-user-alt-slash', 'fas fa-user-astronaut', 'fas fa-user-check', 'far fa-user-circle', 'fas fa-user-circle', 'fas fa-user-clock', 'fas fa-user-cog', 'fas fa-user-edit', 'fas fa-user-friends', 'fas fa-user-graduate', 'fas fa-user-lock', 'fas fa-user-md', 'fas fa-user-minus', 'fas fa-user-ninja', 'fas fa-user-plus', 'fas fa-user-secret', 'fas fa-user-shield', 'fas fa-user-slash', 'fas fa-user-tag', 'fas fa-user-tie', 'fas fa-user-times', 'fas fa-users', 'fas fa-users-cog', 'fab fa-ussunnah', 'fas fa-utensil-spoon', 'fas fa-utensils', 'fab fa-vaadin', 'fas fa-vector-square', 'fas fa-venus', 'fas fa-venus-double', 'fas fa-venus-mars', 'fab fa-viacoin', 'fab fa-viadeo', 'fab fa-viadeo-square', 'fas fa-vial', 'fas fa-vials', 'fab fa-viber', 'fas fa-video', 'fas fa-video-slash', 'fas fa-vihara', 'fab fa-vimeo', 'fab fa-vimeo-square', 'fab fa-vimeo-v', 'fab fa-vine', 'fab fa-vk', 'fab fa-vnv', 'fas fa-volleyball-ball', 'fas fa-volume-down', 'fas fa-volume-off', 'fas fa-volume-up', 'fab fa-vuejs', 'fas fa-walking', 'fas fa-wallet', 'fas fa-warehouse', 'fab fa-weebly', 'fab fa-weibo', 'fas fa-weight', 'fas fa-weight-hanging', 'fab fa-weixin', 'fab fa-whatsapp', 'fab fa-whatsapp-square', 'fas fa-wheelchair', 'fab fa-whmcs', 'fas fa-wifi', 'fab fa-wikipedia-w', 'far fa-window-close', 'fas fa-window-close', 'far fa-window-maximize', 'fas fa-window-maximize', 'far fa-window-minimize', 'fas fa-window-minimize', 'far fa-window-restore', 'fas fa-window-restore', 'fab fa-windows', 'fas fa-wine-glass', 'fas fa-wine-glass-alt', 'fab fa-wix', 'fab fa-wolf-pack-battalion', 'fas fa-won-sign', 'fab fa-wordpress', 'fab fa-wordpress-simple', 'fab fa-wpbeginner', 'fab fa-wpexplorer', 'fab fa-wpforms', 'fas fa-wrench', 'fas fa-x-ray', 'fab fa-xbox', 'fab fa-xing', 'fab fa-xing-square', 'fab fa-y-combinator', 'fab fa-yahoo', 'fab fa-yandex', 'fab fa-yandex-international', 'fab fa-yelp', 'fas fa-yen-sign', 'fas fa-yin-yang', 'fab fa-yoast', 'fab fa-youtube', 'fab fa-youtube-square', 'fab fa-zhihu']; 9810}; 9811 9812/***/ }), 9813
9814/***/ "./src/blocks/repeater/index.js": 9815/*!**************************************!*\ 9816 !*** ./src/blocks/repeater/index.js ***! 9817 \**************************************/ 9818/*! exports provided: default */ 9819/***/ (function(module, __webpack_exports__, __webpack_require__) { 9820 9821"use strict"; 9822__webpack_require__.r(__webpack_exports__); 9823/* harmony import */ var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "./node_modules/@babel/runtime/helpers/classCallCheck.js"); 9824/* harmony import */ var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__); 9825/* harmony import */ var _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "./node_modules/@babel/runtime/helpers/createClass.js"); 9826/* harmony import */ var _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__); 9827/* harmony import */ var _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/assertThisInitialized.js"); 9828/* harmony import */ var _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2__); 9829/* harmony import */ var _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/inherits */ "./node_modules/@babel/runtime/helpers/inherits.js"); 9830/* harmony import */ var _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_3__); 9831/* harmony import */ var _babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"); 9832/* harmony import */ var _babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__); 9833/* harmony import */ var _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/getPrototypeOf.js"); 9834/* harmony import */ var _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__); 9835/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element"); 9836/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__); 9837/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ "react"); 9838/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__); 9839/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); 9840/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_8__); 9841/* harmony import */ var _fonticonpicker_react_fonticonpicker__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @fonticonpicker/react-fonticonpicker */ "./node_modules/@fonticonpicker/react-fonticonpicker/dist/fonticonpicker.react.js"); 9842/* harmony import */ var _fonticonpicker_react_fonticonpicker__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_fonticonpicker_react_fonticonpicker__WEBPACK_IMPORTED_MODULE_9__); 9843/* harmony import */ var _js_assets__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../js/assets */ "./src/blocks/js/assets.js"); 9844 9845 9846 9847 9848 9849 9850 9851 9852function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5___default()(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5___default()(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4___default()(this, result); }; } 9853 9854function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } 9855 9856/** 9857 * Custom Gutenberg Block for Buttons 9858 */ 9859 9860 9861 9862 9863 9864var Repeater = /*#__PURE__*/function (_React$Component) { 9865 _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_3___default()(Repeater, _React$Component); 9866 9867 var _super = _createSuper(Repeater); 9868 9869 function Repeater(props) { 9870 var _this; 9871 9872 _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0___default()(this, Repeater); 9873 9874 _this = _super.call(this, props); 9875 _this.onChange = _this.onChange.bind(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2___default()(_this)); 9876 _this.onAdd = _this.onAdd.bind(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2___default()(_this)); 9877 _this.ButtonList = _this.ButtonList.bind(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2___default()(_this)); 9878 _this.onRemove = _this.onRemove.bind(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2___default()(_this)); 9879 return _this; 9880 } 9881 9882 _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1___default()(Repeater, [{ 9883 key: "onChange", 9884 value: function onChange(e, value) { 9885 var btns = JSON.parse(this.props.value); 9886 var btn_attr; 9887 9888 if (typeof e == 'string') { 9889 btn_attr = e; 9890 } else { 9891 btn_attr = e.target.getAttribute('name'); 9892 } 9893 9894 var vals = btn_attr.replace('buttons', '').slice(1, -1).split(']['); 9895 var attr = vals[0]; 9896 var cur_index = vals[1]; 9897 9898 if (attr == 'linktarget' || attr == 'linkrel') { 9899 btns[cur_index][attr] = e.target.checked; 9900 } else if (attr == 'icon') { 9901 btns[cur_index][attr] = value; 9902 } else { 9903 btns[cur_index][attr] = e.target.value; 9904 } 9905 9906 this.props.onChange(JSON.stringify(btns)); 9907 } 9908 }, { 9909 key: "ButtonList", 9910 value: function ButtonList(buttons) { 9911 var that = this; 9912 var btns = JSON.parse(buttons); //include add item on click 9913 9914 var output = []; 9915 btns.forEach(function (btn, index) { 9916 output.push(Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("div", { 9917 class: "btn-each" 9918 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("div", { 9919 class: "btn-head" 9920 }, btn.text, " ", Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("span", { 9921 class: "remove-item", 9922 onClick: that.onRemove 9923 }, "\xD7")), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("div", { 9924 class: "btn-body not-active" 9925 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("label", { 9926 class: "block_input_label" 9927 }, "Text"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("input", { 9928 type: "text", 9929 name: "buttons[text][".concat(index, "]"),
9930 value: btn.text, 9931 onChange: that.onChange 9932 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("label", { 9933 class: "block_input_label" 9934 }, "Icon", Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_fonticonpicker_react_fonticonpicker__WEBPACK_IMPORTED_MODULE_9___default.a, { 9935 icons: Object(_js_assets__WEBPACK_IMPORTED_MODULE_10__["Icons"])(), 9936 value: btn.icon, 9937 onChange: function onChange(val) { 9938 return that.onChange("buttons[icon][".concat(index, "]"), val); 9939 }, 9940 isMulti: false, 9941 appendTo: "body" 9942 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("div", { 9943 class: "add-linkto" 9944 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("label", { 9945 class: "block_input_label" 9946 }, "Link"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("div", { 9947 class: "input_inline" 9948 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("input", { 9949 type: "text", 9950 name: "buttons[link][".concat(index, "]"), 9951 value: btn.link, 9952 onChange: that.onChange, 9953 placeholder: "https://your-link.com" 9954 }), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_8__["Dashicon"], { 9955 className: "span_icon", 9956 icon: "admin-generic" 9957 })), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("div", { 9958 class: "link-attributes" 9959 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("label", null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("input", { 9960 type: "checkbox", 9961 name: "buttons[linktarget][".concat(index, "]"), 9962 checked: btn.linktarget, 9963 onChange: that.onChange 9964 }), " Open in new window"), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("label", null, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("input", { 9965 type: "checkbox", 9966 name: "buttons[linkrel][".concat(index, "]"), 9967 checked: btn.linkrel, 9968 onChange: that.onChange 9969 }), " Add nofollow")))))); 9970 }); 9971 return output; 9972 } 9973 }, { 9974 key: "onAdd", 9975 value: function onAdd() { 9976 var btns = JSON.parse(this.props.value); 9977 btns.push({ 9978 'text': 'Button', 9979 'icon': '', 9980 'link': '#', 9981 'linktarget': '', 9982 'linkrel': '' 9983 }); 9984 this.props.onChange(JSON.stringify(btns)); 9985 } 9986 }, { 9987 key: "onRemove", 9988 value: function onRemove(e) { 9989 var btns = JSON.parse(this.props.value); 9990 var parent = e.target.parentNode; 9991 var cur_index = Array.from(parent.parentNode.children).indexOf(parent); 9992 var new_btns = []; 9993 btns.forEach(function (btn, index) { 9994 if (index != cur_index) { 9995 new_btns.push({ 9996 'text': btn.text, 9997 'icon': btn.icon, 9998 'link': btn.link, 9999 'linktarget': btn.linktarget, 10000 'linkrel': btn.linkrel 10001 }); 10002 } 10003 }); 10004 this.props.onChange(JSON.stringify(new_btns)); 10005 } 10006 }, { 10007 key: "render", 10008 value: function render() { 10009 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("div", null, this.ButtonList(this.props.value), Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("div", { 10010 class: "add-item" 10011 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("span", { 10012 onClick: this.onAdd 10013 }, "+ ADD ITEM"))); 10014 } 10015 }]); 10016 10017 return Repeater; 10018}(react__WEBPACK_IMPORTED_MODULE_7___default.a.Component); 10019 10020/* harmony default export */ __webpack_exports__["default"] = (Repeater); 10021 10022/***/ }), 10023
10024/***/ "./src/blocks/selectize-multiple/index.js": 10025/*!************************************************!*\ 10026 !*** ./src/blocks/selectize-multiple/index.js ***! 10027 \************************************************/ 10028/*! exports provided: default */ 10029/***/ (function(module, __webpack_exports__, __webpack_require__) { 10030 10031"use strict"; 10032__webpack_require__.r(__webpack_exports__); 10033/* harmony import */ var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "./node_modules/@babel/runtime/helpers/classCallCheck.js"); 10034/* harmony import */ var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__); 10035/* harmony import */ var _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "./node_modules/@babel/runtime/helpers/createClass.js"); 10036/* harmony import */ var _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__); 10037/* harmony import */ var _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/assertThisInitialized.js"); 10038/* harmony import */ var _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2__); 10039/* harmony import */ var _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/inherits */ "./node_modules/@babel/runtime/helpers/inherits.js"); 10040/* harmony import */ var _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_3__); 10041/* harmony import */ var _babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"); 10042/* harmony import */ var _babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__); 10043/* harmony import */ var _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/getPrototypeOf.js"); 10044/* harmony import */ var _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__); 10045/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element"); 10046/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__); 10047/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ "react"); 10048/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__); 10049/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); 10050/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_8__); 10051 10052 10053 10054 10055 10056 10057 10058 10059function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5___default()(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5___default()(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4___default()(this, result); }; } 10060 10061function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } 10062 10063/** 10064 * Custom Gutenberg Block With Jquery js plugin 10065 */ 10066 10067 10068 10069var SelectizeMultiple = /*#__PURE__*/function (_React$Component) { 10070 _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_3___default()(SelectizeMultiple, _React$Component); 10071 10072 var _super = _createSuper(SelectizeMultiple); 10073 10074 function SelectizeMultiple(props) { 10075 var _this; 10076 10077 _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0___default()(this, SelectizeMultiple); 10078 10079 _this = _super.call(this, props); 10080 _this.onChange = _this.onChange.bind(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2___default()(_this)); 10081 return _this; 10082 } 10083 10084 _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1___default()(SelectizeMultiple, [{ 10085 key: "onChange", 10086 value: function onChange(e) { 10087 this.props.onChange(e.target.value); 10088 } 10089 }, { 10090 key: "componentWillUnmount", 10091 value: function componentWillUnmount() { 10092 this.destroy(); 10093 } 10094 }, { 10095 key: "componentWillUpdate", 10096 value: function componentWillUpdate() { 10097 this.destroy(); 10098 } 10099 }, { 10100 key: "componentDidMount", 10101 value: function componentDidMount() { 10102 this.create(); 10103 } 10104 }, { 10105 key: "componentDidUpdate", 10106 value: function componentDidUpdate() { 10107 this.create(); 10108 } 10109 }, { 10110 key: "create", 10111 value: function create() { 10112 var self = this; 10113 var options = { 10114 items: self.props.value, 10115 plugins: ['remove_button'], 10116 mode: 'multi', 10117 hideSelected: false, 10118 duplicates: true 10119 }; 10120 this.selectize = jQuery(this.refs.repeatselect).find('select').selectize(options)[0].selectize; 10121 this.selectize.on('change', function () { 10122 var value = self.selectize.getValue(); 10123 self.props.onChange(value); 10124 }); 10125 } 10126 }, {
10127 key: "destroy", 10128 value: function destroy() { 10129 if (typeof this.selectize != 'undefined') { 10130 this.selectize.destroy(); 10131 this.selectize._events = { 10132 change: [] 10133 }; 10134 } 10135 } 10136 }, { 10137 key: "render", 10138 value: function render() { 10139 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_8__["BaseControl"], { 10140 ref: "repeatselect" 10141 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("div", { 10142 ref: "repeatselect" 10143 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_8__["SelectControl"], { 10144 multiple: true, 10145 value: this.props.value, 10146 options: this.props.options, 10147 onChange: this.onChange 10148 }))); 10149 } 10150 }]); 10151 10152 return SelectizeMultiple; 10153}(react__WEBPACK_IMPORTED_MODULE_7___default.a.Component); 10154 10155/* harmony default export */ __webpack_exports__["default"] = (SelectizeMultiple); 10156 10157/***/ }), 10158
10159/***/ "./src/blocks/selectize/index.js": 10160/*!***************************************!*\ 10161 !*** ./src/blocks/selectize/index.js ***! 10162 \***************************************/ 10163/*! exports provided: default */ 10164/***/ (function(module, __webpack_exports__, __webpack_require__) { 10165 10166"use strict"; 10167__webpack_require__.r(__webpack_exports__); 10168/* harmony import */ var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ "./node_modules/@babel/runtime/helpers/classCallCheck.js"); 10169/* harmony import */ var _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__); 10170/* harmony import */ var _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/createClass */ "./node_modules/@babel/runtime/helpers/createClass.js"); 10171/* harmony import */ var _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__); 10172/* harmony import */ var _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/assertThisInitialized */ "./node_modules/@babel/runtime/helpers/assertThisInitialized.js"); 10173/* harmony import */ var _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2__); 10174/* harmony import */ var _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/inherits */ "./node_modules/@babel/runtime/helpers/inherits.js"); 10175/* harmony import */ var _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_3__); 10176/* harmony import */ var _babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ "./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"); 10177/* harmony import */ var _babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4__); 10178/* harmony import */ var _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ "./node_modules/@babel/runtime/helpers/getPrototypeOf.js"); 10179/* harmony import */ var _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5__); 10180/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element"); 10181/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__); 10182/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ "react"); 10183/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__); 10184/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components"); 10185/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_8__); 10186 10187 10188 10189 10190 10191 10192 10193 10194function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5___default()(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _babel_runtime_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_5___default()(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _babel_runtime_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_4___default()(this, result); }; } 10195 10196function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } 10197 10198/** 10199 * Custom Gutenberg Block With Jquery js plugin 10200 */ 10201 10202 10203 10204var Selectize = /*#__PURE__*/function (_React$Component) { 10205 _babel_runtime_helpers_inherits__WEBPACK_IMPORTED_MODULE_3___default()(Selectize, _React$Component); 10206 10207 var _super = _createSuper(Selectize); 10208 10209 function Selectize(props) { 10210 var _this; 10211 10212 _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0___default()(this, Selectize); 10213 10214 _this = _super.call(this, props); 10215 _this.onChange = _this.onChange.bind(_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_2___default()(_this)); 10216 return _this; 10217 } 10218 10219 _babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_1___default()(Selectize, [{ 10220 key: "onChange", 10221 value: function onChange(e) { 10222 this.props.onChange(e.target.value); 10223 } 10224 }, { 10225 key: "componentWillUnmount", 10226 value: function componentWillUnmount() { 10227 this.destroy(); 10228 } 10229 }, { 10230 key: "componentDidMount", 10231 value: function componentDidMount() { 10232 this.destroy(); 10233 this.create(); 10234 } 10235 }, { 10236 key: "create", 10237 value: function create() { 10238 var self = this; 10239 this.selectize = jQuery(this.refs.repeatselect).find('select').selectize({ 10240 highlight: false 10241 })[0].selectize; 10242 this.selectize.on('change', function () { 10243 var value = self.selectize.getValue(); 10244 10245 if (value != '') { 10246 delete this._previousValue; 10247 } 10248 10249 self.props.onChange(value); 10250 }); 10251 this.selectize.on('dropdown_open', function () { 10252 var value = self.selectize.getValue(); 10253 10254 if (value != '') { 10255 this._previousValue = value; 10256 } //this.clear(true); 10257 10258 10259 this.positionDropdown(); 10260 }); 10261 this.selectize.on('dropdown_close', function () { 10262 if (this.getValue() == '' && this.lastQuery == '') { 10263 if (this._previousValue && this._previousValue != '') { 10264 this.setValue(this._previousValue, true); 10265 } 10266 } 10267 }); 10268 10269 this.selectize.onBlur = function () { 10270 if (this._previousValue && this._previousValue != '') { 10271 this.setValue(this._previousValue, true); 10272 } 10273 }; 10274 } 10275 }, {
10276 key: "destroy", 10277 value: function destroy() { 10278 if (typeof this.selectize != 'undefined') { 10279 this.selectize.destroy(); 10280 this.selectize._events = { 10281 change: [] 10282 }; 10283 } 10284 } 10285 }, { 10286 key: "render", 10287 value: function render() { 10288 return Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_8__["BaseControl"], { 10289 ref: "repeatselect" 10290 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])("div", { 10291 ref: "repeatselect" 10292 }, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_6__["createElement"])(_wordpress_components__WEBPACK_IMPORTED_MODULE_8__["SelectControl"], { 10293 value: this.props.value, 10294 options: this.props.options, 10295 onChange: this.onChange 10296 }))); 10297 } 10298 }]); 10299 10300 return Selectize; 10301}(react__WEBPACK_IMPORTED_MODULE_7___default.a.Component); 10302 10303/* harmony default export */ __webpack_exports__["default"] = (Selectize); 10304 10305/***/ }), 10306
10307/***/ "./src/index.js": 10308/*!**********************!*\ 10309 !*** ./src/index.js ***! 10310 \**********************/ 10311/*! no exports provided */ 10312/***/ (function(module, __webpack_exports__, __webpack_require__) { 10313 10314"use strict"; 10315__webpack_require__.r(__webpack_exports__); 10316/* harmony import */ var _blocks_emage_hover_effects_block_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./blocks/emage-hover-effects-block.js */ "./src/blocks/emage-hover-effects-block.js"); 10317 10318 10319/***/ })
10319, 10320 10321/***/ "@wordpress/components": 10322/*!*********************************************!*\ 10323 !*** external {"this":["wp","components"]} ***! 10324 \*********************************************/ 10325/*! no static exports found */ 10326/***/ (function(module, exports) { 10327 10328(function() { module.exports = this["wp"]["components"]; }()); 10329 10330/***/ }), 10331 10332/***/ "@wordpress/element": 10333/*!******************************************!*\ 10334 !*** external {"this":["wp","element"]} ***! 10335 \******************************************/ 10336/*! no static exports found */ 10337/***/ (function(module, exports) { 10338 10339(function() { module.exports = this["wp"]["element"]; }()); 10340 10341/***/ }), 10342 10343/***/ "lodash": 10344/*!**********************************!*\ 10345 !*** external {"this":"lodash"} ***! 10346 \**********************************/ 10347/*! no static exports found */ 10348/***/ (function(module, exports) { 10349 10350(function() { module.exports = this["lodash"]; }()); 10351 10352/***/ }), 10353 10354/***/ "react": 10355/*!*********************************!*\ 10356 !*** external {"this":"React"} ***! 10357 \*********************************/ 10358/*! no static exports found */ 10359/***/ (function(module, exports) { 10360 10361(function() { module.exports = this["React"]; }()); 10362 10363/***/ }), 10364 10365/***/ "react-dom": 10366/*!************************************!*\ 10367 !*** external {"this":"ReactDOM"} ***! 10368 \************************************/ 10369/*! no static exports found */ 10370/***/ (function(module, exports) { 10371 10372(function() { module.exports = this["ReactDOM"]; }()); 10373 10374/***/ }) 10375 10376/******/ }); 10377//# sourceMappingURL=index.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.