Edit File by line
/home/barbar84/public_h.../wp-inclu.../js/dist
File: primitives.js
this["wp"] = this["wp"] || {}; this["wp"]["primitives"] =
[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 = "G8AQ");
[84] Fix | Delete
/******/ })
[85] Fix | Delete
/************************************************************************/
[86] Fix | Delete
/******/ ({
[87] Fix | Delete
[88] Fix | Delete
/***/ "Ff2n":
[89] Fix | Delete
/***/ (function(module, __webpack_exports__, __webpack_require__) {
[90] Fix | Delete
[91] Fix | Delete
"use strict";
[92] Fix | Delete
[93] Fix | Delete
// EXPORTS
[94] Fix | Delete
__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ _objectWithoutProperties; });
[95] Fix | Delete
[96] Fix | Delete
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
[97] Fix | Delete
function _objectWithoutPropertiesLoose(source, excluded) {
[98] Fix | Delete
if (source == null) return {};
[99] Fix | Delete
var target = {};
[100] Fix | Delete
var sourceKeys = Object.keys(source);
[101] Fix | Delete
var key, i;
[102] Fix | Delete
[103] Fix | Delete
for (i = 0; i < sourceKeys.length; i++) {
[104] Fix | Delete
key = sourceKeys[i];
[105] Fix | Delete
if (excluded.indexOf(key) >= 0) continue;
[106] Fix | Delete
target[key] = source[key];
[107] Fix | Delete
}
[108] Fix | Delete
[109] Fix | Delete
return target;
[110] Fix | Delete
}
[111] Fix | Delete
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
[112] Fix | Delete
[113] Fix | Delete
function _objectWithoutProperties(source, excluded) {
[114] Fix | Delete
if (source == null) return {};
[115] Fix | Delete
var target = _objectWithoutPropertiesLoose(source, excluded);
[116] Fix | Delete
var key, i;
[117] Fix | Delete
[118] Fix | Delete
if (Object.getOwnPropertySymbols) {
[119] Fix | Delete
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
[120] Fix | Delete
[121] Fix | Delete
for (i = 0; i < sourceSymbolKeys.length; i++) {
[122] Fix | Delete
key = sourceSymbolKeys[i];
[123] Fix | Delete
if (excluded.indexOf(key) >= 0) continue;
[124] Fix | Delete
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
[125] Fix | Delete
target[key] = source[key];
[126] Fix | Delete
}
[127] Fix | Delete
}
[128] Fix | Delete
[129] Fix | Delete
return target;
[130] Fix | Delete
}
[131] Fix | Delete
[132] Fix | Delete
/***/ }),
[133] Fix | Delete
[134] Fix | Delete
/***/ "G8AQ":
[135] Fix | Delete
/***/ (function(module, __webpack_exports__, __webpack_require__) {
[136] Fix | Delete
[137] Fix | Delete
"use strict";
[138] Fix | Delete
// ESM COMPAT FLAG
[139] Fix | Delete
__webpack_require__.r(__webpack_exports__);
[140] Fix | Delete
[141] Fix | Delete
// EXPORTS
[142] Fix | Delete
__webpack_require__.d(__webpack_exports__, "Circle", function() { return /* reexport */ svg_Circle; });
[143] Fix | Delete
__webpack_require__.d(__webpack_exports__, "G", function() { return /* reexport */ svg_G; });
[144] Fix | Delete
__webpack_require__.d(__webpack_exports__, "Path", function() { return /* reexport */ svg_Path; });
[145] Fix | Delete
__webpack_require__.d(__webpack_exports__, "Polygon", function() { return /* reexport */ svg_Polygon; });
[146] Fix | Delete
__webpack_require__.d(__webpack_exports__, "Rect", function() { return /* reexport */ svg_Rect; });
[147] Fix | Delete
__webpack_require__.d(__webpack_exports__, "Defs", function() { return /* reexport */ svg_Defs; });
[148] Fix | Delete
__webpack_require__.d(__webpack_exports__, "RadialGradient", function() { return /* reexport */ svg_RadialGradient; });
[149] Fix | Delete
__webpack_require__.d(__webpack_exports__, "LinearGradient", function() { return /* reexport */ svg_LinearGradient; });
[150] Fix | Delete
__webpack_require__.d(__webpack_exports__, "Stop", function() { return /* reexport */ svg_Stop; });
[151] Fix | Delete
__webpack_require__.d(__webpack_exports__, "SVG", function() { return /* reexport */ svg_SVG; });
[152] Fix | Delete
__webpack_require__.d(__webpack_exports__, "HorizontalRule", function() { return /* reexport */ HorizontalRule; });
[153] Fix | Delete
__webpack_require__.d(__webpack_exports__, "BlockQuotation", function() { return /* reexport */ BlockQuotation; });
[154] Fix | Delete
__webpack_require__.d(__webpack_exports__, "View", function() { return /* reexport */ View; });
[155] Fix | Delete
[156] Fix | Delete
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
[157] Fix | Delete
var defineProperty = __webpack_require__("rePB");
[158] Fix | Delete
[159] Fix | Delete
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js + 1 modules
[160] Fix | Delete
var objectWithoutProperties = __webpack_require__("Ff2n");
[161] Fix | Delete
[162] Fix | Delete
// EXTERNAL MODULE: ./node_modules/classnames/index.js
[163] Fix | Delete
var classnames = __webpack_require__("TSYQ");
[164] Fix | Delete
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
[165] Fix | Delete
[166] Fix | Delete
// EXTERNAL MODULE: external ["wp","element"]
[167] Fix | Delete
var external_wp_element_ = __webpack_require__("GRId");
[168] Fix | Delete
[169] Fix | Delete
// CONCATENATED MODULE: ./node_modules/@wordpress/primitives/build-module/svg/index.js
[170] Fix | Delete
[171] Fix | Delete
[172] Fix | Delete
[173] Fix | Delete
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
[174] Fix | Delete
[175] Fix | Delete
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { Object(defineProperty["a" /* default */])(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
[176] Fix | Delete
[177] Fix | Delete
/**
[178] Fix | Delete
* External dependencies
[179] Fix | Delete
*/
[180] Fix | Delete
[181] Fix | Delete
/**
[182] Fix | Delete
* WordPress dependencies
[183] Fix | Delete
*/
[184] Fix | Delete
[185] Fix | Delete
[186] Fix | Delete
/** @typedef {{isPressed?: boolean} & import('react').ComponentPropsWithoutRef<'svg'>} SVGProps */
[187] Fix | Delete
[188] Fix | Delete
/**
[189] Fix | Delete
* @param {import('react').ComponentPropsWithoutRef<'circle'>} props
[190] Fix | Delete
*
[191] Fix | Delete
* @return {JSX.Element} Circle component
[192] Fix | Delete
*/
[193] Fix | Delete
[194] Fix | Delete
var svg_Circle = function Circle(props) {
[195] Fix | Delete
return Object(external_wp_element_["createElement"])('circle', props);
[196] Fix | Delete
};
[197] Fix | Delete
/**
[198] Fix | Delete
* @param {import('react').ComponentPropsWithoutRef<'g'>} props
[199] Fix | Delete
*
[200] Fix | Delete
* @return {JSX.Element} G component
[201] Fix | Delete
*/
[202] Fix | Delete
[203] Fix | Delete
var svg_G = function G(props) {
[204] Fix | Delete
return Object(external_wp_element_["createElement"])('g', props);
[205] Fix | Delete
};
[206] Fix | Delete
/**
[207] Fix | Delete
* @param {import('react').ComponentPropsWithoutRef<'path'>} props
[208] Fix | Delete
*
[209] Fix | Delete
* @return {JSX.Element} Path component
[210] Fix | Delete
*/
[211] Fix | Delete
[212] Fix | Delete
var svg_Path = function Path(props) {
[213] Fix | Delete
return Object(external_wp_element_["createElement"])('path', props);
[214] Fix | Delete
};
[215] Fix | Delete
/**
[216] Fix | Delete
* @param {import('react').ComponentPropsWithoutRef<'polygon'>} props
[217] Fix | Delete
*
[218] Fix | Delete
* @return {JSX.Element} Polygon component
[219] Fix | Delete
*/
[220] Fix | Delete
[221] Fix | Delete
var svg_Polygon = function Polygon(props) {
[222] Fix | Delete
return Object(external_wp_element_["createElement"])('polygon', props);
[223] Fix | Delete
};
[224] Fix | Delete
/**
[225] Fix | Delete
* @param {import('react').ComponentPropsWithoutRef<'rect'>} props
[226] Fix | Delete
*
[227] Fix | Delete
* @return {JSX.Element} Rect component
[228] Fix | Delete
*/
[229] Fix | Delete
[230] Fix | Delete
var svg_Rect = function Rect(props) {
[231] Fix | Delete
return Object(external_wp_element_["createElement"])('rect', props);
[232] Fix | Delete
};
[233] Fix | Delete
/**
[234] Fix | Delete
* @param {import('react').ComponentPropsWithoutRef<'defs'>} props
[235] Fix | Delete
*
[236] Fix | Delete
* @return {JSX.Element} Defs component
[237] Fix | Delete
*/
[238] Fix | Delete
[239] Fix | Delete
var svg_Defs = function Defs(props) {
[240] Fix | Delete
return Object(external_wp_element_["createElement"])('defs', props);
[241] Fix | Delete
};
[242] Fix | Delete
/**
[243] Fix | Delete
* @param {import('react').ComponentPropsWithoutRef<'radialGradient'>} props
[244] Fix | Delete
*
[245] Fix | Delete
* @return {JSX.Element} RadialGradient component
[246] Fix | Delete
*/
[247] Fix | Delete
[248] Fix | Delete
var svg_RadialGradient = function RadialGradient(props) {
[249] Fix | Delete
return Object(external_wp_element_["createElement"])('radialGradient', props);
[250] Fix | Delete
};
[251] Fix | Delete
/**
[252] Fix | Delete
* @param {import('react').ComponentPropsWithoutRef<'linearGradient'>} props
[253] Fix | Delete
*
[254] Fix | Delete
* @return {JSX.Element} LinearGradient component
[255] Fix | Delete
*/
[256] Fix | Delete
[257] Fix | Delete
var svg_LinearGradient = function LinearGradient(props) {
[258] Fix | Delete
return Object(external_wp_element_["createElement"])('linearGradient', props);
[259] Fix | Delete
};
[260] Fix | Delete
/**
[261] Fix | Delete
* @param {import('react').ComponentPropsWithoutRef<'stop'>} props
[262] Fix | Delete
*
[263] Fix | Delete
* @return {JSX.Element} Stop component
[264] Fix | Delete
*/
[265] Fix | Delete
[266] Fix | Delete
var svg_Stop = function Stop(props) {
[267] Fix | Delete
return Object(external_wp_element_["createElement"])('stop', props);
[268] Fix | Delete
};
[269] Fix | Delete
/**
[270] Fix | Delete
*
[271] Fix | Delete
* @param {SVGProps} props isPressed indicates whether the SVG should appear as pressed.
[272] Fix | Delete
* Other props will be passed through to svg component.
[273] Fix | Delete
*
[274] Fix | Delete
* @return {JSX.Element} Stop component
[275] Fix | Delete
*/
[276] Fix | Delete
[277] Fix | Delete
var svg_SVG = function SVG(_ref) {
[278] Fix | Delete
var className = _ref.className,
[279] Fix | Delete
isPressed = _ref.isPressed,
[280] Fix | Delete
props = Object(objectWithoutProperties["a" /* default */])(_ref, ["className", "isPressed"]);
[281] Fix | Delete
[282] Fix | Delete
var appliedProps = _objectSpread(_objectSpread({}, props), {}, {
[283] Fix | Delete
className: classnames_default()(className, {
[284] Fix | Delete
'is-pressed': isPressed
[285] Fix | Delete
}) || undefined,
[286] Fix | Delete
role: 'img',
[287] Fix | Delete
'aria-hidden': true,
[288] Fix | Delete
focusable: false
[289] Fix | Delete
}); // Disable reason: We need to have a way to render HTML tag for web.
[290] Fix | Delete
// eslint-disable-next-line react/forbid-elements
[291] Fix | Delete
[292] Fix | Delete
[293] Fix | Delete
return Object(external_wp_element_["createElement"])("svg", appliedProps);
[294] Fix | Delete
};
[295] Fix | Delete
[296] Fix | Delete
// CONCATENATED MODULE: ./node_modules/@wordpress/primitives/build-module/horizontal-rule/index.js
[297] Fix | Delete
var HorizontalRule = 'hr';
[298] Fix | Delete
[299] Fix | Delete
// CONCATENATED MODULE: ./node_modules/@wordpress/primitives/build-module/block-quotation/index.js
[300] Fix | Delete
var BlockQuotation = 'blockquote';
[301] Fix | Delete
[302] Fix | Delete
// CONCATENATED MODULE: ./node_modules/@wordpress/primitives/build-module/view/index.js
[303] Fix | Delete
var View = 'div';
[304] Fix | Delete
[305] Fix | Delete
// CONCATENATED MODULE: ./node_modules/@wordpress/primitives/build-module/index.js
[306] Fix | Delete
[307] Fix | Delete
[308] Fix | Delete
[309] Fix | Delete
[310] Fix | Delete
[311] Fix | Delete
[312] Fix | Delete
/***/ }),
[313] Fix | Delete
[314] Fix | Delete
/***/ "GRId":
[315] Fix | Delete
/***/ (function(module, exports) {
[316] Fix | Delete
[317] Fix | Delete
(function() { module.exports = window["wp"]["element"]; }());
[318] Fix | Delete
[319] Fix | Delete
/***/ }),
[320] Fix | Delete
[321] Fix | Delete
/***/ "TSYQ":
[322] Fix | Delete
/***/ (function(module, exports, __webpack_require__) {
[323] Fix | Delete
[324] Fix | Delete
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
[325] Fix | Delete
Copyright (c) 2017 Jed Watson.
[326] Fix | Delete
Licensed under the MIT License (MIT), see
[327] Fix | Delete
http://jedwatson.github.io/classnames
[328] Fix | Delete
*/
[329] Fix | Delete
/* global define */
[330] Fix | Delete
[331] Fix | Delete
(function () {
[332] Fix | Delete
'use strict';
[333] Fix | Delete
[334] Fix | Delete
var hasOwn = {}.hasOwnProperty;
[335] Fix | Delete
[336] Fix | Delete
function classNames () {
[337] Fix | Delete
var classes = [];
[338] Fix | Delete
[339] Fix | Delete
for (var i = 0; i < arguments.length; i++) {
[340] Fix | Delete
var arg = arguments[i];
[341] Fix | Delete
if (!arg) continue;
[342] Fix | Delete
[343] Fix | Delete
var argType = typeof arg;
[344] Fix | Delete
[345] Fix | Delete
if (argType === 'string' || argType === 'number') {
[346] Fix | Delete
classes.push(arg);
[347] Fix | Delete
} else if (Array.isArray(arg) && arg.length) {
[348] Fix | Delete
var inner = classNames.apply(null, arg);
[349] Fix | Delete
if (inner) {
[350] Fix | Delete
classes.push(inner);
[351] Fix | Delete
}
[352] Fix | Delete
} else if (argType === 'object') {
[353] Fix | Delete
for (var key in arg) {
[354] Fix | Delete
if (hasOwn.call(arg, key) && arg[key]) {
[355] Fix | Delete
classes.push(key);
[356] Fix | Delete
}
[357] Fix | Delete
}
[358] Fix | Delete
}
[359] Fix | Delete
}
[360] Fix | Delete
[361] Fix | Delete
return classes.join(' ');
[362] Fix | Delete
}
[363] Fix | Delete
[364] Fix | Delete
if ( true && module.exports) {
[365] Fix | Delete
classNames.default = classNames;
[366] Fix | Delete
module.exports = classNames;
[367] Fix | Delete
} else if (true) {
[368] Fix | Delete
// register as 'classnames', consistent with npm package name
[369] Fix | Delete
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
[370] Fix | Delete
return classNames;
[371] Fix | Delete
}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
[372] Fix | Delete
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
[373] Fix | Delete
} else {}
[374] Fix | Delete
}());
[375] Fix | Delete
[376] Fix | Delete
[377] Fix | Delete
/***/ }),
[378] Fix | Delete
[379] Fix | Delete
/***/ "rePB":
[380] Fix | Delete
/***/ (function(module, __webpack_exports__, __webpack_require__) {
[381] Fix | Delete
[382] Fix | Delete
"use strict";
[383] Fix | Delete
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _defineProperty; });
[384] Fix | Delete
function _defineProperty(obj, key, value) {
[385] Fix | Delete
if (key in obj) {
[386] Fix | Delete
Object.defineProperty(obj, key, {
[387] Fix | Delete
value: value,
[388] Fix | Delete
enumerable: true,
[389] Fix | Delete
configurable: true,
[390] Fix | Delete
writable: true
[391] Fix | Delete
});
[392] Fix | Delete
} else {
[393] Fix | Delete
obj[key] = value;
[394] Fix | Delete
}
[395] Fix | Delete
[396] Fix | Delete
return obj;
[397] Fix | Delete
}
[398] Fix | Delete
[399] Fix | Delete
/***/ })
[400] Fix | Delete
[401] Fix | Delete
/******/ });
[402] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function