diff --git a/dist/blocks.build.js b/dist/blocks.build.js
index dbba11fa..a8f3d27f 100644
--- a/dist/blocks.build.js
+++ b/dist/blocks.build.js
@@ -1,910 +1 @@
-/******/ (function(modules) { // webpackBootstrap
-/******/ // The module cache
-/******/ var installedModules = {};
-/******/
-/******/ // The require function
-/******/ function __webpack_require__(moduleId) {
-/******/
-/******/ // Check if module is in cache
-/******/ if(installedModules[moduleId]) {
-/******/ return installedModules[moduleId].exports;
-/******/ }
-/******/ // Create a new module (and put it into the cache)
-/******/ var module = installedModules[moduleId] = {
-/******/ i: moduleId,
-/******/ l: false,
-/******/ exports: {}
-/******/ };
-/******/
-/******/ // Execute the module function
-/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
-/******/
-/******/ // Flag the module as loaded
-/******/ module.l = true;
-/******/
-/******/ // Return the exports of the module
-/******/ return module.exports;
-/******/ }
-/******/
-/******/
-/******/ // expose the modules object (__webpack_modules__)
-/******/ __webpack_require__.m = modules;
-/******/
-/******/ // expose the module cache
-/******/ __webpack_require__.c = installedModules;
-/******/
-/******/ // define getter function for harmony exports
-/******/ __webpack_require__.d = function(exports, name, getter) {
-/******/ if(!__webpack_require__.o(exports, name)) {
-/******/ Object.defineProperty(exports, name, {
-/******/ configurable: false,
-/******/ enumerable: true,
-/******/ get: getter
-/******/ });
-/******/ }
-/******/ };
-/******/
-/******/ // getDefaultExport function for compatibility with non-harmony modules
-/******/ __webpack_require__.n = function(module) {
-/******/ var getter = module && module.__esModule ?
-/******/ function getDefault() { return module['default']; } :
-/******/ function getModuleExports() { return module; };
-/******/ __webpack_require__.d(getter, 'a', getter);
-/******/ return getter;
-/******/ };
-/******/
-/******/ // Object.prototype.hasOwnProperty.call
-/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
-/******/
-/******/ // __webpack_public_path__
-/******/ __webpack_require__.p = "";
-/******/
-/******/ // Load entry module and return exports
-/******/ return __webpack_require__(__webpack_require__.s = 10);
-/******/ })
-/************************************************************************/
-/******/ ([
-/* 0 */
-/*!******************************************!*\
- !*** ./node_modules/classnames/index.js ***!
- \******************************************/
-/*! dynamic exports provided */
-/*! exports used: default */
-/***/ (function(module, exports, __webpack_require__) {
-
-eval("var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!\n Copyright (c) 2017 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg) && arg.length) {\n\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\tif (inner) {\n\t\t\t\t\tclasses.push(inner);\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (true) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\t!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {\n\t\t\treturn classNames;\n\t\t}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMC5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL25vZGVfbW9kdWxlcy9jbGFzc25hbWVzL2luZGV4LmpzPzFkNmUiXSwic291cmNlc0NvbnRlbnQiOlsiLyohXG4gIENvcHlyaWdodCAoYykgMjAxNyBKZWQgV2F0c29uLlxuICBMaWNlbnNlZCB1bmRlciB0aGUgTUlUIExpY2Vuc2UgKE1JVCksIHNlZVxuICBodHRwOi8vamVkd2F0c29uLmdpdGh1Yi5pby9jbGFzc25hbWVzXG4qL1xuLyogZ2xvYmFsIGRlZmluZSAqL1xuXG4oZnVuY3Rpb24gKCkge1xuXHQndXNlIHN0cmljdCc7XG5cblx0dmFyIGhhc093biA9IHt9Lmhhc093blByb3BlcnR5O1xuXG5cdGZ1bmN0aW9uIGNsYXNzTmFtZXMgKCkge1xuXHRcdHZhciBjbGFzc2VzID0gW107XG5cblx0XHRmb3IgKHZhciBpID0gMDsgaSA8IGFyZ3VtZW50cy5sZW5ndGg7IGkrKykge1xuXHRcdFx0dmFyIGFyZyA9IGFyZ3VtZW50c1tpXTtcblx0XHRcdGlmICghYXJnKSBjb250aW51ZTtcblxuXHRcdFx0dmFyIGFyZ1R5cGUgPSB0eXBlb2YgYXJnO1xuXG5cdFx0XHRpZiAoYXJnVHlwZSA9PT0gJ3N0cmluZycgfHwgYXJnVHlwZSA9PT0gJ251bWJlcicpIHtcblx0XHRcdFx0Y2xhc3Nlcy5wdXNoKGFyZyk7XG5cdFx0XHR9IGVsc2UgaWYgKEFycmF5LmlzQXJyYXkoYXJnKSAmJiBhcmcubGVuZ3RoKSB7XG5cdFx0XHRcdHZhciBpbm5lciA9IGNsYXNzTmFtZXMuYXBwbHkobnVsbCwgYXJnKTtcblx0XHRcdFx0aWYgKGlubmVyKSB7XG5cdFx0XHRcdFx0Y2xhc3Nlcy5wdXNoKGlubmVyKTtcbl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5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///0\n");
-
-/***/ }),
-/* 1 */
-/*!*********************************************!*\
- !*** ./src/components/block-icons/index.js ***!
- \*********************************************/
-/*! exports provided: default */
-/*! exports used: default */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-eval("/**\n * Component: blockIcons\n *\n * Returns a set of block icons for use in the Gutenberg UI\n *\n */\n\n// WordPress dependencies.\nvar Fragment = wp.element.Fragment;\n\n// Array of icon paths, the inner elements of the svg icon only.\n// Default item in object is for fallback purposes.\n\nvar icons = {\n\t\"default\": wp.element.createElement(\n\t\tFragment,\n\t\tnull,\n\t\twp.element.createElement(\"path\", { fill: \"#c00\", d: \"M19 7h-1V5h-4v2h-4V5H6v2H5c-1.1 0-2 .9-2 2v10h18V9c0-1.1-.9-2-2-2zm0 10H5V9h14v8z\" })\n\t),\n\t\"aside\": wp.element.createElement(\n\t\tFragment,\n\t\tnull,\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M53.07 24.43H18.93c-.549 0-1 .451-1 1v20.523c0 .549.451 1 1 1h34.14c.549 0 1-.451 1-1V25.43c0-.549-.451-1-1-1zM26.904 39.252c0 .08 0 .14-.06.14h-5.858s-.06-.06-.06-.14v-1.14c0-.08 0-.14.06-.14h5.858s.06.06.06.14v1.14zm0-2.989c0 .08 0 .15-.06.15h-5.858s-.06-.07-.06-.15v-1.13c0-.08 0-.15.06-.15h5.858s.06.07.06.15v1.13zm0-2.998v.14h-5.948v-1.42h5.918v.14l.03 1.14zm24.192 10.751H29.985V27.409h21.111v16.607z\",\n\t\t\ttransform: \"matrix(.66405 0 0 .66405 -11.906 -12.21)\"\n\t\t}),\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M47.907 36.63H33.298a.171.171 0 01-.18-.15V35.3a.171.171 0 01.18-.15h14.609a.17.17 0 01.18.15v1.18a.17.17 0 01-.18.15z\",\n\t\t\ttransform: \"matrix(.66405 0 0 .66405 -11.983 -12.306)\"\n\t\t}),\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M47.907 39.69H33.298a.171.171 0 01-.18-.15v-1.18a.171.171 0 01.18-.15h14.609a.17.17 0 01.18.15v1.18a.17.17 0 01-.18.15z\",\n\t\t\ttransform: \"matrix(.66405 0 0 .66405 -11.983 -12.36)\"\n\t\t}),\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M47.987 33.74H33.218c-.05 0-.1-.06-.1-.14v-1.15c0-.08 0-.14.1-.14h14.769c.05 0 .1.06.1.14v1.15c0 .08-.05.14-.1.14z\",\n\t\t\ttransform: \"matrix(.66405 0 0 .66405 -11.983 -12.44)\"\n\t\t})\n\t),\n\t\"collapsible\": wp.element.createElement(\n\t\tFragment,\n\t\tnull,\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\td: \"M2.704 10.524l2.489 4.982-2.112.288-2.427-4.859a1.007 1.007 0 01.033-.963L3.042 6.31l2.349-.006-2.687 4.22z\",\n\t\t\ttransform: \"matrix(.9913 0 0 .9913 .014 2.663)\"\n\t\t}),\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\td: \"M2.708 10.533l2.356 4.516-1.985.506-2.425-4.62c-.156-.311-.14-.68.041-.977l2.399-4.276 1.982.626-2.368 4.225z\",\n\t\t\ttransform: \"matrix(.9913 0 0 .9913 17.003 2.663)\"\n\t\t}),\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\td: \"M23.946 1.827H.073v5.272c0 .97.688 1.757 1.536 1.757h20.8c.848 0 1.537-.787 1.537-1.757V1.827zM2.585 4.701v1.282h18.848V4.701H2.585z\",\n\t\t\ttransform: \"matrix(.79594 0 0 .69594 2.96 15.807)\"\n\t\t}),\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"none\",\n\t\t\td: \"M1.677 12.15l18.051-.024\",\n\t\t\ttransform: \"matrix(.9913 0 0 .9913 .014 1.145)\"\n\t\t}),\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\td: \"M1.678 12.655l16.964-.024a.505.505 0 10-.002-1.008l-16.963.023a.503.503 0 10.001 1.009z\",\n\t\t\ttransform: \"matrix(.9913 0 0 1.95234 .07 -10.66)\"\n\t\t}),\n\t\twp.element.createElement(\n\t\t\t\"g\",\n\t\t\t{ fill: \"#C90813\" },\n\t\t\twp.element.createElement(\"path\", {\n\t\t\t\td: \"M22.199 1.221A1.36 1.36 0 0020.84-.138H4.39a1.36 1.36 0 00-1.359 1.359v5.666h19.168V1.221zM6.547 2.789H4.499v1.095h2.048V2.789zm6.495 0H7.633v1.095h5.409V2.789zm4.593 2.779l2.091-2.881-4.152.012 2.061 2.869z\",\n\t\t\t\ttransform: \"matrix(.9913 0 0 .9913 .014 2.137)\"\n\t\t\t}),\n\t\t\twp.element.createElement(\"path\", {\n\t\t\t\td: \"M22.199 1.221A1.36 1.36 0 0020.84-.138H4.39a1.36 1.36 0 00-1.359 1.359v5.666h19.168V1.221zM21.19 5.878V1.221a.35.35 0 00-.35-.351H4.39a.35.35 0 00-.35.351v.67a.997.997 0 01.459-.111h2.048c.2 0 .386.058.543.159a.997.997 0 01.543-.159h5.409c.558 0 1.009.452 1.009 1.009v1.095c0 .557-.451 1.009-1.009 1.009H7.633a.997.997 0 01-.543-.159.999.999 0 01-.543.159H4.499a.997.997 0 01-.459-.111v1.096h12.576l-1.862-2.59a1.01 1.01 0 01.817-1.597l4.152-.013a1.008 1.008 0 01.819 1.602l-1.886 2.598h2.534zm-3.555-.31l2.091-2.881-4.152.012 2.061 2.869zM6.547 2.789H4.499v1.095h2.048V2.789zm6.495 0H7.633v1.095h5.409V2.789z\",\n\t\t\t\ttransform: \"matrix(.9913 0 0 .9913 .014 2.137)\"\n\t\t\t})\n\t\t)\n\t),\n\t\"collapsiblecontrol\": wp.element.createElement(\n\t\tFragment,\n\t\tnull,\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M33.923 58.23h5.517v16.194h-5.517v5.647h-5.501v-5.647H23V58.23h5.422V30.639h5.501V58.23zm-8.289 2.685v10.839H36.65V60.915H25.634z\",\n\t\t\ttransform: \"matrix(.4074 0 0 .4074 -8.496 -8.394) rotate(90 47.334 52.398) scale(.89256)\"\n\t\t}),\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M33.923 58.23h5.517v16.194h-5.517v5.647h-5.501v-5.647H23V58.23h5.422V30.639h5.501V58.23zm-8.289 2.685v10.839H36.65V60.915H25.634z\",\n\t\t\ttransform: \"matrix(.4074 0 0 .4074 -8.496 -8.394) rotate(90 30.162 69.57) scale(.89256)\"\n\t\t}),\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M33.923 58.23h5.517v16.194h-5.517v5.647h-5.501v-5.647H23V58.23h5.422V30.639h5.501V58.23zm-8.289 2.685v10.839H36.65V60.915H25.634z\",\n\t\t\ttransform: \"matrix(.4074 0 0 .4074 -8.496 -8.394) matrix(0 .89256 .89256 0 .916 22.24)\"\n\t\t})\n\t),\n\t\"drawer\": wp.element.createElement(\n\t\tFragment,\n\t\tnull,\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\td: \"M12.53 11.574l.711 1.421h-1.422l.711-1.421z\",\n\t\t\ttransform: \"matrix(2.90833 0 0 1.41188 -24.448 -5.329)\"\n\t\t}),\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M44.929 32.44H27.175a.13.13 0 01-.12-.13v-1.16l-.002-.02c0-.068.054-.126.122-.13h17.754a.13.13 0 01.12.13v1.18a.13.13 0 01-.12.13z\",\n\t\t\ttransform: \"translate(-11.728 -11.386) scale(.65892)\"\n\t\t}),\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M44.929 32.44H27.175a.13.13 0 01-.12-.13v-1.16l-.002-.02c0-.068.054-.126.122-.13h17.754a.13.13 0 01.12.13v1.18a.13.13 0 01-.12.13z\",\n\t\t\ttransform: \"translate(-11.728 -13.38) scale(.65892)\"\n\t\t}),\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M44.929 32.44H27.175a.13.13 0 01-.12-.13v-1.16l-.002-.02c0-.068.054-.126.122-.13h17.754a.13.13 0 01.12.13v1.18a.13.13 0 01-.12.13z\",\n\t\t\ttransform: \"translate(-11.728 -15.424) scale(.65892)\"\n\t\t}),\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M23.32 1.037H.667a.661.661 0 00-.659.658v20.647c0 .361.297.659.659.659H23.32a.662.662 0 00.659-.659V1.695a.661.661 0 00-.659-.658zm-2.402 19.981h-6.882c-.032 0-.054-.049-.054-.106v-.808c0-.057 0-.107.054-.107h6.882c.032 0 .054.05.054.107v.808c0 .057-.022.106-.054.106zm-9.171-.989H2.661s-.054 0-.062-.084a.182.182 0 010-.13l2.868-3.336a.049.049 0 01.039-.02c.015 0 .029.007.039.02l1.912 2.239 1.554-1.552c.02-.02.05-.02.07 0l2.666 2.649v.13c0 .056.031.084 0 .084zm9.171-1.005h-6.882c-.032 0-.054-.05-.054-.107v-.808c0-.057 0-.106.054-.106h6.882c.032 0 .054.049.054.106v.808c0 .057-.022.107-.054.107zm0-2.004h-6.882c-.032 0-.054-.05-.054-.107v-.808c0-.057 0-.106.054-.106h6.882c.032 0 .054.049.054.106v.808c0 .057-.022.107-.054.107zm1.109-4.021H1.973V2.997h20.054v10.002z\"\n\t\t})\n\t),\n\t\"html\": wp.element.createElement(\n\t\tFragment,\n\t\tnull,\n\t\twp.element.createElement(\n\t\t\t\"g\",\n\t\t\tnull,\n\t\t\twp.element.createElement(\"path\", {\n\t\t\t\tfill: \"#C90813\",\n\t\t\t\tfillRule: \"nonzero\",\n\t\t\t\td: \"M53.19 23.864H18.81c-.549 0-1 .451-1 1v22.255c0 .549.451 1 1 1h34.38c.549 0 1-.451 1-1V24.864c0-.549-.451-1-1-1zm-1.965 21.262H20.801V26.897h30.424v18.229z\",\n\t\t\t\ttransform: \"translate(-11.734 -11.734) scale(.65929)\"\n\t\t\t}),\n\t\t\twp.element.createElement(\"path\", {\n\t\t\t\tfill: \"#C90813\",\n\t\t\t\tfillRule: \"nonzero\",\n\t\t\t\td: \"M.055-.226v-.049c0-.009.005-.017.015-.022L.432-.5c.005-.003.01-.002.015.001.005.004.008.01.008.018v.06C.455-.413.45-.406.44-.4l-.267.146C.171-.253.17-.252.17-.25s.001.003.003.004L.44-.1c.01.006.015.013.015.021v.06c0 .008-.002.014-.007.017C.442.001.437.002.432 0L.07-.204C.06-.209.055-.217.055-.226z\",\n\t\t\t\ttransform: \"translate(2.72 15.411) scale(13.0482)\"\n\t\t\t}),\n\t\t\twp.element.createElement(\"path\", {\n\t\t\t\tfill: \"#C90813\",\n\t\t\t\tfillRule: \"nonzero\",\n\t\t\t\td: \"M.098-.016l.266-.679C.367-.705.373-.71.383-.71h.052c.007 0 .012.003.015.009.004.005.004.012.001.019l-.264.679C.184.007.177.012.166.012H.114A.02.02 0 01.098.004a.023.023 0 010-.02z\",\n\t\t\t\ttransform: \"matrix(13.0482 0 0 9.8855 8.386 15.577)\"\n\t\t\t}),\n\t\t\twp.element.createElement(\"path\", {\n\t\t\t\tfill: \"#C90813\",\n\t\t\t\tfillRule: \"nonzero\",\n\t\t\t\td: \"M.095-.019v-.06C.095-.087.1-.094.11-.1l.267-.146c.005-.003.005-.005 0-.008L.11-.4C.1-.406.095-.413.095-.421v-.06c0-.008.003-.014.008-.018.005-.003.01-.004.015-.001l.362.203c.01.005.015.013.015.022v.049c0 .009-.005.017-.015.022L.118 0C.114.003.109.002.103-.001a.022.022 0 01-.008-.018z\",\n\t\t\t\ttransform: \"translate(13.794 15.411) scale(13.0482)\"\n\t\t\t})\n\t\t)\n\t),\n\t\"introparagraph\": wp.element.createElement(\n\t\tFragment,\n\t\tnull,\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M53.19 23.864H18.81c-.549 0-1 .451-1 1v22.255c0 .549.451 1 1 1h34.38c.549 0 1-.451 1-1V24.864c0-.549-.451-1-1-1zm-1.965 21.262H20.801V26.897h30.424v18.229z\",\n\t\t\ttransform: \"translate(-11.734 -11.734) scale(.65929)\"\n\t\t}),\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M29.84 36.28h-2.06l-.39 1.09h-1.24l2-5.34h1.38l2 5.34h-1.3l-.39-1.09zm-1.67-1.08h1.29l-.64-1.84-.65 1.84z\",\n\t\t\ttransform: \"translate(-21.386 -22.287) scale(.97221)\"\n\t\t}),\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M46 35.58H32.486a.17.17 0 01-.17-.15v-1.18a.17.17 0 01.17-.15H46a.17.17 0 01.17.15v1.18a.17.17 0 01-.17.15z\",\n\t\t\ttransform: \"matrix(.7184 0 0 .65929 -13.183 -11.493)\"\n\t\t}),\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M46 38.64H32.486a.17.17 0 01-.17-.15v-1.18a.17.17 0 01.17-.15H46a.17.17 0 01.17.15v1.18a.17.17 0 01-.17.15z\",\n\t\t\ttransform: \"matrix(.7184 0 0 .65929 -13.183 -11.483)\"\n\t\t}),\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M45.86 41.53H26.14c-.15 0-.27-.07-.27-.15V40.2c0-.08.12-.15.27-.15h19.72c.15 0 .27.07.27.15v1.18c0 .08-.13.15-.27.15z\",\n\t\t\ttransform: \"matrix(.78492 0 0 .65929 -16.252 -11.388)\"\n\t\t}),\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M46 32.69H32.416c-.06 0-.1-.06-.1-.14V31.4c0-.08 0-.14.1-.14H46c.06 0 .1.06.1.14v1.15c.03.08-.01.14-.1.14z\",\n\t\t\ttransform: \"matrix(.7184 0 0 .65929 -13.183 -11.59)\"\n\t\t})\n\t),\n\t\"listicle\": wp.element.createElement(\n\t\tFragment,\n\t\tnull,\n\t\twp.element.createElement(\n\t\t\t\"g\",\n\t\t\tnull,\n\t\t\twp.element.createElement(\"path\", {\n\t\t\t\tfill: \"#C90813\",\n\t\t\t\tfillRule: \"nonzero\",\n\t\t\t\td: \"M46.826 41.08l.03-17.471-.03-.076c0-.222-.068-.58-.418-.729-.437-.186-1.253-.141-1.508-.141h1.7H23.552a.875.875 0 00-.87.87V45.9c0 .483.397.88.88.88H39.76c.704 1.631 2.318 2.793 4.095 2.793 2.447 0 4.46-2.014 4.46-4.46 0-1.723-.176-2.431-1.499-4.033h.01zm-7.335 2.875l-14.101.086V25.343H44V40.65h-.16c-2.437.011-3.85 1.629-4.349 3.325v-.02zM46 44.67h-.7l-.25.92h.7l-.19.68h-.7l-.19.69H44l.19-.69h-.93l-.19.69h-.7l.19-.69h-.7l.18-.68h.7l.25-.92h-.7l.19-.69h.7l.19-.69h.7l-.19.69h.94l.18-.69h.7l-.18.69h.7l-.22.69z\",\n\t\t\t\ttransform: \"matrix(.70137 0 0 .70137 -12.86 -12.819)\"\n\t\t\t}),\n\t\t\twp.element.createElement(\"path\", {\n\t\t\t\tfill: \"#C90813\",\n\t\t\t\tfillRule: \"nonzero\",\n\t\t\t\td: \"M40.43 30.43h-9s-.07-.07-.07-.14v-1.15c0-.08 0-.14.07-.14h9s.07.06.07.14v1.15c0 .07-.03.14-.07.14z\",\n\t\t\t\ttransform: \"matrix(.76098 0 0 1.40315 -14.824 -33.72)\"\n\t\t\t}),\n\t\t\twp.element.createElement(\"path\", {\n\t\t\t\tfill: \"#C90813\",\n\t\t\t\tfillRule: \"nonzero\",\n\t\t\t\td: \"M40.43 30.43h-9s-.07-.07-.07-.14v-1.15c0-.08 0-.14.07-.14h9s.07.06.07.14v1.15c0 .07-.03.14-.07.14z\",\n\t\t\t\ttransform: \"matrix(.76098 0 0 1.40315 -14.824 -30.682)\"\n\t\t\t}),\n\t\t\twp.element.createElement(\"path\", {\n\t\t\t\tfill: \"#C90813\",\n\t\t\t\tfillRule: \"nonzero\",\n\t\t\t\td: \"M40.43 30.43h-9s-.07-.07-.07-.14v-1.15c0-.08 0-.14.07-.14h9s.07.06.07.14v1.15c0 .07-.03.14-.07.14z\",\n\t\t\t\ttransform: \"matrix(.76098 0 0 1.40315 -14.824 -27.682)\"\n\t\t\t}),\n\t\t\twp.element.createElement(\"path\", {\n\t\t\t\tfill: \"#C90813\",\n\t\t\t\tfillRule: \"nonzero\",\n\t\t\t\td: \"M29.753 30.43H29a1.09 1.09 0 010-.14v-1.15a1.09 1.09 0 010-.14h.753a.818.818 0 010 .14v1.15a1.09 1.09 0 010 .14z\",\n\t\t\t\ttransform: \"translate(-33.525 -33.475) scale(1.39576)\"\n\t\t\t}),\n\t\t\twp.element.createElement(\"path\", {\n\t\t\t\tfill: \"#C90813\",\n\t\t\t\tfillRule: \"nonzero\",\n\t\t\t\td: \"M29.753 30.43H29a1.09 1.09 0 010-.14v-1.15a1.09 1.09 0 010-.14h.753a.818.818 0 010 .14v1.15a1.09 1.09 0 010 .14z\",\n\t\t\t\ttransform: \"translate(-33.525 -30.438) scale(1.39576)\"\n\t\t\t}),\n\t\t\twp.element.createElement(\"path\", {\n\t\t\t\tfill: \"#C90813\",\n\t\t\t\tfillRule: \"nonzero\",\n\t\t\t\td: \"M29.753 30.43H29a1.09 1.09 0 010-.14v-1.15a1.09 1.09 0 010-.14h.753a.818.818 0 010 .14v1.15a1.09 1.09 0 010 .14z\",\n\t\t\t\ttransform: \"translate(-33.525 -27.438) scale(1.39576)\"\n\t\t\t}),\n\t\t\twp.element.createElement(\"path\", {\n\t\t\t\tfill: \"#C90813\",\n\t\t\t\tfillRule: \"nonzero\",\n\t\t\t\td: \"M43.45 45.59h.94l.25-.92h-.94l-.25.92z\",\n\t\t\t\ttransform: \"matrix(.70137 0 0 .70137 -12.86 -12.819)\"\n\t\t\t})\n\t\t)\n\t),\n\t\"modal\": wp.element.createElement(\n\t\tFragment,\n\t\tnull,\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M53.19 23.916H18.81c-.549 0-1 .451-1 1v28.385c0 .549.451 1 1 1h34.38c.549 0 1-.451 1-1V24.916c0-.549-.451-1-1-1zm-31.543 1.988c1.063 0 1.937.874 1.937 1.936a1.946 1.946 0 01-1.937 1.936 1.945 1.945 0 01-1.936-1.936c0-1.062.874-1.936 1.936-1.936zm29.67 25.398H20.814V31.52h30.503v19.782z\",\n\t\t\ttransform: \"matrix(.65893 0 0 .65893 -11.74 -13.775)\"\n\t\t}),\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M46.5 39.4H33.87l-.02.001a.15.15 0 01-.15-.15V38.07a.16.16 0 01.16-.15H46.5a.17.17 0 01.17.15v1.18a.16.16 0 01-.16.15h-.01z\",\n\t\t\ttransform: \"matrix(.61639 0 0 .61639 -9.754 -12.36)\"\n\t\t}),\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M46.5 39.4H33.87l-.02.001a.15.15 0 01-.15-.15V38.07a.16.16 0 01.16-.15H46.5a.17.17 0 01.17.15v1.18a.16.16 0 01-.16.15h-.01z\",\n\t\t\ttransform: \"matrix(1.15771 0 0 .61639 -35.018 -6.373)\"\n\t\t}),\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M46.5 42.46H33.87l-.02.001a.15.15 0 01-.15-.141v-1.18-.001a.15.15 0 01.15-.15l.02.001h12.64a.16.16 0 01.16.15v1.18a.16.16 0 01-.17.14z\",\n\t\t\ttransform: \"matrix(.61639 0 0 .61639 -9.754 -12.25)\"\n\t\t}),\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M46.57 36.52H33.8c-.06 0-.1-.07-.1-.15v-1.14c0-.08 0-.15.1-.15h12.77c.06 0 .1.07.1.15v1.14c0 .08-.04.15-.1.15z\",\n\t\t\ttransform: \"matrix(.61639 0 0 .61639 -9.754 -12.587)\"\n\t\t}),\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M46.57 36.52H33.8c-.06 0-.1-.07-.1-.15v-1.14c0-.08 0-.15.1-.15h12.77c.06 0 .1.07.1.15v1.14c0 .08-.04.15-.1.15z\",\n\t\t\ttransform: \"matrix(1.15771 0 0 .61639 -35.018 -6.6)\"\n\t\t}),\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M30.87 42.68h-6.6a.603.603 0 01-.6-.6v-6.61c0-.329.271-.6.6-.6h6.6c.329 0 .6.271.6.6v6.61c0 .329-.271.6-.6.6zm-5.721-6.394v4.875h5.121\",\n\t\t\ttransform: \"matrix(.63676 0 0 .63676 -11.042 -13.222)\"\n\t\t})\n\t),\n\t\"related\": wp.element.createElement(\n\t\tFragment,\n\t\tnull,\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M19.14 43.07h16.69v-2.83H22v-8.47h4.27v2.62l6.68-3.87-6.68-3.88v2.29h-7.1l-.03 14.14zM39.08 41.48l6.68 3.88v-2.29h7.1V28.93H36.17v2.84H50v8.47h-4.24v-2.63l-6.68 3.87z\",\n\t\t\ttransform: \"translate(-13.621 -13.611) scale(.71105)\"\n\t\t})\n\t),\n\t\"stat\": wp.element.createElement(\n\t\tFragment,\n\t\tnull,\n\t\twp.element.createElement(\n\t\t\t\"g\",\n\t\t\tnull,\n\t\t\twp.element.createElement(\"path\", {\n\t\t\t\tfill: \"#C90813\",\n\t\t\t\td: \"M11.726 6.382a.318.318 0 00-.301.318v5.456c0 .176.142.319.319.319h5.259a.32.32 0 00.318-.289 5.316 5.316 0 00-5.595-5.804zm1.037 1.553v3.174l2.669-.004c.002-.032.16.021.16-.029 0-.863-1.141-3.13-2.829-3.141z\",\n\t\t\t\ttransform: \"translate(-4.386 -6.959) scale(1.4387)\"\n\t\t\t}),\n\t\t\twp.element.createElement(\"path\", {\n\t\t\t\tfill: \"#C90813\",\n\t\t\t\tstroke: \"#C90813\",\n\t\t\t\tstrokeWidth: \"0.27\",\n\t\t\t\td: \"M11.759 11.207l5.209.026s-.011 1.285-.022 1.345a4.999 4.999 0 01-4.916 4.104 4.997 4.997 0 01-4.995-4.995c0-2.661 2.095-4.866 4.718-5.015l.006 4.535z\",\n\t\t\t\ttransform: \"translate(-7.345 -3.52) scale(1.47642)\"\n\t\t\t})\n\t\t)\n\t),\n\t\"buniverse\": wp.element.createElement(\n\t\tFragment,\n\t\tnull,\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M53.78 24.16H19.39c-.549 0-1 .451-1 1v22.259c0 .549.451 1 1 1h34.39c.549 0 1-.451 1-1V25.16c0-.549-.451-1-1-1zm-1.973 21.261H21.394V27.21h30.413v18.211z\",\n\t\t\ttransform: \"matrix(.65856 0 0 .65856 -12.098 -11.908)\"\n\t\t}),\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M39.719 36.32l-6.111-3.565v7.09l6.111-3.525z\",\n\t\t\ttransform: \"matrix(.97342 0 0 .97342 -23.102 -23.285)\"\n\t\t})\n\t),\n\t\"headline\": wp.element.createElement(\n\t\tFragment,\n\t\tnull,\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M36 48.4c-6.802 0-12.4-5.598-12.4-12.4 0-6.802 5.598-12.4 12.4-12.4 6.802 0 12.4 5.598 12.4 12.4-.011 6.798-5.602 12.389-12.4 12.4zm0-22.314c-5.439 0-9.914 4.475-9.914 9.914s4.475 9.914 9.914 9.914 9.914-4.475 9.914-9.914-4.475-9.914-9.914-9.914z\",\n\t\t\ttransform: \"matrix(.967 0 0 .967 -22.812 -22.812)\"\n\t\t}),\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M.157 0h.329v-.08L.407-.097v-.5h.097l.033.127h.095L.623-.693H.02L.011-.47h.096l.032-.127h.097v.5L.157-.08V0z\",\n\t\t\ttransform: \"matrix(12.4549 0 0 13.538 7.997 16.96)\"\n\t\t})\n\t),\n\t\"photoessay\": wp.element.createElement(\n\t\tFragment,\n\t\tnull,\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M52.305 24.16H18.81c-.549 0-1 .451-1 1v21.68c0 .549.451 1 1 1h33.495c.549 0 1-.451 1-1V25.16c0-.549-.451-1-1-1zm-18.186 2.968v7.36H20.756v-7.36h13.363zm-13.363 10.38h13.363v7.41m16.282-.037H37.067l.009-17.753H50.4l.001 17.753z\",\n\t\t\ttransform: \"matrix(.67517 0 0 .67517 -12.02 -12.31)\"\n\t\t}),\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M49.106 37.477h-10s-.07 0-.08-.09a.21.21 0 010-.14l3.09-4.622a.06.06 0 01.09 0l2.2 3.442 1.71-1.67a.059.059 0 01.08 0l2.92 2.84a.215.215 0 010 .15c.06.05.03.09-.01.09z\",\n\t\t\ttransform: \"matrix(.67517 0 0 .67517 -12.02 -12.31)\"\n\t\t})\n\t),\n\t\"button\": wp.element.createElement(\n\t\tFragment,\n\t\tnull,\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M45.283 27.5H26.779c-4.33 0-7.85 3.81-7.85 8.5 0 4.69 3.52 8.5 7.85 8.5h18.504c4.33 0 7.85-3.81 7.85-8.5 0-4.69-3.52-8.5-7.85-8.5zm-5.493 6.89L36.28 38l-1.06 1a.253.253 0 01-.18.08.25.25 0 01-.17-.08l-2.66-2.65a.29.29 0 01-.07-.18.24.24 0 01.07-.17l1.07-1a.25.25 0 01.17-.08c.068.001.133.03.18.08L35 36.37 38.37 33a.253.253 0 01.18-.08.25.25 0 01.17.08l1.07 1a.281.281 0 01.07.17.289.289 0 01-.07.22z\",\n\t\t\ttransform: \"translate(-13.32 -13.32) scale(.70331)\"\n\t\t})\n\t),\n\t\"pullquote\": wp.element.createElement(\n\t\tFragment,\n\t\tnull,\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M33.25 36.3a1.605 1.605 0 01-1.35-1.63v-.034c0-.954.785-1.74 1.74-1.74.036 0 .073.002.11.004 1.24 0 2 1 2 2.41 0 2.08-1.38 3.61-3.89 3.79v-.7c1.42-.24 2.28-1 2.38-2.1h-.99zm4.46 0a1.605 1.605 0 01-1.35-1.63v-.022A1.758 1.758 0 0138.2 32.9c1.25 0 2 1 2 2.41 0 2.08-1.37 3.61-3.88 3.79v-.7c1.45-.24 2.28-1 2.41-2.1h-1.02z\",\n\t\t\ttransform: \"translate(-29.48 -29.524) scale(1.15278)\"\n\t\t}),\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M36 48.4c-6.802 0-12.4-5.598-12.4-12.4 0-6.802 5.598-12.4 12.4-12.4 6.802 0 12.4 5.598 12.4 12.4-.011 6.798-5.602 12.389-12.4 12.4zm0-21.879c-5.2 0-9.479 4.279-9.479 9.479 0 5.2 4.279 9.479 9.479 9.479 5.2 0 9.479-4.279 9.479-9.479 0-5.2-4.279-9.479-9.479-9.479z\",\n\t\t\ttransform: \"matrix(.96695 0 0 .96695 -22.786 -22.835)\"\n\t\t})\n\t),\n\t\"leadin\": wp.element.createElement(\n\t\tFragment,\n\t\tnull,\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M52.297 24.16H18.81c-.549 0-1 .451-1 1v21.68c0 .549.451 1 1 1h33.487c.548 0 1-.451 1-1V25.16c0-.549-.452-1-1-1zM35.553 44.889H20.775V27.094h14.778v17.795zm15.327-7.378H38.656s-.086 0-.098-.11a.264.264 0 010-.171l3.827-4.375a.073.073 0 01.11 0l2.657 2.937 2.084-2.035a.072.072 0 01.097 0l3.559 3.461a.262.262 0 010 .183c.073.061.037.11-.012.11z\",\n\t\t\ttransform: \"matrix(.67528 0 0 .67528 -12.017 -12.301)\"\n\t\t}),\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M30.455 37.467h-6.573c-.05 0-.292-.07-.292-.15v-.457c0-.08.202-.14.292-.14h6.573c.06 0 .435.06.435.14v.457c0 .08-.375.15-.435.15z\",\n\t\t\ttransform: \"matrix(1.08994 0 0 1.35704 -22.73 -37.816)\"\n\t\t}),\n\t\twp.element.createElement(\"path\", {\n\t\t\tfill: \"#C90813\",\n\t\t\tfillRule: \"nonzero\",\n\t\t\td: \"M30.505 35.28h-6.663s-.252-.06-.252-.14v-.399c0-.08.202-.15.252-.15h6.663s.385.07.385.15v.399c0 .08-.355.14-.385.14z\",\n\t\t\ttransform: \"matrix(1.08994 0 0 1.3643 -22.686 -37.155)\"\n\t\t})\n\t)\n\n};\n\n// Get the internal paths/shapes of the\n// icon, else return default brick icon.\nvar getIcon = function getIcon(name) {\n\tif (icons[name]) {\n\t\treturn icons[name];\n\t} else {\n\t\treturn icons[\"default\"];\n\t}\n};\n\n// exported component function for use\n// in Blocks to retrieve an icon by name.\nvar blockIcons = function blockIcons(name) {\n\treturn wp.element.createElement(\n\t\t\"svg\",\n\t\t{\n\t\t\txmlns: \"http://www.w3.org/2000/svg\",\n\t\t\tfillRule: \"evenodd\",\n\t\t\tstrokeLinejoin: \"round\",\n\t\t\tstrokeMiterlimit: \"2\",\n\t\t\tclipRule: \"evenodd\",\n\t\t\tviewBox: \"0 0 24 24\"\n\t\t},\n\t\tgetIcon(name)\n\t);\n};\n\n// Export the blockIcons function.\n/* harmony default export */ __webpack_exports__[\"a\"] = (blockIcons);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMS5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9jb21wb25lbnRzL2Jsb2NrLWljb25zL2luZGV4LmpzPzM1OTYiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBDb21wb25lbnQ6IGJsb2NrSWNvbnNcbiAqXG4gKiBSZXR1cm5zIGEgc2V0IG9mIGJsb2NrIGljb25zIGZvciB1c2UgaW4gdGhlIEd1dGVuYmVyZyBVSVxuICpcbiAqL1xuXG4vLyBXb3JkUHJlc3MgZGVwZW5kZW5jaWVzLlxudmFyIEZyYWdtZW50ID0gd3AuZWxlbWVudC5GcmFnbWVudDtcblxuLy8gQXJyYXkgb2YgaWNvbiBwYXRocywgdGhlIGlubmVyIGVsZW1lbnRzIG9mIHRoZSBzdmcgaWNvbiBvbmx5LlxuLy8gRGVmYXVsdCBpdGVtIGluIG9iamVjdCBpcyBmb3IgZmFsbGJhY2sgcHVycG9zZXMuXG5cbnZhciBpY29ucyA9IHtcblx0XCJkZWZhdWx0XCI6IHdwLmVsZW1lbnQuY3JlYXRlRWxlbWVudChcblx0XHRGcmFnbWVudCxcblx0XHRudWxsLFxuXHRcdHdwLmVsZW1lbnQuY3JlYXRlRWxlbWVudChcInBhdGhcIiwgeyBmaWxsOiBcIiNjMDBcIiwgZDogXCJNMTkgN2gtMVY1aC00djJoLTRWNUg2djJINWMtMS4xIDAtMiAuOS0yIDJ2MTBoMThWOWM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O0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///1\n");
-
-/***/ }),
-/* 2 */
-/*!***************************************!*\
- !*** ./src/global/allowed-formats.js ***!
- \***************************************/
-/*! exports provided: default */
-/*! exports used: default */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-eval("/**\n * Provide the expected attribute value for a list of allowed\n * formatting controls.\n *\n * Before Gutenberg 6.2.0, the formatting controls on RichText elements\n * were controlled with the `formattingControls` attribute.\n *\n * In Gutenberg 6.2.0, the `allowedFormats` attribute was introduced that\n * performs the same function with slightly different expectations.\n *\n * React does not render attributes that have `false` set as a value, so the\n * pattern provided by `getAllowedFormats` handles both `allowedFormats` and\n * `formattingControls` and then sets one of them to `false` depending on which\n * environment is detected.\n *\n * As an example, the following attributes restrict formatting controls to bold\n * and italic, a common pattern throughout the BU Blocks plugin:\n *\n * \t\t\n */\n\nvar getAllowedFormats = function getAllowedFormats(type, allowedFormats) {\n var supportsAllowedFormats = 'undefined' === typeof wp.blockEditor ? false : true;\n\n if ('allowedFormats' === type) {\n return supportsAllowedFormats ? allowedFormats : false;\n } else if ('formattingControls' === type) {\n return supportsAllowedFormats ? false : allowedFormats;\n }\n\n return allowedFormats;\n};\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (getAllowedFormats);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMi5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9nbG9iYWwvYWxsb3dlZC1mb3JtYXRzLmpzPzUxODciXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBQcm92aWRlIHRoZSBleHBlY3RlZCBhdHRyaWJ1dGUgdmFsdWUgZm9yIGEgbGlzdCBvZiBhbGxvd2VkXG4gKiBmb3JtYXR0aW5nIGNvbnRyb2xzLlxuICpcbiAqIEJlZm9yZSBHdXRlbmJlc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0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///2\n");
-
-/***/ }),
-/* 3 */
-/*!*************************************!*\
- !*** ./src/global/theme-options.js ***!
- \*************************************/
-/*! exports provided: default */
-/*! exports used: default */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__publication_slug__ = __webpack_require__(/*! ./publication-slug */ 5);\n/**\n * Adds an array of color objects to the editor or theme defaults,\n * and returns it for passing to the `colors` prop.\n */\n\n// WordPress dependencies.\nvar _wp$data = wp.data,\n select = _wp$data.select,\n dispatch = _wp$data.dispatch;\n\nvar _select = select('core/editor'),\n getEditorSettings = _select.getEditorSettings;\n\nvar _dispatch = dispatch('core/editor'),\n updateEditorSettings = _dispatch.updateEditorSettings;\n\n// Populate selectors that were in core/editor until WordPress 5.2 and are\n// now located in core/block-editor.\n\n\nvar _ref = 'undefined' === typeof select('core/block-editor') ? select('core/editor') : select('core/block-editor'),\n getSettings = _ref.getSettings;\n\n// Populate actions that were in core/editor until WordPress 5.2 and are\n// now located in core/block-editor.\n\n\nvar _ref2 = 'undefined' === typeof dispatch('core/block-editor') ? dispatch('core/editor') : dispatch('core/block-editor'),\n updateSettings = _ref2.updateSettings;\n\n\n\nvar themeOptions = function themeOptions() {\n\tvar defaultColors = void 0;\n\n\t// Get the default colors as set by the block editor and in the theme\n\t// through `add_theme_support()`.\n\t//\n\t// getSettings is used in WordPress 5.2 and later.\n\t// getEditorSettings is used in WordPress 4.9 + Gutenberg.\n\tif ('undefined' === typeof getSettings) {\n\t\tdefaultColors = getEditorSettings().colors;\n\t} else {\n\t\tdefaultColors = getSettings().colors;\n\t}\n\n\t// Get default theme color options set by the active theme through the\n\t// `block_editor_settings` filter in PHP.\n\tvar defaultThemes = getEditorSettings().buDefaultThemes;\n\n\t// Get publication specific color options set by the active theme through\n\t// the `block_editor_settings` filter in PHP.\n\tvar publicationThemes = getEditorSettings().buPublicationThemes;\n\n\t// Retrieve the current publication from the DOM.\n\tvar publication = Object(__WEBPACK_IMPORTED_MODULE_0__publication_slug__[\"a\" /* default */])();\n\n\t// Populate the final `themeOptions` from the current publication, if the exist.\n\t// If not, use the default options.\n\tvar themeOptions = publicationThemes && publicationThemes[publication] ? publicationThemes[publication] : defaultThemes;\n\n\t/**\n * Add custom color objects to the defaults if they haven't already been added.\n *\n * Gutenberg returns a complete color object only if it is found in colors,\n * otherwise only the the hex code is returned.\n *\n * @see https://github.com/WordPress/gutenberg/blob/master/packages/editor/src/components/colors/utils.js#L7.\n */\n\tif (themeOptions && !themeOptions.some(function (v) {\n\t\treturn defaultColors.includes(v);\n\t})) {\n\t\tvar newColors = defaultColors.concat(themeOptions);\n\n\t\t// Update both the editor settings and general settings so that when a color\n\t\t// is chosen, the value is one of those expected by the component.\n\t\tupdateEditorSettings({ colors: newColors });\n\n\t\t// In WordPress 5.2 and alter, the settings should be updated outside of the\n\t\t// editor too, through updateSettings.\n\t\tif ('undefined' !== typeof updateSettings) {\n\t\t\tupdateSettings({ colors: newColors });\n\t\t}\n\t}\n\n\t// Return the array of custom color objects for passing to the `colors` prop.\n\treturn themeOptions;\n};\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (themeOptions);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9nbG9iYWwvdGhlbWUtb3B0aW9ucy5qcz81YzkzIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQWRkcyBhbiBhcnJheSBvZiBjb2xvciBvYmplY3RzIHRvIHRoZSBlZGl0b3Igb3IgdGhlbWUgZGVmYXVs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
- \********************************************/
-/*! exports provided: BackgroundAttributes, BackgroundOpacityToClass, default */
-/*! exports used: BackgroundAttributes, default */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-eval("/* unused harmony export BackgroundOpacityToClass */\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 24);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__editor_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__style_scss__ = __webpack_require__(/*! ./style.scss */ 25);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__style_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__attributes_js__ = __webpack_require__(/*! ./attributes.js */ 26);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"a\", function() { return __WEBPACK_IMPORTED_MODULE_3__attributes_js__[\"a\"]; });\nfunction _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; }\n\n/**\n * Component: background\n *\n * An absraction of the default Cover block for more general use inside blocks.\n *\n * Import this component and its attributes into a block with:\n * \t`import Background, { BackgroundAttributes } from '../../components/background';`\n*/\n\n// External dependencies.\n\n\n// Import CSS.\n\n\n\n// Internal dependencies.\n\n\n// WordPress dependencies.\nvar __ = wp.i18n.__;\nvar Fragment = wp.element.Fragment;\nvar _wp$components = wp.components,\n IconButton = _wp$components.IconButton,\n PanelBody = _wp$components.PanelBody,\n RangeControl = _wp$components.RangeControl,\n Spinner = _wp$components.Spinner,\n TextControl = _wp$components.TextControl,\n ToggleControl = _wp$components.ToggleControl,\n Toolbar = _wp$components.Toolbar;\n\nvar _ref = 'undefined' === typeof wp.blockEditor ? wp.editor : wp.blockEditor,\n BlockControls = _ref.BlockControls,\n InspectorControls = _ref.InspectorControls,\n MediaPlaceholder = _ref.MediaPlaceholder,\n MediaUpload = _ref.MediaUpload,\n MediaUploadCheck = _ref.MediaUploadCheck;\n\nvar _wp$url = wp.url,\n getAuthority = _wp$url.getAuthority,\n getPath = _wp$url.getPath,\n getQueryString = _wp$url.getQueryString;\nvar isBlobURL = wp.blob.isBlobURL;\nvar withState = wp.compose.withState;\n\n/**\n * Return a classname based on the value of the 'Background Opacity' setting.\n *\n * @param {number} ratio The value of the 'Background Opacity' setting.\n*/\n\nvar BackgroundOpacityToClass = function BackgroundOpacityToClass(ratio) {\n\treturn ratio === 100 ? null : 'has-background-opacity-' + 10 * Math.round(ratio / 10);\n};\n\n/**\n * The background component.\n *\n * @param {array} props The properties passed to the component.\n */\nfunction Background(props) {\n\tvar _classnames;\n\n\t// Destructure properties of this component with defaults.\n\tvar _props$allowedMediaTy = props.allowedMediaTypes,\n\t allowedMediaTypes = _props$allowedMediaTy === undefined ? ['image', 'video'] : _props$allowedMediaTy,\n\t blockProps = props.blockProps,\n\t _props$className = props.className,\n\t className = _props$className === undefined ? 'bu-blocks-background' : _props$className,\n\t _props$imageSize = props.imageSize,\n\t imageSize = _props$imageSize === undefined ? 'full' : _props$imageSize,\n\t _props$inlinePlacehol = props.inlinePlaceholder,\n\t inlinePlaceholder = _props$inlinePlacehol === undefined ? false : _props$inlinePlacehol,\n\t _props$options = props.options,\n\t options = _props$options === undefined ? ['opacity'] : _props$options,\n\t _props$placeholderTex = props.placeholderText,\n\t placeholderText = _props$placeholderTex === undefined ? __('Add Media') : _props$placeholderTex,\n\t isUploading = props.isUploading,\n\t setState = props.setState;\n\n\t// Get the properties of the block using this component.\n\n\tvar attributes = blockProps.attributes,\n\t setAttributes = blockProps.setAttributes;\n\n\t// Get the attributes for handling the background data.\n\n\tvar backgroundId = attributes.backgroundId,\n\t backgroundType = attributes.backgroundType,\n\t backgroundUrl = attributes.backgroundUrl,\n\t backgroundOpacity = attributes.backgroundOpacity,\n\t backgroundAlt = attributes.backgroundAlt,\n\t backgroundAutoplay = attributes.backgroundAutoplay;\n\n\t// Reset attributes to undefined.\n\n\tvar onRemoveMedia = function onRemoveMedia() {\n\t\tsetAttributes({\n\t\t\tbackgroundId: undefined,\n\t\t\tbackgroundType: undefined,\n\t\t\tbackgroundUrl: undefined,\n\t\t\tbackgroundAlt: undefined,\n\t\t\tbackgroundCaption: undefined\n\t\t});\n\t};\n\n\t// Set attributes based on the selected or uploaded media.\n\tvar onSelectMedia = function onSelectMedia(media) {\n\t\tif (!media || !media.url) {\n\t\t\tonRemoveMedia();\n\n\t\t\treturn;\n\t\t}\n\n\t\tif (isBlobURL(media.url)) {\n\t\t\tsetState({ isUploading: true });\n\n\t\t\tsetAttributes({ backgroundUrl: media.url });\n\n\t\t\treturn;\n\t\t}\n\n\t\tvar mediaType = void 0;\n\n\t\tif (media.media_type) {\n\t\t\t// Determine the media type from selections originating from a file upload.\n\t\t\t// Only images and videos are accepted. If the media_type is not an image,\n\t\t\t// we can assume it is a video (which contains the media type of 'file').\n\t\t\tmediaType = 'image' === media.media_type ? 'image' : 'video';\n\t\t} else {\n\t\t\t// Determine the media type from selections originating from existing files\n\t\t\t// in the media library.\n\t\t\tif (media.type !== 'image' && media.type !== 'video') {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tmediaType = media.type;\n\t\t}\n\n\t\tvar url = media.url;\n\n\t\t// Assign the block-designated size if it exists.\n\t\tif (mediaType === 'image' && imageSize !== 'full') {\n\t\t\t// The first check is for images already in the media library.\n\t\t\t// The second is for newly uploaded images.\n\t\t\tif (media.sizes && media.sizes[imageSize]) {\n\t\t\t\turl = media.sizes[imageSize].url;\n\t\t\t} else if (media.media_details && media.media_details.sizes[imageSize]) {\n\t\t\t\turl = media.media_details.sizes[imageSize].source_url;\n\t\t\t}\n\t\t}\n\n\t\tsetState({ isUploading: false });\n\n\t\tsetAttributes({\n\t\t\tbackgroundId: media.id,\n\t\t\tbackgroundType: mediaType,\n\t\t\tbackgroundUrl: url,\n\t\t\tbackgroundAlt: media.alt,\n\t\t\tbackgroundCaption: media.caption\n\t\t});\n\n\t\t// If an `onChange` attribute is part of the Background component, ensure\n\t\t// that fires as expected.\n\t\tif ('function' === typeof props.onChange) {\n\t\t\tprops.onChange(media, mediaType);\n\t\t}\n\t};\n\n\t// Set attributes based on a selected URL.\n\tvar onSelectURL = function onSelectURL(newURL) {\n\t\tvar allowedAuthorities = ['vimeo.com', 'www.youtube.com', 'youtu.be', 'www.bu.edu'];\n\t\tvar authority = getAuthority(newURL);\n\n\t\t// Stop here if the selected URL isn't from one of the allowed domains.\n\t\tif (newURL === backgroundUrl || !allowedAuthorities.includes(authority)) {\n\t\t\treturn;\n\t\t}\n\n\t\tsetAttributes({\n\t\t\tbackgroundId: undefined,\n\t\t\tbackgroundType: 'url',\n\t\t\tbackgroundUrl: newURL,\n\t\t\tbackgroundAlt: undefined,\n\t\t\tbackgroundCaption: undefined\n\t\t});\n\t};\n\n\t/**\n * Return the media placeholder if no media has been set.\n */\n\tvar placeholder = function placeholder() {\n\t\tif (backgroundUrl) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\treturn wp.element.createElement(\n\t\t\tMediaUploadCheck,\n\t\t\tnull,\n\t\t\twp.element.createElement(MediaPlaceholder, {\n\t\t\t\ticon: 'format-image',\n\t\t\t\tclassName: className,\n\t\t\t\tlabels: {\n\t\t\t\t\ttitle: placeholderText,\n\t\t\t\t\tinstructions: __('Drag, upload, or select a file from your library.')\n\t\t\t\t},\n\t\t\t\tonSelect: onSelectMedia,\n\t\t\t\tonSelectURL: allowedMediaTypes.includes('video') ? onSelectURL : undefined,\n\t\t\t\tallowedTypes: allowedMediaTypes\n\t\t\t}),\n\t\t\tallowedMediaTypes.includes('video') && wp.element.createElement(\n\t\t\t\t'p',\n\t\t\t\t{ className: 'description components-bu-background-url-note' },\n\t\t\t\t'YouTube, Vimeo, and BUniverse URLs are supported at this time.'\n\t\t\t)\n\t\t);\n\t};\n\n\t// Return inspector controls.\n\tvar inspectorControls = wp.element.createElement(\n\t\tInspectorControls,\n\t\tnull,\n\t\twp.element.createElement(\n\t\t\tPanelBody,\n\t\t\t{\n\t\t\t\ttitle: __('Media Settings'),\n\t\t\t\tclassName: 'components-panel__body-bu-background-media'\n\t\t\t},\n\t\t\t!inlinePlaceholder && placeholder(),\n\t\t\t!!backgroundUrl && wp.element.createElement(\n\t\t\t\tFragment,\n\t\t\t\tnull,\n\t\t\t\tbackgroundType === 'url' ? wp.element.createElement(TextControl, {\n\t\t\t\t\tlabel: __('URL'),\n\t\t\t\t\tvalue: backgroundUrl,\n\t\t\t\t\tonChange: function onChange(backgroundUrl) {\n\t\t\t\t\t\tsetAttributes({\n\t\t\t\t\t\t\tbackgroundUrl: backgroundUrl,\n\t\t\t\t\t\t\tbackgroundType: backgroundUrl === '' ? undefined : backgroundType\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t}) : wp.element.createElement(\n\t\t\t\t\tMediaUploadCheck,\n\t\t\t\t\tnull,\n\t\t\t\t\twp.element.createElement(MediaUpload, {\n\t\t\t\t\t\tonSelect: onSelectMedia,\n\t\t\t\t\t\tallowedTypes: allowedMediaTypes,\n\t\t\t\t\t\tvalue: backgroundId,\n\t\t\t\t\t\trender: function render(_ref2) {\n\t\t\t\t\t\t\tvar open = _ref2.open;\n\t\t\t\t\t\t\treturn wp.element.createElement(\n\t\t\t\t\t\t\t\tIconButton,\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tonClick: open,\n\t\t\t\t\t\t\t\t\ticon: 'edit',\n\t\t\t\t\t\t\t\t\tlabel: __('Edit Background Media'),\n\t\t\t\t\t\t\t\t\tisDefault: true,\n\t\t\t\t\t\t\t\t\tisLarge: true\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t__('Edit')\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t}),\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\tIconButton,\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tonClick: onRemoveMedia,\n\t\t\t\t\t\t\ticon: 'no',\n\t\t\t\t\t\t\tlabel: 'Remove Background Media',\n\t\t\t\t\t\t\tisDefault: true,\n\t\t\t\t\t\t\tisLarge: true\n\t\t\t\t\t\t},\n\t\t\t\t\t\t__('Remove')\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t),\n\t\t\toptions.includes('opacity') && wp.element.createElement(RangeControl, {\n\t\t\t\tlabel: __('Background Opacity'),\n\t\t\t\tvalue: backgroundOpacity,\n\t\t\t\tonChange: function onChange(ratio) {\n\t\t\t\t\treturn setAttributes({ backgroundOpacity: ratio });\n\t\t\t\t},\n\t\t\t\tmin: 10,\n\t\t\t\tmax: 100,\n\t\t\t\tstep: 10\n\t\t\t}),\n\t\t\t(backgroundType === 'video' || backgroundType === 'url') && wp.element.createElement(ToggleControl, {\n\t\t\t\tlabel: __('Autoplay video'),\n\t\t\t\tchecked: backgroundAutoplay,\n\t\t\t\tonChange: function onChange() {\n\t\t\t\t\treturn setAttributes({ backgroundAutoplay: !backgroundAutoplay });\n\t\t\t\t}\n\t\t\t})\n\t\t)\n\t);\n\n\t// Defines the controls for the background options.\n\tvar controls = wp.element.createElement(\n\t\tFragment,\n\t\tnull,\n\t\tinlinePlaceholder && placeholder(),\n\t\t!!backgroundUrl && backgroundType !== 'url' && wp.element.createElement(\n\t\t\tBlockControls,\n\t\t\tnull,\n\t\t\twp.element.createElement(\n\t\t\t\tToolbar,\n\t\t\t\tnull,\n\t\t\t\twp.element.createElement(\n\t\t\t\t\tMediaUploadCheck,\n\t\t\t\t\tnull,\n\t\t\t\t\twp.element.createElement(MediaUpload, {\n\t\t\t\t\t\tonSelect: onSelectMedia,\n\t\t\t\t\t\tallowedMediaTypes: allowedMediaTypes,\n\t\t\t\t\t\tvalue: backgroundId,\n\t\t\t\t\t\trender: function render(_ref3) {\n\t\t\t\t\t\t\tvar open = _ref3.open;\n\t\t\t\t\t\t\treturn wp.element.createElement(IconButton, {\n\t\t\t\t\t\t\t\tclassName: 'components-toolbar__control',\n\t\t\t\t\t\t\t\tlabel: __('Edit Background Media'),\n\t\t\t\t\t\t\t\ticon: 'edit',\n\t\t\t\t\t\t\t\tonClick: open\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t}),\n\t\t\t\t\twp.element.createElement(IconButton, {\n\t\t\t\t\t\tclassName: 'components-toolbar__control',\n\t\t\t\t\t\tlabel: 'Remove Background Media',\n\t\t\t\t\t\ticon: 'no',\n\t\t\t\t\t\tonClick: onRemoveMedia\n\t\t\t\t\t})\n\t\t\t\t)\n\t\t\t)\n\t\t),\n\t\t(!inlinePlaceholder || backgroundUrl) && inspectorControls\n\t);\n\n\t// Build the classes to apply to the background element.\n\tvar classes = __WEBPACK_IMPORTED_MODULE_0_classnames___default()(className, (_classnames = {\n\t\t'has-background-opacity': backgroundOpacity !== 100\n\t}, _defineProperty(_classnames, BackgroundOpacityToClass(backgroundOpacity), BackgroundOpacityToClass(backgroundOpacity)), _defineProperty(_classnames, 'wp-image-' + backgroundId, backgroundId && 'image' === backgroundType), _classnames));\n\n\t// Return an image element for use as the background.\n\tvar backgroundImage = wp.element.createElement('img', {\n\t\tclassName: classes,\n\t\tsrc: backgroundUrl,\n\t\talt: backgroundAlt\n\t});\n\n\t// Return a video element for use as the background.\n\tvar backgroundVideo = wp.element.createElement('video', {\n\t\tclassName: classes,\n\t\tautoPlay: backgroundAutoplay,\n\t\tmuted: backgroundAutoplay,\n\t\tloop: backgroundAutoplay,\n\t\tsrc: backgroundUrl\n\t});\n\n\t// Return an iframe for use as the background.\n\tvar backgroundIframe = function backgroundIframe() {\n\t\tvar authority = getAuthority(backgroundUrl);\n\t\tvar url = '';\n\n\t\tif (authority === 'www.youtube.com' || authority === 'youtu.be') {\n\t\t\tvar videoId = authority === 'youtu.be' ? getPath(backgroundUrl) : getQueryString(backgroundUrl).split('?')[0].substr(2);\n\n\t\t\t// Build the url, adding autoplay parameters if appropriate.\n\t\t\turl = '//www.youtube.com/embed/' + videoId;\n\t\t\turl += backgroundAutoplay ? '?controls=0&autoplay=1&mute=1&origin=http://bu.edu&version=3&loop=1&playlist=' + videoId : '';\n\t\t}\n\n\t\tif (authority === 'vimeo.com') {\n\t\t\tvar _videoId = getPath(backgroundUrl);\n\n\t\t\t// Build the url, adding the background parameter for autoplaying if appropriate.\n\t\t\turl = '//player.vimeo.com/video/' + _videoId;\n\t\t\turl += backgroundAutoplay ? '?background=1' : '';\n\t\t}\n\n\t\tif (authority === 'www.bu.edu') {\n\t\t\tvar _videoId2 = getQueryString(backgroundUrl).split('?')[0].substr(2);\n\n\t\t\t// Build the URL, adding the autoplay parameter if appropriate.\n\t\t\turl = '//www.bu.edu/buniverse/interface/embed/embed.html?v=' + _videoId2 + '&jsapi=1';\n\t\t\turl += backgroundAutoplay ? '&autoplay=true&controls=0' : '';\n\t\t}\n\n\t\tif (url !== '') {\n\t\t\treturn wp.element.createElement('iframe', {\n\t\t\t\tsrc: url,\n\t\t\t\tframeborder: '0',\n\t\t\t\tallow: 'autoplay; fullscreen',\n\t\t\t\tclassName: classes\n\t\t\t});\n\t\t}\n\t};\n\n\t// Return the interface for the background component.\n\treturn wp.element.createElement(\n\t\tFragment,\n\t\tnull,\n\t\tcontrols,\n\t\t'image' === backgroundType && backgroundImage,\n\t\t'video' === backgroundType && backgroundVideo,\n\t\t'url' === backgroundType && wp.element.createElement(\n\t\t\t'div',\n\t\t\t{ className: 'wp-block-background-video' },\n\t\t\twp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'wp-block-background-video-ratio' },\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'wp-block-background-video-iframe' },\n\t\t\t\t\tbackgroundIframe()\n\t\t\t\t)\n\t\t\t)\n\t\t),\n\t\tisUploading && wp.element.createElement(\n\t\t\t'div',\n\t\t\t{ className: 'wp-block-background-is-uploading' },\n\t\t\twp.element.createElement('img', { src: backgroundUrl }),\n\t\t\twp.element.createElement(Spinner, null)\n\t\t)\n\t);\n}\n\n// Export dependencies for easy importing in blocks.\n\n\n// Export the background interface.\n/* harmony default export */ __webpack_exports__[\"b\"] = (withState({\n\tisUploading: false\n})(Background));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNC5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9jb21wb25lbnRzL2JhY2tncm91bmQvaW5kZXguanM/YWYyZiJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZGVmaW5lUHJvcGVydHkob2JqLCBrZXksIHZhbHVlKSB7IGlmIChrZXkgaW4gb2JqKSB7IE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosIGtleSwgeyB2YWx1ZTogdmFsdWUsIGVudW1lcmFibGU6IHRydWUsIGNvbmZpZ3VyYWJsZTogdHJ1ZSwgd3JpdGFibGU6IHRydWUgfSk7IH0gZWxzZSB7IG9ialtrZXldID0gdmFsdWU7IH0gcmV0dXJuIG9iajsgfVxuXG4vKipcbiAqIENvbXBvbmVudDogYmFja2dyb3VuZFxuICpcbiAqIEFuIGFic3JhY3Rpb24gb2YgdGhlIGRlZmF1bHQgQ292ZXIgYmxvY2sgZm9yIG1vcmUgZ2VuZXJhbCB1c2UgaW5zaWRlIGJsb2Nrcy5cbiAqXG4gKiBJbXBvcnQgdGhpcyBjb21wb25lbnQgYW5kIGl0cyBhdHRyaWJ1dGVzIGludG8gYSBibG9jayB3aXRoOlxuICogXHRgaW1wb3J0IEJhY2tncm91bmQsIHsgQmFja2dyb3VuZE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E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///4\n");
-
-/***/ }),
-/* 5 */
-/*!****************************************!*\
- !*** ./src/global/publication-slug.js ***!
- \****************************************/
-/*! exports provided: default */
-/*! exports used: default */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-eval("/**\n * Component: publicationSlug\n *\n * Returns a filterable string representing the current content's publication.\n */\n\nvar applyFilters = wp.hooks.applyFilters;\n\n// Return the publication owner for a block if\n// one is available in the DOM.\n\nvar publicationSlug = function publicationSlug() {\n\tvar publication = document.getElementById('bu_publication_owner');\n\tvar publicationSlug = 'bu-blocks';\n\n\tif (null !== publication) {\n\t\tpublicationSlug = publication.value;\n\t}\n\n\treturn applyFilters('buBlocks.global.publicationSlug', publicationSlug);\n};\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (publicationSlug);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNS5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9nbG9iYWwvcHVibGljYXRpb24tc2x1Zy5qcz9kMzJlIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQ29tcG9uZW50OiBwdWJsaWNhdGlvblNsdWdcbiAqXG4gKiBSZXR1cm5zIGEgZmlsdGVyYWJsZSBzdHJpbmcgcmVwcmVzZW50aW5nIHRoZSBj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webpack-internal:///5\n");
-
-/***/ }),
-/* 6 */
-/*!************************************************!*\
- !*** ./src/components/allowed-blocks/index.js ***!
- \************************************************/
-/*! exports provided: default */
-/*! exports used: default */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-eval("/**\n * Component: allowedBlocks\n *\n * Returns a filterable list of blocks to allow within BU layout-type blocks.\n *\n * This list is used for the Aside, Drawer, and Modal blocks.\n */\n\n// WordPress dependencies.\nvar getBlockTypes = wp.blocks.getBlockTypes;\nvar applyFilters = wp.hooks.applyFilters;\n\n// Blocks to exclude from allowedBlocks array for layout-type blocks.\n\nvar excludeBlocks = ['bu/leadin', 'core/more', 'core/nextpage', 'core/separator', 'core/spacer', 'editorial/aside', 'editorial/drawer', 'editorial/modal', 'editorial-preset/aside'];\n\n// Returns a list of all block namess except those in the excludeBlocks array.\nvar allowedBlocks = function allowedBlocks() {\n\texcludeBlocks = applyFilters('buBlocks.layoutBlockTypes.excludeBlocks', excludeBlocks);\n\n\tvar allowed = getBlockTypes().map(function (_ref) {\n\t\tvar name = _ref.name;\n\n\t\tif (name && !excludeBlocks.includes(name)) {\n\t\t\treturn name;\n\t\t}\n\t});\n\n\treturn allowed;\n};\n\n// Export the allowedBlocks function.\n/* harmony default export */ __webpack_exports__[\"a\"] = (allowedBlocks);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNi5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9jb21wb25lbnRzL2FsbG93ZWQtYmxvY2tzL2luZGV4LmpzPzA2NGQiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBDb21wb25lbnQ6IGFsbG93ZWRCbG9ja3NcbiAqXG4gKiBSZXR1cm5zIGEgZmlsdGVyYWJsZSBsaXN0IG9mIGJsb2NrcyB0byBhbGxvdyB3aXRoaW4gQlUgbGF5b3V0LXR5cGUgYmxvY2tzLlxuICpcbiAqIF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cdFx0XHRyZXR1cm4gbmFtZTtcblx0XHR9XG5cdH0pO1xuXG5cdHJldHVybiBhbGxvd2VkO1xufTtcblxuLy8gRXhwb3J0IHRoZSBhbGxvd2VkQmxvY2tzIGZ1bmN0aW9uLlxuZXhwb3J0IGRlZmF1bHQgYWxsb3dlZEJsb2NrcztcblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9jb21wb25lbnRzL2FsbG93ZWQtYmxvY2tzL2luZGV4LmpzXG4vLyBtb2R1bGUgaWQgPSA2XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///6\n");
-
-/***/ }),
-/* 7 */
-/*!************************************************!*\
- !*** ./src/blocks/headline/heading-toolbar.js ***!
- \************************************************/
-/*! exports provided: default */
-/*! exports used: default */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-eval("var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n/**\n * WordPress dependencies\n */\nvar _wp$i18n = wp.i18n,\n __ = _wp$i18n.__,\n sprintf = _wp$i18n.sprintf;\nvar Component = wp.element.Component;\nvar _wp$components = wp.components,\n Toolbar = _wp$components.Toolbar,\n Path = _wp$components.Path,\n SVG = _wp$components.SVG;\n\n// Copied from Gutenberg.\n// https://github.com/WordPress/gutenberg/blob/4a94950aec074274bea2c0d88aeeb550c9a95cc6/packages/block-library/src/heading/heading-level-icon.js.\n\nvar HeadingLevelIcon = function HeadingLevelIcon(_ref) {\n\tvar level = _ref.level,\n\t _ref$isPressed = _ref.isPressed,\n\t isPressed = _ref$isPressed === undefined ? false : _ref$isPressed;\n\n\tvar levelToPath = {\n\t\t1: 'M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z',\n\t\t2: 'M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1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.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z',\n\t\t6: 'M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z'\n\t};\n\tif (!levelToPath.hasOwnProperty(level)) {\n\t\treturn null;\n\t}\n\n\treturn wp.element.createElement(\n\t\tSVG,\n\t\t{\n\t\t\twidth: '24',\n\t\t\theight: '24',\n\t\t\tviewBox: '0 0 20 20',\n\t\t\txmlns: 'http://www.w3.org/2000/svg',\n\t\t\tisPressed: isPressed,\n\t\t\t'class': 'bu-blocks-heading-icon'\n\t\t},\n\t\twp.element.createElement(Path, { d: levelToPath[level] })\n\t);\n};\n\nvar HeadingToolbar = function (_Component) {\n\t_inherits(HeadingToolbar, _Component);\n\n\tfunction HeadingToolbar() {\n\t\t_classCallCheck(this, HeadingToolbar);\n\n\t\treturn _possibleConstructorReturn(this, (HeadingToolbar.__proto__ || Object.getPrototypeOf(HeadingToolbar)).apply(this, arguments));\n\t}\n\n\t_createClass(HeadingToolbar, [{\n\t\tkey: 'createLevelControl',\n\t\tvalue: function createLevelControl(targetLevel, selectedLevel, onChange) {\n\t\t\treturn {\n\t\t\t\ticon: wp.element.createElement(HeadingLevelIcon, { level: targetLevel }),\n\t\t\t\t// translators: %s: heading level e.g: \"1\", \"2\", \"3\"\n\t\t\t\ttitle: sprintf(__('Heading %d'), targetLevel),\n\t\t\t\tisActive: targetLevel === selectedLevel,\n\t\t\t\tonClick: function onClick() {\n\t\t\t\t\treturn onChange(targetLevel);\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t}, {\n\t\tkey: 'render',\n\t\tvalue: function render() {\n\t\t\tvar _this2 = this;\n\n\t\t\tvar _props = this.props,\n\t\t\t minLevel = _props.minLevel,\n\t\t\t maxLevel = _props.maxLevel,\n\t\t\t selectedLevel = _props.selectedLevel,\n\t\t\t onChange = _props.onChange;\n\n\t\t\tvar range = Array.from({ length: maxLevel - minLevel }, function (v, k) {\n\t\t\t\treturn k + minLevel;\n\t\t\t});\n\n\t\t\treturn wp.element.createElement(Toolbar, { controls: range.map(function (index) {\n\t\t\t\t\treturn _this2.createLevelControl(index, selectedLevel, onChange);\n\t\t\t\t}) });\n\t\t}\n\t}]);\n\n\treturn HeadingToolbar;\n}(Component);\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (HeadingToolbar);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9ibG9ja3MvaGVhZGxpbmUvaGVhZGluZy10b29s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xlIGlkID0gN1xuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///7\n");
-
-/***/ }),
-/* 8 */
-/*!************************************!*\
- !*** ./src/blocks/stat/style.scss ***!
- \************************************/
-/*! dynamic exports provided */
-/***/ (function(module, exports) {
-
-eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiOC5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9ibG9ja3Mvc3RhdC9zdHlsZS5zY3NzPzYyNTMiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gcmVtb3ZlZCBieSBleHRyYWN0LXRleHQtd2VicGFjay1wbHVnaW5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9ibG9ja3Mvc3RhdC9zdHlsZS5zY3NzXG4vLyBtb2R1bGUgaWQgPSA4XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///8\n");
-
-/***/ }),
-/* 9 */
-/*!*************************************!*\
- !*** ./src/blocks/stat/editor.scss ***!
- \*************************************/
-/*! dynamic exports provided */
-/***/ (function(module, exports) {
-
-eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiOS5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9ibG9ja3Mvc3RhdC9lZGl0b3Iuc2Nzcz82NjNjIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIHJlbW92ZWQgYnkgZXh0cmFjdC10ZXh0LXdlYnBhY2stcGx1Z2luXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9zcmMvYmxvY2tzL3N0YXQvZWRpdG9yLnNjc3Ncbi8vIG1vZHVsZSBpZCA9IDlcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///9\n");
-
-/***/ }),
-/* 10 */
-/*!***********************!*\
- !*** ./src/blocks.js ***!
- \***********************/
-/*! no exports provided */
-/*! all exports used */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-eval("Object.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__blocks_headline_headline_js__ = __webpack_require__(/*! ./blocks/headline/headline.js */ 11);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__blocks_aside_aside_js__ = __webpack_require__(/*! ./blocks/aside/aside.js */ 16);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__blocks_drawer_drawer_js__ = __webpack_require__(/*! ./blocks/drawer/drawer.js */ 21);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__blocks_modal_modal_js__ = __webpack_require__(/*! ./blocks/modal/modal.js */ 27);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__blocks_introparagraph_introparagraph_js__ = __webpack_require__(/*! ./blocks/introparagraph/introparagraph.js */ 31);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__blocks_leadin_leadin_js__ = __webpack_require__(/*! ./blocks/leadin/leadin.js */ 35);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__blocks_slideshow_slideshow_js__ = __webpack_require__(/*! ./blocks/slideshow/slideshow.js */ 38);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__blocks_buniverse_buniverse_js__ = __webpack_require__(/*! ./blocks/buniverse/buniverse.js */ 41);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__blocks_pullquote_pullquote_js__ = __webpack_require__(/*! ./blocks/pullquote/pullquote.js */ 44);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__blocks_photoessay_photoessay_js__ = __webpack_require__(/*! ./blocks/photoessay/photoessay.js */ 47);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__blocks_button_button_js__ = __webpack_require__(/*! ./blocks/button/button.js */ 51);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__blocks_relatedstories_relatedstories_js__ = __webpack_require__(/*! ./blocks/relatedstories/relatedstories.js */ 55);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__blocks_listicle_listicle_js__ = __webpack_require__(/*! ./blocks/listicle/listicle.js */ 58);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__blocks_clicktotweet_clicktotweet_js__ = __webpack_require__(/*! ./blocks/clicktotweet/clicktotweet.js */ 62);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__blocks_stat_stats_js__ = __webpack_require__(/*! ./blocks/stat/stats.js */ 65);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__blocks_custom_html_custom_html_js__ = __webpack_require__(/*! ./blocks/custom-html/custom-html.js */ 67);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__blocks_collapsible_collapsible_js__ = __webpack_require__(/*! ./blocks/collapsible/collapsible.js */ 69);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__blocks_collapsible_control_collapsible_control_js__ = __webpack_require__(/*! ./blocks/collapsible-control/collapsible-control.js */ 72);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__components_paragraph_caption_style_paragraph_caption_style_js__ = __webpack_require__(/*! ./components/paragraph-caption-style/paragraph-caption-style.js */ 73);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__components_paragraph_end_of_article_style_paragraph_end_of_article_style_js__ = __webpack_require__(/*! ./components/paragraph-end-of-article-style/paragraph-end-of-article-style.js */ 76);\n/**\n * Gutenberg Blocks\n *\n * All blocks related JavaScript files should be imported here.\n * You can create a new block folder in this dir and include code\n * for that block here as well.\n *\n * All blocks should be included here since this is the file that\n * Webpack is compiling as the input file.\n */\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n// Add the 'Caption' style to the core paragraph block.\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTAuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzLmpzPzdiNWIiXSw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O0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///10\n");
-
-/***/ }),
-/* 11 */
-/*!*****************************************!*\
- !*** ./src/blocks/headline/headline.js ***!
- \*****************************************/
-/*! no exports provided */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style_scss__ = __webpack_require__(/*! ./style.scss */ 12);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__style_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 13);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__editor_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__heading_toolbar__ = __webpack_require__(/*! ./heading-toolbar */ 7);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__pretext_format_js__ = __webpack_require__(/*! ./pretext-format.js */ 14);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__pretext_format_js___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__pretext_format_js__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__posttext_format_js__ = __webpack_require__(/*! ./posttext-format.js */ 15);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__posttext_format_js___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4__posttext_format_js__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__global_allowed_formats__ = __webpack_require__(/*! ../../global/allowed-formats */ 2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__components_block_icons___ = __webpack_require__(/*! ../../components/block-icons/ */ 1);\n/**\n * BLOCK: bu-headline-cgb\n *\n * A headline with anchor support and pre- and post-text formatting options.\n */\n\n// Import CSS.\n\n\n\n// Import internal dependencies.\n\n\n\n\n\n\n// WordPress dependencies.\nvar __ = wp.i18n.__;\nvar registerBlockType = wp.blocks.registerBlockType;\nvar Fragment = wp.element.Fragment;\nvar PanelBody = wp.components.PanelBody;\n\nvar _ref = 'undefined' === typeof wp.blockEditor ? wp.editor : wp.blockEditor,\n RichText = _ref.RichText,\n BlockControls = _ref.BlockControls,\n InspectorControls = _ref.InspectorControls;\n\nvar select = wp.data.select;\n\n// Populate selectors that were in core/editor until WordPress 5.2 and are\n// now located in core/block-editor.\n\nvar _ref2 = 'undefined' === typeof select('core/block-editor') ? select('core/editor') : select('core/block-editor'),\n getBlocks = _ref2.getBlocks;\n\n// Register the block.\n\n\nregisterBlockType('editorial/headline', {\n\n\ttitle: __('Headline'),\n\tdescription: __('Add a section heading with an anchor and pre- and post-text formatting options.'),\n\ticon: Object(__WEBPACK_IMPORTED_MODULE_6__components_block_icons___[\"a\" /* default */])('headline'),\n\tcategory: 'bu-editorial',\n\tsupports: {\n\t\tanchor: true\n\t},\n\tattributes: {\n\t\tcontent: {\n\t\t\ttype: 'string',\n\t\t\tsource: 'html',\n\t\t\tselector: '.wp-block-editorial-headline'\n\t\t},\n\t\tlevel: {\n\t\t\ttype: 'number',\n\t\t\tdefault: 2\n\t\t},\n\t\tanchor: {\n\t\t\ttype: 'string',\n\t\t\tsource: 'attribute',\n\t\t\tattribute: 'id',\n\t\t\tselector: '.wp-block-editorial-headline'\n\t\t}\n\t},\n\tstyles: [{\n\t\tname: 'default',\n\t\tlabel: __('Regular'),\n\t\tisDefault: true\n\t}, {\n\t\tname: 'emphasis-weight',\n\t\tlabel: __('Emphasize weight')\n\t}, {\n\t\tname: 'emphasis-color',\n\t\tlabel: __('Emphasize color')\n\t}],\n\n\tedit: function edit(props) {\n\t\tvar attributes = props.attributes,\n\t\t setAttributes = props.setAttributes,\n\t\t className = props.className;\n\t\tvar content = attributes.content,\n\t\t level = attributes.level,\n\t\t anchor = attributes.anchor;\n\n\t\tvar tagName = 'h' + level;\n\n\t\t// Generate an index-based value for the anchor attribute if it is not set.\n\t\tif (!anchor) {\n\t\t\tvar headlineBlocks = getBlocks().filter(function (e) {\n\t\t\t\treturn e.name === 'editorial/headline';\n\t\t\t});\n\t\t\tvar id = 'headline-' + headlineBlocks.length;\n\n\t\t\tsetAttributes({ anchor: id });\n\t\t}\n\n\t\treturn wp.element.createElement(\n\t\t\tFragment,\n\t\t\tnull,\n\t\t\twp.element.createElement(\n\t\t\t\tInspectorControls,\n\t\t\t\tnull,\n\t\t\t\twp.element.createElement(\n\t\t\t\t\tPanelBody,\n\t\t\t\t\t{ title: __('Help'), initialOpen: false },\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\tFragment,\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t'p',\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t'strong',\n\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t'PreText and PostText Formats'\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\twp.element.createElement('br', null),\n\t\t\t\t\t\t\t'These formats are intended to style text such as \"Chapter 3:\" as part of a headline text either before or after the main Headline text. Enter the Headline and then select text in the headline and apply a pre or post text format from the Format Control Toolbar on the block.'\n\t\t\t\t\t\t),\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t'p',\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t'strong',\n\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t'Emphasis Color & Weight'\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\twp.element.createElement('br', null),\n\t\t\t\t\t\t\t'Emphasis Color and Emphasis weight can be selectively applied to a word(s) by selecting those characters and applying a ',\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t'strong',\n\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t'Bold'\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t' style. The color or weight change will apply to any bold text inside the Headline tag.'\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t),\n\t\t\twp.element.createElement(\n\t\t\t\tBlockControls,\n\t\t\t\tnull,\n\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__heading_toolbar__[\"a\" /* default */], { minLevel: 1, maxLevel: 7, selectedLevel: level, onChange: function onChange(newLevel) {\n\t\t\t\t\t\treturn setAttributes({ level: newLevel });\n\t\t\t\t\t} })\n\t\t\t),\n\t\t\twp.element.createElement(RichText, {\n\t\t\t\ttagName: tagName,\n\t\t\t\tclassName: className,\n\t\t\t\tvalue: content,\n\t\t\t\tonChange: function onChange(content) {\n\t\t\t\t\treturn setAttributes({ content: content });\n\t\t\t\t},\n\t\t\t\tplaceholder: __('Write headline…'),\n\t\t\t\tformattingControls: Object(__WEBPACK_IMPORTED_MODULE_5__global_allowed_formats__[\"a\" /* default */])('formattingControls', ['pretext', 'posttext', 'bold', 'italic']),\n\t\t\t\tallowedFormats: Object(__WEBPACK_IMPORTED_MODULE_5__global_allowed_formats__[\"a\" /* default */])('allowedFormats', ['editorial/pretext', 'editorial/posttext', 'core/bold', 'core/italic']),\n\t\t\t\twithoutInteractiveFormats: true\n\t\t\t})\n\t\t);\n\t},\n\tsave: function save(_ref3) {\n\t\tvar attributes = _ref3.attributes;\n\t\tvar content = attributes.content,\n\t\t level = attributes.level;\n\n\t\tvar tagName = 'h' + level;\n\n\t\treturn wp.element.createElement(RichText.Content, {\n\t\t\ttagName: tagName,\n\t\t\tvalue: content\n\t\t});\n\t}\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTEuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL2hlYWRsaW5lL2hlYWRsaW5lLmpzPzAwMGQiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBCTE9DSzogYnUtaGVhZGxpbmUtY2diXG4gKlxuICogQSBoZWFkbGluZSB3aXRoIGFuY2hvciBzdXBwb3J0IGFuZCBwcmUtIGFuZCBwb3N0LXRleHQgZm9ybWF0dGluZyBvcHRpb25zLlxuICovXG5cbi8vIEltcG9ydCBDU1MuXG5pbXBvcnQgJy4vc3R5bGUuc2Nzcyc7XG5pbXBvcnQgJy4vZWRpdG9yLnNjc3MnO1xuXG4vLyBJbXBvcnQgaW50ZXJuYWwgZGVwZW5kZW5jaWVzLlxuaW1wb3J0IEhlYWRpbmdUb29sYmFyIGZyb20gJy4vaGVhZGluZy10b29sYmFyJztcbmltcG9ydCAnLi9wcmV0ZXh0LWZvcm1hdC5qcyc7XG5pbXBvcnQgJy4vcG9zdHRleHQtZm9ybWF0LmpzJztcbmltcG9ydCBnZXRBbGxvd2VkRm9ybWF0cyBmcm9tICcuLi8uLi9nbG9iYWwvYWxsb3dlZC1mb3JtYXRzJztcbmltcG9ydCBibG9ja0ljb25zIGZyb20gJy4uLy4uL2NvbXBvbmVudHMvYmxvY2staWNvbnMvJztcblxuLy8gV29yZFByZXNzIGRlcGVuZGVuY2llcy5cbnZhciBfXyA9IHdwLmkxOG4uX187XG52YXIgcmVnaXN0ZXJCbG9ja1R5cGUgPSB3cC5ibG9ja3MucmVnaXN0ZXJCbG9ja1R5cGU7XG52YXIgRnJhZ21lbnQgPSB3cC5lbGVtZW50LkZyYWdtZW50O1xudmFyIF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0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///11\n");
-
-/***/ }),
-/* 12 */
-/*!****************************************!*\
- !*** ./src/blocks/headline/style.scss ***!
- \****************************************/
-/*! dynamic exports provided */
-/***/ (function(module, exports) {
-
-eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTIuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL2hlYWRsaW5lL3N0eWxlLnNjc3M/OTdkMSJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyByZW1vdmVkIGJ5IGV4dHJhY3QtdGV4dC13ZWJwYWNrLXBsdWdpblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vc3JjL2Jsb2Nrcy9oZWFkbGluZS9zdHlsZS5zY3NzXG4vLyBtb2R1bGUgaWQgPSAxMlxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///12\n");
-
-/***/ }),
-/* 13 */
-/*!*****************************************!*\
- !*** ./src/blocks/headline/editor.scss ***!
- \*****************************************/
-/*! dynamic exports provided */
-/***/ (function(module, exports) {
-
-eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL2hlYWRsaW5lL2VkaXRvci5zY3NzP2Q0MjgiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gcmVtb3ZlZCBieSBleHRyYWN0LXRleHQtd2VicGFjay1wbHVnaW5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9ibG9ja3MvaGVhZGxpbmUvZWRpdG9yLnNjc3Ncbi8vIG1vZHVsZSBpZCA9IDEzXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///13\n");
-
-/***/ }),
-/* 14 */
-/*!***********************************************!*\
- !*** ./src/blocks/headline/pretext-format.js ***!
- \***********************************************/
-/*! dynamic exports provided */
-/***/ (function(module, exports) {
-
-eval("/**\n * Format: bu-headline-pretext\n *\n * A RichText format button for wrapping selected text in a span with the\n * 'wp-block-editorial-headline-pretext' span.\n */\n\n// Import WordPress dependencies\nvar __ = wp.i18n.__;\nvar Fragment = wp.element.Fragment;\nvar _wp$richText = wp.richText,\n registerFormatType = _wp$richText.registerFormatType,\n toggleFormat = _wp$richText.toggleFormat;\n\nvar _ref = 'undefined' === typeof wp.blockEditor ? wp.editor : wp.blockEditor,\n RichTextToolbarButton = _ref.RichTextToolbarButton,\n RichTextShortcut = _ref.RichTextShortcut;\n\nvar el = wp.element.createElement;\nvar _wp$compose = wp.compose,\n compose = _wp$compose.compose,\n ifCondition = _wp$compose.ifCondition;\nvar withSelect = wp.data.withSelect;\n\nvar name = 'editorial/pretext';\nvar pretexticon = el('svg', { width: 20, height: 20, viewBox: '0 0 20 20' }, el('path', {\n\td: \"M18,4.3H8.56a.51.51,0,0,0-.51.52v2a.51.51,0,0,0,.51.51H18a.51.51,0,0,0,.52-.51v-2A.52.52,0,0,0,18,4.3Z\"\n}), el('polygon', {\n\tpoints: \"1.53 6.59 4.51 6.59 4.51 7.65 7.1 5.83 4.51 4.02 4.51 5.08 1.53 5.08 1.53 5.08 1.53 6.59\"\n}), el('path', {\n\td: \"M10,8.67v3.1h3V8.67h1.82v8.08H13.05V13.37H10v3.38H8.2V8.67Z\"\n}));\n\nregisterFormatType(name, {\n\n\ttitle: __('Pretext'),\n\ttagName: 'span',\n\tclassName: 'wp-block-editorial-headline-pretext',\n\n\tedit: compose(withSelect(function (select) {\n\t\tvar getSelectedBlock = 'undefined' === typeof select('core/block-editor') ? select('core/editor').getSelectedBlock : select('core/block-editor').getSelectedBlock;\n\n\t\treturn {\n\t\t\tselectedBlock: getSelectedBlock()\n\t\t};\n\t}), ifCondition(function (props) {\n\t\treturn props.selectedBlock && props.selectedBlock.name === 'editorial/headline';\n\t}))(function (props) {\n\t\tvar isActive = props.isActive,\n\t\t onChange = props.onChange,\n\t\t selectedBlock = props.selectedBlock,\n\t\t value = props.value;\n\n\n\t\tvar onToggle = function onToggle() {\n\t\t\treturn onChange(toggleFormat(value, { type: name }));\n\t\t};\n\n\t\treturn wp.element.createElement(\n\t\t\tFragment,\n\t\t\tnull,\n\t\t\twp.element.createElement(RichTextShortcut, {\n\t\t\t\ttype: 'access',\n\t\t\t\tcharacter: 'a',\n\t\t\t\tonUse: onToggle\n\t\t\t}),\n\t\t\twp.element.createElement(RichTextToolbarButton, {\n\t\t\t\ticon: pretexticon,\n\t\t\t\ttitle: __('Pretext'),\n\t\t\t\tonClick: onToggle,\n\t\t\t\tisActive: isActive,\n\t\t\t\tshortcutType: 'access',\n\t\t\t\tshortcutCharacter: 'a'\n\t\t\t})\n\t\t);\n\t})\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTQuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL2hlYWRsaW5lL3ByZXRleHQtZm9ybWF0LmpzPzI5NmYiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBGb3JtYXQ6IGJ1LWhlYWRsaW5lLXByZXRleHRcbiAqXG4gKiBBIFJpY2hUZXh0IGZvcm1hdCBidXR0b24gZm9yIHdyYXBwaW5nIHNlbGVjdGVkIHRleHQgaW4gYSBzcGFuIHdpdGggdGhlXG4gKiAnd3AtYmxvY2stZWRpdG9yaWFsLWhlYWRsaW5lLXByZXRleHQnIHNwYW4uXG4gKi9cblxuLy8gSW1wb3J0IFdvcmRQcmVzcyBkZXBlbmRlbmNpZXNcbnZhciBfXyA9IHdwLmkxOG4uX187XG52YXIgRnJhZ21lbnQgPSB3cC5lbGVtZW50LkZyYWdtZW50O1xudmFyIF93cCRyaWNoVGV4dCA9IHdwLnJpY2hUZXh0LFxuICAgIHJlZ2lzdGVyRm9ybWF0VHlwZSA9IF93cCRyaWNoVGV4dC5yZWdpc3RlckZvcm1hdFR5cGUsXG4gICAgdG9nZ2xlRm9ybWF0ID0gX3dwJHJpY2hUZXh0LnRvZ2dsZUZvcm1hdDtcblxudmFyIF9yZWYgPSAndW5kZWZpbmVkJyA9PT0gdHlwZW9mIHdwLm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FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///14\n");
-
-/***/ }),
-/* 15 */
-/*!************************************************!*\
- !*** ./src/blocks/headline/posttext-format.js ***!
- \************************************************/
-/*! dynamic exports provided */
-/***/ (function(module, exports) {
-
-eval("/**\n * Format: bu-headline-posttext\n *\n * A RichText format button for wrapping selected text in a span with the\n * 'wp-block-editorial-headline-posttext' span.\n */\n\n// Import WordPress dependencies\nvar __ = wp.i18n.__;\nvar Fragment = wp.element.Fragment;\nvar _wp$richText = wp.richText,\n registerFormatType = _wp$richText.registerFormatType,\n toggleFormat = _wp$richText.toggleFormat;\n\nvar _ref = 'undefined' === typeof wp.blockEditor ? wp.editor : wp.blockEditor,\n RichTextToolbarButton = _ref.RichTextToolbarButton,\n RichTextShortcut = _ref.RichTextShortcut;\n\nvar el = wp.element.createElement;\nvar _wp$compose = wp.compose,\n compose = _wp$compose.compose,\n ifCondition = _wp$compose.ifCondition;\nvar withSelect = wp.data.withSelect;\n\nvar name = 'editorial/posttext';\nvar posttexticon = el('svg', { width: 20, height: 20, viewBox: '0 0 20 20' }, el('path', {\n\td: \"M18,13.68H8.56a.51.51,0,0,0-.51.51v2a.51.51,0,0,0,.51.51H18a.51.51,0,0,0,.52-.51v-2A.51.51,0,0,0,18,13.68Z\"\n}), el('polygon', {\n\tpoints: \"1.53 15.96 4.51 15.96 4.51 17.02 7.1 15.2 4.51 13.4 4.51 14.46 1.53 14.46 1.53 14.46 1.53 15.96\"\n}), el('path', {\n\td: \"M10,4.27V7.38h3V4.27h1.82v8.08H13.05V9H10v3.38H8.2V4.27Z\"\n}));\n\nregisterFormatType(name, {\n\n\ttitle: __('Posttext'),\n\ttagName: 'span',\n\tclassName: 'wp-block-editorial-headline-posttext',\n\n\tedit: compose(withSelect(function (select) {\n\t\tvar getSelectedBlock = 'undefined' === typeof select('core/block-editor') ? select('core/editor').getSelectedBlock : select('core/block-editor').getSelectedBlock;\n\n\t\treturn {\n\t\t\tselectedBlock: getSelectedBlock()\n\t\t};\n\t}), ifCondition(function (props) {\n\t\treturn props.selectedBlock && props.selectedBlock.name === 'editorial/headline';\n\t}))(function (props) {\n\t\tvar isActive = props.isActive,\n\t\t onChange = props.onChange,\n\t\t selectedBlock = props.selectedBlock,\n\t\t value = props.value;\n\n\n\t\tvar onToggle = function onToggle() {\n\t\t\treturn onChange(toggleFormat(value, { type: name }));\n\t\t};\n\n\t\treturn wp.element.createElement(\n\t\t\tFragment,\n\t\t\tnull,\n\t\t\twp.element.createElement(RichTextShortcut, {\n\t\t\t\ttype: 'access',\n\t\t\t\tcharacter: 'b',\n\t\t\t\tonUse: onToggle\n\t\t\t}),\n\t\t\twp.element.createElement(RichTextToolbarButton, {\n\t\t\t\ticon: posttexticon,\n\t\t\t\ttitle: __('Posttext'),\n\t\t\t\tonClick: onToggle,\n\t\t\t\tisActive: isActive,\n\t\t\t\tshortcutType: 'access',\n\t\t\t\tshortcutCharacter: 'b'\n\t\t\t})\n\t\t);\n\t})\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTUuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL2hlYWRsaW5lL3Bvc3R0ZXh0LWZvcm1hdC5qcz9iYTI3Il0sIn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./src/blocks/aside/aside.js ***!
- \***********************************/
-/*! no exports provided */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss__ = __webpack_require__(/*! ./style.scss */ 17);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__style_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 18);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__editor_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__global_register_block_preset_js__ = __webpack_require__(/*! ../../global/register-block-preset.js */ 19);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__components_block_icons___ = __webpack_require__(/*! ../../components/block-icons/ */ 1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__edit_js__ = __webpack_require__(/*! ./edit.js */ 20);\nfunction _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; }\n\n/**\n * BLOCK: bu-aside-cgb\n *\n * A container for related information that accepts image,\n * headline, paragraph, and button blocks as children.\n */\n\n// External dependencies.\n\n\n// Import CSS.\n\n\n\n// Internal dependencies.\n\n\n\n// WordPress dependencies.\nvar __ = wp.i18n.__;\nvar registerBlockType = wp.blocks.registerBlockType;\n\nvar _ref = 'undefined' === typeof wp.blockEditor ? wp.editor : wp.blockEditor,\n getColorClassName = _ref.getColorClassName,\n InnerBlocks = _ref.InnerBlocks;\n\n// Internal dependencies.\n\n\n\n\n// Register the block.\nvar asideBlock = registerBlockType('editorial/aside', {\n\n\ttitle: __('Aside'),\n\tdescription: __('Add an aside with related information. Accepts image, headline, paragraph, and button blocks as children.'),\n\ticon: Object(__WEBPACK_IMPORTED_MODULE_4__components_block_icons___[\"a\" /* default */])('aside'),\n\tcategory: 'bu-editorial',\n\tsupports: {\n\t\talign: ['left', 'right']\n\t},\n\tattributes: {\n\t\tthemeColor: {\n\t\t\ttype: 'string'\n\t\t}\n\t},\n\n\tedit: __WEBPACK_IMPORTED_MODULE_5__edit_js__[\"a\" /* default */],\n\n\tsave: function save(_ref2) {\n\t\tvar attributes = _ref2.attributes,\n\t\t className = _ref2.className;\n\t\tvar themeColor = attributes.themeColor;\n\n\n\t\tvar classes = __WEBPACK_IMPORTED_MODULE_0_classnames___default()(className, _defineProperty({}, getColorClassName('background', themeColor), getColorClassName('background', themeColor)));\n\n\t\treturn wp.element.createElement(\n\t\t\t'aside',\n\t\t\t{ className: classes },\n\t\t\twp.element.createElement(InnerBlocks.Content, null)\n\t\t);\n\t}\n});\n\nvar presetTemplate = [['core/image'], ['core/heading', { placeholder: 'Enter aside title…' }], ['core/paragraph', { placeholder: 'Enter aside content…' }], ['core/button']];\n\nObject(__WEBPACK_IMPORTED_MODULE_3__global_register_block_preset_js__[\"a\" /* default */])(asideBlock, presetTemplate);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTYuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL2FzaWRlL2FzaWRlLmpzPzVmN2IiXSwic291cmNlc0NvbnRlbnQiOlsiZnVuY3Rpb24gX2RlZmluZVByb3BlcnR5KG9iaiwga2V5LCB2YWx1ZSkgeyBpZiAoa2V5IGluIG9iaikgeyBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCBrZXksIHsgdmFsdWU6I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7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///16\n");
-
-/***/ }),
-/* 17 */
-/*!*************************************!*\
- !*** ./src/blocks/aside/style.scss ***!
- \*************************************/
-/*! dynamic exports provided */
-/***/ (function(module, exports) {
-
-eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL2FzaWRlL3N0eWxlLnNjc3M/MTIzMCJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyByZW1vdmVkIGJ5IGV4dHJhY3QtdGV4dC13ZWJwYWNrLXBsdWdpblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vc3JjL2Jsb2Nrcy9hc2lkZS9zdHlsZS5zY3NzXG4vLyBtb2R1bGUgaWQgPSAxN1xuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///17\n");
-
-/***/ }),
-/* 18 */
-/*!**************************************!*\
- !*** ./src/blocks/aside/editor.scss ***!
- \**************************************/
-/*! dynamic exports provided */
-/***/ (function(module, exports) {
-
-eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTguanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL2FzaWRlL2VkaXRvci5zY3NzP2NiN2MiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gcmVtb3ZlZCBieSBleHRyYWN0LXRleHQtd2VicGFjay1wbHVnaW5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9ibG9ja3MvYXNpZGUvZWRpdG9yLnNjc3Ncbi8vIG1vZHVsZSBpZCA9IDE4XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///18\n");
-
-/***/ }),
-/* 19 */
-/*!*********************************************!*\
- !*** ./src/global/register-block-preset.js ***!
- \*********************************************/
-/*! exports provided: default */
-/*! exports used: default */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-eval("/**\n * Registers a variation of a block with a preset template.\n */\n\n// WordPress dependencies.\nvar registerBlockType = wp.blocks.registerBlockType;\nvar createElement = wp.element.createElement;\nvar addFilter = wp.hooks.addFilter;\n\n/**\n * Register a preset variation of a given block.\n *\n * @param {Object} originalBlock Block type to build preset variation from.\n * @param {Object} presetTemplate Template to apply.\n *\n * @return {Object} Filtered props applied to save element.\n */\n\nvar RegisterBlockPreset = function RegisterBlockPreset(originalBlock, presetTemplate) {\n\tvar name = originalBlock.name,\n\t title = originalBlock.title,\n\t edit = originalBlock.edit,\n\t save = originalBlock.save;\n\n\tvar presetBlock = Object.assign({}, originalBlock);\n\tvar nameParts = name.split('/');\n\n\t// Filter the classname of the preset block to match the default block.\n\tvar filterBlockClassName = function filterBlockClassName(className, blockName) {\n\t\tif (presetBlock.name === blockName) {\n\t\t\tclassName = className.replace(/-preset/i, '');\n\t\t}\n\n\t\treturn className;\n\t};\n\n\tpresetBlock.name = nameParts[0] + '-preset/' + nameParts[1];\n\tpresetBlock.title = title + ' (preset)';\n\tpresetBlock.category = 'bu-editorial-presets';\n\tpresetBlock.save = save;\n\n\t// Add a `presetTemplate` property to the default block's edit component.\n\tpresetBlock.edit = function (props) {\n\t\treturn createElement(edit, Object.assign(props, { presetTemplate: presetTemplate }));\n\t};\n\n\t// Register the preset variation of the default block.\n\tregisterBlockType(presetBlock.name, presetBlock);\n\n\t// Filter the classname of the preset block to match the default block.\n\taddFilter('blocks.getBlockDefaultClassName', 'bu-blocks/preset-block-class-name/', filterBlockClassName);\n};\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (RegisterBlockPreset);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTkuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvZ2xvYmFsL3JlZ2lzdGVyLWJsb2NrLXByZXNldC5qcz83NjM0Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogUmVnaXN0ZXJzIGEgdmFyaWF0aW9uIG9mIGEgYmxvY2sgd2l0aCBhIHByZXNldCB0ZW1wbGF0ZS5cbiAqL1xuXG4vLyBXb3JkUHJlc3MgZGVwZW5kZW5jaWVzLlxudmFyIHJlZ2lzdGVyQmxvY2tUeXBlID0gd3AuYmxvY2tzLnJlZ2lzdGVyQmxvY2tUeXBlO1xudmFyIGNyZWF0ZUVsZW1lbnQgPSB3cC5lbGVtZW50LmNyZWF0ZUVsZW1lbnQ7XG52YXIgYWRkRmlsdGVyID0gd3AuaG9va3MuYWRkRmlsdGVyO1xuXG4vKipcbiAqIFJlZ2lzdGVyIGEgcHJlc2V0IHZhcmlhdGlvbiBvZiBhIGdpdmVuIGJsb2NrLlxuICpcbiAqIEBwYXJhbSB7T2JqZWN0fSBvcmlnaW5hbEJsb2NrICBCbG9jayB0eXBlIHRvIGJ1aWxkIHByZXNldCB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8gbW9kdWxlIGlkID0gMTlcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///19\n");
-
-/***/ }),
-/* 20 */
-/*!**********************************!*\
- !*** ./src/blocks/aside/edit.js ***!
- \**********************************/
-/*! exports provided: default */
-/*! exports used: default */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__global_theme_options_js__ = __webpack_require__(/*! ../../global/theme-options.js */ 3);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__components_allowed_blocks__ = __webpack_require__(/*! ../../components/allowed-blocks */ 6);\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _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; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n/**\n * Edit function for the aside block.\n */\n\n// External dependencies.\n\n\n// Internal dependencies.\n\n\n\n// WordPress dependencies.\nvar __ = wp.i18n.__;\nvar _wp$element = wp.element,\n Component = _wp$element.Component,\n Fragment = _wp$element.Fragment;\nvar compose = wp.compose.compose;\n\nvar _ref = 'undefined' === typeof wp.blockEditor ? wp.editor : wp.blockEditor,\n InnerBlocks = _ref.InnerBlocks,\n InspectorControls = _ref.InspectorControls,\n PanelColorSettings = _ref.PanelColorSettings,\n withColors = _ref.withColors;\n\nvar BUAsideEdit = function (_Component) {\n\t_inherits(BUAsideEdit, _Component);\n\n\tfunction BUAsideEdit() {\n\t\t_classCallCheck(this, BUAsideEdit);\n\n\t\treturn _possibleConstructorReturn(this, (BUAsideEdit.__proto__ || Object.getPrototypeOf(BUAsideEdit)).apply(this, arguments));\n\t}\n\n\t_createClass(BUAsideEdit, [{\n\t\tkey: 'render',\n\t\tvalue: function render() {\n\t\t\tvar _props = this.props,\n\t\t\t className = _props.className,\n\t\t\t themeColor = _props.themeColor,\n\t\t\t setThemeColor = _props.setThemeColor,\n\t\t\t presetTemplate = _props.presetTemplate;\n\n\n\t\t\tvar classes = __WEBPACK_IMPORTED_MODULE_0_classnames___default()(className, _defineProperty({}, 'has-' + themeColor.slug + '-background', themeColor.slug));\n\n\t\t\treturn wp.element.createElement(\n\t\t\t\tFragment,\n\t\t\t\tnull,\n\t\t\t\twp.element.createElement(\n\t\t\t\t\tInspectorControls,\n\t\t\t\t\tnull,\n\t\t\t\t\twp.element.createElement(PanelColorSettings, {\n\t\t\t\t\t\ttitle: __('Color Settings'),\n\t\t\t\t\t\tcolorSettings: [{\n\t\t\t\t\t\t\tvalue: themeColor.color,\n\t\t\t\t\t\t\tonChange: setThemeColor,\n\t\t\t\t\t\t\tlabel: __('Theme'),\n\t\t\t\t\t\t\tdisableCustomColors: true,\n\t\t\t\t\t\t\tcolors: Object(__WEBPACK_IMPORTED_MODULE_1__global_theme_options_js__[\"a\" /* default */])()\n\t\t\t\t\t\t}]\n\t\t\t\t\t})\n\t\t\t\t),\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'aside',\n\t\t\t\t\t{ className: classes },\n\t\t\t\t\twp.element.createElement(InnerBlocks, {\n\t\t\t\t\t\tallowedBlocks: Object(__WEBPACK_IMPORTED_MODULE_2__components_allowed_blocks__[\"a\" /* default */])(),\n\t\t\t\t\t\ttemplate: presetTemplate\n\t\t\t\t\t})\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\t}]);\n\n\treturn BUAsideEdit;\n}(Component);\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (compose([withColors('themeColor')])(BUAsideEdit));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjAuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL2FzaWRlL2VkaXQuanM/OWY4NyJdLCJzb3VyY2Vz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F1bHQgY29tcG9zZShbd2l0aENvbG9ycygndGhlbWVDb2xvcicpXSkoQlVBc2lkZUVkaXQpO1xuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vc3JjL2Jsb2Nrcy9hc2lkZS9lZGl0LmpzXG4vLyBtb2R1bGUgaWQgPSAyMFxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///20\n");
-
-/***/ }),
-/* 21 */
-/*!*************************************!*\
- !*** ./src/blocks/drawer/drawer.js ***!
- \*************************************/
-/*! no exports provided */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss__ = __webpack_require__(/*! ./style.scss */ 22);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__style_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 23);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__editor_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_background__ = __webpack_require__(/*! ../../components/background */ 4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__global_theme_options__ = __webpack_require__(/*! ../../global/theme-options */ 3);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__components_allowed_blocks__ = __webpack_require__(/*! ../../components/allowed-blocks */ 6);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__global_allowed_formats__ = __webpack_require__(/*! ../../global/allowed-formats */ 2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__components_block_icons___ = __webpack_require__(/*! ../../components/block-icons/ */ 1);\nfunction _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; }\n\n/**\n * BLOCK: bu-editorial-drawer\n *\n * A block that works a bit like BU Collapsible to open and close a drawer of content.\n */\n\n// External dependencies.\n\n\n// Import CSS.\n\n\n\n// Internal dependencies.\n\n\n\n\n\n\n// WordPress dependencies.\nvar __ = wp.i18n.__;\nvar registerBlockType = wp.blocks.registerBlockType;\nvar _wp$components = wp.components,\n PanelBody = _wp$components.PanelBody,\n Path = _wp$components.Path,\n RadioControl = _wp$components.RadioControl,\n SVG = _wp$components.SVG,\n ToggleControl = _wp$components.ToggleControl;\n\nvar _ref = 'undefined' === typeof wp.blockEditor ? wp.editor : wp.blockEditor,\n RichText = _ref.RichText,\n InnerBlocks = _ref.InnerBlocks,\n InspectorControls = _ref.InspectorControls,\n PanelColorSettings = _ref.PanelColorSettings,\n withColors = _ref.withColors;\n\nvar select = wp.data.select;\n\n// Populate selectors that were in core/editor until WordPress 5.2 and are\n// now located in core/block-editor.\n\nvar _ref2 = 'undefined' === typeof select('core/block-editor') ? select('core/editor') : select('core/block-editor'),\n hasSelectedInnerBlock = _ref2.hasSelectedInnerBlock,\n isBlockSelected = _ref2.isBlockSelected;\n\n/**\n * Returns the class list for the block based on the current settings.\n *\n * @param {number} background Whether the block has background media assigned.\n * @param {string} className Default classes assigned to the block.\n * @param {boolean} round Whether to display round images.\n * @param {boolean} hideTeaser Whether to display the teaser.\n * @param {string} themeColor The assigned background color.\n */\n\n\nvar getClasses = function getClasses(background, className, hideTeaser, round, size, themeColor) {\n\tvar _classnames;\n\n\treturn __WEBPACK_IMPORTED_MODULE_0_classnames___default()('js-bu-block-drawer', (_classnames = {\n\t\t'has-hide-teaser': hideTeaser,\n\t\t'is-style-round': round\n\t}, _defineProperty(_classnames, className, className), _defineProperty(_classnames, 'has-' + themeColor + '-background', themeColor), _defineProperty(_classnames, size, size && size !== ''), _defineProperty(_classnames, 'has-media', background), _classnames));\n};\n\n// Register the block.\nregisterBlockType('editorial/drawer', {\n\ttitle: __('Drawer'),\n\tdescription: __('Add content that can be toggled.'),\n\ticon: Object(__WEBPACK_IMPORTED_MODULE_7__components_block_icons___[\"a\" /* default */])('drawer'),\n\tcategory: 'bu-editorial',\n\tattributes: Object.assign({\n\t\tbutton: {\n\t\t\ttype: 'string',\n\t\t\tdefault: 'Read More',\n\t\t\tsource: 'text',\n\t\t\tselector: '.button.js-bu-block-drawer-open'\n\t\t},\n\t\tclassName: {\n\t\t\ttype: 'string'\n\t\t},\n\t\tclientId: {\n\t\t\ttype: 'number'\n\t\t},\n\t\thed: {\n\t\t\ttype: 'string',\n\t\t\tdefault: '',\n\t\t\tsource: 'html',\n\t\t\tselector: 'h2'\n\t\t},\n\t\thideTeaser: {\n\t\t\ttype: 'boolean',\n\t\t\tdefault: false\n\t\t},\n\t\tlede: {\n\t\t\ttype: 'string',\n\t\t\tdefault: '',\n\t\t\tsource: 'html',\n\t\t\tselector: 'p'\n\t\t},\n\t\tround: {\n\t\t\ttype: 'boolean',\n\t\t\tdefault: false\n\t\t},\n\t\tsize: {\n\t\t\ttype: 'string',\n\t\t\tdefault: ''\n\t\t},\n\t\tthemeColor: {\n\t\t\ttype: 'string',\n\t\t\tdefault: ''\n\t\t}\n\t}, __WEBPACK_IMPORTED_MODULE_3__components_background__[\"a\" /* BackgroundAttributes */]),\n\tsupports: {\n\t\talign: ['left', 'right', 'full']\n\t},\n\n\t// Add the `selected-drawer` data attribute when this block or its descendants are selected.\n\tgetEditWrapperProps: function getEditWrapperProps(_ref3) {\n\t\tvar clientId = _ref3.clientId;\n\n\t\tif (clientId) {\n\t\t\tvar drawerHasSelectedBlock = hasSelectedInnerBlock(clientId, true) || isBlockSelected(clientId);\n\n\t\t\treturn { 'data-selected-drawer': drawerHasSelectedBlock ? 'true' : undefined };\n\t\t}\n\t},\n\n\n\tedit: withColors('themeColor')(function (props) {\n\t\t// Get the properties and attributes we'll need.\n\t\tvar _props$attributes = props.attributes,\n\t\t backgroundId = _props$attributes.backgroundId,\n\t\t button = _props$attributes.button,\n\t\t hed = _props$attributes.hed,\n\t\t hideTeaser = _props$attributes.hideTeaser,\n\t\t lede = _props$attributes.lede,\n\t\t round = _props$attributes.round,\n\t\t size = _props$attributes.size,\n\t\t className = props.className,\n\t\t clientId = props.clientId,\n\t\t isSelected = props.isSelected,\n\t\t setAttributes = props.setAttributes,\n\t\t setThemeColor = props.setThemeColor,\n\t\t themeColor = props.themeColor;\n\n\t\t// Set the clientId attribute so it can be accessed in the `getEditWrapperProps` function.\n\n\t\tif (hasSelectedInnerBlock(clientId, true) || isBlockSelected(clientId)) {\n\t\t\tsetAttributes({ clientId: clientId });\n\t\t}\n\n\t\treturn wp.element.createElement(\n\t\t\t'aside',\n\t\t\t{ className: getClasses(backgroundId, className, hideTeaser, round, size, themeColor.slug) },\n\t\t\twp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'wp-block-editorial-drawer-teaser' },\n\t\t\t\t(backgroundId || isSelected || hasSelectedInnerBlock(clientId, true)) && wp.element.createElement(\n\t\t\t\t\t'figure',\n\t\t\t\t\tnull,\n\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_background__[\"b\" /* default */], {\n\t\t\t\t\t\tallowedMediaTypes: ['image'],\n\t\t\t\t\t\tblockProps: props,\n\t\t\t\t\t\tinlinePlaceholder: true,\n\t\t\t\t\t\toptions: [],\n\t\t\t\t\t\tplaceholderText: __('Add Image')\n\t\t\t\t\t})\n\t\t\t\t),\n\t\t\t\twp.element.createElement(RichText, {\n\t\t\t\t\tformattingControls: Object(__WEBPACK_IMPORTED_MODULE_6__global_allowed_formats__[\"a\" /* default */])('formattingControls', []),\n\t\t\t\t\tallowedFormats: Object(__WEBPACK_IMPORTED_MODULE_6__global_allowed_formats__[\"a\" /* default */])('allowedFormats', []),\n\t\t\t\t\tkeepPlaceholderOnFocus: true,\n\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\treturn setAttributes({ hed: value });\n\t\t\t\t\t},\n\t\t\t\t\tplaceholder: __('Enter heading…'),\n\t\t\t\t\ttagName: 'h2',\n\t\t\t\t\tvalue: hed\n\t\t\t\t}),\n\t\t\t\twp.element.createElement(RichText, {\n\t\t\t\t\tformattingControls: Object(__WEBPACK_IMPORTED_MODULE_6__global_allowed_formats__[\"a\" /* default */])('formattingControls', ['bold', 'italic', 'link']),\n\t\t\t\t\tallowedFormats: Object(__WEBPACK_IMPORTED_MODULE_6__global_allowed_formats__[\"a\" /* default */])('allowedFormats', ['core/bold', 'core/italic', 'core/link']),\n\t\t\t\t\tkeepPlaceholderOnFocus: true,\n\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\treturn setAttributes({ lede: value });\n\t\t\t\t\t},\n\t\t\t\t\tplaceholder: __('Enter text…'),\n\t\t\t\t\ttagName: 'p',\n\t\t\t\t\tvalue: lede\n\t\t\t\t}),\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'wp-block-editorial-drawer-open-wrapper' },\n\t\t\t\t\twp.element.createElement(RichText, {\n\t\t\t\t\t\tformattingControls: Object(__WEBPACK_IMPORTED_MODULE_6__global_allowed_formats__[\"a\" /* default */])('formattingControls', []),\n\t\t\t\t\t\tallowedFormats: Object(__WEBPACK_IMPORTED_MODULE_6__global_allowed_formats__[\"a\" /* default */])('allowedFormats', []),\n\t\t\t\t\t\tkeepPlaceholderOnFocus: true,\n\t\t\t\t\t\tclassName: 'button js-bu-block-drawer-open',\n\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\treturn setAttributes({ button: value });\n\t\t\t\t\t\t},\n\t\t\t\t\t\tplaceholder: __('Enter button label…'),\n\t\t\t\t\t\ttagName: 'p',\n\t\t\t\t\t\tvalue: button\n\t\t\t\t\t})\n\t\t\t\t)\n\t\t\t),\n\t\t\twp.element.createElement(\n\t\t\t\t'section',\n\t\t\t\t{ className: 'wp-block-editorial-drawer-content js-bu-block-drawer-content' },\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'wp-block-editorial-drawer-wrapper' },\n\t\t\t\t\twp.element.createElement(InnerBlocks, {\n\t\t\t\t\t\tallowedBlocks: Object(__WEBPACK_IMPORTED_MODULE_5__components_allowed_blocks__[\"a\" /* default */])()\n\t\t\t\t\t}),\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'wp-block-editorial-drawer-close' },\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t'button',\n\t\t\t\t\t\t\t{ className: 'wp-block-editorial-drawer-close-button js-bu-block-drawer-close' },\n\t\t\t\t\t\t\t'Close'\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t),\n\t\t\twp.element.createElement(\n\t\t\t\tInspectorControls,\n\t\t\t\tnull,\n\t\t\t\twp.element.createElement(PanelColorSettings, {\n\t\t\t\t\ttitle: __('Background Color'),\n\t\t\t\t\tinitialOpen: false,\n\t\t\t\t\tcolorSettings: [{\n\t\t\t\t\t\tvalue: themeColor.color,\n\t\t\t\t\t\tonChange: setThemeColor,\n\t\t\t\t\t\tlabel: __('Background'),\n\t\t\t\t\t\tdisableCustomColors: true,\n\t\t\t\t\t\tcolors: Object(__WEBPACK_IMPORTED_MODULE_4__global_theme_options__[\"a\" /* default */])()\n\t\t\t\t\t}]\n\t\t\t\t}),\n\t\t\t\twp.element.createElement(\n\t\t\t\t\tPanelBody,\n\t\t\t\t\t{ title: __('Display Options') },\n\t\t\t\t\twp.element.createElement(ToggleControl, {\n\t\t\t\t\t\tlabel: __('Hide teaser when drawer is open'),\n\t\t\t\t\t\tchecked: hideTeaser,\n\t\t\t\t\t\tonChange: function onChange() {\n\t\t\t\t\t\t\treturn setAttributes({ hideTeaser: !hideTeaser });\n\t\t\t\t\t\t}\n\t\t\t\t\t}),\n\t\t\t\t\tbackgroundId && wp.element.createElement(ToggleControl, {\n\t\t\t\t\t\tlabel: __('Round photos'),\n\t\t\t\t\t\tchecked: round,\n\t\t\t\t\t\tonChange: function onChange() {\n\t\t\t\t\t\t\treturn setAttributes({ round: !round });\n\t\t\t\t\t\t}\n\t\t\t\t\t}),\n\t\t\t\t\twp.element.createElement(RadioControl, {\n\t\t\t\t\t\tlabel: __('Size'),\n\t\t\t\t\t\tselected: size,\n\t\t\t\t\t\toptions: [{\n\t\t\t\t\t\t\tlabel: 'Default',\n\t\t\t\t\t\t\tvalue: ''\n\t\t\t\t\t\t}, {\n\t\t\t\t\t\t\tlabel: 'Narrow',\n\t\t\t\t\t\t\tvalue: 'is-size-narrow'\n\t\t\t\t\t\t}, {\n\t\t\t\t\t\t\tlabel: 'Small',\n\t\t\t\t\t\t\tvalue: 'is-size-small'\n\t\t\t\t\t\t}, {\n\t\t\t\t\t\t\tlabel: 'Medium',\n\t\t\t\t\t\t\tvalue: 'is-size-medium'\n\t\t\t\t\t\t}, {\n\t\t\t\t\t\t\tlabel: 'Wide',\n\t\t\t\t\t\t\tvalue: 'is-size-wide'\n\t\t\t\t\t\t}],\n\t\t\t\t\t\tonChange: function onChange(option) {\n\t\t\t\t\t\t\treturn setAttributes({ size: option });\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t)\n\t\t\t)\n\t\t);\n\t}),\n\n\tsave: function save(props) {\n\t\t// Get the properties and attributes we'll need.\n\t\tvar _props$attributes2 = props.attributes,\n\t\t backgroundId = _props$attributes2.backgroundId,\n\t\t button = _props$attributes2.button,\n\t\t className = _props$attributes2.className,\n\t\t hed = _props$attributes2.hed,\n\t\t hideTeaser = _props$attributes2.hideTeaser,\n\t\t lede = _props$attributes2.lede,\n\t\t round = _props$attributes2.round,\n\t\t size = _props$attributes2.size,\n\t\t themeColor = _props$attributes2.themeColor;\n\n\n\t\treturn wp.element.createElement(\n\t\t\t'aside',\n\t\t\t{ className: getClasses(backgroundId, className, hideTeaser, round, size, themeColor) },\n\t\t\twp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'wp-block-editorial-drawer-teaser' },\n\t\t\t\tbackgroundId && wp.element.createElement(\n\t\t\t\t\t'figure',\n\t\t\t\t\tnull,\n\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_background__[\"b\" /* default */], { blockProps: props })\n\t\t\t\t),\n\t\t\t\t!RichText.isEmpty(hed) && wp.element.createElement(RichText.Content, {\n\t\t\t\t\ttagName: 'h2',\n\t\t\t\t\tvalue: hed\n\t\t\t\t}),\n\t\t\t\t!RichText.isEmpty(lede) && wp.element.createElement(RichText.Content, {\n\t\t\t\t\ttagName: 'p',\n\t\t\t\t\tvalue: lede\n\t\t\t\t}),\n\t\t\t\tbutton && wp.element.createElement(\n\t\t\t\t\t'a',\n\t\t\t\t\t{ href: '#', className: 'button js-bu-block-drawer-open' },\n\t\t\t\t\tbutton\n\t\t\t\t)\n\t\t\t),\n\t\t\twp.element.createElement(\n\t\t\t\t'section',\n\t\t\t\t{ className: 'wp-block-editorial-drawer-content js-bu-block-drawer-content' },\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'wp-block-editorial-drawer-wrapper' },\n\t\t\t\t\twp.element.createElement(InnerBlocks.Content, null),\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'wp-block-editorial-drawer-close' },\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t'button',\n\t\t\t\t\t\t\t{ className: 'wp-block-editorial-drawer-close-button js-bu-block-drawer-close' },\n\t\t\t\t\t\t\t'Close'\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t)\n\t\t);\n\t}\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjEuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL2RyYXdlci9kcmF3ZXIuanM/MDUzMiJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZGVmaW5lUHJvcGVydHkob2JqLCBrZXksIHZhbHVlKSB7IGlmIChrZXkgaW4gb2JqKSB7IE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosIGtleSwgeyB2YWx1ZTogdmFsdWUsIGVudW1lcmFibGU6IHRydWUsIG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TtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///21\n");
-
-/***/ }),
-/* 22 */
-/*!**************************************!*\
- !*** ./src/blocks/drawer/style.scss ***!
- \**************************************/
-/*! dynamic exports provided */
-/***/ (function(module, exports) {
-
-eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjIuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL2RyYXdlci9zdHlsZS5zY3NzPzcwOWUiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gcmVtb3ZlZCBieSBleHRyYWN0LXRleHQtd2VicGFjay1wbHVnaW5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9ibG9ja3MvZHJhd2VyL3N0eWxlLnNjc3Ncbi8vIG1vZHVsZSBpZCA9IDIyXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///22\n");
-
-/***/ }),
-/* 23 */
-/*!***************************************!*\
- !*** ./src/blocks/drawer/editor.scss ***!
- \***************************************/
-/*! dynamic exports provided */
-/***/ (function(module, exports) {
-
-eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL2RyYXdlci9lZGl0b3Iuc2Nzcz9iZTNkIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIHJlbW92ZWQgYnkgZXh0cmFjdC10ZXh0LXdlYnBhY2stcGx1Z2luXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9zcmMvYmxvY2tzL2RyYXdlci9lZGl0b3Iuc2Nzc1xuLy8gbW9kdWxlIGlkID0gMjNcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///23\n");
-
-/***/ }),
-/* 24 */
-/*!***********************************************!*\
- !*** ./src/components/background/editor.scss ***!
- \***********************************************/
-/*! dynamic exports provided */
-/***/ (function(module, exports) {
-
-eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjQuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvY29tcG9uZW50cy9iYWNrZ3JvdW5kL2VkaXRvci5zY3NzP2JlNjEiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gcmVtb3ZlZCBieSBleHRyYWN0LXRleHQtd2VicGFjay1wbHVnaW5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9jb21wb25lbnRzL2JhY2tncm91bmQvZWRpdG9yLnNjc3Ncbi8vIG1vZHVsZSBpZCA9IDI0XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///24\n");
-
-/***/ }),
-/* 25 */
-/*!**********************************************!*\
- !*** ./src/components/background/style.scss ***!
- \**********************************************/
-/*! dynamic exports provided */
-/***/ (function(module, exports) {
-
-eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjUuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvY29tcG9uZW50cy9iYWNrZ3JvdW5kL3N0eWxlLnNjc3M/YWZkMyJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyByZW1vdmVkIGJ5IGV4dHJhY3QtdGV4dC13ZWJwYWNrLXBsdWdpblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vc3JjL2NvbXBvbmVudHMvYmFja2dyb3VuZC9zdHlsZS5zY3NzXG4vLyBtb2R1bGUgaWQgPSAyNVxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///25\n");
-
-/***/ }),
-/* 26 */
-/*!*************************************************!*\
- !*** ./src/components/background/attributes.js ***!
- \*************************************************/
-/*! exports provided: default */
-/*! exports used: default */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-eval("/**\n * The background component attributes.\n */\n\nvar BackgroundAttributes = {\n\tbackgroundId: {\n\t\ttype: 'number'\n\t},\n\tbackgroundType: {\n\t\ttype: 'string'\n\t},\n\tbackgroundUrl: {\n\t\ttype: 'string'\n\t},\n\tbackgroundOpacity: {\n\t\ttype: 'number',\n\t\tdefault: 100\n\t},\n\tbackgroundAlt: {\n\t\ttype: 'string'\n\t},\n\tbackgroundCaption: {\n\t\ttype: 'string'\n\t},\n\tbackgroundAutoplay: {\n\t\ttype: 'boolean',\n\t\tdefault: false\n\t}\n};\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (BackgroundAttributes);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjYuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvY29tcG9uZW50cy9iYWNrZ3JvdW5kL2F0dHJpYnV0ZXMuanM/Mjc0ZSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIFRoZSBiYWNrZ3JvdW5kIGNvbXBvbmVudCBhdHRyaWJ1dGVzLlxuICovXG5cbnZhciBCYWNrZ3JvdW5kQXR0cmlidXRlcyA9IHtcblx0YmFja2dyb3VuZElkOiB7XG5cdFx0dHlwZTogJ251bWJlcidcblx0fSxcblx0YmFja2dyb3VuZFR5cGU6IHtcblx0XHR0eXBlOiAnc3RyaW5nJ1xuXHR9LFxuXHRiYWNrZ3JvdW5kVXJsOiB7XG5cdFx0dHlwZTogJ3N0cmluZydcblx0fSxcblx0YmFja2dyb3VuZE9wYWNpdHk6IHtcblx0XHR0eXBlOiAnbnVtYmVyJyxcblx0XHRkZWZhdWx0OiAxMDBcblx0fSxcblx0YmFja2dyb3VuZEFsdDoge1xuXHRcdHR5cGU6ICdzdHJpbmcnXG5cdH0sXG5cdGJhY2tncm91bmRDYXB0aW9uOiB7XG5cdFx0dHlwZTogJ3N0cmluZydcblx0fSxcblx0YmFja2dyb3VuZEF1dG9wbGF5OiB7XG5cdFx0dHlwZTogJ2Jvb2xlYW4nLFxuXHRcdGRlZmF1bHQ6IGZhbHNlXG5cdH1cbn07XG5cbmV4cG9ydCBkZWZhdWx0IEJhY2tncm91bmRBdHRyaWJ1dGVzO1xuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vc3JjL2NvbXBvbmVudHMvYmFja2dyb3VuZC9hdHRyaWJ1dGVzLmpzXG4vLyBtb2R1bGUgaWQgPSAyNlxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///26\n");
-
-/***/ }),
-/* 27 */
-/*!***********************************!*\
- !*** ./src/blocks/modal/modal.js ***!
- \***********************************/
-/*! no exports provided */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss__ = __webpack_require__(/*! ./style.scss */ 28);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__style_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 29);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__editor_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__edit_js__ = __webpack_require__(/*! ./edit.js */ 30);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__components_background__ = __webpack_require__(/*! ../../components/background */ 4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__components_block_icons__ = __webpack_require__(/*! ../../components/block-icons */ 1);\nfunction _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; }\n\n/**\n * BLOCK: editorial-modal\n *\n * A block with a callout for opening a modal with supplemental or complementary information.\n */\n\n// External dependencies.\n\n\n// Import CSS.\n\n\n\n// Internal dependencies.\n\n\n\n\n// WordPress dependencies.\nvar __ = wp.i18n.__;\nvar registerBlockType = wp.blocks.registerBlockType;\n\nvar _ref = 'undefined' === typeof wp.blockEditor ? wp.editor : wp.blockEditor,\n getColorClassName = _ref.getColorClassName,\n InnerBlocks = _ref.InnerBlocks;\n\nvar select = wp.data.select;\n\n// Populate selectors that were in core/editor until WordPress 5.2 and are\n// now located in core/block-editor.\n\nvar _ref2 = 'undefined' === typeof select('core/block-editor') ? select('core/editor') : select('core/block-editor'),\n hasSelectedInnerBlock = _ref2.hasSelectedInnerBlock,\n isBlockSelected = _ref2.isBlockSelected;\n\n// Register the block.\n\n\nregisterBlockType('editorial/modal', {\n\n\ttitle: __('Modal'),\n\tdescription: __('A block with a callout for opening a modal with supplemental or complementary information.'),\n\ticon: Object(__WEBPACK_IMPORTED_MODULE_5__components_block_icons__[\"a\" /* default */])('modal'),\n\tcategory: 'bu-editorial',\n\tsupports: {\n\t\talign: true\n\t},\n\tattributes: Object.assign({\n\t\tclientId: {\n\t\t\ttype: 'number'\n\t\t},\n\t\tthemeColor: {\n\t\t\ttype: 'string'\n\t\t},\n\t\tcalloutHeading: {\n\t\t\ttype: 'array',\n\t\t\tsource: 'children',\n\t\t\tselector: 'h1'\n\t\t},\n\t\tcalloutText: {\n\t\t\ttype: 'array',\n\t\t\tsource: 'children',\n\t\t\tselector: '.editorial-modal-callout-text'\n\t\t},\n\t\ttrigger: {\n\t\t\ttype: 'array',\n\t\t\tsource: 'children',\n\t\t\tselector: '.js-bu-block-modal-trigger-overlay'\n\t\t}\n\t}, __WEBPACK_IMPORTED_MODULE_4__components_background__[\"a\" /* BackgroundAttributes */]),\n\n\t// Add the `selected-modal` data attribute when this block or its descendants are selected.\n\tgetEditWrapperProps: function getEditWrapperProps(_ref3) {\n\t\tvar clientId = _ref3.clientId;\n\n\t\tif (clientId) {\n\t\t\tvar modalHasSelectedBlock = hasSelectedInnerBlock(clientId, true) || isBlockSelected(clientId);\n\n\t\t\treturn { 'data-selected-modal': modalHasSelectedBlock ? 'true' : undefined };\n\t\t}\n\t},\n\n\n\tedit: __WEBPACK_IMPORTED_MODULE_3__edit_js__[\"a\" /* default */],\n\n\tsave: function save(props) {\n\t\tvar _classnames;\n\n\t\tvar attributes = props.attributes,\n\t\t className = props.className;\n\t\tvar themeColor = attributes.themeColor,\n\t\t calloutHeading = attributes.calloutHeading,\n\t\t calloutText = attributes.calloutText,\n\t\t trigger = attributes.trigger,\n\t\t backgroundId = attributes.backgroundId;\n\n\t\tvar classes = __WEBPACK_IMPORTED_MODULE_0_classnames___default()(className, 'js-bu-block-modal', (_classnames = {}, _defineProperty(_classnames, getColorClassName('theme', themeColor), getColorClassName('theme', themeColor)), _defineProperty(_classnames, 'has-media', backgroundId), _classnames));\n\n\t\treturn wp.element.createElement(\n\t\t\t'aside',\n\t\t\t{ className: classes },\n\t\t\twp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'wp-block-editorial-modal-callout' },\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'wp-block-editorial-modal-media' },\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t'figure',\n\t\t\t\t\t\t{ className: 'wp-block-editorial-modal-image' },\n\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_4__components_background__[\"b\" /* default */], {\n\t\t\t\t\t\t\tblockProps: props,\n\t\t\t\t\t\t\tclassName: 'banner-placeholder'\n\t\t\t\t\t\t})\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'wp-block-editorial-modal-callout-content' },\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'modal-valign' },\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t'h1',\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\tcalloutHeading\n\t\t\t\t\t\t),\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t'p',\n\t\t\t\t\t\t\t{ className: 'editorial-modal-callout-text' },\n\t\t\t\t\t\t\tcalloutText\n\t\t\t\t\t\t),\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t'p',\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t\t{ href: '#', className: 'js-bu-block-modal-trigger-overlay button' },\n\t\t\t\t\t\t\t\ttrigger\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t),\n\t\t\twp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'wp-block-editorial-modal-content js-bu-block-modal-overlay' },\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'overlay overlay-scale' },\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t'a',\n\t\t\t\t\t\t{ href: '#', 'class': 'wp-block-editorial-modal-overlay-close js-bu-block-modal-overlay-close' },\n\t\t\t\t\t\t'Close'\n\t\t\t\t\t),\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t'article',\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\twp.element.createElement(InnerBlocks.Content, null)\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t)\n\t\t);\n\t}\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL21vZGFsL21vZGFsLmpzPzk2MDkiXSwic291cmNlc0NvbnRlbnQiOlsiZnVuY3Rpb24gX2RlZmluZVByb3BlcnR5KG9iaiwga2V5LCB2YWx1ZSkgeyBpZiAoa2V5IGluIG9iaikgeyBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCBrZXksIHsgdmFsdWU6IHZhbHVlLCBlbnVtZXJhYmxlOiB0cnVlLCBjb25maWd1cmFibGU6IHRydWUsIHdyaXRhYmxlOiB0cnVlIH0pOyB9IGVsc2UgeyBvYmpba2V5XSA9IHZhbHVlOyB9IHJldHVybiBvYmo7IH1cblxuLyoqXG4gKiBCTE9DSzogZWRpdG9yaWFsLW1vZGFsXG4gKlxuICogQSBibG9jayB3aXRoIGEgY2Fsb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QTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///27\n");
-
-/***/ }),
-/* 28 */
-/*!*************************************!*\
- !*** ./src/blocks/modal/style.scss ***!
- \*************************************/
-/*! dynamic exports provided */
-/***/ (function(module, exports) {
-
-eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjguanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL21vZGFsL3N0eWxlLnNjc3M/MzUyYyJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyByZW1vdmVkIGJ5IGV4dHJhY3QtdGV4dC13ZWJwYWNrLXBsdWdpblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vc3JjL2Jsb2Nrcy9tb2RhbC9zdHlsZS5zY3NzXG4vLyBtb2R1bGUgaWQgPSAyOFxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///28\n");
-
-/***/ }),
-/* 29 */
-/*!**************************************!*\
- !*** ./src/blocks/modal/editor.scss ***!
- \**************************************/
-/*! dynamic exports provided */
-/***/ (function(module, exports) {
-
-eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjkuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL21vZGFsL2VkaXRvci5zY3NzPzk2NTAiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gcmVtb3ZlZCBieSBleHRyYWN0LXRleHQtd2VicGFjay1wbHVnaW5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9ibG9ja3MvbW9kYWwvZWRpdG9yLnNjc3Ncbi8vIG1vZHVsZSBpZCA9IDI5XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///29\n");
-
-/***/ }),
-/* 30 */
-/*!**********************************!*\
- !*** ./src/blocks/modal/edit.js ***!
- \**********************************/
-/*! exports provided: default */
-/*! exports used: default */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__global_theme_options__ = __webpack_require__(/*! ../../global/theme-options */ 3);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__components_background__ = __webpack_require__(/*! ../../components/background */ 4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_allowed_blocks__ = __webpack_require__(/*! ../../components/allowed-blocks */ 6);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__global_allowed_formats__ = __webpack_require__(/*! ../../global/allowed-formats */ 2);\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _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; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n/**\n * Edit function for the modal block.\n */\n\n// External dependencies.\n\n\n// Internal dependencies.\n\n\n\n\n\n// WordPress dependencies.\nvar __ = wp.i18n.__;\nvar _wp$element = wp.element,\n Component = _wp$element.Component,\n Fragment = _wp$element.Fragment;\nvar compose = wp.compose.compose;\n\nvar _ref = 'undefined' === typeof wp.blockEditor ? wp.editor : wp.blockEditor,\n InspectorControls = _ref.InspectorControls,\n InnerBlocks = _ref.InnerBlocks,\n PanelColorSettings = _ref.PanelColorSettings,\n RichText = _ref.RichText,\n withColors = _ref.withColors;\n\nvar select = wp.data.select;\n\n// Populate selectors that were in core/editor until WordPress 5.2 and are\n// now located in core/block-editor.\n\nvar _ref2 = 'undefined' === typeof select('core/block-editor') ? select('core/editor') : select('core/block-editor'),\n hasSelectedInnerBlock = _ref2.hasSelectedInnerBlock,\n isBlockSelected = _ref2.isBlockSelected;\n\n// Only allow images in the background component for this block.\n\n\nvar allowedMedia = ['image'];\n\nvar BUEditorialModalEdit = function (_Component) {\n\t_inherits(BUEditorialModalEdit, _Component);\n\n\tfunction BUEditorialModalEdit() {\n\t\t_classCallCheck(this, BUEditorialModalEdit);\n\n\t\treturn _possibleConstructorReturn(this, (BUEditorialModalEdit.__proto__ || Object.getPrototypeOf(BUEditorialModalEdit)).apply(this, arguments));\n\t}\n\n\t_createClass(BUEditorialModalEdit, [{\n\t\tkey: 'render',\n\t\tvalue: function render() {\n\t\t\tvar _classnames;\n\n\t\t\tvar _props = this.props,\n\t\t\t attributes = _props.attributes,\n\t\t\t themeColor = _props.themeColor,\n\t\t\t setThemeColor = _props.setThemeColor,\n\t\t\t setAttributes = _props.setAttributes,\n\t\t\t className = _props.className,\n\t\t\t clientId = _props.clientId;\n\t\t\tvar backgroundId = attributes.backgroundId,\n\t\t\t calloutHeading = attributes.calloutHeading,\n\t\t\t calloutText = attributes.calloutText,\n\t\t\t trigger = attributes.trigger;\n\n\n\t\t\tvar classes = __WEBPACK_IMPORTED_MODULE_0_classnames___default()(className, (_classnames = {}, _defineProperty(_classnames, 'has-' + themeColor.slug + '-theme', themeColor.slug), _defineProperty(_classnames, 'has-media', backgroundId), _classnames));\n\n\t\t\t// Set the clientId attribute so it can be accessed in the `getEditWrapperProps` function.\n\t\t\tif (hasSelectedInnerBlock(clientId, true) || isBlockSelected(clientId)) {\n\t\t\t\tsetAttributes({ clientId: clientId });\n\t\t\t}\n\n\t\t\treturn wp.element.createElement(\n\t\t\t\tFragment,\n\t\t\t\tnull,\n\t\t\t\twp.element.createElement(\n\t\t\t\t\tInspectorControls,\n\t\t\t\t\tnull,\n\t\t\t\t\twp.element.createElement(PanelColorSettings, {\n\t\t\t\t\t\ttitle: __('Theme Settings'),\n\t\t\t\t\t\tcolorSettings: [{\n\t\t\t\t\t\t\tvalue: themeColor.color,\n\t\t\t\t\t\t\tonChange: setThemeColor,\n\t\t\t\t\t\t\tlabel: __('Theme'),\n\t\t\t\t\t\t\tdisableCustomColors: true,\n\t\t\t\t\t\t\tcolors: Object(__WEBPACK_IMPORTED_MODULE_1__global_theme_options__[\"a\" /* default */])()\n\t\t\t\t\t\t}]\n\t\t\t\t\t})\n\t\t\t\t),\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'aside',\n\t\t\t\t\t{ className: classes },\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'wp-block-editorial-modal-callout' },\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'wp-block-editorial-modal-media' },\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t'figure',\n\t\t\t\t\t\t\t\t{ className: 'wp-block-editorial-modal-image' },\n\t\t\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__components_background__[\"b\" /* default */], {\n\t\t\t\t\t\t\t\t\tallowedMediaTypes: allowedMedia,\n\t\t\t\t\t\t\t\t\tblockProps: this.props,\n\t\t\t\t\t\t\t\t\tclassName: 'banner-placeholder',\n\t\t\t\t\t\t\t\t\tplaceholderText: __('Add Image')\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t),\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'wp-block-editorial-modal-callout-content' },\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t\t{ className: 'modal-valign' },\n\t\t\t\t\t\t\t\twp.element.createElement(RichText, {\n\t\t\t\t\t\t\t\t\ttagName: 'h1',\n\t\t\t\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\t\t\t\treturn setAttributes({ calloutHeading: value });\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tvalue: calloutHeading,\n\t\t\t\t\t\t\t\t\tplaceholder: __('Enter heading…'),\n\t\t\t\t\t\t\t\t\tformattingControls: Object(__WEBPACK_IMPORTED_MODULE_4__global_allowed_formats__[\"a\" /* default */])('formattingControls', []),\n\t\t\t\t\t\t\t\t\tallowedFormats: Object(__WEBPACK_IMPORTED_MODULE_4__global_allowed_formats__[\"a\" /* default */])('allowedFormats', [])\n\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\twp.element.createElement(RichText, {\n\t\t\t\t\t\t\t\t\ttagName: 'p',\n\t\t\t\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\t\t\t\treturn setAttributes({ calloutText: value });\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tvalue: calloutText,\n\t\t\t\t\t\t\t\t\tplaceholder: __('Enter text…'),\n\t\t\t\t\t\t\t\t\tformattingControls: Object(__WEBPACK_IMPORTED_MODULE_4__global_allowed_formats__[\"a\" /* default */])('formattingControls', ['bold', 'italic', 'link']),\n\t\t\t\t\t\t\t\t\tallowedFormats: Object(__WEBPACK_IMPORTED_MODULE_4__global_allowed_formats__[\"a\" /* default */])('allowedFormats', ['core/bold', 'core/italic', 'core/link'])\n\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t\t\t{ className: 'wp-block-editorial-modal-trigger-wrapper' },\n\t\t\t\t\t\t\t\t\twp.element.createElement(RichText, {\n\t\t\t\t\t\t\t\t\t\ttagName: 'p',\n\t\t\t\t\t\t\t\t\t\tclassName: 'js-bu-block-modal-trigger-overlay button',\n\t\t\t\t\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\t\t\t\t\treturn setAttributes({ trigger: value });\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\tvalue: trigger,\n\t\t\t\t\t\t\t\t\t\tplaceholder: __('Enter trigger label…'),\n\t\t\t\t\t\t\t\t\t\tformattingControls: Object(__WEBPACK_IMPORTED_MODULE_4__global_allowed_formats__[\"a\" /* default */])('formattingControls', []),\n\t\t\t\t\t\t\t\t\t\tallowedFormats: Object(__WEBPACK_IMPORTED_MODULE_4__global_allowed_formats__[\"a\" /* default */])('allowedFormats', [])\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t),\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'wp-block-editorial-modal-content js-bu-block-modal-overlay' },\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'overlay overlay-scale' },\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t\t{ href: '#', 'class': 'wp-block-editorial-modal-overlay-close js-bu-block-modal-overlay-close' },\n\t\t\t\t\t\t\t\t'Close'\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t'article',\n\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\twp.element.createElement(InnerBlocks, {\n\t\t\t\t\t\t\t\t\tallowedBlocks: Object(__WEBPACK_IMPORTED_MODULE_3__components_allowed_blocks__[\"a\" /* default */])()\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\t}]);\n\n\treturn BUEditorialModalEdit;\n}(Component);\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (compose([withColors('themeColor')])(BUEditorialModalEdit));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzAuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL21vZGFsL2VkaXQuanM/YmRmZiJdLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgX2NyZWF0ZUNsYXNzID0gZnVuY3Rpb24gKCkgeyBmdW5jdGlvbiBkZWZpbmVQcm9wZXJ0aWVzKHRhcmdldCwgcHJvcHMpIHsgZm9yICh2YXIgaSA9IDA7IGkgPCBwcm9wcy5sZW5ndGg7IGkrKykgeyB2YXIgZGVzY3JpcHRvciA9IHByb3BzW2ldOyBkZXNjcmlwdG9yLmVudW1lcmFibGUgPSBkZXNjcmlwdG9yLmVudW1lcmFibGUgfHwgZmFsc2U7IGRlc2NyaXB0b3IuY29uZmlndXJhYmxlID0gdHJ1ZTsgaWYgKFwidmFsdWVcIiBpbiBkZXNjcmlwdG9yKSBkZXNjcmlwdG9yLndyaXRhYmxlID0gdHJ1ZTsgT2JqZWN0LmRlZmluZVByb3BlcnR5KHRhcmdldCwgZGVzY3JpcHRvci5rZXksIGRlc2NyaXB0b3IpOyB9IH0gcmV0dXJuIGZ1bmN0aW9uIChDb25zdHJ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UFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///30\n");
-
-/***/ }),
-/* 31 */
-/*!*****************************************************!*\
- !*** ./src/blocks/introparagraph/introparagraph.js ***!
- \*****************************************************/
-/*! no exports provided */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style_scss__ = __webpack_require__(/*! ./style.scss */ 32);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__style_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 33);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__editor_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__global_allowed_formats__ = __webpack_require__(/*! ../../global/allowed-formats */ 2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_block_icons___ = __webpack_require__(/*! ../../components/block-icons/ */ 1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_classnames__ = __webpack_require__(/*! classnames */ 0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_classnames__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__global_theme_options__ = __webpack_require__(/*! ../../global/theme-options */ 3);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__deprecated__ = __webpack_require__(/*! ./deprecated */ 34);\nvar _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; };\n\nfunction _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; }\n\n/**\n * BLOCK: editorial/introparagraph\n *\n * Register an intro paragraph block with Gutenberg.\n */\n\n// Import CSS.\n\n\n\n\n\n\n// WordPress dependencies.\nvar __ = wp.i18n.__;\nvar _wp$blocks = wp.blocks,\n createBlock = _wp$blocks.createBlock,\n registerBlockType = _wp$blocks.registerBlockType;\nvar Fragment = wp.element.Fragment;\nvar _wp$components = wp.components,\n IconButton = _wp$components.IconButton,\n PanelBody = _wp$components.PanelBody,\n Toolbar = _wp$components.Toolbar,\n SVG = _wp$components.SVG;\n\nvar _ref = 'undefined' === typeof wp.blockEditor ? wp.editor : wp.blockEditor,\n RichText = _ref.RichText,\n PlainText = _ref.PlainText,\n InspectorControls = _ref.InspectorControls,\n MediaPlaceholder = _ref.MediaPlaceholder,\n MediaUpload = _ref.MediaUpload,\n MediaUploadCheck = _ref.MediaUploadCheck,\n PanelColorSettings = _ref.PanelColorSettings,\n withColors = _ref.withColors;\n\n// Import a library used to manage multiple class names.\n\n\n\n\n// Import common handling of available color options.\n\n\n\n\n/**\n * Render the SVG used for a drop cap when the drop cap has an\n * image assigned to it.\n *\n * This is used in the block editor and stored in post content\n * as part of the block markup.\n *\n *\n * @param {string} character The character to display in the drop cap.\n * @param {string} imageURL The background image for the drop cap character.\n */\nvar renderDropCapSVG = function renderDropCapSVG(character, imageURL) {\n\tvar randomID = 'dropcap-text-' + character;\n\tvar clipPathURL = 'url(#' + randomID + ')';\n\tvar xlinkurlAttr = { 'xlink:href': imageURL };\n\treturn wp.element.createElement(\n\t\t'svg',\n\t\tnull,\n\t\twp.element.createElement(\n\t\t\t'clipPath',\n\t\t\t{ id: randomID },\n\t\t\twp.element.createElement(\n\t\t\t\t'text',\n\t\t\t\t{ textAnchor: 'start',\n\t\t\t\t\tx: '0',\n\t\t\t\t\ty: '50%',\n\t\t\t\t\tdy: '.404em',\n\t\t\t\t\tclassName: 'dropcap-filltext' },\n\t\t\t\tcharacter\n\t\t\t)\n\t\t),\n\t\twp.element.createElement(\n\t\t\t'g',\n\t\t\t{ 'clip-path': clipPathURL },\n\t\t\twp.element.createElement('image', _extends({}, xlinkurlAttr, { href: imageURL, width: '100%', height: '100%', preserveAspectRatio: 'none' }))\n\t\t)\n\t);\n};\n\n// Register the block.\nregisterBlockType('editorial/introparagraph', {\n\n\ttitle: __('Intro Paragraph'),\n\tdescription: __('Add an introduction with a bulleted list and styled paragraph.'),\n\ticon: Object(__WEBPACK_IMPORTED_MODULE_3__components_block_icons___[\"a\" /* default */])('introparagraph'),\n\tcategory: 'bu-editorial',\n\tsupports: {\n\t\tanchor: true\n\t},\n\tattributes: {\n\t\theading: {\n\t\t\ttype: 'string',\n\t\t\tsource: 'html',\n\t\t\tselector: '.wp-block-editorial-introparagraph h4'\n\t\t},\n\t\tlist: {\n\t\t\ttype: 'string',\n\t\t\tsource: 'html',\n\t\t\tselector: '.wp-block-editorial-introparagraph-toc'\n\t\t},\n\t\tcontent: {\n\t\t\ttype: 'string',\n\t\t\tsource: 'html',\n\t\t\tselector: '.wp-block-editorial-introparagraph-content p'\n\t\t},\n\t\tdropCapColor: {\n\t\t\ttype: 'string',\n\t\t\tdefault: ''\n\t\t},\n\t\tparagraphColor: {\n\t\t\ttype: 'string',\n\t\t\tdefault: ''\n\t\t},\n\t\tclassName: {\n\t\t\ttype: 'string',\n\t\t\tdefault: ''\n\t\t},\n\t\tdropCapImageURL: {\n\t\t\ttype: 'string',\n\t\t\tdefault: ''\n\t\t},\n\t\tdropCapImageId: {\n\t\t\ttype: 'number'\n\t\t}\n\t},\n\tstyles: [{\n\t\tname: 'default',\n\t\tlabel: __('Regular'),\n\t\tisDefault: true\n\t}, {\n\t\tname: 'large',\n\t\tlabel: __('Large paragraph text')\n\t}, {\n\t\tname: 'split',\n\t\tlabel: __('Split paragraph text')\n\t}, {\n\t\tname: 'dropcap-default',\n\t\tlabel: __('Dropcap')\n\t}, {\n\t\tname: 'dropcap-boxed',\n\t\tlabel: __('Boxed dropcap')\n\t}, {\n\t\tname: 'dropcap-outlined',\n\t\tlabel: __('Outlined dropcap')\n\t}, {\n\t\tname: 'dropcap-dimensional',\n\t\tlabel: __('Dimensional dropcap')\n\t}, {\n\t\tname: 'dropcap-image',\n\t\tlabel: __('Image dropcap')\n\t}],\n\n\tedit: withColors('paragraphColor', 'dropCapColor')(function (props) {\n\t\tvar _classnames;\n\n\t\tvar attributes = props.attributes,\n\t\t className = props.className,\n\t\t insertBlocksAfter = props.insertBlocksAfter,\n\t\t setAttributes = props.setAttributes,\n\t\t paragraphColor = props.paragraphColor,\n\t\t setParagraphColor = props.setParagraphColor,\n\t\t dropCapColor = props.dropCapColor,\n\t\t setDropCapColor = props.setDropCapColor;\n\t\tvar heading = attributes.heading,\n\t\t content = attributes.content,\n\t\t list = attributes.list,\n\t\t dropCapImageURL = attributes.dropCapImageURL,\n\t\t dropCapImageId = attributes.dropCapImageId;\n\n\t\t// Determine if a sepecific dropcap style has been selected.\n\n\t\tvar hasDropCapStyle = className.includes('is-style-dropcap');\n\n\t\t// Ensure that the has-dropcap, other has-dropcap classes, and paragraph classes are aligned.\n\t\tif (hasDropCapStyle) {\n\t\t\tsetAttributes({ paragraphColor: '' });\n\t\t} else if (!hasDropCapStyle) {\n\t\t\tsetAttributes({ dropCapColor: '' });\n\t\t}\n\n\t\t// Determine if the drop cap SVG should be included in content.\n\t\tvar isImageDropCap = className.includes('is-style-dropcap-image');\n\n\t\t// Pull the first character from the article content use in the drop cap SVG.\n\t\tvar dropCapCharacter = '';\n\t\tif ('undefined' !== typeof content) {\n\t\t\tdropCapCharacter = content.charAt(0);\n\t\t};\n\n\t\t// When an image is selected, set the URL and ID attributes on the block.\n\t\tvar onSelectImage = function onSelectImage(media) {\n\t\t\tif (!media || !media.url) {\n\t\t\t\tsetAttributes({ dropCapImageURL: '', dropCapImageId: null });\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Try to set a sensible image size to avoid full size images being loaded.\n\t\t\tvar selectedMediaURL = media.url;\n\n\t\t\t// The first check is for images already in the media library.\n\t\t\t// The second is for newly uploaded images.\n\t\t\tif (media.sizes) {\n\t\t\t\tif (media.sizes['bu_prepress_3x2_xs']) {\n\t\t\t\t\tselectedMediaURL = media.sizes['bu_prepress_3x2_xs'].url;\n\t\t\t\t} else if (media.sizes['thumbnail']) {\n\t\t\t\t\tselectedMediaURL = media.sizes['thumbnail'].url;\n\t\t\t\t} else if (media.sizes['medium']) {\n\t\t\t\t\tselectedMediaURL = media.sizes['medium'].url;\n\t\t\t\t}\n\t\t\t} else if (media.media_details) {\n\t\t\t\tif (media.media_details.sizes['bu_prepress_3x2_xs']) {\n\t\t\t\t\tselectedMediaURL = media.media_details.sizes['bu_prepress_3x2_xs'].source_url;\n\t\t\t\t} else if (media.media_details.sizes['thumbnail']) {\n\t\t\t\t\tselectedMediaURL = media.media_details.sizes['thumbnail'].source_url;\n\t\t\t\t} else if (media.media_details.sizes['medium']) {\n\t\t\t\t\tselectedMediaURL = media.media_details.sizes['medium'].source_url;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tsetAttributes({\n\t\t\t\tdropCapImageURL: selectedMediaURL,\n\t\t\t\tdropCapImageId: media.id\n\t\t\t});\n\t\t};\n\n\t\t// When an image is removed, reset the URL and ID attributes on the block.\n\t\tvar onRemoveImage = function onRemoveImage() {\n\t\t\tsetAttributes({ dropCapImageURL: '', dropCapImageId: null });\n\t\t};\n\n\t\t// Render the settings panel used to assign color to a paragraph.\n\t\tvar renderParagraphSettings = function renderParagraphSettings() {\n\t\t\treturn wp.element.createElement(PanelColorSettings, {\n\t\t\t\ttitle: __('Paragraph color'),\n\t\t\t\tcolorSettings: [{\n\t\t\t\t\tvalue: paragraphColor.color,\n\t\t\t\t\tonChange: setParagraphColor,\n\t\t\t\t\tlabel: __('Paragraph'),\n\t\t\t\t\tdisableCustomColors: true,\n\t\t\t\t\tcolors: Object(__WEBPACK_IMPORTED_MODULE_5__global_theme_options__[\"a\" /* default */])()\n\t\t\t\t}]\n\t\t\t});\n\t\t};\n\n\t\t// Render the settings panel used to assign color to a drop cap character.\n\t\tvar renderDropCapColorSettings = function renderDropCapColorSettings() {\n\t\t\treturn wp.element.createElement(PanelColorSettings, {\n\t\t\t\ttitle: __('Drop cap color'),\n\t\t\t\tcolorSettings: [{\n\t\t\t\t\tvalue: dropCapColor.color,\n\t\t\t\t\tonChange: setDropCapColor,\n\t\t\t\t\tlabel: __('Drop cap'),\n\t\t\t\t\tdisableCustomColors: true,\n\t\t\t\t\tcolors: Object(__WEBPACK_IMPORTED_MODULE_5__global_theme_options__[\"a\" /* default */])()\n\t\t\t\t}]\n\t\t\t});\n\t\t};\n\n\t\t// Render the settings panel used to assign an image to a drop cap character.\n\t\tvar renderDropCapImageSettings = function renderDropCapImageSettings() {\n\t\t\treturn wp.element.createElement(\n\t\t\t\tPanelBody,\n\t\t\t\t{ title: __('Drop cap image settings') },\n\t\t\t\t'' !== dropCapImageURL && wp.element.createElement(\n\t\t\t\t\tMediaUploadCheck,\n\t\t\t\t\tnull,\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\tToolbar,\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\twp.element.createElement(MediaUpload, {\n\t\t\t\t\t\t\tonSelect: onSelectImage,\n\t\t\t\t\t\t\tvalue: dropCapImageId,\n\t\t\t\t\t\t\trender: function render(_ref2) {\n\t\t\t\t\t\t\t\tvar open = _ref2.open;\n\t\t\t\t\t\t\t\treturn wp.element.createElement(\n\t\t\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\twp.element.createElement(IconButton, {\n\t\t\t\t\t\t\t\t\t\tclassName: 'components-toolbar__control',\n\t\t\t\t\t\t\t\t\t\tlabel: 'Edit image',\n\t\t\t\t\t\t\t\t\t\ticon: 'edit',\n\t\t\t\t\t\t\t\t\t\tonClick: open\n\t\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\t\twp.element.createElement(IconButton, {\n\t\t\t\t\t\t\t\t\t\ticon: 'no-alt',\n\t\t\t\t\t\t\t\t\t\tonClick: onRemoveImage,\n\t\t\t\t\t\t\t\t\t\tclassName: 'blocks-gallery-image__remove',\n\t\t\t\t\t\t\t\t\t\tlabel: 'Remove image'\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t})\n\t\t\t\t\t),\n\t\t\t\t\twp.element.createElement('img', { src: dropCapImageURL })\n\t\t\t\t),\n\t\t\t\twp.element.createElement(MediaPlaceholder, {\n\t\t\t\t\tkey: 'drop-cap-image',\n\t\t\t\t\ticon: 'format-image',\n\t\t\t\t\tlabel: 'Drop Cap Image',\n\t\t\t\t\tlabels: {\n\t\t\t\t\t\ttitle: 'Drop Cap Image',\n\t\t\t\t\t\tname: 'images'\n\t\t\t\t\t},\n\t\t\t\t\tonSelect: onSelectImage\n\t\t\t\t})\n\t\t\t);\n\t\t};\n\n\t\tvar classes = __WEBPACK_IMPORTED_MODULE_4_classnames___default()(className, (_classnames = {\n\t\t\t'has-dropcap': hasDropCapStyle\n\t\t}, _defineProperty(_classnames, 'has-dropcap-color-' + dropCapColor.slug, hasDropCapStyle && dropCapColor && dropCapColor.slug), _defineProperty(_classnames, 'has-paragraph-color-' + paragraphColor.slug, !hasDropCapStyle && paragraphColor && paragraphColor.slug), _classnames));\n\n\t\treturn wp.element.createElement(\n\t\t\tFragment,\n\t\t\tnull,\n\t\t\twp.element.createElement(\n\t\t\t\tInspectorControls,\n\t\t\t\tnull,\n\t\t\t\t!hasDropCapStyle && renderParagraphSettings(),\n\t\t\t\thasDropCapStyle && !isImageDropCap && renderDropCapColorSettings(),\n\t\t\t\thasDropCapStyle && isImageDropCap && renderDropCapImageSettings()\n\t\t\t),\n\t\t\twp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: classes },\n\t\t\t\twp.element.createElement(PlainText, {\n\t\t\t\t\ttagname: 'h4',\n\t\t\t\t\tvalue: heading,\n\t\t\t\t\tonChange: function onChange(heading) {\n\t\t\t\t\t\treturn setAttributes({ heading: heading });\n\t\t\t\t\t},\n\t\t\t\t\tplaceholder: __('Enter Teaser Headline (optional)')\n\t\t\t\t}),\n\t\t\t\twp.element.createElement(RichText, {\n\t\t\t\t\tmultiline: 'li',\n\t\t\t\t\ttagname: 'ul',\n\t\t\t\t\tonChange: function onChange(listValues) {\n\t\t\t\t\t\treturn setAttributes({ list: listValues });\n\t\t\t\t\t},\n\t\t\t\t\tvalue: list,\n\t\t\t\t\twrapperClassName: 'wp-block-editorial-introparagraph-toc',\n\t\t\t\t\tplaceholder: __('Enter Teaser Intro List (optional)'),\n\t\t\t\t\tformattingControls: Object(__WEBPACK_IMPORTED_MODULE_2__global_allowed_formats__[\"a\" /* default */])('formattingControls', ['link']),\n\t\t\t\t\tallowedFormats: Object(__WEBPACK_IMPORTED_MODULE_2__global_allowed_formats__[\"a\" /* default */])('allowedFormats', ['core/link'])\n\t\t\t\t}),\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'wp-block-editorial-introparagraph-content' },\n\t\t\t\t\tisImageDropCap && renderDropCapSVG(dropCapCharacter, dropCapImageURL),\n\t\t\t\t\twp.element.createElement(RichText, {\n\t\t\t\t\t\ttagname: 'p',\n\t\t\t\t\t\tvalue: content,\n\t\t\t\t\t\tonChange: function onChange(content) {\n\t\t\t\t\t\t\treturn setAttributes({ content: content });\n\t\t\t\t\t\t},\n\t\t\t\t\t\tplaceholder: __('Write paragraph…'),\n\t\t\t\t\t\tformattingControls: Object(__WEBPACK_IMPORTED_MODULE_2__global_allowed_formats__[\"a\" /* default */])('formattingControls', ['bold', 'italic']),\n\t\t\t\t\t\tallowedFormats: Object(__WEBPACK_IMPORTED_MODULE_2__global_allowed_formats__[\"a\" /* default */])('allowedFormats', ['core/bold', 'core/italic']),\n\t\t\t\t\t\tunstableOnSplit: insertBlocksAfter ? function (before, after) {\n\t\t\t\t\t\t\tfor (var _len = arguments.length, blocks = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n\t\t\t\t\t\t\t\tblocks[_key - 2] = arguments[_key];\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tsetAttributes({ content: before });\n\t\t\t\t\t\t\tinsertBlocksAfter([].concat(blocks, [createBlock('core/paragraph', { content: after })]));\n\t\t\t\t\t\t} : undefined\n\t\t\t\t\t})\n\t\t\t\t)\n\t\t\t)\n\t\t);\n\t}),\n\n\tsave: function save(_ref3) {\n\t\tvar _classnames2;\n\n\t\tvar attributes = _ref3.attributes;\n\t\tvar heading = attributes.heading,\n\t\t list = attributes.list,\n\t\t content = attributes.content,\n\t\t dropCapColor = attributes.dropCapColor,\n\t\t dropCapImageURL = attributes.dropCapImageURL,\n\t\t paragraphColor = attributes.paragraphColor,\n\t\t className = attributes.className;\n\n\n\t\tvar isImageDropCap = false;\n\t\tif ('undefined' !== typeof className) {\n\t\t\t// Determine if the drop cap SVG should be included in content.\n\t\t\tisImageDropCap = className.includes('is-style-dropcap-image');\n\t\t}\n\n\t\t// Pull the first character from the article content use in the drop cap SVG.\n\t\tvar dropCapCharacter = '';\n\t\tif ('undefined' !== typeof content) {\n\t\t\tdropCapCharacter = content.charAt(0);\n\t\t};\n\n\t\t// Determine if the list is empty and should be excluded from the saved block.\n\t\tvar saveList = true;\n\t\tif ('undefined' === typeof list || '
' === list || RichText.isEmpty(list)) {\n\t\t\tsaveList = false;\n\t\t}\n\n\t\t// Determine if a sepecific dropcap style has been selected.\n\t\tvar hasDropCapStyle = className && className.includes('is-style-dropcap');\n\n\t\tvar classes = __WEBPACK_IMPORTED_MODULE_4_classnames___default()(className, (_classnames2 = {\n\t\t\t'has-dropcap': hasDropCapStyle\n\t\t}, _defineProperty(_classnames2, 'has-dropcap-color-' + dropCapColor, hasDropCapStyle && dropCapColor), _defineProperty(_classnames2, 'has-paragraph-color-' + paragraphColor, !hasDropCapStyle && paragraphColor), _classnames2));\n\n\t\treturn wp.element.createElement(\n\t\t\t'div',\n\t\t\t{ className: classes },\n\t\t\t!RichText.isEmpty(heading) && wp.element.createElement(RichText.Content, { tagName: 'h4', value: heading }),\n\t\t\tsaveList && wp.element.createElement(RichText.Content, {\n\t\t\t\ttagName: 'ul',\n\t\t\t\tclassName: 'wp-block-editorial-introparagraph-toc',\n\t\t\t\tvalue: list,\n\t\t\t\tmultiline: 'li'\n\t\t\t}),\n\t\t\t!RichText.isEmpty(content) && wp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'wp-block-editorial-introparagraph-content' },\n\t\t\t\tisImageDropCap && renderDropCapSVG(dropCapCharacter, dropCapImageURL),\n\t\t\t\twp.element.createElement(RichText.Content, {\n\t\t\t\t\ttagName: 'p',\n\t\t\t\t\tvalue: content\n\t\t\t\t})\n\t\t\t)\n\t\t);\n\t},\n\n\n\tdeprecated: __WEBPACK_IMPORTED_MODULE_6__deprecated__[\"a\" /* default */]\n\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzEuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL2ludHJvcGFyYWdyYXBoL2ludHJvcGFyYWdyYXBoLmpzPzMwODUiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIF9leHRlbmRzID0gT2JqZWN0LmFzc2lnbiB8fCBmdW5jdGlvbiAodGFyZ2V0KSB7IGZvciAodmFyIGkgPSAxOyBpIDwgYXJndW1lbnRzLmxlbmd0aDsgaSsrKSB7IHZhciBzb3VyY2UgPSBhcmd1bWVudHNbaV07IGZvciAodmFyIGtleSBpbiBzb3VyY2UpIHsgaWYgKE9i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zb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///31\n");
-
-/***/ }),
-/* 32 */
-/*!**********************************************!*\
- !*** ./src/blocks/introparagraph/style.scss ***!
- \**********************************************/
-/*! dynamic exports provided */
-/***/ (function(module, exports) {
-
-eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzIuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL2ludHJvcGFyYWdyYXBoL3N0eWxlLnNjc3M/YjFmNyJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyByZW1vdmVkIGJ5IGV4dHJhY3QtdGV4dC13ZWJwYWNrLXBsdWdpblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vc3JjL2Jsb2Nrcy9pbnRyb3BhcmFncmFwaC9zdHlsZS5zY3NzXG4vLyBtb2R1bGUgaWQgPSAzMlxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///32\n");
-
-/***/ }),
-/* 33 */
-/*!***********************************************!*\
- !*** ./src/blocks/introparagraph/editor.scss ***!
- \***********************************************/
-/*! dynamic exports provided */
-/***/ (function(module, exports) {
-
-eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL2ludHJvcGFyYWdyYXBoL2VkaXRvci5zY3NzP2EwNWUiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gcmVtb3ZlZCBieSBleHRyYWN0LXRleHQtd2VicGFjay1wbHVnaW5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9ibG9ja3MvaW50cm9wYXJhZ3JhcGgvZWRpdG9yLnNjc3Ncbi8vIG1vZHVsZSBpZCA9IDMzXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///33\n");
-
-/***/ }),
-/* 34 */
-/*!*************************************************!*\
- !*** ./src/blocks/introparagraph/deprecated.js ***!
- \*************************************************/
-/*! exports provided: default */
-/*! exports used: default */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__global_allowed_formats__ = __webpack_require__(/*! ../../global/allowed-formats */ 2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_classnames__ = __webpack_require__(/*! classnames */ 0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_classnames__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__global_theme_options__ = __webpack_require__(/*! ../../global/theme-options */ 3);\nfunction _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; }\n\n\n\n// WordPress dependencies.\nvar __ = wp.i18n.__;\nvar _wp$blocks = wp.blocks,\n createBlock = _wp$blocks.createBlock,\n registerBlockType = _wp$blocks.registerBlockType;\nvar Fragment = wp.element.Fragment;\nvar _wp$components = wp.components,\n IconButton = _wp$components.IconButton,\n PanelBody = _wp$components.PanelBody,\n Toolbar = _wp$components.Toolbar;\n\nvar _ref = 'undefined' === typeof wp.blockEditor ? wp.editor : wp.blockEditor,\n RichText = _ref.RichText,\n PlainText = _ref.PlainText,\n InspectorControls = _ref.InspectorControls,\n MediaPlaceholder = _ref.MediaPlaceholder,\n MediaUpload = _ref.MediaUpload,\n MediaUploadCheck = _ref.MediaUploadCheck,\n PanelColorSettings = _ref.PanelColorSettings,\n withColors = _ref.withColors;\n\n// Import a library used to manage multiple class names.\n\n\n\n\n// Import common handling of available color options.\n\n\n/**\n * Render the SVG used for a drop cap when the drop cap has an\n * image assigned to it.\n *\n * This is used in the block editor and stored in post content\n * as part of the block markup.\n *\n * @param {string} character The character to display in the drop cap.\n * @param {string} imageURL The background image for the drop cap character.\n */\nvar renderDropCapSVG = function renderDropCapSVG(character, imageURL) {\n\treturn wp.element.createElement(\n\t\t'svg',\n\t\tnull,\n\t\twp.element.createElement(\n\t\t\t'pattern',\n\t\t\t{\n\t\t\t\tid: 'dropcap-texture',\n\t\t\t\tviewBox: '0 0 1024 1024',\n\t\t\t\tpatternUnits: 'userSpaceOnUse',\n\t\t\t\twidth: '100%', height: '100%',\n\t\t\t\tx: '0%', y: '0%' },\n\t\t\twp.element.createElement('image', { href: imageURL, width: '1024', height: '1024' })\n\t\t),\n\t\twp.element.createElement(\n\t\t\t'text',\n\t\t\t{ textAnchor: 'start',\n\t\t\t\tx: '0',\n\t\t\t\ty: '50%',\n\t\t\t\tdy: '.404em',\n\t\t\t\tclassName: 'dropcap-filltext' },\n\t\t\tcharacter\n\t\t)\n\t);\n};\n\nvar deprecated = [{\n\n\tattributes: {\n\t\theading: {\n\t\t\ttype: 'string',\n\t\t\tsource: 'html',\n\t\t\tselector: '.wp-block-editorial-introparagraph h4'\n\t\t},\n\t\tlist: {\n\t\t\ttype: 'string',\n\t\t\tsource: 'html',\n\t\t\tselector: '.wp-block-editorial-introparagraph-toc'\n\t\t},\n\t\tcontent: {\n\t\t\ttype: 'string',\n\t\t\tsource: 'html',\n\t\t\tselector: '.wp-block-editorial-introparagraph-content p'\n\t\t},\n\t\tdropCapColor: {\n\t\t\ttype: 'string',\n\t\t\tdefault: ''\n\t\t},\n\t\tparagraphColor: {\n\t\t\ttype: 'string',\n\t\t\tdefault: ''\n\t\t},\n\t\tclassName: {\n\t\t\ttype: 'string',\n\t\t\tdefault: ''\n\t\t},\n\t\tdropCapImageURL: {\n\t\t\ttype: 'string',\n\t\t\tdefault: ''\n\t\t},\n\t\tdropCapImageId: {\n\t\t\ttype: 'number'\n\t\t}\n\t},\n\n\tsave: function save(_ref2) {\n\t\tvar _classnames;\n\n\t\tvar attributes = _ref2.attributes;\n\t\tvar heading = attributes.heading,\n\t\t list = attributes.list,\n\t\t content = attributes.content,\n\t\t dropCapColor = attributes.dropCapColor,\n\t\t dropCapImageURL = attributes.dropCapImageURL,\n\t\t paragraphColor = attributes.paragraphColor,\n\t\t className = attributes.className;\n\n\n\t\tvar isImageDropCap = false;\n\t\tif ('undefined' !== typeof className) {\n\t\t\t// Determine if the drop cap SVG should be included in content.\n\t\t\tisImageDropCap = className.includes('is-style-dropcap-image');\n\t\t}\n\n\t\t// Pull the first character from the article content use in the drop cap SVG.\n\t\tvar dropCapCharacter = '';\n\t\tif ('undefined' !== typeof content) {\n\t\t\tdropCapCharacter = content.charAt(0);\n\t\t};\n\n\t\t// Determine if the list is empty and should be excluded from the saved block.\n\t\tvar saveList = true;\n\t\tif ('undefined' === typeof list || '' === list || RichText.isEmpty(list)) {\n\t\t\tsaveList = false;\n\t\t}\n\n\t\t// Determine if a sepecific dropcap style has been selected.\n\t\tvar hasDropCapStyle = className && className.includes('is-style-dropcap');\n\n\t\tvar classes = __WEBPACK_IMPORTED_MODULE_1_classnames___default()(className, (_classnames = {\n\t\t\t'has-dropcap': hasDropCapStyle\n\t\t}, _defineProperty(_classnames, 'has-dropcap-color-' + dropCapColor, hasDropCapStyle && dropCapColor), _defineProperty(_classnames, 'has-paragraph-color-' + paragraphColor, !hasDropCapStyle && paragraphColor), _classnames));\n\n\t\treturn wp.element.createElement(\n\t\t\t'div',\n\t\t\t{ className: classes },\n\t\t\t!RichText.isEmpty(heading) && wp.element.createElement(RichText.Content, { tagName: 'h4', value: heading }),\n\t\t\tsaveList && wp.element.createElement(RichText.Content, {\n\t\t\t\ttagName: 'ul',\n\t\t\t\tclassName: 'wp-block-editorial-introparagraph-toc',\n\t\t\t\tvalue: list,\n\t\t\t\tmultiline: 'li'\n\t\t\t}),\n\t\t\t!RichText.isEmpty(content) && wp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'wp-block-editorial-introparagraph-content' },\n\t\t\t\tisImageDropCap && renderDropCapSVG(dropCapCharacter, dropCapImageURL),\n\t\t\t\twp.element.createElement(RichText.Content, {\n\t\t\t\t\ttagName: 'p',\n\t\t\t\t\tvalue: content\n\t\t\t\t})\n\t\t\t)\n\t\t);\n\t}\n}];\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (deprecated);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzQuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL2ludHJvcGFyYWdyYXBoL2RlcHJlY2F0ZWQuanM/NmE0MCJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZGVmaW5lUHJvcGVydHkob2JqLCBrZXksIHZhbHVlKSB7IGlmIChrZXkgaW4gb2JqKSB7IE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosIGtleSwgeyB2YWx1ZTogdmFsdWUsIGVudW1lcmFibGU6IHRydWUsIGNvbmZpZ3VyYWJsZTogdHJ1ZSwgd3JpdGFibGU6IHRydWUgfSk7IH0gZWxzZSB7IG9ialtrZXldID0gdmFsdWU7IH0gcmV0dXJuIG9iajsgfVxuXG5pbXBvcnQgZ2V0QWxsb3dlZEZvcm1hdHMgZnJvbSAnLi4vLi4vZ2xvYmFsL2FsbG93ZWQtZm9ybWF0cyc7XG5cbi8vIFdvcmRQcmVzcyBkZXBlbmRlbmNpZXMuXG52YXIgX18gPSB3cC5pMThuLl9fO1xudmFyIF93cCRibG9ja3MgPSB3cC5ibG9ja3MsXG4gICAgY3JlYXRlQmxvY2sg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QUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///34\n");
-
-/***/ }),
-/* 35 */
-/*!*************************************!*\
- !*** ./src/blocks/leadin/leadin.js ***!
- \*************************************/
-/*! no exports provided */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss__ = __webpack_require__(/*! ./style.scss */ 36);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__style_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 37);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__editor_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__global_theme_options__ = __webpack_require__(/*! ../../global/theme-options */ 3);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__global_allowed_formats__ = __webpack_require__(/*! ../../global/allowed-formats */ 2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__global_publication_slug__ = __webpack_require__(/*! ../../global/publication-slug */ 5);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__components_background__ = __webpack_require__(/*! ../../components/background */ 4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__components_block_icons___ = __webpack_require__(/*! ../../components/block-icons/ */ 1);\nfunction _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; }\n\n/**\n * BLOCK: bu/leadin\n *\n * Register a leadin block with Gutenberg.\n */\n\n// External dependencies.\n\n\n// Import CSS.\n\n\n\n// Internal dependencies\n\n\n\n\n\n\n// WordPress dependencies.\nvar __ = wp.i18n.__;\nvar registerBlockType = wp.blocks.registerBlockType;\nvar Fragment = wp.element.Fragment;\nvar _wp$components = wp.components,\n PanelBody = _wp$components.PanelBody,\n Path = _wp$components.Path,\n RangeControl = _wp$components.RangeControl,\n SelectControl = _wp$components.SelectControl,\n SVG = _wp$components.SVG,\n ToggleControl = _wp$components.ToggleControl;\n\nvar _ref = 'undefined' === typeof wp.blockEditor ? wp.editor : wp.blockEditor,\n InspectorControls = _ref.InspectorControls,\n PanelColorSettings = _ref.PanelColorSettings,\n RichText = _ref.RichText,\n URLInput = _ref.URLInput,\n withColors = _ref.withColors;\n\nvar applyFilters = wp.hooks.applyFilters;\n\n// Block attributes.\n\nvar blockAttributes = Object.assign({\n\thead: {\n\t\ttype: 'string'\n\t},\n\tdeck: {\n\t\ttype: 'string'\n\t},\n\tcaption: {\n\t\ttype: 'string'\n\t},\n\timageFocus: {\n\t\ttype: 'string',\n\t\tdefault: 'center-middle'\n\t},\n\ttextPositionX: {\n\t\ttype: 'string',\n\t\tdefault: 'x-center'\n\t},\n\ttextPositionY: {\n\t\ttype: 'string',\n\t\tdefault: ''\n\t},\n\twide: {\n\t\ttype: 'boolean',\n\t\tdefault: false\n\t},\n\tbox: {\n\t\ttype: 'boolean',\n\t\tdefault: false\n\t},\n\tflip: {\n\t\ttype: 'boolean',\n\t\tdefault: false\n\t},\n\tclassName: {\n\t\ttype: 'string'\n\t},\n\tthemeColor: {\n\t\ttype: 'string'\n\t},\n\tprimaryTerm: {\n\t\ttype: 'string'\n\t},\n\tmetabar: {\n\t\ttype: 'boolean',\n\t\tdefault: true\n\t},\n\tboxOpacity: {\n\t\ttype: 'number',\n\t\tdefault: 100\n\t},\n\tvideoUncropped: {\n\t\ttype: 'boolean',\n\t\tdefault: false\n\t},\n\turl: {\n\t\ttype: 'string',\n\t\tdefault: ''\n\t}\n}, __WEBPACK_IMPORTED_MODULE_6__components_background__[\"a\" /* BackgroundAttributes */]);\n\n// Block styles.\nvar blockStyles = [{\n\tname: 'default',\n\tlabel: __('Default (uncropped unscaled)'),\n\tisDefault: true\n}, {\n\tname: 'default-alt',\n\tlabel: __('Default Alternate Order'),\n\tisDefault: true\n}, {\n\tname: 'text-to-image',\n\tlabel: __('Text over Horizontal Image')\n}, {\n\tname: 'image-to-text',\n\tlabel: __('Horizontal Image over Text')\n}, {\n\tname: 'emphasis-on-text',\n\tlabel: __('Overlapping Text')\n}, {\n\tname: 'text-over-image',\n\tlabel: __('Image with Text Overlay')\n}, {\n\tname: 'side-by-side',\n\tlabel: __('Vertical Image and Text Side By Side')\n}];\n\nvar blockSupports = {\n\tclassName: false,\n\tcustomClassName: false,\n\tmultiple: false\n};\n\nregisterBlockType('bu/leadin', {\n\ttitle: __('Leadin'),\n\tdescription: __('The opening headline and image of an article.'),\n\ticon: Object(__WEBPACK_IMPORTED_MODULE_7__components_block_icons___[\"a\" /* default */])('leadin'),\n\tcategory: 'bu',\n\tattributes: blockAttributes,\n\tstyles: blockStyles,\n\tsupports: blockSupports,\n\n\tedit: withColors('themeColor')(function (props) {\n\t\tvar _classnames2;\n\n\t\t// Get the block properties and attributes.\n\t\tvar _props$attributes = props.attributes,\n\t\t backgroundId = _props$attributes.backgroundId,\n\t\t backgroundUrl = _props$attributes.backgroundUrl,\n\t\t backgroundAutoplay = _props$attributes.backgroundAutoplay,\n\t\t head = _props$attributes.head,\n\t\t deck = _props$attributes.deck,\n\t\t caption = _props$attributes.caption,\n\t\t imageFocus = _props$attributes.imageFocus,\n\t\t textPositionX = _props$attributes.textPositionX,\n\t\t textPositionY = _props$attributes.textPositionY,\n\t\t wide = _props$attributes.wide,\n\t\t box = _props$attributes.box,\n\t\t flip = _props$attributes.flip,\n\t\t metabar = _props$attributes.metabar,\n\t\t boxOpacity = _props$attributes.boxOpacity,\n\t\t videoUncropped = _props$attributes.videoUncropped,\n\t\t url = _props$attributes.url,\n\t\t themeColor = props.themeColor,\n\t\t setThemeColor = props.setThemeColor,\n\t\t setAttributes = props.setAttributes,\n\t\t className = props.className,\n\t\t isSelected = props.isSelected;\n\n\n\t\tvar isStyleEmphasisOnText = className.includes('is-style-emphasis-on-text');\n\t\tvar isStyleTextOverImage = className.includes('is-style-text-over-image');\n\t\tvar isStyleSideBySide = className.includes('is-style-side-by-side');\n\t\tvar isStyleTextToImage = className.includes('is-style-text-to-image');\n\t\tvar isStyleImageToText = className.includes('is-style-image-to-text');\n\t\tvar publication = Object(__WEBPACK_IMPORTED_MODULE_5__global_publication_slug__[\"a\" /* default */])();\n\n\t\tvar classes = __WEBPACK_IMPORTED_MODULE_0_classnames___default()('wp-block-editorial-leadin', _defineProperty({}, publication + '-block-editorial-leadin', publication !== ''), className, (_classnames2 = {\n\t\t\t'has-box': box && (isStyleEmphasisOnText || isStyleTextOverImage || isStyleSideBySide),\n\t\t\t'has-wider': wide && isStyleSideBySide,\n\t\t\t'has-flip': flip && isStyleSideBySide,\n\t\t\t'has-media': backgroundUrl,\n\t\t\t'has-video-as-loop': backgroundAutoplay,\n\t\t\t'has-video-uncropped': videoUncropped\n\t\t}, _defineProperty(_classnames2, 'has-media-focus-' + imageFocus, imageFocus), _defineProperty(_classnames2, 'has-text-position-' + textPositionX, textPositionX && isStyleTextOverImage), _defineProperty(_classnames2, 'has-text-position-' + textPositionY, textPositionY && isStyleTextOverImage), _defineProperty(_classnames2, 'has-' + themeColor.slug + '-theme', themeColor.slug), _classnames2));\n\n\t\tvar boxClasses = __WEBPACK_IMPORTED_MODULE_0_classnames___default()('container-words-inner', _defineProperty({}, 'has-opacity-' + boxOpacity, boxOpacity !== 100 && box && (isStyleEmphasisOnText || isStyleTextOverImage)));\n\n\t\t// Return the background media positioning controls if a background is set.\n\t\tvar mediaPositioningControls = function mediaPositioningControls() {\n\t\t\tif (!backgroundId) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\treturn wp.element.createElement(\n\t\t\t\tPanelBody,\n\t\t\t\t{ title: __('Media Positioning'), initialOpen: false },\n\t\t\t\twp.element.createElement(SelectControl, {\n\t\t\t\t\tlabel: __('Crop Media to:'),\n\t\t\t\t\tvalue: imageFocus,\n\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\treturn setAttributes({ imageFocus: value });\n\t\t\t\t\t},\n\t\t\t\t\toptions: [{ value: 'left-top', label: __('Left Top') }, { value: 'left-middle', label: __('Left Center') }, { value: 'left-bottom', label: __('Left Bottom') }, { value: 'center-top', label: __('Center Top') }, { value: 'center-middle', label: __('Center') }, { value: 'center-bottom', label: __('Center Bottom') }, { value: 'right-top', label: __('Right Top') }, { value: 'right-middle', label: __('Right Center') }, { value: 'right-bottom', label: __('Right Bottom') }]\n\t\t\t\t})\n\t\t\t);\n\t\t};\n\n\t\t// Return the text positioning controls if the 'Image with Text Overlay' style is set.\n\t\tvar textPositioningControls = function textPositioningControls() {\n\t\t\tif (!isStyleTextOverImage) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\treturn wp.element.createElement(\n\t\t\t\tFragment,\n\t\t\t\tnull,\n\t\t\t\twp.element.createElement(SelectControl, {\n\t\t\t\t\tlabel: __('Horizontal Text Positioning'),\n\t\t\t\t\tvalue: textPositionX,\n\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\treturn setAttributes({ textPositionX: value });\n\t\t\t\t\t},\n\t\t\t\t\toptions: [{ value: 'x-left', label: __('Left') }, { value: 'x-center', label: __('Center') }, { value: 'x-right', label: __('Right') }]\n\t\t\t\t}),\n\t\t\t\twp.element.createElement(SelectControl, {\n\t\t\t\t\tlabel: __('Vertical Text Positioning'),\n\t\t\t\t\tvalue: textPositionY,\n\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\treturn setAttributes({ textPositionY: value });\n\t\t\t\t\t},\n\t\t\t\t\toptions: [{ value: 'y-top', label: __('Top') }, { value: '', label: __('Center') }, { value: 'y-bottom', label: __('Bottom') }]\n\t\t\t\t})\n\t\t\t);\n\t\t};\n\n\t\t// Return layout controls for the 'Vertical Image and Text Side By Side' style.\n\t\tvar sideBySideLayoutControls = function sideBySideLayoutControls() {\n\t\t\tif (!className.includes('is-style-side-by-side')) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\treturn wp.element.createElement(\n\t\t\t\tFragment,\n\t\t\t\tnull,\n\t\t\t\twp.element.createElement(ToggleControl, {\n\t\t\t\t\tlabel: __('Flip Order'),\n\t\t\t\t\tchecked: flip,\n\t\t\t\t\tonChange: function onChange() {\n\t\t\t\t\t\treturn setAttributes({ flip: !flip });\n\t\t\t\t\t}\n\t\t\t\t}),\n\t\t\t\twp.element.createElement(ToggleControl, {\n\t\t\t\t\tlabel: __('Wide Layout'),\n\t\t\t\t\tchecked: wide,\n\t\t\t\t\tonChange: function onChange() {\n\t\t\t\t\t\treturn setAttributes({ wide: !wide });\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t);\n\t\t};\n\n\t\t// Return layout options if specific styles are set.\n\t\tvar layoutControls = function layoutControls() {\n\t\t\tif (!(isStyleEmphasisOnText || isStyleTextOverImage || isStyleSideBySide)) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\treturn wp.element.createElement(\n\t\t\t\tPanelBody,\n\t\t\t\t{ title: __('Layout Options') },\n\t\t\t\tsideBySideLayoutControls(),\n\t\t\t\ttextPositioningControls(),\n\t\t\t\twp.element.createElement(ToggleControl, {\n\t\t\t\t\tlabel: __('Boxed Text'),\n\t\t\t\t\tchecked: box,\n\t\t\t\t\tonChange: function onChange() {\n\t\t\t\t\t\treturn setAttributes({ box: !box });\n\t\t\t\t\t}\n\t\t\t\t}),\n\t\t\t\tbox && (isStyleEmphasisOnText || isStyleTextOverImage) && wp.element.createElement(RangeControl, {\n\t\t\t\t\tlabel: __('Box Opacity'),\n\t\t\t\t\tvalue: boxOpacity,\n\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\treturn setAttributes({ boxOpacity: value });\n\t\t\t\t\t},\n\t\t\t\t\tmin: 10,\n\t\t\t\t\tmax: 100,\n\t\t\t\t\tstep: 10\n\t\t\t\t})\n\t\t\t);\n\t\t};\n\n\t\t// Return video cropping options if specific styles are set.\n\t\tvar videoCropControls = function videoCropControls() {\n\t\t\tif (!(isStyleTextToImage || isStyleImageToText)) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\treturn wp.element.createElement(\n\t\t\t\tPanelBody,\n\t\t\t\t{ title: __('Video Options') },\n\t\t\t\twp.element.createElement(ToggleControl, {\n\t\t\t\t\tlabel: __('Leave Video Uncropped'),\n\t\t\t\t\tchecked: videoUncropped,\n\t\t\t\t\tonChange: function onChange() {\n\t\t\t\t\t\treturn setAttributes({ videoUncropped: !videoUncropped });\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t);\n\t\t};\n\n\t\t// Return the block editing interface.\n\t\treturn wp.element.createElement(\n\t\t\tFragment,\n\t\t\tnull,\n\t\t\twp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: classes },\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'container-lockup' },\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'wp-block-leadin-media' },\n\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_6__components_background__[\"b\" /* default */], {\n\t\t\t\t\t\t\tblockProps: props\n\t\t\t\t\t\t})\n\t\t\t\t\t),\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'container-words-outer' },\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: boxClasses },\n\t\t\t\t\t\t\tapplyFilters('buPrepress.PrimaryTerm', '', props),\n\t\t\t\t\t\t\twp.element.createElement(RichText, {\n\t\t\t\t\t\t\t\ttagName: 'h1',\n\t\t\t\t\t\t\t\tclassName: 'head',\n\t\t\t\t\t\t\t\tplaceholder: __('Add headline'),\n\t\t\t\t\t\t\t\tvalue: head,\n\t\t\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\t\t\treturn setAttributes({ head: value });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tformattingControls: Object(__WEBPACK_IMPORTED_MODULE_4__global_allowed_formats__[\"a\" /* default */])('formattingControls', ['bold', 'italic']),\n\t\t\t\t\t\t\t\tallowedFormats: Object(__WEBPACK_IMPORTED_MODULE_4__global_allowed_formats__[\"a\" /* default */])('allowedFormats', ['core/bold', 'core/italic']),\n\t\t\t\t\t\t\t\tkeepPlaceholderOnFocus: true\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t(!RichText.isEmpty(deck) || isSelected) && wp.element.createElement(RichText, {\n\t\t\t\t\t\t\t\ttagName: 'h4',\n\t\t\t\t\t\t\t\tclassName: 'deck',\n\t\t\t\t\t\t\t\tplaceholder: __('Add subheader (optional)'),\n\t\t\t\t\t\t\t\tvalue: deck,\n\t\t\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\t\t\treturn setAttributes({ deck: value });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tformattingControls: Object(__WEBPACK_IMPORTED_MODULE_4__global_allowed_formats__[\"a\" /* default */])('formattingControls', ['bold', 'italic']),\n\t\t\t\t\t\t\t\tallowedFormats: Object(__WEBPACK_IMPORTED_MODULE_4__global_allowed_formats__[\"a\" /* default */])('allowedFormats', ['core/bold', 'core/italic'])\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\t(!RichText.isEmpty(caption) || isSelected) && wp.element.createElement(RichText, {\n\t\t\t\t\ttagName: 'p',\n\t\t\t\t\tclassName: 'wp-block-editorial-leadin-caption wp-prepress-component-caption',\n\t\t\t\t\tplaceholder: __('Add a caption and/or media credit...'),\n\t\t\t\t\tvalue: caption,\n\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\treturn setAttributes({ caption: value });\n\t\t\t\t\t},\n\t\t\t\t\tformattingControls: Object(__WEBPACK_IMPORTED_MODULE_4__global_allowed_formats__[\"a\" /* default */])('formattingControls', ['bold', 'italic', 'link']),\n\t\t\t\t\tallowedFormats: Object(__WEBPACK_IMPORTED_MODULE_4__global_allowed_formats__[\"a\" /* default */])('allowedFormats', ['core/bold', 'core/italic', 'core/link']),\n\t\t\t\t\tkeepPlaceholderOnFocus: true\n\t\t\t\t})\n\t\t\t),\n\t\t\tapplyFilters('buBlocks.leadin.metaBar', '', metabar),\n\t\t\twp.element.createElement(\n\t\t\t\tInspectorControls,\n\t\t\t\tnull,\n\t\t\t\tmediaPositioningControls(),\n\t\t\t\tvideoCropControls(),\n\t\t\t\tlayoutControls(),\n\t\t\t\twp.element.createElement(PanelColorSettings, {\n\t\t\t\t\ttitle: __('Color Settings'),\n\t\t\t\t\tinitialOpen: false,\n\t\t\t\t\tcolorSettings: [{\n\t\t\t\t\t\tvalue: themeColor.color,\n\t\t\t\t\t\tonChange: setThemeColor,\n\t\t\t\t\t\tlabel: __('Theme'),\n\t\t\t\t\t\tdisableCustomColors: true,\n\t\t\t\t\t\tcolors: Object(__WEBPACK_IMPORTED_MODULE_3__global_theme_options__[\"a\" /* default */])()\n\t\t\t\t\t}]\n\t\t\t\t}),\n\t\t\t\twp.element.createElement(\n\t\t\t\t\tPanelBody,\n\t\t\t\t\t{\n\t\t\t\t\t\tclassName: 'components-panel__body-bu-leadin-block-url',\n\t\t\t\t\t\ttitle: __('URL')\n\t\t\t\t\t},\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t'p',\n\t\t\t\t\t\t{ className: 'description' },\n\t\t\t\t\t\t'Link the leadin block to a story. (Optional)'\n\t\t\t\t\t),\n\t\t\t\t\twp.element.createElement(URLInput, {\n\t\t\t\t\t\tvalue: url,\n\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\treturn setAttributes({ url: value });\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t)\n\t\t\t)\n\t\t);\n\t}),\n\n\tsave: function save() {\n\t\t// Rendering handled in PHP.\n\t\treturn null;\n\t}\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjo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- \**************************************/
-/*! dynamic exports provided */
-/***/ (function(module, exports) {
-
-eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzYuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL2xlYWRpbi9zdHlsZS5zY3NzPzAxNjQiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gcmVtb3ZlZCBieSBleHRyYWN0LXRleHQtd2VicGFjay1wbHVnaW5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9ibG9ja3MvbGVhZGluL3N0eWxlLnNjc3Ncbi8vIG1vZHVsZSBpZCA9IDM2XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///36\n");
-
-/***/ }),
-/* 37 */
-/*!***************************************!*\
- !*** ./src/blocks/leadin/editor.scss ***!
- \***************************************/
-/*! dynamic exports provided */
-/***/ (function(module, exports) {
-
-eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL2xlYWRpbi9lZGl0b3Iuc2Nzcz8wN2Q3Il0sInNvdXJjZXNDb250ZW50IjpbIi8vIHJlbW92ZWQgYnkgZXh0cmFjdC10ZXh0LXdlYnBhY2stcGx1Z2luXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9zcmMvYmxvY2tzL2xlYWRpbi9lZGl0b3Iuc2Nzc1xuLy8gbW9kdWxlIGlkID0gMzdcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///37\n");
-
-/***/ }),
-/* 38 */
-/*!*******************************************!*\
- !*** ./src/blocks/slideshow/slideshow.js ***!
- \*******************************************/
-/*! no exports provided */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style_scss__ = __webpack_require__(/*! ./style.scss */ 39);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__style_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 40);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__editor_scss__);\n/**\n * BLOCK: bu-button-cgb\n *\n * Registering a basic block with Gutenberg.\n * Simple block, renders and saves the same content without any interactivity.\n */\n\n// Import CSS.\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzguanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL3NsaWRlc2hvdy9zbGlkZXNob3cuanM/ZTc0YyJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEJMT0NLOiBidS1idXR0b24tY2diXG4gKlxuICogUmVnaXN0ZXJpbmcgYSBiYXNpYyBibG9jayB3aXRoIEd1dGVuYmVyZy5cbiAqIFNpbXBsZSBibG9jaywgcmVuZGVycyBhbmQgc2F2ZXMgdGhlIHNhbWUgY29udGVudCB3aXRob3V0IGFueSBpbnRlcmFjdGl2aXR5LlxuICovXG5cbi8vICBJbXBvcnQgQ1NTLlxuaW1wb3J0ICcuL3N0eWxlLnNjc3MnO1xuaW1wb3J0ICcuL2VkaXRvci5zY3NzJztcblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9ibG9ja3Mvc2xpZGVzaG93L3NsaWRlc2hvdy5qc1xuLy8gbW9kdWxlIGlkID0gMzhcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///38\n");
-
-/***/ }),
-/* 39 */
-/*!*****************************************!*\
- !*** ./src/blocks/slideshow/style.scss ***!
- \*****************************************/
-/*! dynamic exports provided */
-/***/ (function(module, exports) {
-
-eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMzkuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL3NsaWRlc2hvdy9zdHlsZS5zY3NzP2UzM2EiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gcmVtb3ZlZCBieSBleHRyYWN0LXRleHQtd2VicGFjay1wbHVnaW5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9ibG9ja3Mvc2xpZGVzaG93L3N0eWxlLnNjc3Ncbi8vIG1vZHVsZSBpZCA9IDM5XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///39\n");
-
-/***/ }),
-/* 40 */
-/*!******************************************!*\
- !*** ./src/blocks/slideshow/editor.scss ***!
- \******************************************/
-/*! dynamic exports provided */
-/***/ (function(module, exports) {
-
-eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDAuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL3NsaWRlc2hvdy9lZGl0b3Iuc2Nzcz9jNThlIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIHJlbW92ZWQgYnkgZXh0cmFjdC10ZXh0LXdlYnBhY2stcGx1Z2luXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9zcmMvYmxvY2tzL3NsaWRlc2hvdy9lZGl0b3Iuc2Nzc1xuLy8gbW9kdWxlIGlkID0gNDBcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///40\n");
-
-/***/ }),
-/* 41 */
-/*!*******************************************!*\
- !*** ./src/blocks/buniverse/buniverse.js ***!
- \*******************************************/
-/*! no exports provided */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__global_allowed_formats__ = __webpack_require__(/*! ../../global/allowed-formats */ 2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__components_block_icons___ = __webpack_require__(/*! ../../components/block-icons/ */ 1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__style_scss__ = __webpack_require__(/*! ./style.scss */ 42);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__style_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 43);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4__editor_scss__);\nfunction _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; }\n\n/**\n * BLOCK: bu/buniverse\n *\n * Register a BUniverse embed block with Gutenberg.\n */\n\n// External dependencies.\n\n\n// Internal dependencies.\n\n\n\n// Import CSS.\n\n\n\n// WordPress dependencies.\nvar __ = wp.i18n.__;\nvar registerBlockType = wp.blocks.registerBlockType;\nvar Fragment = wp.element.Fragment;\nvar _wp$components = wp.components,\n PanelBody = _wp$components.PanelBody,\n Path = _wp$components.Path,\n RadioControl = _wp$components.RadioControl,\n SVG = _wp$components.SVG,\n TextControl = _wp$components.TextControl,\n ToggleControl = _wp$components.ToggleControl;\n\nvar _ref = 'undefined' === typeof wp.blockEditor ? wp.editor : wp.blockEditor,\n InspectorControls = _ref.InspectorControls,\n RichText = _ref.RichText;\n\n/**\n * Returns the class list for the block based on the current settings.\n *\n * @param {string} className Default classes assigned to the block.\n * @param {string} stylizedTitle If the block has a stylized title.\n */\n\n\nvar getClasses = function getClasses(className, aspectRatio) {\n\tvar _classnames;\n\n\treturn __WEBPACK_IMPORTED_MODULE_0_classnames___default()('wp-block-global-buniverse', (_classnames = {}, _defineProperty(_classnames, aspectRatio, aspectRatio), _defineProperty(_classnames, className, className), _classnames));\n};\n\n// Register the block.\nregisterBlockType('bu/buniverse', {\n\ttitle: __('BUniverse Video'),\n\tdescription: __(''),\n\ticon: Object(__WEBPACK_IMPORTED_MODULE_2__components_block_icons___[\"a\" /* default */])('buniverse'),\n\tcategory: 'bu',\n\tattributes: {\n\t\tid: {\n\t\t\ttype: 'string'\n\t\t},\n\t\taspectRatio: {\n\t\t\ttype: 'string'\n\t\t},\n\t\tcaption: {\n\t\t\ttype: 'string'\n\t\t},\n\t\tcontrols: {\n\t\t\ttype: 'number',\n\t\t\tdefault: 1\n\t\t},\n\t\tautoplay: {\n\t\t\ttype: 'number',\n\t\t\tdefault: 0\n\t\t},\n\t\tstart: {\n\t\t\ttype: 'number'\n\t\t},\n\t\tminutes: {\n\t\t\ttype: 'number'\n\t\t},\n\t\tseconds: {\n\t\t\ttype: 'number'\n\t\t},\n\t\tclassName: {\n\t\t\ttype: 'string',\n\t\t\tdefault: ''\n\t\t}\n\t},\n\tsupports: {\n\t\talign: true\n\t},\n\n\tedit: function edit(props) {\n\t\tvar _props$attributes = props.attributes,\n\t\t id = _props$attributes.id,\n\t\t aspectRatio = _props$attributes.aspectRatio,\n\t\t caption = _props$attributes.caption,\n\t\t controls = _props$attributes.controls,\n\t\t autoplay = _props$attributes.autoplay,\n\t\t minutes = _props$attributes.minutes,\n\t\t seconds = _props$attributes.seconds,\n\t\t className = props.className,\n\t\t isSelected = props.isSelected,\n\t\t setAttributes = props.setAttributes;\n\n\t\t/**\n * Sets the value for the `minutes` attribute and\n * calculates a new value to set for the `start` attribute.\n *\n * Note: no calculations are done to account for values\n * greater than 60 entered into the `seconds` input, so\n * as to avoid subverting expectations in cases where a\n * user might deliberately do so.\n *\n * @param {string} value The value entered into the input.\n */\n\n\t\tvar onChangeMinutes = function onChangeMinutes(value) {\n\t\t\tvar newValue = Number(value);\n\t\t\tvar newStart = newValue * 60 + (seconds ? seconds : 0);\n\n\t\t\tsetAttributes({ minutes: newValue });\n\t\t\tsetAttributes({ start: newStart });\n\t\t};\n\n\t\t/**\n * Sets the value for the `seconds` attribute and\n * calculates a new value to set for the `start` attribute.\n *\n * Note: See the above note about calculating `seconds` values.\n *\n * @param {string} value The value entered into the input.\n */\n\t\tvar onChangeSeconds = function onChangeSeconds(value) {\n\t\t\tvar newValue = Number(value);\n\t\t\tvar newStart = newValue + (minutes ? minutes * 60 : 0);\n\n\t\t\tsetAttributes({ seconds: newValue });\n\t\t\tsetAttributes({ start: newStart });\n\t\t};\n\n\t\t// Build out the basic url, intentionally leaving off the extra parameters\n\t\t// because they cause the iframe to reload every time they're changed.\n\t\tvar url = '//www.bu.edu/buniverse/interface/embed/embed.html?v=' + id + '&jsapi=1';\n\n\t\treturn wp.element.createElement(\n\t\t\tFragment,\n\t\t\tnull,\n\t\t\twp.element.createElement(\n\t\t\t\tInspectorControls,\n\t\t\t\tnull,\n\t\t\t\twp.element.createElement(\n\t\t\t\t\tPanelBody,\n\t\t\t\t\t{ title: __('Video Settings') },\n\t\t\t\t\twp.element.createElement(RadioControl, {\n\t\t\t\t\t\tclassName: 'buniverse-aspect-ratio-options',\n\t\t\t\t\t\tlabel: __('Aspect Ratio'),\n\t\t\t\t\t\tselected: aspectRatio,\n\t\t\t\t\t\thelp: __('16:9 is typically used on widescreen video. 4:3 is often used for older fullscreen video. 1:1 is square. 9:16 and 3:4 are used for vertical video.'),\n\t\t\t\t\t\toptions: [{ label: '16:9', value: 'has-aspectratio-16by9' }, { label: '4:3', value: 'has-aspectratio-4by3' }, { label: '1:1', value: 'has-aspectratio-1by1' }, { label: '3:4', value: 'has-aspectratio-3by4' }, { label: '9:16', value: 'has-aspectratio-9by16' }],\n\t\t\t\t\t\tonChange: function onChange(option) {\n\t\t\t\t\t\t\treturn setAttributes({ aspectRatio: option });\n\t\t\t\t\t\t}\n\t\t\t\t\t}),\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'buniverse-parameter-toggles' },\n\t\t\t\t\t\twp.element.createElement(ToggleControl, {\n\t\t\t\t\t\t\tlabel: __('Hide Player Controls'),\n\t\t\t\t\t\t\tchecked: controls === 0,\n\t\t\t\t\t\t\tonChange: function onChange() {\n\t\t\t\t\t\t\t\treturn setAttributes({ controls: controls === 0 ? 1 : 0 });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}),\n\t\t\t\t\t\twp.element.createElement(ToggleControl, {\n\t\t\t\t\t\t\tlabel: __('Auto Start (muted)'),\n\t\t\t\t\t\t\tchecked: autoplay === 1,\n\t\t\t\t\t\t\tonChange: function onChange() {\n\t\t\t\t\t\t\t\treturn setAttributes({ autoplay: autoplay === 0 ? 1 : 0 });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t})\n\t\t\t\t\t),\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'buniverse-start-time' },\n\t\t\t\t\t\twp.element.createElement(TextControl, {\n\t\t\t\t\t\t\tlabel: __('Start At'),\n\t\t\t\t\t\t\ttype: 'number',\n\t\t\t\t\t\t\tvalue: minutes,\n\t\t\t\t\t\t\tonChange: onChangeMinutes\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t':',\n\t\t\t\t\t\twp.element.createElement(TextControl, {\n\t\t\t\t\t\t\ttype: 'number',\n\t\t\t\t\t\t\tvalue: seconds,\n\t\t\t\t\t\t\tonChange: onChangeSeconds\n\t\t\t\t\t\t})\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t),\n\t\t\tid && isSelected && wp.element.createElement(TextControl, {\n\t\t\t\tlabel: __('Video ID:'),\n\t\t\t\tclassName: 'buniverse-set-video-id',\n\t\t\t\tvalue: id,\n\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\treturn setAttributes({ id: value });\n\t\t\t\t}\n\t\t\t}),\n\t\t\twp.element.createElement(\n\t\t\t\t'figure',\n\t\t\t\t{ className: getClasses(className, aspectRatio) },\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'wp-block-global-buniverse-wrapper' },\n\t\t\t\t\t!id && wp.element.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'wp-block-global-buinverse-placeholder' },\n\t\t\t\t\t\twp.element.createElement('div', { className: 'buniverse-logo' }),\n\t\t\t\t\t\twp.element.createElement(TextControl, {\n\t\t\t\t\t\t\tplaceholder: __('Enter BUniverse video ID here…'),\n\t\t\t\t\t\t\tvalue: id,\n\t\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\t\treturn setAttributes({ id: value });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}),\n\t\t\t\t\t\twp.element.createElement('div', { className: 'buniverse-video-id-screenshot' })\n\t\t\t\t\t),\n\t\t\t\t\tid && wp.element.createElement('iframe', {\n\t\t\t\t\t\tsrc: url,\n\t\t\t\t\t\tframeborder: '0',\n\t\t\t\t\t\tallow: 'autoplay; fullscreen'\n\t\t\t\t\t})\n\t\t\t\t),\n\t\t\t\t(!RichText.isEmpty(caption) || isSelected) && wp.element.createElement(\n\t\t\t\t\t'figcaption',\n\t\t\t\t\tnull,\n\t\t\t\t\twp.element.createElement(RichText, {\n\t\t\t\t\t\ttagName: 'p',\n\t\t\t\t\t\tclassName: 'wp-block-global-buniverse-caption wp-prepress-component-caption',\n\t\t\t\t\t\tplaceholder: __('Add a caption and/or media credit...'),\n\t\t\t\t\t\tvalue: caption,\n\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\treturn setAttributes({ caption: value });\n\t\t\t\t\t\t},\n\t\t\t\t\t\tformattingControls: Object(__WEBPACK_IMPORTED_MODULE_1__global_allowed_formats__[\"a\" /* default */])('formattingControls', ['bold', 'italic', 'link']),\n\t\t\t\t\t\tallowedFormats: Object(__WEBPACK_IMPORTED_MODULE_1__global_allowed_formats__[\"a\" /* default */])('allowedFormats', ['core/bold', 'core/italic', 'core/link']),\n\t\t\t\t\t\tkeepPlaceholderOnFocus: true\n\t\t\t\t\t})\n\t\t\t\t)\n\t\t\t)\n\t\t);\n\t},\n\tsave: function save(_ref2) {\n\t\tvar attributes = _ref2.attributes;\n\t\tvar id = attributes.id,\n\t\t aspectRatio = attributes.aspectRatio,\n\t\t caption = attributes.caption,\n\t\t controls = attributes.controls,\n\t\t autoplay = attributes.autoplay,\n\t\t start = attributes.start,\n\t\t className = attributes.className;\n\n\t\t// Build out the full url.\n\n\t\tvar url = '//www.bu.edu/buniverse/interface/embed/embed.html?v=' + id + '&jsapi=1';\n\t\turl += controls !== 1 ? '&controls=0' : '';\n\t\turl += autoplay === 1 ? '&autoplay=true' : '';\n\t\turl += start ? '&start=' + start : '';\n\n\t\treturn wp.element.createElement(\n\t\t\t'figure',\n\t\t\t{ className: getClasses(className, aspectRatio) },\n\t\t\twp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'wp-block-global-buniverse-wrapper' },\n\t\t\t\tid && wp.element.createElement('iframe', {\n\t\t\t\t\tsrc: encodeURI(url),\n\t\t\t\t\tframeborder: '0',\n\t\t\t\t\tallow: 'autoplay; fullscreen'\n\t\t\t\t})\n\t\t\t),\n\t\t\tcaption && wp.element.createElement(\n\t\t\t\t'figcaption',\n\t\t\t\tnull,\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'p',\n\t\t\t\t\t{ 'class': 'wp-block-global-buniverse-caption wp-prepress-component-caption' },\n\t\t\t\t\tcaption\n\t\t\t\t)\n\t\t\t)\n\t\t);\n\t}\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDEuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL2J1bml2ZXJzZS9idW5pdmVyc2UuanM/ZjVlMCJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZGVmaW5lUHJvcGVydHkob2JqLCBrZXksIHZhbHVlKSB7IGlmIChrZXkgaW4gb2JqKSB7IE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosIGtleSwgeyB2YWx1ZTogdmFsdWUsIGVudW1lcmFibGU6IHRydWUsIGNvbmZpZ3VyYWJsZTogdHJ1ZSwgd3JpdGFibGU6IHRydWUgfSk7IH0gZWxzZSB7IG9ialtrZXldID0gdmFsdWU7IH0gcmV0dXJuIG9iajsgfVxuXG4vKipc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0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///41\n");
-
-/***/ }),
-/* 42 */
-/*!*****************************************!*\
- !*** ./src/blocks/buniverse/style.scss ***!
- \*****************************************/
-/*! dynamic exports provided */
-/***/ (function(module, exports) {
-
-eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDIuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL2J1bml2ZXJzZS9zdHlsZS5zY3NzPzI5OTkiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gcmVtb3ZlZCBieSBleHRyYWN0LXRleHQtd2VicGFjay1wbHVnaW5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9ibG9ja3MvYnVuaXZlcnNlL3N0eWxlLnNjc3Ncbi8vIG1vZHVsZSBpZCA9IDQyXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///42\n");
-
-/***/ }),
-/* 43 */
-/*!******************************************!*\
- !*** ./src/blocks/buniverse/editor.scss ***!
- \******************************************/
-/*! dynamic exports provided */
-/***/ (function(module, exports) {
-
-eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL2J1bml2ZXJzZS9lZGl0b3Iuc2Nzcz9lMjliIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIHJlbW92ZWQgYnkgZXh0cmFjdC10ZXh0LXdlYnBhY2stcGx1Z2luXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9zcmMvYmxvY2tzL2J1bml2ZXJzZS9lZGl0b3Iuc2Nzc1xuLy8gbW9kdWxlIGlkID0gNDNcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///43\n");
-
-/***/ }),
-/* 44 */
-/*!*******************************************!*\
- !*** ./src/blocks/pullquote/pullquote.js ***!
- \*******************************************/
-/*! no exports provided */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss__ = __webpack_require__(/*! ./style.scss */ 45);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__style_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 46);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__editor_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_background__ = __webpack_require__(/*! ../../components/background */ 4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__global_allowed_formats__ = __webpack_require__(/*! ../../global/allowed-formats */ 2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__global_theme_options__ = __webpack_require__(/*! ../../global/theme-options */ 3);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__components_block_icons___ = __webpack_require__(/*! ../../components/block-icons/ */ 1);\nfunction _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; }\n\n/**\n * BLOCK: bu/pullquote\n *\n * Register a pullquote block with Gutenberg.\n */\n\n// External dependencies.\n\n\n// Import CSS.\n\n\n\n// Internal dependencies.\n\n\n\n\n\n// WordPress dependencies.\nvar __ = wp.i18n.__;\nvar registerBlockType = wp.blocks.registerBlockType;\nvar Fragment = wp.element.Fragment;\nvar _wp$components = wp.components,\n PanelBody = _wp$components.PanelBody,\n Path = _wp$components.Path,\n SelectControl = _wp$components.SelectControl,\n TextControl = _wp$components.TextControl,\n SVG = _wp$components.SVG;\n\nvar _ref = 'undefined' === typeof wp.blockEditor ? wp.editor : wp.blockEditor,\n InspectorControls = _ref.InspectorControls,\n PanelColorSettings = _ref.PanelColorSettings,\n RichText = _ref.RichText,\n withColors = _ref.withColors;\n\n// Returns true if the current block style is \"Default\".\n\n\nvar isStyleDefault = function isStyleDefault(className) {\n\treturn !className.includes('is-style-modern') && !className.includes('is-style-pop');\n};\n\n/**\n * Returns the class list for the block based on the current settings.\n *\n * @param {string} className The classnames assigned to the block\n * @param {number} backgroundId ID of the background media, if set.\n * @param {string} imageFocus Value of the \"Crop Media To\" setting.\n * @param {string} themeColor Value of the \"Theme Color\" setting.\n */\nvar getClasses = function getClasses(className, backgroundId, imageFocus, themeColor, textColor) {\n\tvar _classnames;\n\n\tvar isStylePop = className.includes('is-style-pop');\n\n\treturn __WEBPACK_IMPORTED_MODULE_0_classnames___default()(className, (_classnames = {\n\t\t'has-image': backgroundId && !isStylePop\n\t}, _defineProperty(_classnames, 'has-image-focus-' + imageFocus, imageFocus && !isStylePop), _defineProperty(_classnames, 'has-' + themeColor + '-theme', themeColor), _defineProperty(_classnames, 'has-' + textColor + '-theme-text', textColor), _classnames));\n};\n\n// Only allow images in the background component for this block.\nvar allowedMedia = ['image'];\n\n// Register the block.\nregisterBlockType('bu/pullquote', {\n\ttitle: __('BU Pullquote'),\n\tdescription: __(''),\n\ticon: Object(__WEBPACK_IMPORTED_MODULE_6__components_block_icons___[\"a\" /* default */])('pullquote'),\n\tcategory: 'bu',\n\tsupports: {\n\t\talign: ['full', 'wide']\n\t},\n\tattributes: Object.assign({\n\t\tquote: {\n\t\t\ttype: 'array',\n\t\t\tsource: 'children',\n\t\t\tselector: '.quote-sizing'\n\t\t},\n\t\tphotoCredit: {\n\t\t\ttype: 'string',\n\t\t\tsource: 'text',\n\t\t\tselector: '.wp-component-media-credit'\n\t\t},\n\t\tcite: {\n\t\t\ttype: 'array',\n\t\t\tsource: 'children',\n\t\t\tselector: 'footer'\n\t\t},\n\t\timageFocus: {\n\t\t\ttype: 'string',\n\t\t\tdefault: 'center-middle'\n\t\t},\n\t\tclassName: {\n\t\t\ttype: 'string'\n\t\t},\n\t\tthemeColor: {\n\t\t\ttype: 'string',\n\t\t\tdefault: ''\n\t\t},\n\t\ttextColor: {\n\t\t\ttype: 'string',\n\t\t\tdefault: ''\n\t\t}\n\t}, __WEBPACK_IMPORTED_MODULE_3__components_background__[\"a\" /* BackgroundAttributes */]),\n\tstyles: [{\n\t\tname: '',\n\t\tlabel: __('Default'),\n\t\tdefault: true\n\t}, {\n\t\tname: 'modern',\n\t\tlabel: __('Modern')\n\t}, {\n\t\tname: 'pop',\n\t\tlabel: __('Pop')\n\t}],\n\n\tedit: withColors('themeColor', 'textColor')(function (props) {\n\t\t// Get the block properties.\n\t\tvar attributes = props.attributes,\n\t\t setAttributes = props.setAttributes,\n\t\t className = props.className,\n\t\t setThemeColor = props.setThemeColor,\n\t\t themeColor = props.themeColor,\n\t\t textColor = props.textColor,\n\t\t setTextColor = props.setTextColor;\n\n\t\t// Get the block attributes.\n\n\t\tvar quote = attributes.quote,\n\t\t cite = attributes.cite,\n\t\t photoCredit = attributes.photoCredit,\n\t\t imageFocus = attributes.imageFocus,\n\t\t backgroundId = attributes.backgroundId;\n\n\t\t// Return the background media positioning controls if a background is set\n\t\t// and the style is not set to \"Pop\".\n\n\t\tvar mediaPositioningControls = function mediaPositioningControls() {\n\t\t\tif (!backgroundId || className.includes('is-style-pop')) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\treturn wp.element.createElement(\n\t\t\t\tPanelBody,\n\t\t\t\t{ title: __('Media Positioning'), initialOpen: false },\n\t\t\t\twp.element.createElement(SelectControl, {\n\t\t\t\t\tlabel: __('Crop Media to:'),\n\t\t\t\t\tvalue: imageFocus,\n\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\treturn setAttributes({ imageFocus: value });\n\t\t\t\t\t},\n\t\t\t\t\toptions: [{ value: 'left-top', label: __('Left Top') }, { value: 'left-middle', label: __('Left Center') }, { value: 'left-bottom', label: __('Left Bottom') }, { value: 'center-top', label: __('Center Top') }, { value: 'center-middle', label: __('Center') }, { value: 'center-bottom', label: __('Center Bottom') }, { value: 'right-top', label: __('Right Top') }, { value: 'right-middle', label: __('Right Center') }, { value: 'right-bottom', label: __('Right Bottom') }]\n\t\t\t\t})\n\t\t\t);\n\t\t};\n\n\t\t// Return the block editing interface.\n\t\treturn wp.element.createElement(\n\t\t\tFragment,\n\t\t\tnull,\n\t\t\twp.element.createElement(\n\t\t\t\tInspectorControls,\n\t\t\t\tnull,\n\t\t\t\twp.element.createElement(\n\t\t\t\t\tPanelBody,\n\t\t\t\t\t{ title: __('Media Options') },\n\t\t\t\t\twp.element.createElement(TextControl, {\n\t\t\t\t\t\tlabel: __('Media Credit'),\n\t\t\t\t\t\tonChange: function onChange(photoCredit) {\n\t\t\t\t\t\t\treturn setAttributes({ photoCredit: photoCredit });\n\t\t\t\t\t\t},\n\t\t\t\t\t\tvalue: photoCredit\n\t\t\t\t\t})\n\t\t\t\t),\n\t\t\t\twp.element.createElement(PanelColorSettings, {\n\t\t\t\t\ttitle: __('Theme Color'),\n\t\t\t\t\tinitialOpen: false,\n\t\t\t\t\tcolorSettings: [{\n\t\t\t\t\t\tvalue: themeColor.color,\n\t\t\t\t\t\tonChange: setThemeColor,\n\t\t\t\t\t\tlabel: __('Theme'),\n\t\t\t\t\t\tdisableCustomColors: true,\n\t\t\t\t\t\tcolors: Object(__WEBPACK_IMPORTED_MODULE_5__global_theme_options__[\"a\" /* default */])()\n\t\t\t\t\t}]\n\t\t\t\t}),\n\t\t\t\twp.element.createElement(PanelColorSettings, {\n\t\t\t\t\ttitle: __('Text Color'),\n\t\t\t\t\tcolorSettings: [{\n\t\t\t\t\t\tvalue: textColor.color,\n\t\t\t\t\t\tonChange: setTextColor,\n\t\t\t\t\t\tlabel: __('Text Color'),\n\t\t\t\t\t\tdisableCustomColors: true,\n\t\t\t\t\t\tcolors: Object(__WEBPACK_IMPORTED_MODULE_5__global_theme_options__[\"a\" /* default */])()\n\t\t\t\t\t}]\n\t\t\t\t}),\n\t\t\t\tmediaPositioningControls()\n\t\t\t),\n\t\t\twp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: getClasses(className, backgroundId, imageFocus, themeColor.slug, textColor.slug) },\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'wp-block-bu-pullquote-inner' },\n\t\t\t\t\tisStyleDefault(className) && wp.element.createElement(\n\t\t\t\t\t\tFragment,\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t'figure',\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_background__[\"b\" /* default */], {\n\t\t\t\t\t\t\t\tallowedMediaTypes: allowedMedia,\n\t\t\t\t\t\t\t\tblockProps: props,\n\t\t\t\t\t\t\t\tplaceholderText: __('Add Image')\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t)\n\t\t\t\t\t),\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t'blockquote',\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'container-lockup' },\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t\t{ className: 'container-icon-outer' },\n\t\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t\t\t{ className: 'container-icon-inner' },\n\t\t\t\t\t\t\t\t\tclassName.includes('is-style-modern') && wp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_background__[\"b\" /* default */], {\n\t\t\t\t\t\t\t\t\t\tallowedMediaTypes: allowedMedia,\n\t\t\t\t\t\t\t\t\t\tblockProps: props,\n\t\t\t\t\t\t\t\t\t\tplaceholderText: __('Add Image')\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t\t{ className: 'container-text' },\n\t\t\t\t\t\t\t\twp.element.createElement('hr', null),\n\t\t\t\t\t\t\t\twp.element.createElement(RichText, {\n\t\t\t\t\t\t\t\t\ttagName: 'div',\n\t\t\t\t\t\t\t\t\tclassName: 'quote-sizing',\n\t\t\t\t\t\t\t\t\tplaceholder: __('Add quote text…'),\n\t\t\t\t\t\t\t\t\tvalue: quote,\n\t\t\t\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\t\t\t\treturn setAttributes({ quote: value });\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tformattingControls: Object(__WEBPACK_IMPORTED_MODULE_4__global_allowed_formats__[\"a\" /* default */])('formattingControls', ['bold', 'italic', 'link']),\n\t\t\t\t\t\t\t\t\tallowedFormats: Object(__WEBPACK_IMPORTED_MODULE_4__global_allowed_formats__[\"a\" /* default */])('allowedFormats', ['core/bold', 'core/italic', 'core/link']),\n\t\t\t\t\t\t\t\t\tkeepPlaceholderOnFocus: true\n\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\twp.element.createElement(RichText, {\n\t\t\t\t\t\t\t\t\ttagName: 'footer',\n\t\t\t\t\t\t\t\t\tplaceholder: __('Add quote attribution…'),\n\t\t\t\t\t\t\t\t\tvalue: cite,\n\t\t\t\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\t\t\t\treturn setAttributes({ cite: value });\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tformattingControls: Object(__WEBPACK_IMPORTED_MODULE_4__global_allowed_formats__[\"a\" /* default */])('formattingControls', ['bold', 'italic', 'link']),\n\t\t\t\t\t\t\t\t\tallowedFormats: Object(__WEBPACK_IMPORTED_MODULE_4__global_allowed_formats__[\"a\" /* default */])('allowedFormats', ['core/bold', 'core/italic', 'core/link']),\n\t\t\t\t\t\t\t\t\tkeepPlaceholderOnFocus: true\n\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\twp.element.createElement('hr', null)\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tclassName.includes('is-style-modern') && photoCredit && wp.element.createElement(\n\t\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t\t{ className: 'wp-component-media-credit' },\n\t\t\t\t\t\t\t\tphotoCredit\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\tisStyleDefault(className) && photoCredit && wp.element.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'wp-component-media-credit' },\n\t\t\t\t\tphotoCredit\n\t\t\t\t)\n\t\t\t)\n\t\t);\n\t}),\n\n\tsave: function save(props) {\n\t\t// Get the block properties.\n\t\tvar attributes = props.attributes;\n\n\t\t// Get the block attributes.\n\n\t\tvar quote = attributes.quote,\n\t\t cite = attributes.cite,\n\t\t imageFocus = attributes.imageFocus,\n\t\t photoCredit = attributes.photoCredit,\n\t\t backgroundId = attributes.backgroundId,\n\t\t _attributes$className = attributes.className,\n\t\t className = _attributes$className === undefined ? '' : _attributes$className,\n\t\t themeColor = attributes.themeColor,\n\t\t textColor = attributes.textColor;\n\n\t\t// Returns the block rendering for the front end.\n\n\t\treturn wp.element.createElement(\n\t\t\t'div',\n\t\t\t{ className: getClasses(className, backgroundId, imageFocus, themeColor, textColor) },\n\t\t\twp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'wp-block-bu-pullquote-inner' },\n\t\t\t\tisStyleDefault(className) && wp.element.createElement(\n\t\t\t\t\t'figure',\n\t\t\t\t\tnull,\n\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_background__[\"b\" /* default */], {\n\t\t\t\t\t\tblockProps: props\n\t\t\t\t\t})\n\t\t\t\t),\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'blockquote',\n\t\t\t\t\tnull,\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'container-lockup' },\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'container-icon-outer' },\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t\t{ className: 'container-icon-inner' },\n\t\t\t\t\t\t\t\tclassName.includes('is-style-modern') && wp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_background__[\"b\" /* default */], {\n\t\t\t\t\t\t\t\t\tblockProps: props\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t),\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'container-text' },\n\t\t\t\t\t\t\twp.element.createElement('hr', null),\n\t\t\t\t\t\t\twp.element.createElement(RichText.Content, {\n\t\t\t\t\t\t\t\ttagName: 'div',\n\t\t\t\t\t\t\t\tclassName: 'quote-sizing',\n\t\t\t\t\t\t\t\tvalue: quote\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\twp.element.createElement(RichText.Content, {\n\t\t\t\t\t\t\t\ttagName: 'footer',\n\t\t\t\t\t\t\t\tclassName: 'caption',\n\t\t\t\t\t\t\t\tvalue: cite\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\twp.element.createElement('hr', null)\n\t\t\t\t\t\t),\n\t\t\t\t\t\tclassName.includes('is-style-modern') && photoCredit && wp.element.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'wp-component-media-credit' },\n\t\t\t\t\t\t\tphotoCredit\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t),\n\t\t\tisStyleDefault(className) && photoCredit && wp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'wp-component-media-credit' },\n\t\t\t\tphotoCredit\n\t\t\t)\n\t\t);\n\t}\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDQuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL3B1bGxxdW90ZS9wdWxscXVvdGUuanM/YmJkMCJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZGVmaW5lUHJvcGVydHkob2JqLCBrZXksIHZhbHVlKSB7IGlmIChrZXkgaW4gb2JqKSB7IE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosIGtleSwgeyB2YWx1ZTogdmFsdWUsIGVudW1lcmFibGU6IHRydWUsIGNvbmZpZ3VyYWJsZTogdHJ1ZSwgd3JpdGFibGU6IHRydWUgfSk7IH0gZWxzZSB7IG9ialtrZXldID0gdmFsdWU7IH0gcmV0dXJuIG9iajsgfVxuXG4vKipcbiAqIEJMT0NLOiBidS9wdWxscXVvdGVcbiAqXG4gKiBSZWdpc3RlciBhIHB1bGxxdW90ZSBibG9jayB3aXRoIEd1dGVuYmVyZy5cbiAqL1xuXG4vLyBFeHRlcm5hbCBkZXBlbmRlbmNpZXMuXG5pbXBvcnQgY2xhc3NuYW1lcyBmcm9tICdjbGFzc25hbWVzJztcblxuLy8gIEltcG9ydCBDU1MuXG5pbXBvcnQgJy4vc3R5bGUuc2Nzcyc7XG5pbXBvcnQgJy4vZWRpdG9yLnNjc3MnO1xuXG4vLyBJbnRlcm5hbCBkZXBlbmRlbmNpZXMuXG5pbXBvcnQgQmFja2dyb3VuZCwgeyBCYWNrZ3JvdW5kQXR0cmlidXRlcyB9IGZyb20gJy4uLy4uL2NvbXBvbmVudHMvYmFja2dyb3VuZCc7XG5pbXBvcnQgZ2V0QWxsb3dlZEZvcm1hdHMgZnJvbSAnLi4vLi4vZ2xvYmFsL2FsbG93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E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///44\n");
-
-/***/ }),
-/* 45 */
-/*!*****************************************!*\
- !*** ./src/blocks/pullquote/style.scss ***!
- \*****************************************/
-/*! dynamic exports provided */
-/***/ (function(module, exports) {
-
-eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDUuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL3B1bGxxdW90ZS9zdHlsZS5zY3NzPzYyOGYiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gcmVtb3ZlZCBieSBleHRyYWN0LXRleHQtd2VicGFjay1wbHVnaW5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9ibG9ja3MvcHVsbHF1b3RlL3N0eWxlLnNjc3Ncbi8vIG1vZHVsZSBpZCA9IDQ1XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///45\n");
-
-/***/ }),
-/* 46 */
-/*!******************************************!*\
- !*** ./src/blocks/pullquote/editor.scss ***!
- \******************************************/
-/*! dynamic exports provided */
-/***/ (function(module, exports) {
-
-eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDYuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL3B1bGxxdW90ZS9lZGl0b3Iuc2Nzcz83OWQxIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIHJlbW92ZWQgYnkgZXh0cmFjdC10ZXh0LXdlYnBhY2stcGx1Z2luXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9zcmMvYmxvY2tzL3B1bGxxdW90ZS9lZGl0b3Iuc2Nzc1xuLy8gbW9kdWxlIGlkID0gNDZcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///46\n");
-
-/***/ }),
-/* 47 */
-/*!*********************************************!*\
- !*** ./src/blocks/photoessay/photoessay.js ***!
- \*********************************************/
-/*! no exports provided */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style_scss__ = __webpack_require__(/*! ./style.scss */ 48);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__style_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 49);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__editor_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__photoessay_image__ = __webpack_require__(/*! ./photoessay-image */ 50);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_block_icons___ = __webpack_require__(/*! ../../components/block-icons/ */ 1);\n/**\n * BLOCK: editorial/photoessay\n *\n * Register a photo essay block with Gutenberg.\n */\n\n// Import CSS.\n\n\n\n// Internal dependencies.\n\n\n\n// WordPress dependencies.\nvar __ = wp.i18n.__;\nvar registerBlockType = wp.blocks.registerBlockType;\nvar Fragment = wp.element.Fragment;\nvar _wp$components = wp.components,\n PanelBody = _wp$components.PanelBody,\n Path = _wp$components.Path,\n RadioControl = _wp$components.RadioControl,\n SVG = _wp$components.SVG;\n\nvar _ref = 'undefined' === typeof wp.blockEditor ? wp.editor : wp.blockEditor,\n InnerBlocks = _ref.InnerBlocks,\n InspectorControls = _ref.InspectorControls;\n\nvar _wp$data = wp.data,\n dispatch = _wp$data.dispatch,\n select = _wp$data.select;\n\n// Populate selectors that were in core/editor until WordPress 5.2 and are\n// now located in core/block-editor.\n\nvar _ref2 = 'undefined' === typeof select('core/block-editor') ? select('core/editor') : select('core/block-editor'),\n getBlocksByClientId = _ref2.getBlocksByClientId;\n\n// Populate actions that were in core/editor until WordPress 5.2 and are\n// now located in core/block-editor.\n\n\nvar _ref3 = 'undefined' === typeof dispatch('core/block-editor') ? dispatch('core/editor') : dispatch('core/block-editor'),\n updateBlockAttributes = _ref3.updateBlockAttributes,\n removeBlock = _ref3.removeBlock;\n\n// Register the block.\n\n\nregisterBlockType('editorial/photoessay', {\n\ttitle: __('Photo Essay'),\n\tdescription: __('Insert a row of photos with optional layouts.'),\n\ticon: Object(__WEBPACK_IMPORTED_MODULE_3__components_block_icons___[\"a\" /* default */])('photoessay'),\n\tcategory: 'bu-editorial',\n\tattributes: {\n\t\tlayout: {\n\t\t\ttype: 'string',\n\t\t\tdefault: ''\n\t\t}\n\t},\n\tsupports: {\n\t\talign: ['wide', 'full']\n\t},\n\n\tedit: function edit(_ref4) {\n\t\tvar attributes = _ref4.attributes,\n\t\t setAttributes = _ref4.setAttributes,\n\t\t clientId = _ref4.clientId;\n\t\tvar layout = attributes.layout;\n\n\t\t/**\n * Updates the layout attribute and handles any necessary block updates or removals.\n *\n * @param {string} newLayout Currently selected layout option.\n */\n\n\t\tvar onChangeLayout = function onChangeLayout(newLayout) {\n\t\t\tsetAttributes({ layout: newLayout });\n\n\t\t\t// Get the image block classes from the information contained in the layout option.\n\t\t\tvar blockClasses = newLayout.split('-').splice(3);\n\n\t\t\t// Get any existing image blocks.\n\t\t\tvar currentBlocks = getBlocksByClientId(clientId)[0].innerBlocks;\n\n\t\t\t// Update any existing photoessay-image blocks with the correct class name when\n\t\t\t// the layout changes. A template applied to the photoessay block provides default\n\t\t\t// columnClass values for the inner photoessay-image blocks, but will not override\n\t\t\t// attributes previously assigned to the block.\n\t\t\tblockClasses.forEach(function (blockClass, i) {\n\t\t\t\tvar existingBlock = currentBlocks[i];\n\t\t\t\tvar newColumnClass = { columnClass: 'photo-' + blockClass };\n\n\t\t\t\tif (existingBlock) {\n\t\t\t\t\t// Update the `columnClass` attribute of the existing block at this index.\n\t\t\t\t\tupdateBlockAttributes(existingBlock.clientId, newColumnClass);\n\t\t\t\t}\n\t\t\t});\n\n\t\t\t// Remove excess blocks if the new layout has fewer images than the previous.\n\t\t\tcurrentBlocks.forEach(function (block, i) {\n\t\t\t\tif (blockClasses[i]) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tremoveBlock(block.clientId, false);\n\t\t\t});\n\t\t};\n\n\t\t// Assume an empty template that will be populated based on the number\n\t\t// of blocks expected by the selected layout.\n\t\tvar photoTemplate = [];\n\n\t\t// Set a default layout when the block is first inserted and\n\t\t// ensure one photoessay-image block is added to the template.\n\t\tif (layout === '') {\n\t\t\tsetAttributes({ layout: 'photo-row-thirds-3' });\n\t\t\tphotoTemplate.push(['editorial/photoessay-image', { columnClass: 'photo-3' }]);\n\t\t} else {\n\t\t\tvar blockClasses = layout.split('-').splice(3);\n\n\t\t\t// Ensure the photoessay template for this block contains enough\n\t\t\t// room for the number of expected photoessay-image blocks.\n\t\t\tblockClasses.forEach(function (blockClass, i) {\n\t\t\t\tphotoTemplate.push(['editorial/photoessay-image', { columnClass: 'photo-' + blockClass }]);\n\t\t\t});\n\t\t}\n\n\t\treturn wp.element.createElement(\n\t\t\tFragment,\n\t\t\tnull,\n\t\t\twp.element.createElement(\n\t\t\t\tInspectorControls,\n\t\t\t\tnull,\n\t\t\t\twp.element.createElement(\n\t\t\t\t\tPanelBody,\n\t\t\t\t\t{ title: __('Photo Essay Row Settings') },\n\t\t\t\t\twp.element.createElement(RadioControl, {\n\t\t\t\t\t\tlabel: __('Layout'),\n\t\t\t\t\t\tclassName: 'bu-photoessay-layout-options',\n\t\t\t\t\t\tselected: layout,\n\t\t\t\t\t\toptions: [\n\t\t\t\t\t\t// Single column layouts.\n\t\t\t\t\t\t{ label: 'Single wide image', value: 'photo-row-thirds-3' }, { label: 'Single ultra-wide image', value: 'photo-row-fourths-4' },\n\t\t\t\t\t\t// Two column layouts.\n\t\t\t\t\t\t{ label: 'Two landscape images', value: 'photo-row-fourths-2-2' }, { label: 'One square, one portrait image', value: 'photo-row-square-s-1' }, { label: 'One square, one landscape image', value: 'photo-row-square-s-2' }, { label: 'One square, one wide image', value: 'photo-row-square-s-3' }, { label: 'One portrait, one square image', value: 'photo-row-square-1-s' }, { label: 'One landscape, one square image', value: 'photo-row-square-2-s' }, { label: 'One wide, one square image', value: 'photo-row-square-3-s' }, { label: 'One landscape, one portrait image', value: 'photo-row-thirds-2-1' }, { label: 'One wide, one portrait image', value: 'photo-row-fourths-3-1' }, { label: 'One portrait, one landscape image', value: 'photo-row-thirds-1-2' }, { label: 'One portrait, one wide image', value: 'photo-row-fourths-1-3' },\n\t\t\t\t\t\t// Three column layouts.\n\t\t\t\t\t\t{ label: 'Three portrait images', value: 'photo-row-thirds-1-1-1' }, { label: 'Three square images', value: 'photo-row-square-s-s-s' }, { label: 'One landscape, two portrait images', value: 'photo-row-fourths-2-1-1' }, { label: 'One portrait, one landscape, one portrait image', value: 'photo-row-fourths-1-2-1' }, { label: 'Two portrait, one landscape image', value: 'photo-row-fourths-1-1-2' }, { label: 'One ultra-wide, two landscape image', value: 'photo-row-short-4-2-2' }, { label: 'One landscape, one ultra-wide, one landscape image', value: 'photo-row-short-2-4-2' }, { label: 'Two landscape, one ultra-wide image', value: 'photo-row-short-2-2-4' },\n\t\t\t\t\t\t// Four column layouts.\n\t\t\t\t\t\t{ label: 'Four portrait images', value: 'photo-row-fourths-1-1-1-1' }, { label: 'Four square images', value: 'photo-row-square-s-s-s-s' }, { label: 'Four wide images', value: 'photo-row-short-2-2-2-2' }],\n\t\t\t\t\t\tonChange: onChangeLayout\n\t\t\t\t\t})\n\t\t\t\t)\n\t\t\t),\n\t\t\twp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'wp-block-editorial-photoessay' },\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: layout },\n\t\t\t\t\twp.element.createElement(InnerBlocks, {\n\t\t\t\t\t\ttemplate: photoTemplate,\n\t\t\t\t\t\ttemplateLock: 'all',\n\t\t\t\t\t\tallowedBlocks: ['editorial/photoessay-image'],\n\t\t\t\t\t\ttemplateInsertUpdatesSelection: false\n\t\t\t\t\t})\n\t\t\t\t)\n\t\t\t)\n\t\t);\n\t},\n\tsave: function save(_ref5) {\n\t\tvar attributes = _ref5.attributes;\n\t\tvar layout = attributes.layout;\n\n\n\t\treturn wp.element.createElement(\n\t\t\t'div',\n\t\t\t{ className: 'wp-block-photoessay js-block-editorial-photoessay' },\n\t\t\twp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: layout },\n\t\t\t\twp.element.createElement(InnerBlocks.Content, null)\n\t\t\t)\n\t\t);\n\t}\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL3Bob3RvZXNzYXkvcGhvdG9lc3NheS5qcz81ZDYxIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQkxPQ0s6IGVkaXR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FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///47\n");
-
-/***/ }),
-/* 48 */
-/*!******************************************!*\
- !*** ./src/blocks/photoessay/style.scss ***!
- \******************************************/
-/*! dynamic exports provided */
-/***/ (function(module, exports) {
-
-eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDguanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL3Bob3RvZXNzYXkvc3R5bGUuc2Nzcz8yMDA2Il0sInNvdXJjZXNDb250ZW50IjpbIi8vIHJlbW92ZWQgYnkgZXh0cmFjdC10ZXh0LXdlYnBhY2stcGx1Z2luXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9zcmMvYmxvY2tzL3Bob3RvZXNzYXkvc3R5bGUuc2Nzc1xuLy8gbW9kdWxlIGlkID0gNDhcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///48\n");
-
-/***/ }),
-/* 49 */
-/*!*******************************************!*\
- !*** ./src/blocks/photoessay/editor.scss ***!
- \*******************************************/
-/*! dynamic exports provided */
-/***/ (function(module, exports) {
-
-eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDkuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL3Bob3RvZXNzYXkvZWRpdG9yLnNjc3M/MzAxZiJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyByZW1vdmVkIGJ5IGV4dHJhY3QtdGV4dC13ZWJwYWNrLXBsdWdpblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vc3JjL2Jsb2Nrcy9waG90b2Vzc2F5L2VkaXRvci5zY3NzXG4vLyBtb2R1bGUgaWQgPSA0OVxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///49\n");
-
-/***/ }),
-/* 50 */
-/*!***************************************************!*\
- !*** ./src/blocks/photoessay/photoessay-image.js ***!
- \***************************************************/
-/*! no exports provided */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__global_allowed_formats__ = __webpack_require__(/*! ../../global/allowed-formats */ 2);\n/**\n * BLOCK: editorial/photoessay/image\n *\n * Register an individual image block for the photo essay block.\n *\n * Instead of using InnerBlocks with the default image block as the only\n * allowed block, this is a simplified version of the default image block.\n * This approach will prevent an extra block layer that could confuse users,\n * avoids the alignment options of the default image block, and may help with\n * the modal functionality of the photo essay block.\n */\n\n\n\n// WordPress dependencies.\nvar __ = wp.i18n.__;\nvar registerBlockType = wp.blocks.registerBlockType;\nvar _wp$components = wp.components,\n IconButton = _wp$components.IconButton,\n PanelBody = _wp$components.PanelBody,\n Toolbar = _wp$components.Toolbar;\nvar Fragment = wp.element.Fragment;\n\nvar _ref = 'undefined' === typeof wp.blockEditor ? wp.editor : wp.blockEditor,\n BlockControls = _ref.BlockControls,\n MediaPlaceholder = _ref.MediaPlaceholder,\n MediaUpload = _ref.MediaUpload,\n MediaUploadCheck = _ref.MediaUploadCheck,\n RichText = _ref.RichText;\n\nvar addFilter = wp.hooks.addFilter;\nvar createHigherOrderComponent = wp.compose.createHigherOrderComponent;\n\n// Register the block.\n\nregisterBlockType('editorial/photoessay-image', {\n\ttitle: __('Photo Essay Image'),\n\tdescription: __('An individual image block for use in photo essay rows.'),\n\ticon: 'format-image',\n\tcategory: 'bu-editorial',\n\tparent: ['editorial/photoessay'],\n\tattributes: {\n\t\tid: {\n\t\t\ttype: 'number'\n\t\t},\n\t\turl: {\n\t\t\ttype: 'string',\n\t\t\tsource: 'attribute',\n\t\t\tselector: 'img',\n\t\t\tattribute: 'src'\n\t\t},\n\t\talt: {\n\t\t\ttype: 'string',\n\t\t\tsource: 'attribute',\n\t\t\tselector: 'img',\n\t\t\tattribute: 'alt',\n\t\t\tdefault: ''\n\t\t},\n\t\tcaption: {\n\t\t\ttype: 'string'\n\t\t},\n\t\tcolumnClass: {\n\t\t\ttype: 'string'\n\t\t}\n\t},\n\tsupports: {\n\t\tclassName: false,\n\t\tcustomClassName: false,\n\t\thtml: false,\n\t\tinserter: false,\n\t\treusable: false\n\t},\n\n\tgetEditWrapperProps: function getEditWrapperProps(_ref2) {\n\t\tvar columnClass = _ref2.columnClass;\n\n\t\treturn { className: 'wp-block editor-block-list__block block-editor-block-list__block ' + columnClass };\n\t},\n\tedit: function edit(_ref3) {\n\t\tvar attributes = _ref3.attributes,\n\t\t setAttributes = _ref3.setAttributes,\n\t\t isSelected = _ref3.isSelected;\n\t\tvar id = attributes.id,\n\t\t url = attributes.url,\n\t\t alt = attributes.alt,\n\t\t columnClass = attributes.columnClass,\n\t\t caption = attributes.caption;\n\n\t\t// Set attributes when an image is selected.\n\n\t\tvar onSelectImage = function onSelectImage(media) {\n\t\t\tif (!media || !media.id || !media.url) {\n\t\t\t\tonRemoveImage();\n\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tsetAttributes({\n\t\t\t\tid: media.id,\n\t\t\t\turl: media.sizes['large'] ? media.sizes['large'].url : media.url,\n\t\t\t\talt: media.alt\n\t\t\t});\n\t\t};\n\n\t\t// Reset attributes when an image is removed.\n\t\tvar onRemoveImage = function onRemoveImage() {\n\t\t\tsetAttributes({\n\t\t\t\tid: undefined,\n\t\t\t\turl: undefined,\n\t\t\t\talt: undefined\n\t\t\t});\n\t\t};\n\n\t\treturn wp.element.createElement(\n\t\t\tFragment,\n\t\t\tnull,\n\t\t\twp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'wp-block-photoessay-media' },\n\t\t\t\twp.element.createElement(\n\t\t\t\t\tMediaUploadCheck,\n\t\t\t\t\tnull,\n\t\t\t\t\t!url && wp.element.createElement(MediaPlaceholder, {\n\t\t\t\t\t\ticon: 'format-image',\n\t\t\t\t\t\tlabel: 'Image',\n\t\t\t\t\t\tlabels: {\n\t\t\t\t\t\t\ttitle: 'Image',\n\t\t\t\t\t\t\tname: 'images'\n\t\t\t\t\t\t},\n\t\t\t\t\t\tonSelect: onSelectImage,\n\t\t\t\t\t\tallowedTypes: ['image']\n\t\t\t\t\t}),\n\t\t\t\t\turl && wp.element.createElement(\n\t\t\t\t\t\tBlockControls,\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\tisSelected && wp.element.createElement(\n\t\t\t\t\t\t\tToolbar,\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\twp.element.createElement(MediaUpload, {\n\t\t\t\t\t\t\t\tonSelect: onSelectImage,\n\t\t\t\t\t\t\t\tvalue: id,\n\t\t\t\t\t\t\t\tallowedTypes: ['image'],\n\t\t\t\t\t\t\t\trender: function render(_ref4) {\n\t\t\t\t\t\t\t\t\tvar open = _ref4.open;\n\t\t\t\t\t\t\t\t\treturn wp.element.createElement(\n\t\t\t\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\t\twp.element.createElement(IconButton, {\n\t\t\t\t\t\t\t\t\t\t\tclassName: 'components-toolbar__control',\n\t\t\t\t\t\t\t\t\t\t\tlabel: 'Edit image',\n\t\t\t\t\t\t\t\t\t\t\ticon: 'edit',\n\t\t\t\t\t\t\t\t\t\t\tonClick: open\n\t\t\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\t\t\twp.element.createElement(IconButton, {\n\t\t\t\t\t\t\t\t\t\t\ticon: 'no-alt',\n\t\t\t\t\t\t\t\t\t\t\tonClick: onRemoveImage,\n\t\t\t\t\t\t\t\t\t\t\tclassName: 'blocks-gallery-image__remove',\n\t\t\t\t\t\t\t\t\t\t\tlabel: 'Remove image'\n\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\turl && wp.element.createElement(\n\t\t\t\t\t'figure',\n\t\t\t\t\tnull,\n\t\t\t\t\twp.element.createElement('img', {\n\t\t\t\t\t\tsrc: url,\n\t\t\t\t\t\talt: alt,\n\t\t\t\t\t\tclassName: id ? 'wp-image-' + id : null\n\t\t\t\t\t})\n\t\t\t\t),\n\t\t\t\t(!RichText.isEmpty(caption) || isSelected) && url && wp.element.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'wp-block-photoessay-media-caption-editor-wrapper' },\n\t\t\t\t\twp.element.createElement(RichText, {\n\t\t\t\t\t\ttagName: 'p',\n\t\t\t\t\t\tclassName: 'wp-block-photoessay-media-caption wp-prepress-component-caption',\n\t\t\t\t\t\tplaceholder: __('Add a caption and/or media credit...'),\n\t\t\t\t\t\tvalue: caption,\n\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\treturn setAttributes({ caption: value });\n\t\t\t\t\t\t},\n\t\t\t\t\t\tformattingControls: Object(__WEBPACK_IMPORTED_MODULE_0__global_allowed_formats__[\"a\" /* default */])('formattingControls', ['bold', 'italic', 'link']),\n\t\t\t\t\t\tallowedFormats: Object(__WEBPACK_IMPORTED_MODULE_0__global_allowed_formats__[\"a\" /* default */])('allowedFormats', ['core/bold', 'core/italic', 'core/link']),\n\t\t\t\t\t\tkeepPlaceholderOnFocus: true\n\t\t\t\t\t})\n\t\t\t\t)\n\t\t\t)\n\t\t);\n\t},\n\tsave: function save(_ref5) {\n\t\tvar attributes = _ref5.attributes;\n\t\tvar id = attributes.id,\n\t\t url = attributes.url,\n\t\t alt = attributes.alt,\n\t\t columnClass = attributes.columnClass,\n\t\t caption = attributes.caption;\n\n\n\t\treturn wp.element.createElement(\n\t\t\t'div',\n\t\t\t{ className: columnClass },\n\t\t\twp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'wp-block-photoessay-media' },\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'figure',\n\t\t\t\t\tnull,\n\t\t\t\t\twp.element.createElement('img', {\n\t\t\t\t\t\tsrc: url,\n\t\t\t\t\t\talt: alt,\n\t\t\t\t\t\tclassName: id ? 'wp-image-' + id : null\n\t\t\t\t\t}),\n\t\t\t\t\t!RichText.isEmpty(caption) && wp.element.createElement(\n\t\t\t\t\t\t'figcaption',\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\twp.element.createElement(RichText.Content, {\n\t\t\t\t\t\t\ttagName: 'p',\n\t\t\t\t\t\t\tclassName: 'wp-block-photoessay-media-caption wp-prepress-component-caption',\n\t\t\t\t\t\t\tvalue: caption\n\t\t\t\t\t\t})\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t)\n\t\t);\n\t}\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNTAuanM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 }),
-/* 51 */
-/*!*************************************!*\
- !*** ./src/blocks/button/button.js ***!
- \*************************************/
-/*! no exports provided */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__global_theme_options__ = __webpack_require__(/*! ../../global/theme-options */ 3);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__global_allowed_formats__ = __webpack_require__(/*! ../../global/allowed-formats */ 2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__global_publication_slug__ = __webpack_require__(/*! ../../global/publication-slug */ 5);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__components_block_icons___ = __webpack_require__(/*! ../../components/block-icons/ */ 1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__deprecated__ = __webpack_require__(/*! ./deprecated */ 52);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__style_scss__ = __webpack_require__(/*! ./style.scss */ 53);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__style_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 54);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7__editor_scss__);\nfunction _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; }\n\n/**\n * BLOCK: bu-button\n *\n * Prompt visitors to take action with a custom button.\n */\n\n// External dependencies.\n\n\n// Internal dependencies.\n\n\n\n\n\n\n\n// Import CSS.\n\n\n\n// WordPress dependencies.\nvar __ = wp.i18n.__;\nvar registerBlockType = wp.blocks.registerBlockType;\nvar _wp$components = wp.components,\n Button = _wp$components.Button,\n Dashicon = _wp$components.Dashicon,\n G = _wp$components.G,\n IconButton = _wp$components.IconButton,\n PanelBody = _wp$components.PanelBody,\n Path = _wp$components.Path,\n RadioControl = _wp$components.RadioControl,\n SVG = _wp$components.SVG;\nvar Fragment = wp.element.Fragment;\n\nvar _ref = 'undefined' === typeof wp.blockEditor ? wp.editor : wp.blockEditor,\n InspectorControls = _ref.InspectorControls,\n PanelColorSettings = _ref.PanelColorSettings,\n RichText = _ref.RichText,\n URLInput = _ref.URLInput,\n withColors = _ref.withColors;\n\n// The current publication owner.\n\n\nvar publication = Object(__WEBPACK_IMPORTED_MODULE_3__global_publication_slug__[\"a\" /* default */])();\n\n/**\n * Returns the class list for the block based on the current settings.\n *\n * @param {string} className Additional classes assigned to the block.\n * @param {string} themeColor The theme color assigned to the block.\n * @param {string} icon The icon placement.\n */\nvar getClasses = function getClasses(className, themeColor, icon) {\n\tvar _classnames;\n\n\treturn __WEBPACK_IMPORTED_MODULE_0_classnames___default()('wp-block-button', 'wp-block-bu-button', (_classnames = {}, _defineProperty(_classnames, publication + '-block-button', publication && publication !== ''), _defineProperty(_classnames, 'has-' + themeColor + '-theme', themeColor), _defineProperty(_classnames, 'icon-navigateright ' + icon, icon), _defineProperty(_classnames, className, className), _classnames));\n};\n\n// Register the block.\nregisterBlockType('bu/button', {\n\n\ttitle: __('Button'),\n\tdescription: __('Prompt visitors to take action with a custom button.'),\n\ticon: Object(__WEBPACK_IMPORTED_MODULE_4__components_block_icons___[\"a\" /* default */])('button'),\n\tcategory: 'bu',\n\tattributes: {\n\t\turl: {\n\t\t\ttype: 'string',\n\t\t\tsource: 'attribute',\n\t\t\tselector: 'a',\n\t\t\tattribute: 'href'\n\t\t},\n\t\ttitle: {\n\t\t\ttype: 'string',\n\t\t\tsource: 'attribute',\n\t\t\tselector: 'a',\n\t\t\tattribute: 'title'\n\t\t},\n\t\ttext: {\n\t\t\ttype: 'string',\n\t\t\tsource: 'html',\n\t\t\tselector: 'a'\n\t\t},\n\t\tthemeColor: {\n\t\t\ttype: 'string'\n\t\t},\n\t\ticon: {\n\t\t\ttype: 'string'\n\t\t},\n\t\tclassName: {\n\t\t\ttype: 'string'\n\t\t}\n\t},\n\tstyles: [{\n\t\tname: 'default',\n\t\tlabel: __('Default'),\n\t\tisDefault: true\n\t}, {\n\t\tname: 'outline',\n\t\tlabel: __('Outline')\n\t}, {\n\t\tname: 'text',\n\t\tlabel: __('Text')\n\t}, {\n\t\tname: 'accent',\n\t\tlabel: __('Accent')\n\t}],\n\tsupports: {\n\t\tclassName: false,\n\t\tcustomClassName: false,\n\t\talign: ['left', 'center', 'right']\n\t},\n\n\tedit: withColors('themeColor')(function (props) {\n\t\tvar _props$attributes = props.attributes,\n\t\t text = _props$attributes.text,\n\t\t url = _props$attributes.url,\n\t\t icon = _props$attributes.icon,\n\t\t themeColor = props.themeColor,\n\t\t setThemeColor = props.setThemeColor,\n\t\t setAttributes = props.setAttributes,\n\t\t isSelected = props.isSelected,\n\t\t className = props.className;\n\n\n\t\treturn wp.element.createElement(\n\t\t\tFragment,\n\t\t\tnull,\n\t\t\twp.element.createElement(\n\t\t\t\tInspectorControls,\n\t\t\t\tnull,\n\t\t\t\twp.element.createElement(PanelColorSettings, {\n\t\t\t\t\ttitle: __('Color Settings'),\n\t\t\t\t\tcolorSettings: [{\n\t\t\t\t\t\tvalue: themeColor.color,\n\t\t\t\t\t\tonChange: setThemeColor,\n\t\t\t\t\t\tlabel: __('Theme'),\n\t\t\t\t\t\tdisableCustomColors: true,\n\t\t\t\t\t\tcolors: Object(__WEBPACK_IMPORTED_MODULE_1__global_theme_options__[\"a\" /* default */])()\n\t\t\t\t\t}]\n\t\t\t\t}),\n\t\t\t\twp.element.createElement(\n\t\t\t\t\tPanelBody,\n\t\t\t\t\t{ title: __('Icon Settings') },\n\t\t\t\t\twp.element.createElement(RadioControl, {\n\t\t\t\t\t\tlabel: 'Placement',\n\t\t\t\t\t\tselected: icon,\n\t\t\t\t\t\toptions: [{ label: 'Before text', value: 'align-icon-left' }, { label: 'After text', value: 'align-icon-right' }],\n\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\tsetAttributes({ icon: value });\n\t\t\t\t\t\t}\n\t\t\t\t\t}),\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\tButton,\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tonClick: function onClick() {\n\t\t\t\t\t\t\t\treturn setAttributes({ icon: undefined });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tlabel: 'Clear icon settings',\n\t\t\t\t\t\t\tisDefault: true,\n\t\t\t\t\t\t\tisSmall: true\n\t\t\t\t\t\t},\n\t\t\t\t\t\t__('Clear')\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\twp.element.createElement(\n\t\t\t\t\tPanelBody,\n\t\t\t\t\t{\n\t\t\t\t\t\tclassName: 'components-panel__body-bu-button-block-url',\n\t\t\t\t\t\ttitle: __('URL')\n\t\t\t\t\t},\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t'p',\n\t\t\t\t\t\t{ className: 'description' },\n\t\t\t\t\t\t'Add link to the button'\n\t\t\t\t\t),\n\t\t\t\t\twp.element.createElement(URLInput, {\n\t\t\t\t\t\tvalue: url,\n\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\treturn setAttributes({ url: value });\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t)\n\t\t\t),\n\t\t\twp.element.createElement(\n\t\t\t\t'p',\n\t\t\t\tnull,\n\t\t\t\twp.element.createElement(RichText, {\n\t\t\t\t\tplaceholder: __('Add text…'),\n\t\t\t\t\tvalue: text,\n\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\treturn setAttributes({ text: value });\n\t\t\t\t\t},\n\t\t\t\t\tformattingControls: Object(__WEBPACK_IMPORTED_MODULE_2__global_allowed_formats__[\"a\" /* default */])('formattingControls', ['bold', 'italic']),\n\t\t\t\t\tallowedFormats: Object(__WEBPACK_IMPORTED_MODULE_2__global_allowed_formats__[\"a\" /* default */])('allowedFormats', ['core/bold', 'core/italic']),\n\t\t\t\t\tclassName: getClasses(className, themeColor.slug, icon),\n\t\t\t\t\tkeepPlaceholderOnFocus: true\n\t\t\t\t})\n\t\t\t)\n\t\t);\n\t}),\n\n\tsave: function save(_ref2) {\n\t\tvar attributes = _ref2.attributes;\n\t\tvar url = attributes.url,\n\t\t text = attributes.text,\n\t\t themeColor = attributes.themeColor,\n\t\t icon = attributes.icon,\n\t\t className = attributes.className;\n\n\n\t\treturn wp.element.createElement(\n\t\t\t'p',\n\t\t\tnull,\n\t\t\twp.element.createElement(RichText.Content, {\n\t\t\t\ttagName: 'a',\n\t\t\t\tclassName: getClasses(className, themeColor, icon),\n\t\t\t\thref: url,\n\t\t\t\tvalue: text\n\t\t\t})\n\t\t);\n\t},\n\n\n\tdeprecated: __WEBPACK_IMPORTED_MODULE_5__deprecated__[\"a\" /* default */]\n\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNTEuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL2J1dHRvbi9idXR0b24uanM/YTMzNCJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfZGVmaW5lUHJvcGVydHkob2JqLCBrZXksIHZhbHVlKSB7IGlmIChrZXkgaW4gb2JqKSB7IE9iamVjdC5kZWZpbmVQcm9wZXJ0eShvYmosIGtleSwgeyB2YWx1ZTogdmFsdWUsIGVudW1lcmFibGU6IHRydWUsIGNvbmZpZ3VyYWJsZTogdHJ1ZSwgd3JpdGFibGU6IHRydWUgfSk7IH0gZWxzZSB7IG9ialtrZXldID0gdmFsdWU7IH0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0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///51\n");
-
-/***/ }),
-/* 52 */
-/*!*****************************************!*\
- !*** ./src/blocks/button/deprecated.js ***!
- \*****************************************/
-/*! exports provided: default */
-/*! exports used: default */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__global_theme_options_js__ = __webpack_require__(/*! ../../global/theme-options.js */ 3);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__global_allowed_formats__ = __webpack_require__(/*! ../../global/allowed-formats */ 2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__global_publication_slug__ = __webpack_require__(/*! ../../global/publication-slug */ 5);\nfunction _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; }\n\n/**\n * BLOCK: bu-button\n *\n * Prompt visitors to take action with a custom button.\n */\n\n// External dependencies.\n\n\n// Internal dependencies.\n\n\n\n\n// WordPress dependencies.\nvar __ = wp.i18n.__;\nvar registerBlockType = wp.blocks.registerBlockType;\nvar _wp$components = wp.components,\n Button = _wp$components.Button,\n Dashicon = _wp$components.Dashicon,\n G = _wp$components.G,\n IconButton = _wp$components.IconButton,\n PanelBody = _wp$components.PanelBody,\n Path = _wp$components.Path,\n RadioControl = _wp$components.RadioControl,\n SVG = _wp$components.SVG;\nvar Fragment = wp.element.Fragment;\n\nvar _ref = 'undefined' === typeof wp.blockEditor ? wp.editor : wp.blockEditor,\n InspectorControls = _ref.InspectorControls,\n PanelColorSettings = _ref.PanelColorSettings,\n RichText = _ref.RichText,\n URLInput = _ref.URLInput,\n withColors = _ref.withColors;\n\n// The current publication owner.\n\n\nvar publication = Object(__WEBPACK_IMPORTED_MODULE_3__global_publication_slug__[\"a\" /* default */])();\n\n/**\n * Returns the class list for the block based on the current settings.\n *\n * @param {string} className Additional classes assigned to the block.\n * @param {string} themeColor The theme color assigned to the block.\n * @param {string} icon The icon placement.\n */\nvar getClasses = function getClasses(className, themeColor, icon) {\n\tvar _classnames;\n\n\treturn __WEBPACK_IMPORTED_MODULE_0_classnames___default()('wp-block-button', (_classnames = {}, _defineProperty(_classnames, publication + '-block-button', publication && publication !== ''), _defineProperty(_classnames, 'has-' + themeColor + '-theme', themeColor), _defineProperty(_classnames, 'icon-navigateright ' + icon, icon), _defineProperty(_classnames, className, className), _classnames));\n};\n\nvar deprecated = [{\n\n\ttitle: __('Button'),\n\tdescription: __('Prompt visitors to take action with a custom button.'),\n\ticon: wp.element.createElement(\n\t\tSVG,\n\t\t{ viewBox: '0 0 24 24', xmlns: 'http://www.w3.org/2000/svg' },\n\t\twp.element.createElement(Path, { fill: 'none', d: 'M0 0h24v24H0V0z' }),\n\t\twp.element.createElement(\n\t\t\tG,\n\t\t\tnull,\n\t\t\twp.element.createElement(Path, { fill: '#c00', d: 'M19 6H5L3 8v8l2 2h14l2-2V8l-2-2zm0 10H5V8h14v8z' })\n\t\t)\n\t),\n\tcategory: 'bu',\n\tattributes: {\n\t\turl: {\n\t\t\ttype: 'string',\n\t\t\tsource: 'attribute',\n\t\t\tselector: 'a',\n\t\t\tattribute: 'href'\n\t\t},\n\t\ttitle: {\n\t\t\ttype: 'string',\n\t\t\tsource: 'attribute',\n\t\t\tselector: 'a',\n\t\t\tattribute: 'title'\n\t\t},\n\t\ttext: {\n\t\t\ttype: 'string',\n\t\t\tsource: 'html',\n\t\t\tselector: 'a'\n\t\t},\n\t\tthemeColor: {\n\t\t\ttype: 'string'\n\t\t},\n\t\ticon: {\n\t\t\ttype: 'string'\n\t\t},\n\t\tclassName: {\n\t\t\ttype: 'string'\n\t\t}\n\t},\n\tstyles: [{\n\t\tname: 'default',\n\t\tlabel: __('Default'),\n\t\tisDefault: true\n\t}, {\n\t\tname: 'outline',\n\t\tlabel: __('Outline')\n\t}, {\n\t\tname: 'text',\n\t\tlabel: __('Text')\n\t}, {\n\t\tname: 'accent',\n\t\tlabel: __('Accent')\n\t}],\n\tsupports: {\n\t\tclassName: false,\n\t\tcustomClassName: false,\n\t\talign: ['left', 'center', 'right']\n\t},\n\n\tedit: withColors('themeColor')(function (props) {\n\t\tvar _props$attributes = props.attributes,\n\t\t text = _props$attributes.text,\n\t\t url = _props$attributes.url,\n\t\t icon = _props$attributes.icon,\n\t\t themeColor = props.themeColor,\n\t\t setThemeColor = props.setThemeColor,\n\t\t setAttributes = props.setAttributes,\n\t\t isSelected = props.isSelected,\n\t\t className = props.className;\n\n\n\t\treturn wp.element.createElement(\n\t\t\tFragment,\n\t\t\tnull,\n\t\t\twp.element.createElement(\n\t\t\t\tInspectorControls,\n\t\t\t\tnull,\n\t\t\t\twp.element.createElement(PanelColorSettings, {\n\t\t\t\t\ttitle: __('Color Settings'),\n\t\t\t\t\tcolorSettings: [{\n\t\t\t\t\t\tvalue: themeColor.color,\n\t\t\t\t\t\tonChange: setThemeColor,\n\t\t\t\t\t\tlabel: __('Theme'),\n\t\t\t\t\t\tdisableCustomColors: true,\n\t\t\t\t\t\tcolors: Object(__WEBPACK_IMPORTED_MODULE_1__global_theme_options_js__[\"a\" /* default */])()\n\t\t\t\t\t}]\n\t\t\t\t}),\n\t\t\t\twp.element.createElement(\n\t\t\t\t\tPanelBody,\n\t\t\t\t\t{ title: __('Icon Settings') },\n\t\t\t\t\twp.element.createElement(RadioControl, {\n\t\t\t\t\t\tlabel: 'Placement',\n\t\t\t\t\t\tselected: icon,\n\t\t\t\t\t\toptions: [{ label: 'Before text', value: 'align-icon-left' }, { label: 'After text', value: 'align-icon-right' }],\n\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\tsetAttributes({ icon: value });\n\t\t\t\t\t\t}\n\t\t\t\t\t}),\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\tButton,\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tonClick: function onClick() {\n\t\t\t\t\t\t\t\treturn setAttributes({ icon: undefined });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tlabel: 'Clear icon settings',\n\t\t\t\t\t\t\tisDefault: true,\n\t\t\t\t\t\t\tisSmall: true\n\t\t\t\t\t\t},\n\t\t\t\t\t\t__('Clear')\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t),\n\t\t\twp.element.createElement(\n\t\t\t\t'p',\n\t\t\t\tnull,\n\t\t\t\twp.element.createElement(RichText, {\n\t\t\t\t\tplaceholder: __('Add text…'),\n\t\t\t\t\tvalue: text,\n\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\treturn setAttributes({ text: value });\n\t\t\t\t\t},\n\t\t\t\t\tformattingControls: Object(__WEBPACK_IMPORTED_MODULE_2__global_allowed_formats__[\"a\" /* default */])('formattingControls', ['bold', 'italic']),\n\t\t\t\t\tallowedFormats: Object(__WEBPACK_IMPORTED_MODULE_2__global_allowed_formats__[\"a\" /* default */])('allowedFormats', ['core/bold', 'core/italic']),\n\t\t\t\t\tclassName: getClasses(className, themeColor.slug, icon),\n\t\t\t\t\tkeepPlaceholderOnFocus: true\n\t\t\t\t})\n\t\t\t),\n\t\t\tisSelected && wp.element.createElement(\n\t\t\t\t'form',\n\t\t\t\t{\n\t\t\t\t\tclassName: 'block-library-button__inline-link',\n\t\t\t\t\tonSubmit: function onSubmit(event) {\n\t\t\t\t\t\treturn event.preventDefault();\n\t\t\t\t\t} },\n\t\t\t\twp.element.createElement(Dashicon, { icon: 'admin-links' }),\n\t\t\t\twp.element.createElement(URLInput, {\n\t\t\t\t\tvalue: url,\n\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\treturn setAttributes({ url: value });\n\t\t\t\t\t}\n\t\t\t\t}),\n\t\t\t\twp.element.createElement(IconButton, { icon: 'editor-break', label: __('Apply'), type: 'submit' })\n\t\t\t)\n\t\t);\n\t}),\n\n\tsave: function save(_ref2) {\n\t\tvar attributes = _ref2.attributes;\n\t\tvar url = attributes.url,\n\t\t text = attributes.text,\n\t\t themeColor = attributes.themeColor,\n\t\t icon = attributes.icon,\n\t\t className = attributes.className;\n\n\n\t\treturn wp.element.createElement(\n\t\t\t'p',\n\t\t\tnull,\n\t\t\twp.element.createElement(RichText.Content, {\n\t\t\t\ttagName: 'a',\n\t\t\t\tclassName: getClasses(className, themeColor, icon),\n\t\t\t\thref: url,\n\t\t\t\tvalue: text\n\t\t\t})\n\t\t);\n\t}\n}];\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (deprecated);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNTIuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL2J1dHRvbi9kZXByZWNhdGVkLmpzPzdhMDIiXSwic291cmNlc0NvbnRlbnQiOlsiZnVuY3Rpb24gX2RlZmluZVByb3BlcnR5KG9iaiwga2V5LCB2YWx1ZSkgeyBpZiAoa2V5IGluIG9iaikgeyBPYmplY3QuZGVmaW5lUHJvcGVydHkob2JqLCBrZXksIHsgdmFsdWU6IHZhbHVlLCBlbnVtZXJhYmxlOiB0cnVlLCBjb25maWd1cmFibGU6IHRydWUsIHdyaXRhYmxlOiB0cnVlIH0pOyB9IGVsc2UgeyBvYmpba2V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FDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///52\n");
-
-/***/ }),
-/* 53 */
-/*!**************************************!*\
- !*** ./src/blocks/button/style.scss ***!
- \**************************************/
-/*! dynamic exports provided */
-/***/ (function(module, exports) {
-
-eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNTMuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL2J1dHRvbi9zdHlsZS5zY3NzP2M5ZGQiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gcmVtb3ZlZCBieSBleHRyYWN0LXRleHQtd2VicGFjay1wbHVnaW5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9ibG9ja3MvYnV0dG9uL3N0eWxlLnNjc3Ncbi8vIG1vZHVsZSBpZCA9IDUzXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///53\n");
-
-/***/ }),
-/* 54 */
-/*!***************************************!*\
- !*** ./src/blocks/button/editor.scss ***!
- \***************************************/
-/*! dynamic exports provided */
-/***/ (function(module, exports) {
-
-eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNTQuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL2J1dHRvbi9lZGl0b3Iuc2Nzcz9kZWE4Il0sInNvdXJjZXNDb250ZW50IjpbIi8vIHJlbW92ZWQgYnkgZXh0cmFjdC10ZXh0LXdlYnBhY2stcGx1Z2luXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9zcmMvYmxvY2tzL2J1dHRvbi9lZGl0b3Iuc2Nzc1xuLy8gbW9kdWxlIGlkID0gNTRcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///54\n");
-
-/***/ }),
-/* 55 */
-/*!*****************************************************!*\
- !*** ./src/blocks/relatedstories/relatedstories.js ***!
- \*****************************************************/
-/*! no exports provided */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style_scss__ = __webpack_require__(/*! ./style.scss */ 56);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__style_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 57);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__editor_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__components_block_icons__ = __webpack_require__(/*! ../../components/block-icons */ 1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_classnames__ = __webpack_require__(/*! classnames */ 0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_classnames__);\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\n/**\n * BLOCK: bu-relatedstories-cgb\n *\n * Registering a basic block with Gutenberg.\n * Simple block, renders and saves the same content without any interactivity.\n */\n\n// Import CSS.\n\n\n\n// Internal dependencies.\n\n\n// WordPress dependencies.\nvar __ = wp.i18n.__;\nvar registerBlockType = wp.blocks.registerBlockType;\nvar _wp$compose = wp.compose,\n withState = _wp$compose.withState,\n compose = _wp$compose.compose;\nvar _wp$data = wp.data,\n withSelect = _wp$data.withSelect,\n select = _wp$data.select;\nvar Fragment = wp.element.Fragment;\nvar _wp$components = wp.components,\n PanelBody = _wp$components.PanelBody,\n RangeControl = _wp$components.RangeControl,\n ToggleControl = _wp$components.ToggleControl;\n\nvar _ref = 'undefined' === typeof wp.blockEditor ? wp.editor : wp.blockEditor,\n InspectorControls = _ref.InspectorControls,\n BlockAlignmentToolbar = _ref.BlockAlignmentToolbar,\n BlockControls = _ref.BlockControls,\n URLInput = _ref.URLInput;\n\nvar addQueryArgs = wp.url.addQueryArgs;\nvar _wp = wp,\n apiFetch = _wp.apiFetch;\nvar applyFilters = wp.hooks.applyFilters;\nvar decodeEntities = wp.htmlEntities.decodeEntities;\n\n\n\n\n// Register the block.\nregisterBlockType('editorial/relatedstories', {\n\n\ttitle: __('Related Stories'),\n\n\tdescription: __('A list of related stories to embed in an article.'),\n\n\ticon: Object(__WEBPACK_IMPORTED_MODULE_2__components_block_icons__[\"a\" /* default */])('related'),\n\n\tcategory: 'bu-editorial',\n\n\tattributes: {\n\t\talign: {\n\t\t\ttype: 'string',\n\t\t\tdefault: 'right'\n\t\t},\n\t\tclassName: {\n\t\t\ttype: 'string',\n\t\t\tdefault: ''\n\t\t},\n\n\t\t// The number of cards to display when not a list format.\n\t\tcardCount: {\n\t\t\ttype: 'number',\n\t\t\tdefault: 2\n\t\t},\n\n\t\t// Whether posts are selected manually or via YARPP.\n\t\trelatedManual: {\n\t\t\ttype: 'boolean',\n\t\t\tdefault: false\n\t\t},\n\n\t\t// Store the post IDs used when a related stories list is manual.\n\t\tincludePosts: {\n\t\t\ttype: 'array',\n\t\t\tdefault: []\n\t\t},\n\n\t\t// Temporarily store URL lookup data when using URLInput.\n\t\tURLInputEntry: {\n\t\t\ttype: 'string',\n\t\t\tdefault: ''\n\t\t}\n\t},\n\n\tstyles: [{\n\t\tname: 'list',\n\t\tlabel: __('List'),\n\t\tisDefault: true\n\t}, {\n\t\tname: 'card',\n\t\tlabel: __('Card')\n\t}],\n\n\t// Only add alignment attributes when a list is being displayed.\n\tgetEditWrapperProps: function getEditWrapperProps(attributes) {\n\t\tvar align = attributes.align,\n\t\t className = attributes.className;\n\n\n\t\tif (['left', 'right'].includes(align) && ('undefined' === typeof className || className.includes('is-style-list'))) {\n\t\t\treturn { 'data-align': align };\n\t\t}\n\t\tif (className.includes('is-style-card')) {\n\t\t\treturn { 'data-style': 'card' };\n\t\t}\n\n\t\treturn { 'data-align': 'none' };\n\t},\n\n\n\tedit: compose([withState({\n\t\t// Track dynamically provided YARPP post IDs as a state.\n\t\tyarppPosts: [],\n\t\tyarppPostsError: false,\n\t\tdoingYarppPostsFetch: false,\n\n\t\t// Track the retrieval of related post IDs (manual or automatic) as a state.\n\t\trelatedPosts: [],\n\t\trelatedPostsError: false,\n\t\tdoingRelatedPostsFetch: false,\n\n\t\terrorMessage: false\n\t}), withSelect(function (select, props) {\n\t\tvar setState = props.setState,\n\t\t yarppPosts = props.yarppPosts,\n\t\t yarppPostsError = props.yarppPostsError,\n\t\t doingYarppPostsFetch = props.doingYarppPostsFetch,\n\t\t relatedPosts = props.relatedPosts,\n\t\t relatedPostsError = props.relatedPostsError,\n\t\t doingRelatedPostsFetch = props.doingRelatedPostsFetch,\n\t\t errorMessage = props.errorMessage;\n\t\tvar _props$attributes = props.attributes,\n\t\t relatedManual = _props$attributes.relatedManual,\n\t\t includePosts = _props$attributes.includePosts,\n\t\t className = _props$attributes.className,\n\t\t cardCount = _props$attributes.cardCount;\n\n\n\t\tvar query = void 0;\n\t\tvar isCardStyle = className && className.includes('is-style-card');\n\t\tvar perPage = isCardStyle && cardCount ? cardCount : 3;\n\n\t\tif (relatedManual) {\n\t\t\t// Setup the query arguments to run against the core REST API.\n\t\t\tquery = {\n\t\t\t\tper_page: perPage,\n\t\t\t\tinclude: includePosts\n\t\t\t};\n\t\t} else {\n\t\t\t// If the YARPP posts state has not yet been set, and an\n\t\t\t// existing YARPP API error has not been cleared, retrieve\n\t\t\t// a list of related post IDs.\n\t\t\tif (yarppPosts.length === 0 && !yarppPostsError) {\n\t\t\t\tvar postID = select('core/editor').getCurrentPostId();\n\n\t\t\t\tif (postID && !doingYarppPostsFetch) {\n\t\t\t\t\tsetState({ doingYarppPostsFetch: true });\n\n\t\t\t\t\tvar postTypes = applyFilters('buBlocks.relatedStories.yarppPostTypes', ['post']);\n\n\t\t\t\t\tapiFetch({\n\t\t\t\t\t\tpath: addQueryArgs('/bu-blocks/v1/yarpprelated', {\n\t\t\t\t\t\t\tpost_id: postID,\n\t\t\t\t\t\t\tpost_type: postTypes\n\t\t\t\t\t\t})\n\t\t\t\t\t}).then(function (posts) {\n\t\t\t\t\t\tsetState({\n\t\t\t\t\t\t\tyarppPosts: posts,\n\t\t\t\t\t\t\tyarppPostsError: posts.length === 0 ? true : false,\n\t\t\t\t\t\t\tdoingYarppPostsFetch: false,\n\n\t\t\t\t\t\t\trelatedPosts: [],\n\t\t\t\t\t\t\trelatedPostsError: false,\n\t\t\t\t\t\t\tdoingRelatedPostsFetch: false\n\t\t\t\t\t\t});\n\t\t\t\t\t}).catch(function (error) {\n\t\t\t\t\t\tif (error.code === 'yarpp_disabled') {\n\t\t\t\t\t\t\tsetState({\n\t\t\t\t\t\t\t\tyarppPostsError: true,\n\t\t\t\t\t\t\t\tdoingYarppPostsFetch: false,\n\t\t\t\t\t\t\t\terrorMessage: error.message\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Setup the query arguments to run against the core REST API.\n\t\t\tquery = {\n\t\t\t\tper_page: perPage,\n\t\t\t\tinclude: yarppPosts\n\t\t\t};\n\t\t}\n\n\t\t// If a known number of posts has been provided, retrieve those posts.\n\t\tif (query.include.length > 0 && relatedPosts.length === 0 && !relatedPostsError && !doingRelatedPostsFetch) {\n\n\t\t\t// Filter the default post type used when retrieving.\n\t\t\tvar _postTypes = applyFilters('buBlocks.relatedStories.postTypes', ['post']);\n\n\t\t\t// Prevent immediate duplicate requests.\n\t\t\tsetState({ doingRelatedPostsFetch: true });\n\n\t\t\tapiFetch({\n\t\t\t\tpath: addQueryArgs('/bu-blocks/v1/collection', {\n\t\t\t\t\tinclude: query.include,\n\t\t\t\t\tpost_type: _postTypes\n\t\t\t\t})\n\t\t\t}).then(function (posts) {\n\t\t\t\tsetState({\n\t\t\t\t\trelatedPosts: posts,\n\t\t\t\t\trelatedPostsError: posts.length === 0 ? true : false,\n\t\t\t\t\tdoingRelatedPostsFetch: false\n\t\t\t\t});\n\t\t\t}).catch(function (error) {\n\t\t\t\t// There is no expected error here, but we can log it.\n\t\t\t\tsetState({\n\t\t\t\t\trelatedPostsError: true,\n\t\t\t\t\tdoingRelatedPostsFetch: false,\n\t\t\t\t\terrorMessage: error.code\n\t\t\t\t});\n\t\t\t});\n\t\t}\n\n\t\treturn {\n\t\t\tposts: relatedPosts, // Full post objects to display in the block.\n\t\t\terrorMessage: errorMessage // A string to display in the block if an API request failed.\n\t\t};\n\t})])(function (_ref2) {\n\t\tvar posts = _ref2.posts,\n\t\t errorMessage = _ref2.errorMessage,\n\t\t attributes = _ref2.attributes,\n\t\t props = _objectWithoutProperties(_ref2, ['posts', 'errorMessage', 'attributes']);\n\n\t\tvar className = props.className,\n\t\t setAttributes = props.setAttributes,\n\t\t setState = props.setState;\n\t\tvar align = attributes.align,\n\t\t cardCount = attributes.cardCount,\n\t\t relatedManual = attributes.relatedManual,\n\t\t URLInputEntry = attributes.URLInputEntry,\n\t\t includePosts = attributes.includePosts;\n\n\n\t\tvar displayPosts = void 0;\n\n\t\t// If only 2 cards are being displayed, ensure the displayed posts in the block are limited to 2.\n\t\tif (posts.length > 2 && className.includes('is-style-card') && cardCount === 2) {\n\t\t\tdisplayPosts = posts.slice(0, 2);\n\t\t} else {\n\t\t\tdisplayPosts = posts;\n\t\t}\n\n\t\tvar currentPost = select('core/editor').getCurrentPost();\n\n\t\tvar displayListItem = function displayListItem(className, post) {\n\t\t\treturn wp.element.createElement(\n\t\t\t\t'li',\n\t\t\t\t{ className: 'wp-block-editorial-relatedstories-list-item' },\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'article',\n\t\t\t\t\t{ className: 'wp-block-editorial-relatedstories-article' },\n\t\t\t\t\tclassName.includes('is-style-card') && post.media_url && wp.element.createElement(\n\t\t\t\t\t\t'figure',\n\t\t\t\t\t\t{ className: 'wp-block-editorial-relatedstories-article-image' },\n\t\t\t\t\t\twp.element.createElement('img', { src: post.media_url, alt: 'placeholder' })\n\t\t\t\t\t),\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'wp-block-editorial-relatedstories-article-content' },\n\t\t\t\t\t\tclassName.includes('is-style-card') && post.primary_term && wp.element.createElement(\n\t\t\t\t\t\t\t'p',\n\t\t\t\t\t\t\t{ className: 'wp-block-editorial-relatedstories-article-category' },\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\tdecodeEntities(post.primary_term)\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t),\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t'h4',\n\t\t\t\t\t\t\t{ className: 'wp-block-editorial-relatedstories-article-title' },\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t\t{ href: post.link, className: 'wp-block-editorial-relatedstories-article-title-link' },\n\t\t\t\t\t\t\t\tdecodeEntities(post.title)\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t),\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t'p',\n\t\t\t\t\t\t\t{ className: 'wp-block-editorial-relatedstories-article-date' },\n\t\t\t\t\t\t\tpost.date_gmt\n\t\t\t\t\t\t),\n\t\t\t\t\t\tapplyFilters('buBlocks.relatedStories.displayListItem', '', post, currentPost)\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t);\n\t\t};\n\n\t\t// Reset the related posts collection to its defaults to allow for\n\t\t// a fresh lookup after a change.\n\t\tvar resetRelatedState = function resetRelatedState() {\n\t\t\tsetState({\n\t\t\t\trelatedPosts: [],\n\t\t\t\trelatedPostsError: false,\n\t\t\t\tdoingRelatedPostsFetch: false\n\t\t\t});\n\t\t};\n\n\t\t/**\n * Remove a previously selected post from the list of manual posts.\n *\n * @param {Event} event\n */\n\t\tvar removeSelectedPost = function removeSelectedPost(event) {\n\t\t\tvar postId = event.target.parentNode.dataset.postId;\n\n\t\t\tif (!postId) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar index = includePosts.indexOf(parseInt(postId));\n\n\t\t\tif (index > -1) {\n\t\t\t\tsetAttributes({\n\t\t\t\t\tincludePosts: includePosts.filter(function (_, i) {\n\t\t\t\t\t\treturn i !== index;\n\t\t\t\t\t})\n\t\t\t\t});\n\t\t\t}\n\n\t\t\t// Clear any error or existing fetch for selected posts.\n\t\t\tresetRelatedState();\n\t\t};\n\n\t\t/**\n * Display the markup for an existing selected post.\n *\n * @param {object} post The current post to display.\n */\n\t\tvar displaySelectedPost = function displaySelectedPost(post) {\n\t\t\treturn wp.element.createElement(\n\t\t\t\t'li',\n\t\t\t\t{ 'data-post-id': post.id },\n\t\t\t\tdecodeEntities(post.title),\n\t\t\t\t' ',\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'button',\n\t\t\t\t\t{ onClick: removeSelectedPost, type: 'button', id: 'remove-selected-post', 'class': 'components-button is-tertiary' },\n\t\t\t\t\t'Remove'\n\t\t\t\t)\n\t\t\t);\n\t\t};\n\n\t\t/**\n * Handle the selection of a post in the URLInput component.\n *\n * @param {string} url The data currently in the URLInput component's text input.\n * @param {object} post The full post object, once selected.\n */\n\t\tvar handleSelectPost = function handleSelectPost(url, post) {\n\t\t\t// If `post` is undefined, then the user is still searching.\n\t\t\tif ('undefined' === typeof post) {\n\t\t\t\tsetAttributes({ URLInputEntry: url });\n\t\t\t} else {\n\t\t\t\t// Once a post has been selected, add it to the list of included posts.\n\t\t\t\tsetAttributes({ includePosts: includePosts.concat(post.id) });\n\n\t\t\t\t// Clear the URL input field to allow for another search.\n\t\t\t\tsetAttributes({ URLInputEntry: '' });\n\n\t\t\t\t// Clear any error or existing fetch for selected posts.\n\t\t\t\tresetRelatedState();\n\t\t\t}\n\t\t};\n\n\t\t/**\n * Toggle the manual/automatic selection for how related posts are assigned.\n */\n\t\tvar toggleRelatedManual = function toggleRelatedManual() {\n\t\t\tsetAttributes({ relatedManual: !relatedManual });\n\n\t\t\t// Allow the manual toggle to retrigger a failed related posts request to YARPP.\n\t\t\tif (relatedManual) {\n\t\t\t\tsetState({\n\t\t\t\t\tyarppPosts: [],\n\t\t\t\t\tyarppPostsError: false,\n\t\t\t\t\tdoingYarppPostsFetch: false\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tresetRelatedState();\n\t\t};\n\n\t\tvar cardCountClass = '';\n\n\t\tif (className.includes('is-style-card') && cardCount === 2) {\n\t\t\tcardCountClass = 'has-two';\n\t\t} else if (className.includes('is-style-card')) {\n\t\t\tcardCountClass = ' has-three';\n\t\t}\n\n\t\tvar classes = __WEBPACK_IMPORTED_MODULE_3_classnames___default()(className, cardCountClass);\n\n\t\treturn wp.element.createElement(\n\t\t\tFragment,\n\t\t\tnull,\n\t\t\twp.element.createElement(\n\t\t\t\tInspectorControls,\n\t\t\t\tnull,\n\t\t\t\twp.element.createElement(\n\t\t\t\t\tPanelBody,\n\t\t\t\t\t{\n\t\t\t\t\t\ttitle: __('Settings'),\n\t\t\t\t\t\tclassName: 'panelbody-related-stories'\n\t\t\t\t\t},\n\t\t\t\t\tclassName.includes('is-style-card') && wp.element.createElement(RangeControl, {\n\t\t\t\t\t\tlabel: __('Cards'),\n\t\t\t\t\t\tvalue: cardCount,\n\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\treturn setAttributes({ cardCount: value });\n\t\t\t\t\t\t},\n\t\t\t\t\t\tinitialPosition: 2,\n\t\t\t\t\t\tmin: 2,\n\t\t\t\t\t\tmax: 3\n\t\t\t\t\t}),\n\t\t\t\t\twp.element.createElement(ToggleControl, {\n\t\t\t\t\t\tlabel: 'Enable manual selection',\n\t\t\t\t\t\thelp: relatedManual ? 'Display manually selected related stories' : 'Display related stories automatically.',\n\t\t\t\t\t\tchecked: relatedManual,\n\t\t\t\t\t\tonChange: toggleRelatedManual\n\t\t\t\t\t}),\n\t\t\t\t\trelatedManual && wp.element.createElement(URLInput, {\n\t\t\t\t\t\tvalue: URLInputEntry,\n\t\t\t\t\t\tonChange: handleSelectPost\n\t\t\t\t\t}),\n\t\t\t\t\trelatedManual && posts && posts.length > 0 && wp.element.createElement(\n\t\t\t\t\t\tFragment,\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t'h3',\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t'Manually selected posts:'\n\t\t\t\t\t\t),\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t'ul',\n\t\t\t\t\t\t\t{ className: 'panelbody-related-stories-list' },\n\t\t\t\t\t\t\tposts.map(function (post) {\n\t\t\t\t\t\t\t\treturn displaySelectedPost(post);\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t),\n\t\t\t!className.includes('is-style-card') && wp.element.createElement(\n\t\t\t\tBlockControls,\n\t\t\t\tnull,\n\t\t\t\twp.element.createElement(BlockAlignmentToolbar, {\n\t\t\t\t\tvalue: align,\n\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\treturn setAttributes({ align: value });\n\t\t\t\t\t},\n\t\t\t\t\tcontrols: ['left', 'right']\n\t\t\t\t})\n\t\t\t),\n\t\t\twp.element.createElement(\n\t\t\t\t'aside',\n\t\t\t\t{ className: classes },\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'h3',\n\t\t\t\t\t{ className: 'wp-block-editorial-relatedstories-title' },\n\t\t\t\t\t'Related'\n\t\t\t\t),\n\t\t\t\tdisplayPosts && displayPosts.length > 0 ? wp.element.createElement(\n\t\t\t\t\t'ul',\n\t\t\t\t\t{ className: 'wp-block-editorial-relatedstories-list' },\n\t\t\t\t\tdisplayPosts && displayPosts.map(function (post) {\n\t\t\t\t\t\treturn displayListItem(className, post);\n\t\t\t\t\t})\n\t\t\t\t) : wp.element.createElement(\n\t\t\t\t\t'p',\n\t\t\t\t\t{ 'class': 'wp-block-editorial-relatedstories-error' },\n\t\t\t\t\terrorMessage ? errorMessage : 'Select related posts in this block\\'s settings.'\n\t\t\t\t)\n\t\t\t)\n\t\t);\n\t}),\n\n\t// The front-end HTML for this block is handled in PHP, but\n\t// the save function is required.\n\tsave: function save() {\n\t\treturn null;\n\t}\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNTUuanMiLCJzb3VyY2VzIj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0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///55\n");
-
-/***/ }),
-/* 56 */
-/*!**********************************************!*\
- !*** ./src/blocks/relatedstories/style.scss ***!
- \**********************************************/
-/*! dynamic exports provided */
-/***/ (function(module, exports) {
-
-eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNTYuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL3JlbGF0ZWRzdG9yaWVzL3N0eWxlLnNjc3M/N2RjZSJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyByZW1vdmVkIGJ5IGV4dHJhY3QtdGV4dC13ZWJwYWNrLXBsdWdpblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vc3JjL2Jsb2Nrcy9yZWxhdGVkc3Rvcmllcy9zdHlsZS5zY3NzXG4vLyBtb2R1bGUgaWQgPSA1NlxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///56\n");
-
-/***/ }),
-/* 57 */
-/*!***********************************************!*\
- !*** ./src/blocks/relatedstories/editor.scss ***!
- \***********************************************/
-/*! dynamic exports provided */
-/***/ (function(module, exports) {
-
-eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNTcuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL3JlbGF0ZWRzdG9yaWVzL2VkaXRvci5zY3NzPzA1YjAiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gcmVtb3ZlZCBieSBleHRyYWN0LXRleHQtd2VicGFjay1wbHVnaW5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9ibG9ja3MvcmVsYXRlZHN0b3JpZXMvZWRpdG9yLnNjc3Ncbi8vIG1vZHVsZSBpZCA9IDU3XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///57\n");
-
-/***/ }),
-/* 58 */
-/*!*****************************************!*\
- !*** ./src/blocks/listicle/listicle.js ***!
- \*****************************************/
-/*! no exports provided */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss__ = __webpack_require__(/*! ./style.scss */ 59);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__style_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 60);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__editor_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_background__ = __webpack_require__(/*! ../../components/background */ 4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__components_share_tools__ = __webpack_require__(/*! ../../components/share-tools */ 61);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__global_allowed_formats__ = __webpack_require__(/*! ../../global/allowed-formats */ 2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__components_block_icons__ = __webpack_require__(/*! ../../components/block-icons */ 1);\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n/**\n * BLOCK: editorial/listicle\n *\n * Register a listicle block with Gutenberg.\n */\n\n// External dependencies.\n\n\n// Import CSS.\n\n\n\n// Internal dependencies.\n\n\n\n\n\n// WordPress dependencies.\nvar __ = wp.i18n.__;\nvar registerBlockType = wp.blocks.registerBlockType;\nvar Component = wp.element.Component;\nvar _wp$components = wp.components,\n PanelBody = _wp$components.PanelBody,\n Path = _wp$components.Path,\n SVG = _wp$components.SVG,\n ToggleControl = _wp$components.ToggleControl;\n\nvar _ref = 'undefined' === typeof wp.blockEditor ? wp.editor : wp.blockEditor,\n InspectorControls = _ref.InspectorControls,\n RichText = _ref.RichText,\n PlainText = _ref.PlainText;\n\n/**\n * Returns the class list for the block based on the current settings.\n *\n * @param {string} className Default classes assigned to the block.\n * @param {string} number Value of the number attribute.\n * @param {string} aside Whether the block has aside content.\n * @param {number} backgroundUrl The URL of the background media assigned to the block.\n * @param {boolean} backgroundAutoplay Whether the background video is set to autoplay.\n */\n\n\nvar getClasses = function getClasses(className, number, aside, backgroundUrl, backgroundAutoplay, divider) {\n\treturn __WEBPACK_IMPORTED_MODULE_0_classnames___default()(className, {\n\t\t'has-number': number,\n\t\t'has-sidebar': aside,\n\t\t'has-media': backgroundUrl,\n\t\t'has-video-as-loop': backgroundAutoplay,\n\t\t'has-no-bottom-divider': !divider\n\t});\n};\n\n/**\n * Determine if the related links list is empty.\n *\n * @param {string} related The value of the `related` attribute.\n */\nvar hasRelatedLinks = function hasRelatedLinks(related) {\n\tif ('undefined' === typeof related || '' === related || RichText.isEmpty(related)) {\n\t\treturn false;\n\t}\n\n\treturn true;\n};\n\n// Register the block.\nregisterBlockType('editorial/listicle', {\n\ttitle: __('Listicle'),\n\tdescription: __('An individual item for an article that uses a list as its thematic structure.'),\n\ticon: Object(__WEBPACK_IMPORTED_MODULE_6__components_block_icons__[\"a\" /* default */])('listicle'),\n\tcategory: 'bu-editorial',\n\tattributes: Object.assign({\n\t\thed: {\n\t\t\ttype: 'string',\n\t\t\tsource: 'html',\n\t\t\tselector: '.wp-block-editorial-listicle-header-content-hed'\n\t\t},\n\t\tdek: {\n\t\t\ttype: 'string',\n\t\t\tsource: 'html',\n\t\t\tselector: '.wp-block-editorial-listicle-header-content-dek'\n\t\t},\n\t\tcontent: {\n\t\t\ttype: 'string',\n\t\t\tsource: 'html',\n\t\t\tselector: '.wp-block-editorial-listicle-section-content'\n\t\t},\n\t\taside: {\n\t\t\ttype: 'string',\n\t\t\tsource: 'html',\n\t\t\tselector: '.wp-block-editorial-listicle-section-aside p'\n\t\t},\n\t\tnumber: {\n\t\t\ttype: 'string',\n\t\t\tsource: 'html',\n\t\t\tselector: '.wp-block-editorial-listicle-header-number'\n\t\t},\n\t\trelated: {\n\t\t\ttype: 'string',\n\t\t\tsource: 'html',\n\t\t\tselector: '.wp-block-editorial-listicle-footer-list'\n\t\t},\n\t\tcredit: {\n\t\t\ttype: 'string',\n\t\t\tsource: 'html',\n\t\t\tselector: '.wp-caption-text'\n\t\t},\n\t\tclassName: {\n\t\t\ttype: 'string',\n\t\t\tdefault: ''\n\t\t},\n\t\tdivider: {\n\t\t\ttype: 'boolean',\n\t\t\tdefault: true\n\t\t}\n\t}, __WEBPACK_IMPORTED_MODULE_3__components_background__[\"a\" /* BackgroundAttributes */], __WEBPACK_IMPORTED_MODULE_4__components_share_tools__[\"a\" /* ShareToolsAttributes */]),\n\n\tedit: function (_Component) {\n\t\t_inherits(edit, _Component);\n\n\t\tfunction edit() {\n\t\t\t_classCallCheck(this, edit);\n\n\t\t\treturn _possibleConstructorReturn(this, (edit.__proto__ || Object.getPrototypeOf(edit)).apply(this, arguments));\n\t\t}\n\n\t\t/**\n * Update credit attribute with the caption of the selected image.\n *\n * @param {object} prevProps The property values before the change.\n */\n\n\n\t\t_createClass(edit, [{\n\t\t\tkey: 'componentDidUpdate',\n\t\t\tvalue: function componentDidUpdate(prevProps) {\n\t\t\t\t// Get the block properties we need.\n\t\t\t\tvar _props = this.props,\n\t\t\t\t attributes = _props.attributes,\n\t\t\t\t setAttributes = _props.setAttributes;\n\n\t\t\t\t// Get the block attributes we need.\n\n\t\t\t\tvar credit = attributes.credit,\n\t\t\t\t backgroundCaption = attributes.backgroundCaption;\n\n\t\t\t\t// Stop here if the `backgroundCaption` attribute hasn't changed.\n\n\t\t\t\tif (backgroundCaption === prevProps.attributes.backgroundCaption) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\t// Stop here if the `credit` attribute is already set.\n\t\t\t\tif (!!credit || !backgroundCaption) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\t// Update the `credit` attribute using the caption from the selected image.\n\t\t\t\tsetAttributes({ credit: backgroundCaption });\n\t\t\t}\n\t\t}, {\n\t\t\tkey: 'render',\n\t\t\tvalue: function render() {\n\t\t\t\t// Get the block properties.\n\t\t\t\tvar _props2 = this.props,\n\t\t\t\t attributes = _props2.attributes,\n\t\t\t\t setAttributes = _props2.setAttributes,\n\t\t\t\t className = _props2.className,\n\t\t\t\t isSelected = _props2.isSelected;\n\n\t\t\t\t// Get the block attributes.\n\n\t\t\t\tvar hed = attributes.hed,\n\t\t\t\t dek = attributes.dek,\n\t\t\t\t content = attributes.content,\n\t\t\t\t aside = attributes.aside,\n\t\t\t\t number = attributes.number,\n\t\t\t\t related = attributes.related,\n\t\t\t\t credit = attributes.credit,\n\t\t\t\t backgroundUrl = attributes.backgroundUrl,\n\t\t\t\t backgroundAutoplay = attributes.backgroundAutoplay,\n\t\t\t\t divider = attributes.divider;\n\n\t\t\t\t// Check if the block has aside content (extra condition due to use of multiline).\n\n\t\t\t\tvar hasAsideContent = !RichText.isEmpty(aside) && aside !== '
';\n\n\t\t\t\t/**\n * Get a value to use for the inline width of the number input.\n *\n * Returns either 100% if the field is empty, or `{n}ch`,\n * where `{n}` is the number of characters in the input.\n *\n */\n\t\t\t\tvar getNumberInputWidth = function getNumberInputWidth() {\n\t\t\t\t\treturn number ? number.length + 'ch' : '100%';\n\t\t\t\t};\n\n\t\t\t\t// Return the block editing interface.\n\t\t\t\treturn wp.element.createElement(\n\t\t\t\t\t'section',\n\t\t\t\t\t{ className: getClasses(className, number, hasAsideContent, backgroundUrl, backgroundAutoplay, divider) },\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t'article',\n\t\t\t\t\t\t{ className: 'wp-block-editorial-listicle-article' },\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t'figure',\n\t\t\t\t\t\t\t{ className: 'wp-block-editorial-listicle-figure' },\n\t\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_background__[\"b\" /* default */], {\n\t\t\t\t\t\t\t\tblockProps: this.props,\n\t\t\t\t\t\t\t\tinlinePlaceholder: true,\n\t\t\t\t\t\t\t\toptions: []\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\twp.element.createElement(RichText, {\n\t\t\t\t\t\t\t\ttagName: 'figcaption',\n\t\t\t\t\t\t\t\tclassName: 'wp-caption-text wp-block-editorial-listicle-caption wp-prepress-component-caption',\n\t\t\t\t\t\t\t\tvalue: credit,\n\t\t\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\t\t\treturn setAttributes({ credit: value });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tplaceholder: __('Add Photo or Video Credit…'),\n\t\t\t\t\t\t\t\tformattingControls: Object(__WEBPACK_IMPORTED_MODULE_5__global_allowed_formats__[\"a\" /* default */])('formattingControls', ['bold', 'italic', 'link']),\n\t\t\t\t\t\t\t\tallowedFormats: Object(__WEBPACK_IMPORTED_MODULE_5__global_allowed_formats__[\"a\" /* default */])('allowedFormats', ['core/bold', 'core/italic', 'core/link']),\n\t\t\t\t\t\t\t\tkeepPlaceholderOnFocus: true\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t),\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t'header',\n\t\t\t\t\t\t\t{ className: 'wp-block-editorial-listicle-header' },\n\t\t\t\t\t\t\t(number || isSelected) && wp.element.createElement(\n\t\t\t\t\t\t\t\t'h2',\n\t\t\t\t\t\t\t\t{ className: 'wp-block-editorial-listicle-header-number' },\n\t\t\t\t\t\t\t\twp.element.createElement(PlainText, {\n\t\t\t\t\t\t\t\t\tplaceholder: __('Add Item Number (Optional)…'),\n\t\t\t\t\t\t\t\t\tvalue: number,\n\t\t\t\t\t\t\t\t\tonChange: function onChange(number) {\n\t\t\t\t\t\t\t\t\t\treturn setAttributes({ number: number });\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tstyle: {\n\t\t\t\t\t\t\t\t\t\twidth: getNumberInputWidth()\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t\t{ className: 'wp-block-editorial-listicle-header-content' },\n\t\t\t\t\t\t\t\twp.element.createElement(RichText, {\n\t\t\t\t\t\t\t\t\ttagName: 'h3',\n\t\t\t\t\t\t\t\t\tclassName: 'wp-block-editorial-listicle-header-content-hed',\n\t\t\t\t\t\t\t\t\tplaceholder: __('Add Title…'),\n\t\t\t\t\t\t\t\t\tvalue: hed,\n\t\t\t\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\t\t\t\treturn setAttributes({ hed: value });\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tformattingControls: Object(__WEBPACK_IMPORTED_MODULE_5__global_allowed_formats__[\"a\" /* default */])('formattingControls', ['bold', 'italic']),\n\t\t\t\t\t\t\t\t\tallowedFormats: Object(__WEBPACK_IMPORTED_MODULE_5__global_allowed_formats__[\"a\" /* default */])('allowedFormats', ['core/bold', 'core/italic'])\n\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\twp.element.createElement(RichText, {\n\t\t\t\t\t\t\t\t\ttagName: 'h4',\n\t\t\t\t\t\t\t\t\tclassName: 'wp-block-editorial-listicle-header-content-dek',\n\t\t\t\t\t\t\t\t\tplaceholder: __('Add Subtitle…'),\n\t\t\t\t\t\t\t\t\tvalue: dek,\n\t\t\t\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\t\t\t\treturn setAttributes({ dek: value });\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tformattingControls: Object(__WEBPACK_IMPORTED_MODULE_5__global_allowed_formats__[\"a\" /* default */])('formattingControls', ['bold', 'italic']),\n\t\t\t\t\t\t\t\t\tallowedFormats: Object(__WEBPACK_IMPORTED_MODULE_5__global_allowed_formats__[\"a\" /* default */])('allowedFormats', ['core/bold', 'core/italic'])\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t),\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t'section',\n\t\t\t\t\t\t\t{ className: 'wp-block-editorial-listicle-section' },\n\t\t\t\t\t\t\twp.element.createElement(RichText, {\n\t\t\t\t\t\t\t\ttagName: 'div',\n\t\t\t\t\t\t\t\tclassName: 'wp-block-editorial-listicle-section-content',\n\t\t\t\t\t\t\t\tmultiline: 'p',\n\t\t\t\t\t\t\t\tplaceholder: __('Add Content… lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer in dictum felis. Nullam gravida dui nunc, vitae tristique ex pellentesque at. Suspendisse id porttitor metus. Nullam et ipsum hendrerit urna mattis porttitor at in leo.'),\n\t\t\t\t\t\t\t\tvalue: content,\n\t\t\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\t\t\treturn setAttributes({ content: value });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tformattingControls: Object(__WEBPACK_IMPORTED_MODULE_5__global_allowed_formats__[\"a\" /* default */])('formattingControls', ['bold', 'italic', 'link']),\n\t\t\t\t\t\t\t\tallowedFormats: Object(__WEBPACK_IMPORTED_MODULE_5__global_allowed_formats__[\"a\" /* default */])('allowedFormats', ['core/bold', 'core/italic', 'core/link'])\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t\t{ className: 'wp-block-editorial-listicle-section-meta' },\n\t\t\t\t\t\t\t\t(hasAsideContent || isSelected) && wp.element.createElement(\n\t\t\t\t\t\t\t\t\t'aside',\n\t\t\t\t\t\t\t\t\t{ className: 'wp-block-editorial-listicle-section-aside' },\n\t\t\t\t\t\t\t\t\twp.element.createElement(RichText, {\n\t\t\t\t\t\t\t\t\t\ttagName: 'p',\n\t\t\t\t\t\t\t\t\t\tplaceholder: __('Add Sidebar (Optional)…'),\n\t\t\t\t\t\t\t\t\t\tvalue: aside,\n\t\t\t\t\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\t\t\t\t\treturn setAttributes({ aside: value });\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\tformattingControls: Object(__WEBPACK_IMPORTED_MODULE_5__global_allowed_formats__[\"a\" /* default */])('formattingControls', ['bold', 'italic', 'link']),\n\t\t\t\t\t\t\t\t\t\tallowedFormats: Object(__WEBPACK_IMPORTED_MODULE_5__global_allowed_formats__[\"a\" /* default */])('allowedFormats', ['core/bold', 'core/italic', 'core/link'])\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_4__components_share_tools__[\"b\" /* default */], {\n\t\t\t\t\t\t\t\t\tblockProps: this.props\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t),\n\t\t\t\t\t\t(hasRelatedLinks(related) || isSelected) && wp.element.createElement(\n\t\t\t\t\t\t\t'footer',\n\t\t\t\t\t\t\t{ className: 'wp-block-editorial-listicle-footer' },\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t'h3',\n\t\t\t\t\t\t\t\t{ className: 'wp-block-editorial-listicle-footer-title' },\n\t\t\t\t\t\t\t\t'Related Stories'\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\twp.element.createElement(RichText, {\n\t\t\t\t\t\t\t\ttagName: 'ul',\n\t\t\t\t\t\t\t\tmultiline: 'li',\n\t\t\t\t\t\t\t\tclassName: 'wp-block-editorial-listicle-footer-list',\n\t\t\t\t\t\t\t\tplaceholder: __('Enter Related Stories List…'),\n\t\t\t\t\t\t\t\tvalue: related,\n\t\t\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\t\t\treturn setAttributes({ related: value });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tformattingControls: Object(__WEBPACK_IMPORTED_MODULE_5__global_allowed_formats__[\"a\" /* default */])('formattingControls', ['link']),\n\t\t\t\t\t\t\t\tallowedFormats: Object(__WEBPACK_IMPORTED_MODULE_5__global_allowed_formats__[\"a\" /* default */])('allowedFormats', ['core/link'])\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t)\n\t\t\t\t\t),\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\tInspectorControls,\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\tPanelBody,\n\t\t\t\t\t\t\t{ title: __('Display Options') },\n\t\t\t\t\t\t\twp.element.createElement(ToggleControl, {\n\t\t\t\t\t\t\t\tlabel: __('Show Bottom Divider'),\n\t\t\t\t\t\t\t\tchecked: divider,\n\t\t\t\t\t\t\t\tonChange: function onChange() {\n\t\t\t\t\t\t\t\t\treturn setAttributes({ divider: !divider });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t);\n\t\t\t}\n\t\t}]);\n\n\t\treturn edit;\n\t}(Component),\n\n\tsave: function save(props) {\n\t\t// Get the block properties we need.\n\t\tvar attributes = props.attributes;\n\n\t\t// Get the block attributes.\n\n\t\tvar hed = attributes.hed,\n\t\t dek = attributes.dek,\n\t\t content = attributes.content,\n\t\t aside = attributes.aside,\n\t\t number = attributes.number,\n\t\t related = attributes.related,\n\t\t credit = attributes.credit,\n\t\t backgroundUrl = attributes.backgroundUrl,\n\t\t backgroundAutoplay = attributes.backgroundAutoplay,\n\t\t className = attributes.className,\n\t\t divider = attributes.divider;\n\n\t\t// Return the block rendering for the front end.\n\n\t\treturn wp.element.createElement(\n\t\t\t'section',\n\t\t\t{ className: getClasses(className, number, aside, backgroundUrl, backgroundAutoplay, divider) },\n\t\t\twp.element.createElement(\n\t\t\t\t'article',\n\t\t\t\t{ className: 'wp-block-editorial-listicle-article' },\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'figure',\n\t\t\t\t\t{ className: 'wp-block-editorial-listicle-figure' },\n\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_background__[\"b\" /* default */], {\n\t\t\t\t\t\tblockProps: props\n\t\t\t\t\t}),\n\t\t\t\t\twp.element.createElement(RichText.Content, {\n\t\t\t\t\t\ttagName: 'figcaption',\n\t\t\t\t\t\tclassName: 'wp-caption-text wp-block-editorial-listicle-caption wp-prepress-component-caption',\n\t\t\t\t\t\tvalue: credit\n\t\t\t\t\t})\n\t\t\t\t),\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'header',\n\t\t\t\t\t{ className: 'wp-block-editorial-listicle-header' },\n\t\t\t\t\tnumber && wp.element.createElement(\n\t\t\t\t\t\t'h2',\n\t\t\t\t\t\t{ className: 'wp-block-editorial-listicle-header-number' },\n\t\t\t\t\t\tnumber\n\t\t\t\t\t),\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'wp-block-editorial-listicle-header-content' },\n\t\t\t\t\t\twp.element.createElement(RichText.Content, {\n\t\t\t\t\t\t\ttagName: 'h3',\n\t\t\t\t\t\t\tclassName: 'wp-block-editorial-listicle-header-content-hed',\n\t\t\t\t\t\t\tvalue: hed\n\t\t\t\t\t\t}),\n\t\t\t\t\t\twp.element.createElement(RichText.Content, {\n\t\t\t\t\t\t\ttagName: 'h4',\n\t\t\t\t\t\t\tclassName: 'wp-block-editorial-listicle-header-content-dek',\n\t\t\t\t\t\t\tvalue: dek\n\t\t\t\t\t\t})\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'section',\n\t\t\t\t\t{ className: 'wp-block-editorial-listicle-section' },\n\t\t\t\t\twp.element.createElement(RichText.Content, {\n\t\t\t\t\t\ttagName: 'div',\n\t\t\t\t\t\tclassName: 'wp-block-editorial-listicle-section-content',\n\t\t\t\t\t\tvalue: content,\n\t\t\t\t\t\tmultiline: 'p'\n\t\t\t\t\t}),\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'wp-block-editorial-listicle-section-meta' },\n\t\t\t\t\t\t!RichText.isEmpty(aside) && wp.element.createElement(\n\t\t\t\t\t\t\t'aside',\n\t\t\t\t\t\t\t{ className: 'wp-block-editorial-listicle-section-aside' },\n\t\t\t\t\t\t\twp.element.createElement(RichText.Content, {\n\t\t\t\t\t\t\t\ttagName: 'p',\n\t\t\t\t\t\t\t\tvalue: aside\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t),\n\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_4__components_share_tools__[\"b\" /* default */], {\n\t\t\t\t\t\t\tblockProps: props\n\t\t\t\t\t\t})\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\thasRelatedLinks(related) && wp.element.createElement(\n\t\t\t\t\t'footer',\n\t\t\t\t\t{ className: 'wp-block-editorial-listicle-footer' },\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t'h3',\n\t\t\t\t\t\t{ className: 'wp-block-editorial-listicle-footer-title' },\n\t\t\t\t\t\t'Related Stories'\n\t\t\t\t\t),\n\t\t\t\t\twp.element.createElement(RichText.Content, {\n\t\t\t\t\t\ttagName: 'ul',\n\t\t\t\t\t\tclassName: 'wp-block-editorial-listicle-footer-list',\n\t\t\t\t\t\tvalue: related,\n\t\t\t\t\t\tmultiline: 'li'\n\t\t\t\t\t})\n\t\t\t\t)\n\t\t\t)\n\t\t);\n\t}\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNTguanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL2xpc3RpY2xlL2xpc3RpY2xlLmpzP2M5YmUiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIF9jcmVhdGVDbGFzcyA9IGZ1bmN0aW9uICgpIHsgZnVuY3Rpb24gZGVmaW5lUHJvcGVydGllcyh0YXJnZXQsIHByb3BzKSB7IGZvciAodmFyIGkgPSAwOyBpIDwgcHJvcHMubGVuZ3RoOyBpKyspIHsgdmFyIGRlc2NyaXB0b3IgPSBwcm9wc1tpXTsgZGVzY3JpcHRvci5lbnVtZXJhYmxlID0gZGVzY3JpcHRvci5lbnVtZXJhYmxlIHx8IGZhbHNlOyBkZXNjcmlwdG9yLmNvbmZpZ3VyYWJsZSA9IHRydWU7IGlmIChcInZhbHVlXCIgaW4gZGVzY3JpcHRvcikgZGVzY3JpcHRvci53cml0YWJsZSA9IHRydWU7IE9iamVjdC5kZWZpbmVQcm9wZXJ0eSh0YXJnZXQsIGRlc2NyaXB0b3Iua2V5LCBkZXNjcmlwdG9yKTsgfSB9IHJldHVybiBmdW5jdGlvbiAoQ29uc3RydWN0b3IsIHByb3RvUHJvcHMsIHN0YXRpY1Byb3BzKSB7IGlmIChwcm90b1Byb3BzKSBkZWZpbmVQcm9wZXJ0aWVzKENvbnN0cnVjdG9yLnByb3RvdHlwZSwgcHJvdG9Qcm9wcyk7IGlmIChzdGF0a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0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///58\n");
-
-/***/ }),
-/* 59 */
-/*!****************************************!*\
- !*** ./src/blocks/listicle/style.scss ***!
- \****************************************/
-/*! dynamic exports provided */
-/***/ (function(module, exports) {
-
-eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNTkuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL2xpc3RpY2xlL3N0eWxlLnNjc3M/ZTkwYiJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyByZW1vdmVkIGJ5IGV4dHJhY3QtdGV4dC13ZWJwYWNrLXBsdWdpblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vc3JjL2Jsb2Nrcy9saXN0aWNsZS9zdHlsZS5zY3NzXG4vLyBtb2R1bGUgaWQgPSA1OVxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///59\n");
-
-/***/ }),
-/* 60 */
-/*!*****************************************!*\
- !*** ./src/blocks/listicle/editor.scss ***!
- \*****************************************/
-/*! dynamic exports provided */
-/***/ (function(module, exports) {
-
-eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNjAuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL2xpc3RpY2xlL2VkaXRvci5zY3NzPzYyZmUiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gcmVtb3ZlZCBieSBleHRyYWN0LXRleHQtd2VicGFjay1wbHVnaW5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9ibG9ja3MvbGlzdGljbGUvZWRpdG9yLnNjc3Ncbi8vIG1vZHVsZSBpZCA9IDYwXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJtYXBwaW5ncyI6IkFBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///60\n");
-
-/***/ }),
-/* 61 */
-/*!*********************************************!*\
- !*** ./src/components/share-tools/index.js ***!
- \*********************************************/
-/*! exports provided: ShareToolsAttributes, default */
-/*! exports used: ShareToolsAttributes, default */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-eval("/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"a\", function() { return ShareToolsAttributes; });\n/**\n * Component: background\n *\n * An absraction of the default Cover block for more general use inside blocks.\n *\n * Import this component and its attributes into a block with:\n * \t`import ShareTools, { ShareToolsAttributes } from '../../components/share-tools';`\n */\n\n// WordPress dependencies.\nvar __ = wp.i18n.__;\nvar Fragment = wp.element.Fragment;\nvar _wp$components = wp.components,\n PanelBody = _wp$components.PanelBody,\n ToggleControl = _wp$components.ToggleControl;\n\nvar _ref = 'undefined' === typeof wp.blockEditor ? wp.editor : wp.blockEditor,\n InspectorControls = _ref.InspectorControls;\n\n// Share tools attributes.\n\n\nvar ShareToolsAttributes = {\n\tshareToolsDisabled: {\n\t\ttype: 'boolean',\n\t\tdefault: false\n\t}\n};\n\n/**\n * The Share Tools component.\n *\n * @param {array} props The properties passed to the component.\n */\nfunction ShareTools(props) {\n\t// Get the properties of this component.\n\tvar blockProps = props.blockProps;\n\n\t// Get the properties of the block using this component.\n\n\tvar attributes = blockProps.attributes,\n\t setAttributes = blockProps.setAttributes;\n\n\t// Get the attributes for handling the background data.\n\n\tvar shareToolsDisabled = attributes.shareToolsDisabled;\n\n\t// Return the interface for the background component.\n\n\treturn wp.element.createElement(\n\t\tFragment,\n\t\tnull,\n\t\twp.element.createElement(\n\t\t\tInspectorControls,\n\t\t\tnull,\n\t\t\twp.element.createElement(\n\t\t\t\tPanelBody,\n\t\t\t\t{ title: __('Sharing Options') },\n\t\t\t\twp.element.createElement(ToggleControl, {\n\t\t\t\t\tlabel: __('Disable Share Tools'),\n\t\t\t\t\tchecked: shareToolsDisabled,\n\t\t\t\t\tonChange: function onChange() {\n\t\t\t\t\t\treturn setAttributes({ shareToolsDisabled: !shareToolsDisabled });\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t)\n\t\t),\n\t\t!shareToolsDisabled && wp.element.createElement(\n\t\t\t'p',\n\t\t\t{ className: 'wp-blocks-components-share-tools' },\n\t\t\twp.element.createElement(\n\t\t\t\t'a',\n\t\t\t\t{ href: '#', className: 'icon-action' },\n\t\t\t\t__('Share this')\n\t\t\t)\n\t\t)\n\t);\n}\n\n// Export attributes for easy importing in blocks.\n\n\n// Export the share tools control panel.\n/* harmony default export */ __webpack_exports__[\"b\"] = (ShareTools);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNjEuan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Ly8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9zcmMvY29tcG9uZW50cy9zaGFyZS10b29scy9pbmRleC5qc1xuLy8gbW9kdWxlIGlkID0gNjFcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///61\n");
-
-/***/ }),
-/* 62 */
-/*!*************************************************!*\
- !*** ./src/blocks/clicktotweet/clicktotweet.js ***!
- \*************************************************/
-/*! no exports provided */
-/***/ (function(module, __webpack_exports__, __webpack_require__) {
-
-"use strict";
-eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss__ = __webpack_require__(/*! ./style.scss */ 63);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__style_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 64);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__editor_scss__);\n/**\n * BLOCK: bu/clicktotweet\n *\n * Registers a Click to Tweet block.\n */\n\n// External dependencies.\n\n\n// Import CSS.\n\n\n\n// WordPress dependencies.\nvar __ = wp.i18n.__;\nvar Fragment = wp.element.Fragment;\nvar withSelect = wp.data.withSelect;\nvar _wp$compose = wp.compose,\n compose = _wp$compose.compose,\n ifCondition = _wp$compose.ifCondition;\nvar _wp$richText = wp.richText,\n registerFormatType = _wp$richText.registerFormatType,\n toggleFormat = _wp$richText.toggleFormat;\n\nvar _ref = 'undefined' === typeof wp.blockEditor ? wp.editor : wp.blockEditor,\n RichTextShortcut = _ref.RichTextShortcut,\n RichTextToolbarButton = _ref.RichTextToolbarButton;\n\nvar createHigherOrderComponent = wp.compose.createHigherOrderComponent;\nvar addFilter = wp.hooks.addFilter;\n\n// Define the format name.\n\nvar name = 'bu/clicktotweet-highlight';\n\n// Define the opening markup for Click to Tweet content.\nvar clickToTweetContainer = '