} // If a function is passed as a child, provide it with the fillProps.
if (Object(external_lodash_["isFunction"])(children)) {
children = children(slot.props.fillProps);
return Object(external_wp_element_["createPortal"])(children, slot.node);
var fill_Fill = function Fill(props) {
return Object(external_wp_element_["createElement"])(context["a" /* Consumer */], null, function (_ref2) {
var registerFill = _ref2.registerFill,
unregisterFill = _ref2.unregisterFill;
return Object(external_wp_element_["createElement"])(fill_FillComponent, Object(esm_extends["a" /* default */])({}, props, {
registerFill: registerFill,
unregisterFill: unregisterFill
/* harmony default export */ var slot_fill_fill = (fill_Fill);
// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/bubbles-virtually/slot-fill-context.js
var slot_fill_context = __webpack_require__("JYkG");
// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/bubbles-virtually/slot.js
function bubbles_virtually_slot_Slot(_ref) {
_ref$fillProps = _ref.fillProps,
fillProps = _ref$fillProps === void 0 ? {} : _ref$fillProps,
Component = _ref$as === void 0 ? 'div' : _ref$as,
props = Object(objectWithoutProperties["a" /* default */])(_ref, ["name", "fillProps", "as"]);
var registry = Object(external_wp_element_["useContext"])(slot_fill_context["a" /* default */]);
var ref = Object(external_wp_element_["useRef"])();
Object(external_wp_element_["useLayoutEffect"])(function () {
registry.registerSlot(name, ref, fillProps);
registry.unregisterSlot(name, ref);
}; // We are not including fillProps in the deps because we don't want to
// unregister and register the slot whenever fillProps change, which would
// cause the fill to be re-mounted. We are only considering the initial value
}, [registry.registerSlot, registry.unregisterSlot, name]); // fillProps may be an update that interacts with the layout, so we
Object(external_wp_element_["useLayoutEffect"])(function () {
registry.updateSlot(name, fillProps);
return Object(external_wp_element_["createElement"])(Component, Object(esm_extends["a" /* default */])({
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules
var slicedToArray = __webpack_require__("ODXe");
// EXTERNAL MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/bubbles-virtually/use-slot.js
var use_slot = __webpack_require__("+WFq");
// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/bubbles-virtually/fill.js
function useForceUpdate() {
var _useState = Object(external_wp_element_["useState"])({}),
_useState2 = Object(slicedToArray["a" /* default */])(_useState, 2),
setState = _useState2[1];
function bubbles_virtually_fill_Fill(_ref) {
children = _ref.children;
var slot = Object(use_slot["a" /* default */])(name);
var ref = Object(external_wp_element_["useRef"])({
rerender: useForceUpdate()
Object(external_wp_element_["useEffect"])(function () {
// We register fills so we can keep track of their existance.
// Some Slot implementations need to know if there're already fills
// registered so they can choose to render themselves or not.
slot.unregisterFill(ref);
}, [slot.registerFill, slot.unregisterFill]);
if (!slot.ref || !slot.ref.current) {
if (typeof children === 'function') {
children = children(slot.fillProps);
return Object(external_wp_element_["createPortal"])(children, slot.ref.current);
// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/slot-fill/index.js
function slot_fill_Slot(_ref) {
var bubblesVirtually = _ref.bubblesVirtually,
props = Object(objectWithoutProperties["a" /* default */])(_ref, ["bubblesVirtually"]);
return Object(external_wp_element_["createElement"])(bubbles_virtually_slot_Slot, props);
return Object(external_wp_element_["createElement"])(slot_fill_slot, props);
function slot_fill_Fill(props) {
// We're adding both Fills here so they can register themselves before
// their respective slot has been registered. Only the Fill that has a slot
// will render. The other one will return null.
return Object(external_wp_element_["createElement"])(external_wp_element_["Fragment"], null, Object(external_wp_element_["createElement"])(slot_fill_fill, props), Object(external_wp_element_["createElement"])(bubbles_virtually_fill_Fill, props));
function createSlotFill(name) {
var FillComponent = function FillComponent(props) {
return Object(external_wp_element_["createElement"])(slot_fill_Fill, Object(esm_extends["a" /* default */])({
FillComponent.displayName = name + 'Fill';
var SlotComponent = function SlotComponent(props) {
return Object(external_wp_element_["createElement"])(slot_fill_Slot, Object(esm_extends["a" /* default */])({
SlotComponent.displayName = name + 'Slot';
/***/ (function(module, exports, __webpack_require__) {
var ES5ToInteger = __webpack_require__("Wfh+");
var ToNumber = __webpack_require__("xCFm");
// https://ecma-international.org/ecma-262/11.0/#sec-tointeger
module.exports = function ToInteger(value) {
var number = ToNumber(value);
number = ES5ToInteger(number);
return number === 0 ? 0 : number;
/***/ (function(module, __webpack_exports__, __webpack_require__) {
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return fireEvent; });
/* harmony import */ var _createEvent_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("roOW");
* Creates and dispatches `Event` in a way that also works on IE 11.
* import { fireEvent } from "reakit-utils";
* fireEvent(document.getElementById("id"), "blur", {
function fireEvent(element, type, eventInit) {
return element.dispatchEvent(Object(_createEvent_js__WEBPACK_IMPORTED_MODULE_0__[/* createEvent */ "a"])(element, type, eventInit));
/***/ (function(module, exports) {
(function() { module.exports = window["regeneratorRuntime"]; }());
/***/ (function(module, exports, __webpack_require__) {
var has = __webpack_require__("oNNP");
var GetIntrinsic = __webpack_require__("AM7I");
var $TypeError = GetIntrinsic('%TypeError%');
var Type = __webpack_require__("V1cy");
var ToBoolean = __webpack_require__("kvlw");
var IsCallable = __webpack_require__("agUq");
// https://ecma-international.org/ecma-262/5.1/#sec-8.10.5
module.exports = function ToPropertyDescriptor(Obj) {
if (Type(Obj) !== 'Object') {
throw new $TypeError('ToPropertyDescriptor requires an object');
if (has(Obj, 'enumerable')) {
desc['[[Enumerable]]'] = ToBoolean(Obj.enumerable);
if (has(Obj, 'configurable')) {
desc['[[Configurable]]'] = ToBoolean(Obj.configurable);
desc['[[Value]]'] = Obj.value;
if (has(Obj, 'writable')) {
desc['[[Writable]]'] = ToBoolean(Obj.writable);
if (typeof getter !== 'undefined' && !IsCallable(getter)) {
throw new $TypeError('getter must be a function');
desc['[[Get]]'] = getter;
if (typeof setter !== 'undefined' && !IsCallable(setter)) {
throw new $TypeError('setter must be a function');
desc['[[Set]]'] = setter;
if ((has(desc, '[[Get]]') || has(desc, '[[Set]]')) && (has(desc, '[[Value]]') || has(desc, '[[Writable]]'))) {
throw new $TypeError('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
/***/ (function(module, exports, __webpack_require__) {
var GetIntrinsic = __webpack_require__("AM7I");
var $TypeError = GetIntrinsic('%TypeError%');
var isPropertyDescriptor = __webpack_require__("Qmvf");
var DefineOwnProperty = __webpack_require__("wTIp");
var FromPropertyDescriptor = __webpack_require__("zYbv");
var IsAccessorDescriptor = __webpack_require__("z3X9");
var IsDataDescriptor = __webpack_require__("CGNl");
var IsPropertyKey = __webpack_require__("i10q");
var SameValue = __webpack_require__("HI8u");
var ToPropertyDescriptor = __webpack_require__("eBsn");
var Type = __webpack_require__("V1cy");
// https://ecma-international.org/ecma-262/6.0/#sec-definepropertyorthrow
module.exports = function DefinePropertyOrThrow(O, P, desc) {
if (Type(O) !== 'Object') {
throw new $TypeError('Assertion failed: Type(O) is not Object');
throw new $TypeError('Assertion failed: IsPropertyKey(P) is not true');
var Desc = isPropertyDescriptor({
IsDataDescriptor: IsDataDescriptor,
IsAccessorDescriptor: IsAccessorDescriptor
}, desc) ? desc : ToPropertyDescriptor(desc);
if (!isPropertyDescriptor({
IsDataDescriptor: IsDataDescriptor,
IsAccessorDescriptor: IsAccessorDescriptor
throw new $TypeError('Assertion failed: Desc is not a valid Property Descriptor');
return DefineOwnProperty(
/***/ (function(module, __webpack_exports__, __webpack_require__) {
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isSelfTarget; });
* Returns `true` if `event.target` and `event.currentTarget` are the same.
function isSelfTarget(event) {
return event.target === event.currentTarget;
/***/ (function(module, exports, __webpack_require__) {
var GetIntrinsic = __webpack_require__("AM7I");
var callBound = __webpack_require__("EXo9");
var $apply = GetIntrinsic('%Reflect.apply%', true) || callBound('%Function.prototype.apply%');
// https://ecma-international.org/ecma-262/6.0/#sec-call
module.exports = function Call(F, V) {
var args = arguments.length > 2 ? arguments[2] : [];
return $apply(F, V, args);
/***/ (function(module, __webpack_exports__, __webpack_require__) {
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _getPrototypeOf; });
function _getPrototypeOf(o) {
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
return o.__proto__ || Object.getPrototypeOf(o);
return _getPrototypeOf(o);
/***/ (function(module, exports) {
(function() { module.exports = window["wp"]["hooks"]; }());
/***/ (function(module, __webpack_exports__, __webpack_require__) {
var weakMemoize = function weakMemoize(func) {
// $FlowFixMe flow doesn't include all non-primitive types as allowed for weakmaps
var cache = new WeakMap();
/* unused harmony default export */ var _unused_webpack_default_export = (weakMemoize);
/***/ (function(module, exports, __webpack_require__) {
Object.defineProperty(exports, "__esModule", {
var _react = __webpack_require__("cDcd");
var _react2 = _interopRequireDefault(_react);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
var RightArrow = function () {
function RightArrow(props) {
return _react2['default'].createElement(
_react2['default'].createElement('path', {
d: 'M694.4 242.4l249.1 249.1c11 11 11 21 0 32L694.4 772.7c-5 5-10 7-16 7s-11-2-16-7c-11-11-11-21 0-32l210.1-210.1H67.1c-13 0-23-10-23-23s10-23 23-23h805.4L662.4 274.5c-21-21.1 11-53.1 32-32.1z'
RightArrow.defaultProps = {
exports['default'] = RightArrow;
/***/ (function(module, exports) {
(function() { module.exports = window["wp"]["a11y"]; }());
/***/ (function(module, __webpack_exports__, __webpack_require__) {
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isButton; });
var buttonInputTypes = ["button", "color", "file", "image", "reset", "submit"];
* Checks whether `element` is a native HTML button element.
* import { isButton } from "reakit-utils";