Edit File by line
/home/barbar84/public_h.../wp-inclu.../js/dist
File: block-library.js
this["wp"] = this["wp"] || {}; this["wp"]["blockLibrary"] =
[0] Fix | Delete
/******/ (function(modules) { // webpackBootstrap
[1] Fix | Delete
/******/ // The module cache
[2] Fix | Delete
/******/ var installedModules = {};
[3] Fix | Delete
/******/
[4] Fix | Delete
/******/ // The require function
[5] Fix | Delete
/******/ function __webpack_require__(moduleId) {
[6] Fix | Delete
/******/
[7] Fix | Delete
/******/ // Check if module is in cache
[8] Fix | Delete
/******/ if(installedModules[moduleId]) {
[9] Fix | Delete
/******/ return installedModules[moduleId].exports;
[10] Fix | Delete
/******/ }
[11] Fix | Delete
/******/ // Create a new module (and put it into the cache)
[12] Fix | Delete
/******/ var module = installedModules[moduleId] = {
[13] Fix | Delete
/******/ i: moduleId,
[14] Fix | Delete
/******/ l: false,
[15] Fix | Delete
/******/ exports: {}
[16] Fix | Delete
/******/ };
[17] Fix | Delete
/******/
[18] Fix | Delete
/******/ // Execute the module function
[19] Fix | Delete
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
[20] Fix | Delete
/******/
[21] Fix | Delete
/******/ // Flag the module as loaded
[22] Fix | Delete
/******/ module.l = true;
[23] Fix | Delete
/******/
[24] Fix | Delete
/******/ // Return the exports of the module
[25] Fix | Delete
/******/ return module.exports;
[26] Fix | Delete
/******/ }
[27] Fix | Delete
/******/
[28] Fix | Delete
/******/
[29] Fix | Delete
/******/ // expose the modules object (__webpack_modules__)
[30] Fix | Delete
/******/ __webpack_require__.m = modules;
[31] Fix | Delete
/******/
[32] Fix | Delete
/******/ // expose the module cache
[33] Fix | Delete
/******/ __webpack_require__.c = installedModules;
[34] Fix | Delete
/******/
[35] Fix | Delete
/******/ // define getter function for harmony exports
[36] Fix | Delete
/******/ __webpack_require__.d = function(exports, name, getter) {
[37] Fix | Delete
/******/ if(!__webpack_require__.o(exports, name)) {
[38] Fix | Delete
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
[39] Fix | Delete
/******/ }
[40] Fix | Delete
/******/ };
[41] Fix | Delete
/******/
[42] Fix | Delete
/******/ // define __esModule on exports
[43] Fix | Delete
/******/ __webpack_require__.r = function(exports) {
[44] Fix | Delete
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
[45] Fix | Delete
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
[46] Fix | Delete
/******/ }
[47] Fix | Delete
/******/ Object.defineProperty(exports, '__esModule', { value: true });
[48] Fix | Delete
/******/ };
[49] Fix | Delete
/******/
[50] Fix | Delete
/******/ // create a fake namespace object
[51] Fix | Delete
/******/ // mode & 1: value is a module id, require it
[52] Fix | Delete
/******/ // mode & 2: merge all properties of value into the ns
[53] Fix | Delete
/******/ // mode & 4: return value when already ns object
[54] Fix | Delete
/******/ // mode & 8|1: behave like require
[55] Fix | Delete
/******/ __webpack_require__.t = function(value, mode) {
[56] Fix | Delete
/******/ if(mode & 1) value = __webpack_require__(value);
[57] Fix | Delete
/******/ if(mode & 8) return value;
[58] Fix | Delete
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
[59] Fix | Delete
/******/ var ns = Object.create(null);
[60] Fix | Delete
/******/ __webpack_require__.r(ns);
[61] Fix | Delete
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
[62] Fix | Delete
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
[63] Fix | Delete
/******/ return ns;
[64] Fix | Delete
/******/ };
[65] Fix | Delete
/******/
[66] Fix | Delete
/******/ // getDefaultExport function for compatibility with non-harmony modules
[67] Fix | Delete
/******/ __webpack_require__.n = function(module) {
[68] Fix | Delete
/******/ var getter = module && module.__esModule ?
[69] Fix | Delete
/******/ function getDefault() { return module['default']; } :
[70] Fix | Delete
/******/ function getModuleExports() { return module; };
[71] Fix | Delete
/******/ __webpack_require__.d(getter, 'a', getter);
[72] Fix | Delete
/******/ return getter;
[73] Fix | Delete
/******/ };
[74] Fix | Delete
/******/
[75] Fix | Delete
/******/ // Object.prototype.hasOwnProperty.call
[76] Fix | Delete
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
[77] Fix | Delete
/******/
[78] Fix | Delete
/******/ // __webpack_public_path__
[79] Fix | Delete
/******/ __webpack_require__.p = "";
[80] Fix | Delete
/******/
[81] Fix | Delete
/******/
[82] Fix | Delete
/******/ // Load entry module and return exports
[83] Fix | Delete
/******/ return __webpack_require__(__webpack_require__.s = "K51g");
[84] Fix | Delete
/******/ })
[85] Fix | Delete
/************************************************************************/
[86] Fix | Delete
/******/ ({
[87] Fix | Delete
[88] Fix | Delete
/***/ "1CF3":
[89] Fix | Delete
/***/ (function(module, exports) {
[90] Fix | Delete
[91] Fix | Delete
(function() { module.exports = window["wp"]["dom"]; }());
[92] Fix | Delete
[93] Fix | Delete
/***/ }),
[94] Fix | Delete
[95] Fix | Delete
/***/ "1K8p":
[96] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[97] Fix | Delete
[98] Fix | Delete
"use strict";
[99] Fix | Delete
/**
[100] Fix | Delete
* Copyright (c) 2015, Facebook, Inc.
[101] Fix | Delete
* All rights reserved.
[102] Fix | Delete
*
[103] Fix | Delete
* This source code is licensed under the BSD-style license found in the
[104] Fix | Delete
* LICENSE file in the root directory of this source tree. An additional grant
[105] Fix | Delete
* of patent rights can be found in the PATENTS file in the same directory.
[106] Fix | Delete
*
[107] Fix | Delete
* @providesModule normalizeWheel
[108] Fix | Delete
* @typechecks
[109] Fix | Delete
*/
[110] Fix | Delete
[111] Fix | Delete
[112] Fix | Delete
[113] Fix | Delete
var UserAgent_DEPRECATED = __webpack_require__("jrfk");
[114] Fix | Delete
[115] Fix | Delete
var isEventSupported = __webpack_require__("ez49");
[116] Fix | Delete
[117] Fix | Delete
[118] Fix | Delete
// Reasonable defaults
[119] Fix | Delete
var PIXEL_STEP = 10;
[120] Fix | Delete
var LINE_HEIGHT = 40;
[121] Fix | Delete
var PAGE_HEIGHT = 800;
[122] Fix | Delete
[123] Fix | Delete
/**
[124] Fix | Delete
* Mouse wheel (and 2-finger trackpad) support on the web sucks. It is
[125] Fix | Delete
* complicated, thus this doc is long and (hopefully) detailed enough to answer
[126] Fix | Delete
* your questions.
[127] Fix | Delete
*
[128] Fix | Delete
* If you need to react to the mouse wheel in a predictable way, this code is
[129] Fix | Delete
* like your bestest friend. * hugs *
[130] Fix | Delete
*
[131] Fix | Delete
* As of today, there are 4 DOM event types you can listen to:
[132] Fix | Delete
*
[133] Fix | Delete
* 'wheel' -- Chrome(31+), FF(17+), IE(9+)
[134] Fix | Delete
* 'mousewheel' -- Chrome, IE(6+), Opera, Safari
[135] Fix | Delete
* 'MozMousePixelScroll' -- FF(3.5 only!) (2010-2013) -- don't bother!
[136] Fix | Delete
* 'DOMMouseScroll' -- FF(0.9.7+) since 2003
[137] Fix | Delete
*
[138] Fix | Delete
* So what to do? The is the best:
[139] Fix | Delete
*
[140] Fix | Delete
* normalizeWheel.getEventType();
[141] Fix | Delete
*
[142] Fix | Delete
* In your event callback, use this code to get sane interpretation of the
[143] Fix | Delete
* deltas. This code will return an object with properties:
[144] Fix | Delete
*
[145] Fix | Delete
* spinX -- normalized spin speed (use for zoom) - x plane
[146] Fix | Delete
* spinY -- " - y plane
[147] Fix | Delete
* pixelX -- normalized distance (to pixels) - x plane
[148] Fix | Delete
* pixelY -- " - y plane
[149] Fix | Delete
*
[150] Fix | Delete
* Wheel values are provided by the browser assuming you are using the wheel to
[151] Fix | Delete
* scroll a web page by a number of lines or pixels (or pages). Values can vary
[152] Fix | Delete
* significantly on different platforms and browsers, forgetting that you can
[153] Fix | Delete
* scroll at different speeds. Some devices (like trackpads) emit more events
[154] Fix | Delete
* at smaller increments with fine granularity, and some emit massive jumps with
[155] Fix | Delete
* linear speed or acceleration.
[156] Fix | Delete
*
[157] Fix | Delete
* This code does its best to normalize the deltas for you:
[158] Fix | Delete
*
[159] Fix | Delete
* - spin is trying to normalize how far the wheel was spun (or trackpad
[160] Fix | Delete
* dragged). This is super useful for zoom support where you want to
[161] Fix | Delete
* throw away the chunky scroll steps on the PC and make those equal to
[162] Fix | Delete
* the slow and smooth tiny steps on the Mac. Key data: This code tries to
[163] Fix | Delete
* resolve a single slow step on a wheel to 1.
[164] Fix | Delete
*
[165] Fix | Delete
* - pixel is normalizing the desired scroll delta in pixel units. You'll
[166] Fix | Delete
* get the crazy differences between browsers, but at least it'll be in
[167] Fix | Delete
* pixels!
[168] Fix | Delete
*
[169] Fix | Delete
* - positive value indicates scrolling DOWN/RIGHT, negative UP/LEFT. This
[170] Fix | Delete
* should translate to positive value zooming IN, negative zooming OUT.
[171] Fix | Delete
* This matches the newer 'wheel' event.
[172] Fix | Delete
*
[173] Fix | Delete
* Why are there spinX, spinY (or pixels)?
[174] Fix | Delete
*
[175] Fix | Delete
* - spinX is a 2-finger side drag on the trackpad, and a shift + wheel turn
[176] Fix | Delete
* with a mouse. It results in side-scrolling in the browser by default.
[177] Fix | Delete
*
[178] Fix | Delete
* - spinY is what you expect -- it's the classic axis of a mouse wheel.
[179] Fix | Delete
*
[180] Fix | Delete
* - I dropped spinZ/pixelZ. It is supported by the DOM 3 'wheel' event and
[181] Fix | Delete
* probably is by browsers in conjunction with fancy 3D controllers .. but
[182] Fix | Delete
* you know.
[183] Fix | Delete
*
[184] Fix | Delete
* Implementation info:
[185] Fix | Delete
*
[186] Fix | Delete
* Examples of 'wheel' event if you scroll slowly (down) by one step with an
[187] Fix | Delete
* average mouse:
[188] Fix | Delete
*
[189] Fix | Delete
* OS X + Chrome (mouse) - 4 pixel delta (wheelDelta -120)
[190] Fix | Delete
* OS X + Safari (mouse) - N/A pixel delta (wheelDelta -12)
[191] Fix | Delete
* OS X + Firefox (mouse) - 0.1 line delta (wheelDelta N/A)
[192] Fix | Delete
* Win8 + Chrome (mouse) - 100 pixel delta (wheelDelta -120)
[193] Fix | Delete
* Win8 + Firefox (mouse) - 3 line delta (wheelDelta -120)
[194] Fix | Delete
*
[195] Fix | Delete
* On the trackpad:
[196] Fix | Delete
*
[197] Fix | Delete
* OS X + Chrome (trackpad) - 2 pixel delta (wheelDelta -6)
[198] Fix | Delete
* OS X + Firefox (trackpad) - 1 pixel delta (wheelDelta N/A)
[199] Fix | Delete
*
[200] Fix | Delete
* On other/older browsers.. it's more complicated as there can be multiple and
[201] Fix | Delete
* also missing delta values.
[202] Fix | Delete
*
[203] Fix | Delete
* The 'wheel' event is more standard:
[204] Fix | Delete
*
[205] Fix | Delete
* http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents
[206] Fix | Delete
*
[207] Fix | Delete
* The basics is that it includes a unit, deltaMode (pixels, lines, pages), and
[208] Fix | Delete
* deltaX, deltaY and deltaZ. Some browsers provide other values to maintain
[209] Fix | Delete
* backward compatibility with older events. Those other values help us
[210] Fix | Delete
* better normalize spin speed. Example of what the browsers provide:
[211] Fix | Delete
*
[212] Fix | Delete
* | event.wheelDelta | event.detail
[213] Fix | Delete
* ------------------+------------------+--------------
[214] Fix | Delete
* Safari v5/OS X | -120 | 0
[215] Fix | Delete
* Safari v5/Win7 | -120 | 0
[216] Fix | Delete
* Chrome v17/OS X | -120 | 0
[217] Fix | Delete
* Chrome v17/Win7 | -120 | 0
[218] Fix | Delete
* IE9/Win7 | -120 | undefined
[219] Fix | Delete
* Firefox v4/OS X | undefined | 1
[220] Fix | Delete
* Firefox v4/Win7 | undefined | 3
[221] Fix | Delete
*
[222] Fix | Delete
*/
[223] Fix | Delete
function normalizeWheel(/*object*/ event) /*object*/ {
[224] Fix | Delete
var sX = 0, sY = 0, // spinX, spinY
[225] Fix | Delete
pX = 0, pY = 0; // pixelX, pixelY
[226] Fix | Delete
[227] Fix | Delete
// Legacy
[228] Fix | Delete
if ('detail' in event) { sY = event.detail; }
[229] Fix | Delete
if ('wheelDelta' in event) { sY = -event.wheelDelta / 120; }
[230] Fix | Delete
if ('wheelDeltaY' in event) { sY = -event.wheelDeltaY / 120; }
[231] Fix | Delete
if ('wheelDeltaX' in event) { sX = -event.wheelDeltaX / 120; }
[232] Fix | Delete
[233] Fix | Delete
// side scrolling on FF with DOMMouseScroll
[234] Fix | Delete
if ( 'axis' in event && event.axis === event.HORIZONTAL_AXIS ) {
[235] Fix | Delete
sX = sY;
[236] Fix | Delete
sY = 0;
[237] Fix | Delete
}
[238] Fix | Delete
[239] Fix | Delete
pX = sX * PIXEL_STEP;
[240] Fix | Delete
pY = sY * PIXEL_STEP;
[241] Fix | Delete
[242] Fix | Delete
if ('deltaY' in event) { pY = event.deltaY; }
[243] Fix | Delete
if ('deltaX' in event) { pX = event.deltaX; }
[244] Fix | Delete
[245] Fix | Delete
if ((pX || pY) && event.deltaMode) {
[246] Fix | Delete
if (event.deltaMode == 1) { // delta in LINE units
[247] Fix | Delete
pX *= LINE_HEIGHT;
[248] Fix | Delete
pY *= LINE_HEIGHT;
[249] Fix | Delete
} else { // delta in PAGE units
[250] Fix | Delete
pX *= PAGE_HEIGHT;
[251] Fix | Delete
pY *= PAGE_HEIGHT;
[252] Fix | Delete
}
[253] Fix | Delete
}
[254] Fix | Delete
[255] Fix | Delete
// Fall-back if spin cannot be determined
[256] Fix | Delete
if (pX && !sX) { sX = (pX < 1) ? -1 : 1; }
[257] Fix | Delete
if (pY && !sY) { sY = (pY < 1) ? -1 : 1; }
[258] Fix | Delete
[259] Fix | Delete
return { spinX : sX,
[260] Fix | Delete
spinY : sY,
[261] Fix | Delete
pixelX : pX,
[262] Fix | Delete
pixelY : pY };
[263] Fix | Delete
}
[264] Fix | Delete
[265] Fix | Delete
[266] Fix | Delete
/**
[267] Fix | Delete
* The best combination if you prefer spinX + spinY normalization. It favors
[268] Fix | Delete
* the older DOMMouseScroll for Firefox, as FF does not include wheelDelta with
[269] Fix | Delete
* 'wheel' event, making spin speed determination impossible.
[270] Fix | Delete
*/
[271] Fix | Delete
normalizeWheel.getEventType = function() /*string*/ {
[272] Fix | Delete
return (UserAgent_DEPRECATED.firefox())
[273] Fix | Delete
? 'DOMMouseScroll'
[274] Fix | Delete
: (isEventSupported('wheel'))
[275] Fix | Delete
? 'wheel'
[276] Fix | Delete
: 'mousewheel';
[277] Fix | Delete
};
[278] Fix | Delete
[279] Fix | Delete
module.exports = normalizeWheel;
[280] Fix | Delete
[281] Fix | Delete
[282] Fix | Delete
/***/ }),
[283] Fix | Delete
[284] Fix | Delete
/***/ "1OyB":
[285] Fix | Delete
/***/ (function(module, __webpack_exports__, __webpack_require__) {
[286] Fix | Delete
[287] Fix | Delete
"use strict";
[288] Fix | Delete
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _classCallCheck; });
[289] Fix | Delete
function _classCallCheck(instance, Constructor) {
[290] Fix | Delete
if (!(instance instanceof Constructor)) {
[291] Fix | Delete
throw new TypeError("Cannot call a class as a function");
[292] Fix | Delete
}
[293] Fix | Delete
}
[294] Fix | Delete
[295] Fix | Delete
/***/ }),
[296] Fix | Delete
[297] Fix | Delete
/***/ "1Yn1":
[298] Fix | Delete
/***/ (function(module, __webpack_exports__, __webpack_require__) {
[299] Fix | Delete
[300] Fix | Delete
"use strict";
[301] Fix | Delete
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
[302] Fix | Delete
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
[303] Fix | Delete
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
[304] Fix | Delete
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
[305] Fix | Delete
[306] Fix | Delete
[307] Fix | Delete
/**
[308] Fix | Delete
* WordPress dependencies
[309] Fix | Delete
*/
[310] Fix | Delete
[311] Fix | Delete
var code = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
[312] Fix | Delete
viewBox: "0 0 24 24",
[313] Fix | Delete
xmlns: "http://www.w3.org/2000/svg"
[314] Fix | Delete
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
[315] Fix | Delete
d: "M20.8 10.7l-4.3-4.3-1.1 1.1 4.3 4.3c.1.1.1.3 0 .4l-4.3 4.3 1.1 1.1 4.3-4.3c.7-.8.7-1.9 0-2.6zM4.2 11.8l4.3-4.3-1-1-4.3 4.3c-.7.7-.7 1.8 0 2.5l4.3 4.3 1.1-1.1-4.3-4.3c-.2-.1-.2-.3-.1-.4z"
[316] Fix | Delete
}));
[317] Fix | Delete
/* harmony default export */ __webpack_exports__["a"] = (code);
[318] Fix | Delete
[319] Fix | Delete
[320] Fix | Delete
/***/ }),
[321] Fix | Delete
[322] Fix | Delete
/***/ "1ZqX":
[323] Fix | Delete
/***/ (function(module, exports) {
[324] Fix | Delete
[325] Fix | Delete
(function() { module.exports = window["wp"]["data"]; }());
[326] Fix | Delete
[327] Fix | Delete
/***/ }),
[328] Fix | Delete
[329] Fix | Delete
/***/ "1iEr":
[330] Fix | Delete
/***/ (function(module, __webpack_exports__, __webpack_require__) {
[331] Fix | Delete
[332] Fix | Delete
"use strict";
[333] Fix | Delete
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
[334] Fix | Delete
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
[335] Fix | Delete
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
[336] Fix | Delete
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
[337] Fix | Delete
[338] Fix | Delete
[339] Fix | Delete
/**
[340] Fix | Delete
* WordPress dependencies
[341] Fix | Delete
*/
[342] Fix | Delete
[343] Fix | Delete
var chevronRight = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
[344] Fix | Delete
xmlns: "http://www.w3.org/2000/svg",
[345] Fix | Delete
viewBox: "0 0 24 24"
[346] Fix | Delete
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
[347] Fix | Delete
d: "M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"
[348] Fix | Delete
}));
[349] Fix | Delete
/* harmony default export */ __webpack_exports__["a"] = (chevronRight);
[350] Fix | Delete
[351] Fix | Delete
[352] Fix | Delete
/***/ }),
[353] Fix | Delete
[354] Fix | Delete
/***/ "25BE":
[355] Fix | Delete
/***/ (function(module, __webpack_exports__, __webpack_require__) {
[356] Fix | Delete
[357] Fix | Delete
"use strict";
[358] Fix | Delete
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _iterableToArray; });
[359] Fix | Delete
function _iterableToArray(iter) {
[360] Fix | Delete
if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
[361] Fix | Delete
}
[362] Fix | Delete
[363] Fix | Delete
/***/ }),
[364] Fix | Delete
[365] Fix | Delete
/***/ "2gm7":
[366] Fix | Delete
/***/ (function(module, __webpack_exports__, __webpack_require__) {
[367] Fix | Delete
[368] Fix | Delete
"use strict";
[369] Fix | Delete
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("GRId");
[370] Fix | Delete
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
[371] Fix | Delete
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Tqx9");
[372] Fix | Delete
/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
[373] Fix | Delete
[374] Fix | Delete
[375] Fix | Delete
/**
[376] Fix | Delete
* WordPress dependencies
[377] Fix | Delete
*/
[378] Fix | Delete
[379] Fix | Delete
var chevronLeft = Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["SVG"], {
[380] Fix | Delete
xmlns: "http://www.w3.org/2000/svg",
[381] Fix | Delete
viewBox: "0 0 24 24"
[382] Fix | Delete
}, Object(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__["createElement"])(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__["Path"], {
[383] Fix | Delete
d: "M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"
[384] Fix | Delete
}));
[385] Fix | Delete
/* harmony default export */ __webpack_exports__["a"] = (chevronLeft);
[386] Fix | Delete
[387] Fix | Delete
[388] Fix | Delete
/***/ }),
[389] Fix | Delete
[390] Fix | Delete
/***/ "4eJC":
[391] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[392] Fix | Delete
[393] Fix | Delete
/**
[394] Fix | Delete
* Memize options object.
[395] Fix | Delete
*
[396] Fix | Delete
* @typedef MemizeOptions
[397] Fix | Delete
*
[398] Fix | Delete
* @property {number} [maxSize] Maximum size of the cache.
[399] Fix | Delete
*/
[400] Fix | Delete
[401] Fix | Delete
/**
[402] Fix | Delete
* Internal cache entry.
[403] Fix | Delete
*
[404] Fix | Delete
* @typedef MemizeCacheNode
[405] Fix | Delete
*
[406] Fix | Delete
* @property {?MemizeCacheNode|undefined} [prev] Previous node.
[407] Fix | Delete
* @property {?MemizeCacheNode|undefined} [next] Next node.
[408] Fix | Delete
* @property {Array<*>} args Function arguments for cache
[409] Fix | Delete
* entry.
[410] Fix | Delete
* @property {*} val Function result.
[411] Fix | Delete
*/
[412] Fix | Delete
[413] Fix | Delete
/**
[414] Fix | Delete
* Properties of the enhanced function for controlling cache.
[415] Fix | Delete
*
[416] Fix | Delete
* @typedef MemizeMemoizedFunction
[417] Fix | Delete
*
[418] Fix | Delete
* @property {()=>void} clear Clear the cache.
[419] Fix | Delete
*/
[420] Fix | Delete
[421] Fix | Delete
/**
[422] Fix | Delete
* Accepts a function to be memoized, and returns a new memoized function, with
[423] Fix | Delete
* optional options.
[424] Fix | Delete
*
[425] Fix | Delete
* @template {Function} F
[426] Fix | Delete
*
[427] Fix | Delete
* @param {F} fn Function to memoize.
[428] Fix | Delete
* @param {MemizeOptions} [options] Options object.
[429] Fix | Delete
*
[430] Fix | Delete
* @return {F & MemizeMemoizedFunction} Memoized function.
[431] Fix | Delete
*/
[432] Fix | Delete
function memize( fn, options ) {
[433] Fix | Delete
var size = 0;
[434] Fix | Delete
[435] Fix | Delete
/** @type {?MemizeCacheNode|undefined} */
[436] Fix | Delete
var head;
[437] Fix | Delete
[438] Fix | Delete
/** @type {?MemizeCacheNode|undefined} */
[439] Fix | Delete
var tail;
[440] Fix | Delete
[441] Fix | Delete
options = options || {};
[442] Fix | Delete
[443] Fix | Delete
function memoized( /* ...args */ ) {
[444] Fix | Delete
var node = head,
[445] Fix | Delete
len = arguments.length,
[446] Fix | Delete
args, i;
[447] Fix | Delete
[448] Fix | Delete
searchCache: while ( node ) {
[449] Fix | Delete
// Perform a shallow equality test to confirm that whether the node
[450] Fix | Delete
// under test is a candidate for the arguments passed. Two arrays
[451] Fix | Delete
// are shallowly equal if their length matches and each entry is
[452] Fix | Delete
// strictly equal between the two sets. Avoid abstracting to a
[453] Fix | Delete
// function which could incur an arguments leaking deoptimization.
[454] Fix | Delete
[455] Fix | Delete
// Check whether node arguments match arguments length
[456] Fix | Delete
if ( node.args.length !== arguments.length ) {
[457] Fix | Delete
node = node.next;
[458] Fix | Delete
continue;
[459] Fix | Delete
}
[460] Fix | Delete
[461] Fix | Delete
// Check whether node arguments match arguments values
[462] Fix | Delete
for ( i = 0; i < len; i++ ) {
[463] Fix | Delete
if ( node.args[ i ] !== arguments[ i ] ) {
[464] Fix | Delete
node = node.next;
[465] Fix | Delete
continue searchCache;
[466] Fix | Delete
}
[467] Fix | Delete
}
[468] Fix | Delete
[469] Fix | Delete
// At this point we can assume we've found a match
[470] Fix | Delete
[471] Fix | Delete
// Surface matched node to head if not already
[472] Fix | Delete
if ( node !== head ) {
[473] Fix | Delete
// As tail, shift to previous. Must only shift if not also
[474] Fix | Delete
// head, since if both head and tail, there is no previous.
[475] Fix | Delete
if ( node === tail ) {
[476] Fix | Delete
tail = node.prev;
[477] Fix | Delete
}
[478] Fix | Delete
[479] Fix | Delete
// Adjust siblings to point to each other. If node was tail,
[480] Fix | Delete
// this also handles new tail's empty `next` assignment.
[481] Fix | Delete
/** @type {MemizeCacheNode} */ ( node.prev ).next = node.next;
[482] Fix | Delete
if ( node.next ) {
[483] Fix | Delete
node.next.prev = node.prev;
[484] Fix | Delete
}
[485] Fix | Delete
[486] Fix | Delete
node.next = head;
[487] Fix | Delete
node.prev = null;
[488] Fix | Delete
/** @type {MemizeCacheNode} */ ( head ).prev = node;
[489] Fix | Delete
head = node;
[490] Fix | Delete
}
[491] Fix | Delete
[492] Fix | Delete
// Return immediately
[493] Fix | Delete
return node.val;
[494] Fix | Delete
}
[495] Fix | Delete
[496] Fix | Delete
// No cached value found. Continue to insertion phase:
[497] Fix | Delete
[498] Fix | Delete
// Create a copy of arguments (avoid leaking deoptimization)
[499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function