2020-02-06 22:03:31 +01:00
|
|
|
this["wp"] = this["wp"] || {}; this["wp"]["primitives"] =
|
|
|
|
/******/ (function(modules) { // webpackBootstrap
|
|
|
|
/******/ // The module cache
|
|
|
|
/******/ var installedModules = {};
|
|
|
|
/******/
|
|
|
|
/******/ // The require function
|
|
|
|
/******/ function __webpack_require__(moduleId) {
|
|
|
|
/******/
|
|
|
|
/******/ // Check if module is in cache
|
|
|
|
/******/ if(installedModules[moduleId]) {
|
|
|
|
/******/ return installedModules[moduleId].exports;
|
|
|
|
/******/ }
|
|
|
|
/******/ // Create a new module (and put it into the cache)
|
|
|
|
/******/ var module = installedModules[moduleId] = {
|
|
|
|
/******/ i: moduleId,
|
|
|
|
/******/ l: false,
|
|
|
|
/******/ exports: {}
|
|
|
|
/******/ };
|
|
|
|
/******/
|
|
|
|
/******/ // Execute the module function
|
|
|
|
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
|
|
/******/
|
|
|
|
/******/ // Flag the module as loaded
|
|
|
|
/******/ module.l = true;
|
|
|
|
/******/
|
|
|
|
/******/ // Return the exports of the module
|
|
|
|
/******/ return module.exports;
|
|
|
|
/******/ }
|
|
|
|
/******/
|
|
|
|
/******/
|
|
|
|
/******/ // expose the modules object (__webpack_modules__)
|
|
|
|
/******/ __webpack_require__.m = modules;
|
|
|
|
/******/
|
|
|
|
/******/ // expose the module cache
|
|
|
|
/******/ __webpack_require__.c = installedModules;
|
|
|
|
/******/
|
|
|
|
/******/ // define getter function for harmony exports
|
|
|
|
/******/ __webpack_require__.d = function(exports, name, getter) {
|
|
|
|
/******/ if(!__webpack_require__.o(exports, name)) {
|
|
|
|
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
|
|
|
/******/ }
|
|
|
|
/******/ };
|
|
|
|
/******/
|
|
|
|
/******/ // define __esModule on exports
|
|
|
|
/******/ __webpack_require__.r = function(exports) {
|
|
|
|
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
|
|
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
|
/******/ }
|
|
|
|
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
|
/******/ };
|
|
|
|
/******/
|
|
|
|
/******/ // create a fake namespace object
|
|
|
|
/******/ // mode & 1: value is a module id, require it
|
|
|
|
/******/ // mode & 2: merge all properties of value into the ns
|
|
|
|
/******/ // mode & 4: return value when already ns object
|
|
|
|
/******/ // mode & 8|1: behave like require
|
|
|
|
/******/ __webpack_require__.t = function(value, mode) {
|
|
|
|
/******/ if(mode & 1) value = __webpack_require__(value);
|
|
|
|
/******/ if(mode & 8) return value;
|
|
|
|
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
|
|
|
/******/ var ns = Object.create(null);
|
|
|
|
/******/ __webpack_require__.r(ns);
|
|
|
|
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
|
|
|
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
|
|
|
/******/ return ns;
|
|
|
|
/******/ };
|
|
|
|
/******/
|
|
|
|
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
|
|
/******/ __webpack_require__.n = function(module) {
|
|
|
|
/******/ var getter = module && module.__esModule ?
|
|
|
|
/******/ function getDefault() { return module['default']; } :
|
|
|
|
/******/ function getModuleExports() { return module; };
|
|
|
|
/******/ __webpack_require__.d(getter, 'a', getter);
|
|
|
|
/******/ return getter;
|
|
|
|
/******/ };
|
|
|
|
/******/
|
|
|
|
/******/ // Object.prototype.hasOwnProperty.call
|
|
|
|
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
|
|
/******/
|
|
|
|
/******/ // __webpack_public_path__
|
|
|
|
/******/ __webpack_require__.p = "";
|
|
|
|
/******/
|
|
|
|
/******/
|
|
|
|
/******/ // Load entry module and return exports
|
2020-03-24 00:40:19 +01:00
|
|
|
/******/ return __webpack_require__(__webpack_require__.s = 447);
|
2020-02-06 22:03:31 +01:00
|
|
|
/******/ })
|
|
|
|
/************************************************************************/
|
|
|
|
/******/ ({
|
|
|
|
|
|
|
|
/***/ 0:
|
|
|
|
/***/ (function(module, exports) {
|
|
|
|
|
|
|
|
(function() { module.exports = this["wp"]["element"]; }());
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
2020-02-10 23:33:27 +01:00
|
|
|
/***/ 11:
|
2020-02-06 22:03:31 +01:00
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
|
|
Copyright (c) 2017 Jed Watson.
|
|
|
|
Licensed under the MIT License (MIT), see
|
|
|
|
http://jedwatson.github.io/classnames
|
|
|
|
*/
|
|
|
|
/* global define */
|
|
|
|
|
|
|
|
(function () {
|
|
|
|
'use strict';
|
|
|
|
|
|
|
|
var hasOwn = {}.hasOwnProperty;
|
|
|
|
|
|
|
|
function classNames () {
|
|
|
|
var classes = [];
|
|
|
|
|
|
|
|
for (var i = 0; i < arguments.length; i++) {
|
|
|
|
var arg = arguments[i];
|
|
|
|
if (!arg) continue;
|
|
|
|
|
|
|
|
var argType = typeof arg;
|
|
|
|
|
|
|
|
if (argType === 'string' || argType === 'number') {
|
|
|
|
classes.push(arg);
|
|
|
|
} else if (Array.isArray(arg) && arg.length) {
|
|
|
|
var inner = classNames.apply(null, arg);
|
|
|
|
if (inner) {
|
|
|
|
classes.push(inner);
|
|
|
|
}
|
|
|
|
} else if (argType === 'object') {
|
|
|
|
for (var key in arg) {
|
|
|
|
if (hasOwn.call(arg, key) && arg[key]) {
|
|
|
|
classes.push(key);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return classes.join(' ');
|
|
|
|
}
|
|
|
|
|
|
|
|
if ( true && module.exports) {
|
|
|
|
classNames.default = classNames;
|
|
|
|
module.exports = classNames;
|
|
|
|
} else if (true) {
|
|
|
|
// register as 'classnames', consistent with npm package name
|
|
|
|
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
|
|
|
|
return classNames;
|
|
|
|
}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
|
|
|
|
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
|
|
} else {}
|
|
|
|
}());
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
/***/ 19:
|
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutProperties; });
|
2020-03-24 00:40:19 +01:00
|
|
|
/* harmony import */ var _objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(43);
|
2020-02-06 22:03:31 +01:00
|
|
|
|
|
|
|
function _objectWithoutProperties(source, excluded) {
|
|
|
|
if (source == null) return {};
|
|
|
|
var target = Object(_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])(source, excluded);
|
|
|
|
var key, i;
|
|
|
|
|
|
|
|
if (Object.getOwnPropertySymbols) {
|
|
|
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
|
|
|
|
|
|
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
|
|
key = sourceSymbolKeys[i];
|
|
|
|
if (excluded.indexOf(key) >= 0) continue;
|
|
|
|
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
|
|
target[key] = source[key];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return target;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
2020-03-24 00:40:19 +01:00
|
|
|
/***/ 43:
|
2020-02-06 22:03:31 +01:00
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _objectWithoutPropertiesLoose; });
|
|
|
|
function _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;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
2020-03-24 00:40:19 +01:00
|
|
|
/***/ 447:
|
2020-02-06 22:03:31 +01:00
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
|
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
|
|
var defineProperty = __webpack_require__(5);
|
|
|
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
|
|
|
var objectWithoutProperties = __webpack_require__(19);
|
|
|
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/classnames/index.js
|
2020-02-10 23:33:27 +01:00
|
|
|
var classnames = __webpack_require__(11);
|
2020-02-06 22:03:31 +01:00
|
|
|
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
|
|
|
|
|
|
|
|
// EXTERNAL MODULE: external {"this":["wp","element"]}
|
|
|
|
var external_this_wp_element_ = __webpack_require__(0);
|
|
|
|
|
|
|
|
// CONCATENATED MODULE: ./node_modules/@wordpress/primitives/build-module/svg/index.js
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
|
|
|
|
|
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
|
|
|
|
|
|
/**
|
|
|
|
* External dependencies
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* WordPress dependencies
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
var svg_Circle = function Circle(props) {
|
|
|
|
return Object(external_this_wp_element_["createElement"])('circle', props);
|
|
|
|
};
|
|
|
|
var svg_G = function G(props) {
|
|
|
|
return Object(external_this_wp_element_["createElement"])('g', props);
|
|
|
|
};
|
|
|
|
var svg_Path = function Path(props) {
|
|
|
|
return Object(external_this_wp_element_["createElement"])('path', props);
|
|
|
|
};
|
|
|
|
var svg_Polygon = function Polygon(props) {
|
|
|
|
return Object(external_this_wp_element_["createElement"])('polygon', props);
|
|
|
|
};
|
|
|
|
var svg_Rect = function Rect(props) {
|
|
|
|
return Object(external_this_wp_element_["createElement"])('rect', props);
|
|
|
|
};
|
2020-02-10 23:33:27 +01:00
|
|
|
var svg_Defs = function Defs(props) {
|
|
|
|
return Object(external_this_wp_element_["createElement"])('defs', props);
|
|
|
|
};
|
|
|
|
var svg_RadialGradient = function RadialGradient(props) {
|
|
|
|
return Object(external_this_wp_element_["createElement"])('radialGradient', props);
|
|
|
|
};
|
|
|
|
var svg_LinearGradient = function LinearGradient(props) {
|
|
|
|
return Object(external_this_wp_element_["createElement"])('linearGradient', props);
|
|
|
|
};
|
|
|
|
var svg_Stop = function Stop(props) {
|
|
|
|
return Object(external_this_wp_element_["createElement"])('stop', props);
|
|
|
|
};
|
2020-02-06 22:03:31 +01:00
|
|
|
var svg_SVG = function SVG(_ref) {
|
|
|
|
var className = _ref.className,
|
|
|
|
isPressed = _ref.isPressed,
|
|
|
|
props = Object(objectWithoutProperties["a" /* default */])(_ref, ["className", "isPressed"]);
|
|
|
|
|
|
|
|
var appliedProps = _objectSpread({}, props, {
|
|
|
|
className: classnames_default()(className, {
|
|
|
|
'is-pressed': isPressed
|
|
|
|
}) || undefined,
|
|
|
|
role: 'img',
|
|
|
|
'aria-hidden': 'true',
|
|
|
|
focusable: 'false'
|
|
|
|
}); // Disable reason: We need to have a way to render HTML tag for web.
|
|
|
|
// eslint-disable-next-line react/forbid-elements
|
|
|
|
|
|
|
|
|
|
|
|
return Object(external_this_wp_element_["createElement"])("svg", appliedProps);
|
|
|
|
};
|
|
|
|
|
|
|
|
// CONCATENATED MODULE: ./node_modules/@wordpress/primitives/build-module/horizontal-rule/index.js
|
|
|
|
var HorizontalRule = 'hr';
|
|
|
|
|
|
|
|
// CONCATENATED MODULE: ./node_modules/@wordpress/primitives/build-module/block-quotation/index.js
|
|
|
|
var BlockQuotation = 'blockquote';
|
|
|
|
|
|
|
|
// CONCATENATED MODULE: ./node_modules/@wordpress/primitives/build-module/index.js
|
|
|
|
/* concated harmony reexport Circle */__webpack_require__.d(__webpack_exports__, "Circle", function() { return svg_Circle; });
|
|
|
|
/* concated harmony reexport G */__webpack_require__.d(__webpack_exports__, "G", function() { return svg_G; });
|
|
|
|
/* concated harmony reexport Path */__webpack_require__.d(__webpack_exports__, "Path", function() { return svg_Path; });
|
|
|
|
/* concated harmony reexport Polygon */__webpack_require__.d(__webpack_exports__, "Polygon", function() { return svg_Polygon; });
|
|
|
|
/* concated harmony reexport Rect */__webpack_require__.d(__webpack_exports__, "Rect", function() { return svg_Rect; });
|
2020-02-10 23:33:27 +01:00
|
|
|
/* concated harmony reexport Defs */__webpack_require__.d(__webpack_exports__, "Defs", function() { return svg_Defs; });
|
|
|
|
/* concated harmony reexport RadialGradient */__webpack_require__.d(__webpack_exports__, "RadialGradient", function() { return svg_RadialGradient; });
|
|
|
|
/* concated harmony reexport LinearGradient */__webpack_require__.d(__webpack_exports__, "LinearGradient", function() { return svg_LinearGradient; });
|
|
|
|
/* concated harmony reexport Stop */__webpack_require__.d(__webpack_exports__, "Stop", function() { return svg_Stop; });
|
2020-02-06 22:03:31 +01:00
|
|
|
/* concated harmony reexport SVG */__webpack_require__.d(__webpack_exports__, "SVG", function() { return svg_SVG; });
|
|
|
|
/* concated harmony reexport HorizontalRule */__webpack_require__.d(__webpack_exports__, "HorizontalRule", function() { return HorizontalRule; });
|
|
|
|
/* concated harmony reexport BlockQuotation */__webpack_require__.d(__webpack_exports__, "BlockQuotation", function() { return BlockQuotation; });
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
/***/ 5:
|
|
|
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; });
|
|
|
|
function _defineProperty(obj, key, value) {
|
|
|
|
if (key in obj) {
|
|
|
|
Object.defineProperty(obj, key, {
|
|
|
|
value: value,
|
|
|
|
enumerable: true,
|
|
|
|
configurable: true,
|
|
|
|
writable: true
|
|
|
|
});
|
|
|
|
} else {
|
|
|
|
obj[key] = value;
|
|
|
|
}
|
|
|
|
|
|
|
|
return obj;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***/ })
|
|
|
|
|
|
|
|
/******/ });
|