Build Tools: Update `@wordpress` packages.

See #45145.


Built from https://develop.svn.wordpress.org/branches/5.0@43843


git-svn-id: http://core.svn.wordpress.org/branches/5.0@43672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Gary Pendergast 2018-10-30 03:09:58 +00:00
parent b8cb0e7058
commit 0014a77fa3
42 changed files with 2211 additions and 1307 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes editor_region_focus{0%{box-shadow:inset 0 0 0 0 #33b3db}to{box-shadow:inset 0 0 0 4px #33b3db}}@keyframes rotation{0%{transform:rotate(0deg)}to{transform:rotate(-1turn)}}@keyframes modal-appear{0%{margin-top:32px}to{margin-top:0}}p{font-size:16px}ol,ul{margin:0;padding:0}ul{list-style-type:disc}ol{list-style-type:decimal}ol ul,ul ul{list-style-type:circle}.mce-content-body{line-height:1.8}
@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes editor_region_focus{0%{box-shadow:inset 0 0 0 0 #33b3db}to{box-shadow:inset 0 0 0 4px #33b3db}}@keyframes rotation{0%{transform:rotate(0deg)}to{transform:rotate(-1turn)}}@keyframes modal-appear{0%{margin-top:32px}to{margin-top:0}}body{font-family:"Noto Serif",serif;color:#191e23}body,p{font-size:16px;line-height:1.8}ol,ul{margin:0;padding:0}ul{list-style-type:disc}ol{list-style-type:decimal}ol ul,ul ul{list-style-type:circle}.mce-content-body{line-height:1.8}

View File

@ -1 +1 @@
@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes editor_region_focus{0%{box-shadow:inset 0 0 0 0 #33b3db}to{box-shadow:inset 0 0 0 4px #33b3db}}@keyframes rotation{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes modal-appear{0%{margin-top:32px}to{margin-top:0}}p{font-size:16px}ol,ul{margin:0;padding:0}ul{list-style-type:disc}ol{list-style-type:decimal}ol ul,ul ul{list-style-type:circle}.mce-content-body{line-height:1.8}
@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes editor_region_focus{0%{box-shadow:inset 0 0 0 0 #33b3db}to{box-shadow:inset 0 0 0 4px #33b3db}}@keyframes rotation{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes modal-appear{0%{margin-top:32px}to{margin-top:0}}body{font-family:"Noto Serif",serif;color:#191e23}body,p{font-size:16px;line-height:1.8}ol,ul{margin:0;padding:0}ul{list-style-type:disc}ol{list-style-type:decimal}ol ul,ul ul{list-style-type:circle}.mce-content-body{line-height:1.8}

File diff suppressed because one or more lines are too long

View File

@ -14064,7 +14064,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
return _classNames;
})();
if (typeof module !== 'undefined' && module.exports) {
if ( true && module.exports) {
classNames.default = classNames;
module.exports = classNames;
} else if (true) {
@ -14126,7 +14126,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
return classes.join(' ');
}
if (typeof module !== 'undefined' && module.exports) {
if ( true && module.exports) {
classNames.default = classNames;
module.exports = classNames;
} else if (true) {
@ -14270,13 +14270,13 @@ module.exports = function memize( fn, options ) {
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
/* WEBPACK VAR INJECTION */(function(module, global) {var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.4.1 by @mathias */
/* WEBPACK VAR INJECTION */(function(module, global) {var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.3.2 by @mathias */
;(function(root) {
/** Detect free variables */
var freeExports = typeof exports == 'object' && exports &&
var freeExports = true && exports &&
!exports.nodeType && exports;
var freeModule = typeof module == 'object' && module &&
var freeModule = true && module &&
!module.nodeType && module;
var freeGlobal = typeof global == 'object' && global;
if (
@ -14336,7 +14336,7 @@ module.exports = function memize( fn, options ) {
* @returns {Error} Throws a `RangeError` with the applicable error message.
*/
function error(type) {
throw new RangeError(errors[type]);
throw RangeError(errors[type]);
}
/**
@ -14483,7 +14483,7 @@ module.exports = function memize( fn, options ) {
/**
* Bias adaptation function as per section 3.4 of RFC 3492.
* https://tools.ietf.org/html/rfc3492#section-3.4
* http://tools.ietf.org/html/rfc3492#section-3.4
* @private
*/
function adapt(delta, numPoints, firstTime) {
@ -14758,7 +14758,7 @@ module.exports = function memize( fn, options ) {
* @memberOf punycode
* @type String
*/
'version': '1.4.1',
'version': '1.3.2',
/**
* An object of methods to convert from JavaScript's internal character
* representation (UCS-2) to Unicode code points, and back.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
this.wp=this.wp||{},this.wp.blockSerializationDefaultParser=function(t){var r={};function e(n){if(r[n])return r[n].exports;var u=r[n]={i:n,l:!1,exports:{}};return t[n].call(u.exports,u,u.exports,e),u.l=!0,u.exports}return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:n})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,r){if(1&r&&(t=e(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var u in t)e.d(n,u,function(r){return t[r]}.bind(null,u));return n},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.p="",e(e.s=195)}({195:function(t,r,e){"use strict";e.r(r),e.d(r,"parse",function(){return s});var n,u,o,i,c=e(24),l=/<!--\s+(\/)?wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:(?!}\s+-->)[^])+?}\s+)?(\/)?-->/g;function f(t,r,e,n){return{blockName:t,attrs:r,innerBlocks:e,innerHTML:n}}function a(t){return f(null,{},[],t)}var s=function(t){n=t,u=0,o=[],i=[],l.lastIndex=0;do{}while(p());return o};function p(){var t=function(){var t=l.exec(n);if(null===t)return["no-more-tokens"];var r=t.index,e=Object(c.a)(t,6),u=e[0],o=e[1],i=e[2],f=e[3],a=e[4],s=e[5],p=u.length,b=!!o,v=!!s,d=(i||"core/")+f,h=!!a,k=h?function(t){try{return JSON.parse(t)}catch(t){return null}}(a):{};if(v)return["void-block",d,k,r,p];if(b)return["block-closer",d,null,r,p];return["block-opener",d,k,r,p]}(),r=Object(c.a)(t,5),e=r[0],s=r[1],p=r[2],h=r[3],k=r[4],y=i.length,O=h>u?u:null;switch(e){case"no-more-tokens":if(0===y)return b(),!1;if(1===y)return d(),!1;for(;0<i.length;)d();return!1;case"void-block":return 0===y?(null!==O&&o.push(a(n.substr(O,h-O))),o.push(f(s,p,[],"")),u=h+k,!0):(v(f(s,p,[],""),h,k),u=h+k,!0);case"block-opener":return i.push(function(t,r,e,n,u){return{block:t,tokenStart:r,tokenLength:e,prevOffset:n||r+e,leadingHtmlStart:u}}(f(s,p,[],""),h,k,h+k,O)),u=h+k,!0;case"block-closer":if(0===y)return b(),!1;if(1===y)return d(h),u=h+k,!0;var g=i.pop();return g.block.innerHTML+=n.substr(g.prevOffset,h-g.prevOffset),g.prevOffset=h+k,v(g.block,g.tokenStart,g.tokenLength,h+k),u=h+k,!0;default:return b(),!1}}function b(t){var r=t||n.length-u;0!==r&&o.push(a(n.substr(u,r)))}function v(t,r,e,u){var o=i[i.length-1];o.block.innerBlocks.push(t),o.block.innerHTML+=n.substr(o.prevOffset,r-o.prevOffset),o.prevOffset=u||r+e}function d(t){var r=i.pop(),e=r.block,u=r.leadingHtmlStart,c=r.prevOffset,l=r.tokenStart;e.innerHTML+=t?n.substr(c,t-c):n.substr(c),null!==u&&o.push(a(n.substr(u,l-u))),o.push(e)}},24:function(t,r,e){"use strict";var n=e(35);var u=e(36);function o(t,r){return Object(n.a)(t)||function(t,r){var e=[],n=!0,u=!1,o=void 0;try{for(var i,c=t[Symbol.iterator]();!(n=(i=c.next()).done)&&(e.push(i.value),!r||e.length!==r);n=!0);}catch(t){u=!0,o=t}finally{try{n||null==c.return||c.return()}finally{if(u)throw o}}return e}(t,r)||Object(u.a)()}e.d(r,"a",function(){return o})},35:function(t,r,e){"use strict";function n(t){if(Array.isArray(t))return t}e.d(r,"a",function(){return n})},36:function(t,r,e){"use strict";function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}e.d(r,"a",function(){return n})}});
this.wp=this.wp||{},this.wp.blockSerializationDefaultParser=function(t){var r={};function e(n){if(r[n])return r[n].exports;var u=r[n]={i:n,l:!1,exports:{}};return t[n].call(u.exports,u,u.exports,e),u.l=!0,u.exports}return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:n})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,r){if(1&r&&(t=e(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var u in t)e.d(n,u,function(r){return t[r]}.bind(null,u));return n},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.p="",e(e.s=195)}({195:function(t,r,e){"use strict";e.r(r),e.d(r,"parse",function(){return s});var n,u,o,i,c=e(24),l=/<!--\s+(\/)?wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:(?!}\s+-->)[^])+?}\s+)?(\/)?-->/g;function f(t,r,e,n){return{blockName:t,attrs:r,innerBlocks:e,innerHTML:n}}function a(t){return f(null,{},[],t)}var s=function(t){n=t,u=0,o=[],i=[],l.lastIndex=0;do{}while(p());return o};function p(){var t=function(){var t=l.exec(n);if(null===t)return["no-more-tokens"];var r=t.index,e=Object(c.a)(t,6),u=e[0],o=e[1],i=e[2],f=e[3],a=e[4],s=e[5],p=u.length,b=!!o,v=!!s,d=(i||"core/")+f,h=!!a,k=h?function(t){try{return JSON.parse(t)}catch(t){return null}}(a):{};if(v)return["void-block",d,k,r,p];if(b)return["block-closer",d,null,r,p];return["block-opener",d,k,r,p]}(),r=Object(c.a)(t,5),e=r[0],s=r[1],p=r[2],h=r[3],k=r[4],y=i.length,O=h>u?u:null;switch(e){case"no-more-tokens":if(0===y)return b(),!1;if(1===y)return d(),!1;for(;0<i.length;)d();return!1;case"void-block":return 0===y?(null!==O&&o.push(a(n.substr(O,h-O))),o.push(f(s,p,[],"")),u=h+k,!0):(v(f(s,p,[],""),h,k),u=h+k,!0);case"block-opener":return i.push(function(t,r,e,n,u){return{block:t,tokenStart:r,tokenLength:e,prevOffset:n||r+e,leadingHtmlStart:u}}(f(s,p,[],""),h,k,h+k,O)),u=h+k,!0;case"block-closer":if(0===y)return b(),!1;if(1===y)return d(h),u=h+k,!0;var g=i.pop();return g.block.innerHTML+=n.substr(g.prevOffset,h-g.prevOffset),g.prevOffset=h+k,v(g.block,g.tokenStart,g.tokenLength,h+k),u=h+k,!0;default:return b(),!1}}function b(t){var r=t||n.length-u;0!==r&&o.push(a(n.substr(u,r)))}function v(t,r,e,u){var o=i[i.length-1];o.block.innerBlocks.push(t),o.block.innerHTML+=n.substr(o.prevOffset,r-o.prevOffset),o.prevOffset=u||r+e}function d(t){var r=i.pop(),e=r.block,u=r.leadingHtmlStart,c=r.prevOffset,l=r.tokenStart;e.innerHTML+=t?n.substr(c,t-c):n.substr(c),null!==u&&o.push(a(n.substr(u,l-u))),o.push(e)}},24:function(t,r,e){"use strict";var n=e(36);var u=e(37);function o(t,r){return Object(n.a)(t)||function(t,r){var e=[],n=!0,u=!1,o=void 0;try{for(var i,c=t[Symbol.iterator]();!(n=(i=c.next()).done)&&(e.push(i.value),!r||e.length!==r);n=!0);}catch(t){u=!0,o=t}finally{try{n||null==c.return||c.return()}finally{if(u)throw o}}return e}(t,r)||Object(u.a)()}e.d(r,"a",function(){return o})},36:function(t,r,e){"use strict";function n(t){if(Array.isArray(t))return t}e.d(r,"a",function(){return n})},37:function(t,r,e){"use strict";function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}e.d(r,"a",function(){return n})}});

View File

@ -12403,7 +12403,7 @@ function validateWCAG2Parms(parms) {
}
// Node: Export function
if (typeof module !== "undefined" && module.exports) {
if ( true && module.exports) {
module.exports = tinycolor;
}
// AMD/requirejs: Define the module

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -18051,7 +18051,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
return classes.join(' ');
}
if (typeof module !== 'undefined' && module.exports) {
if ( true && module.exports) {
classNames.default = classNames;
module.exports = classNames;
} else if (true) {
@ -22285,7 +22285,7 @@ if (hasSymbols) {
module.exports = function isSymbol(value) {
// this environment does not support Symbols.
return false && value;
return false && false;
};
}
@ -24046,7 +24046,7 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/*global define:false */
window.Mousetrap = Mousetrap;
// expose as a common js module
if (typeof module !== 'undefined' && module.exports) {
if ( true && module.exports) {
module.exports = Mousetrap;
}
@ -25192,7 +25192,7 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
);
err.name = 'Invariant Violation';
throw err;
} else if ("development" !== 'production' && typeof console !== 'undefined') {
} else if ( true && typeof console !== 'undefined') {
// Old behavior for people using React.PropTypes
var cacheKey = componentName + ':' + propName;
if (
@ -41124,7 +41124,7 @@ module.exports = __webpack_require__(/*! ./dist/index.js */ "./node_modules/reac
!*** ./node_modules/react-with-styles/lib/ThemedStyleSheet.js ***!
\****************************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
/***/ (function(module, exports, __webpack_require__) {
Object.defineProperty(exports, "__esModule", {
value: true
@ -41160,7 +41160,7 @@ function get() {
}
function resolve() {
if ("development" !== 'production' && typeof performance !== 'undefined' && performance.mark !== undefined) {
if ( true && typeof performance !== 'undefined' && performance.mark !== undefined) {
performance.mark('react-with-styles.resolve.start');
}
@ -41170,7 +41170,7 @@ function resolve() {
var result = styleInterface.resolve(styles);
if ("development" !== 'production' && typeof performance !== 'undefined' && performance.mark !== undefined) {
if ( true && typeof performance !== 'undefined' && performance.mark !== undefined) {
performance.mark('react-with-styles.resolve.end');
performance.measure('\uD83D\uDC69\u200D\uD83C\uDFA8 [resolve]', 'react-with-styles.resolve.start', 'react-with-styles.resolve.end');
@ -41347,7 +41347,7 @@ function withStyles(styleFn) {
return styleDef;
}
if ("development" !== 'production' && typeof performance !== 'undefined' && performance.mark !== undefined) {
if ( true && typeof performance !== 'undefined' && performance.mark !== undefined) {
performance.mark('react-with-styles.createStyles.start');
}
@ -41365,7 +41365,7 @@ function withStyles(styleFn) {
styleDef = styleDefLTR;
}
if ("development" !== 'production' && typeof performance !== 'undefined' && performance.mark !== undefined) {
if ( true && typeof performance !== 'undefined' && performance.mark !== undefined) {
performance.mark('react-with-styles.createStyles.end');
performance.measure('\uD83D\uDC69\u200D\uD83C\uDFA8 withStyles(' + String(wrappedComponentName) + ') [create styles]', 'react-with-styles.createStyles.start', 'react-with-styles.createStyles.end');
@ -42672,7 +42672,7 @@ function validateWCAG2Parms(parms) {
}
// Node: Export function
if (typeof module !== "undefined" && module.exports) {
if ( true && module.exports) {
module.exports = tinycolor;
}
// AMD/requirejs: Define the module

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -2608,7 +2608,7 @@ __webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "applyMiddleware", function() { return applyMiddleware; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "compose", function() { return compose; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__DO_NOT_USE__ActionTypes", function() { return ActionTypes; });
/* harmony import */ var symbol_observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! symbol-observable */ "./node_modules/redux/node_modules/symbol-observable/es/index.js");
/* harmony import */ var symbol_observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! symbol-observable */ "./node_modules/symbol-observable/es/index.js");
/**
@ -3240,76 +3240,13 @@ function applyMiddleware() {
function isCrushed() {}
if ("development" !== 'production' && typeof isCrushed.name === 'string' && isCrushed.name !== 'isCrushed') {
if ( true && typeof isCrushed.name === 'string' && isCrushed.name !== 'isCrushed') {
warning('You are currently using minified code outside of NODE_ENV === "production". ' + 'This means that you are running a slower development build of Redux. ' + 'You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify ' + 'or setting mode to production in webpack (https://webpack.js.org/concepts/mode/) ' + 'to ensure you have the correct code for your production build.');
}
/***/ }),
/***/ "./node_modules/redux/node_modules/symbol-observable/es/index.js":
/*!***********************************************************************!*\
!*** ./node_modules/redux/node_modules/symbol-observable/es/index.js ***!
\***********************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* WEBPACK VAR INJECTION */(function(global, module) {/* harmony import */ var _ponyfill_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ponyfill.js */ "./node_modules/redux/node_modules/symbol-observable/es/ponyfill.js");
/* global window */
var root;
if (typeof self !== 'undefined') {
root = self;
} else if (typeof window !== 'undefined') {
root = window;
} else if (typeof global !== 'undefined') {
root = global;
} else if (true) {
root = module;
} else {}
var result = Object(_ponyfill_js__WEBPACK_IMPORTED_MODULE_0__["default"])(root);
/* harmony default export */ __webpack_exports__["default"] = (result);
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../webpack/buildin/global.js */ "./node_modules/webpack/buildin/global.js"), __webpack_require__(/*! ./../../../../webpack/buildin/harmony-module.js */ "./node_modules/webpack/buildin/harmony-module.js")(module)))
/***/ }),
/***/ "./node_modules/redux/node_modules/symbol-observable/es/ponyfill.js":
/*!**************************************************************************!*\
!*** ./node_modules/redux/node_modules/symbol-observable/es/ponyfill.js ***!
\**************************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return symbolObservablePonyfill; });
function symbolObservablePonyfill(root) {
var result;
var Symbol = root.Symbol;
if (typeof Symbol === 'function') {
if (Symbol.observable) {
result = Symbol.observable;
} else {
result = Symbol('observable');
Symbol.observable = result;
}
} else {
result = '@@observable';
}
return result;
};
/***/ }),
/***/ "./node_modules/rememo/es/rememo.js":
@ -3597,6 +3534,69 @@ function isShallowEqual( a, b, fromIndex ) {
});
/***/ }),
/***/ "./node_modules/symbol-observable/es/index.js":
/*!****************************************************!*\
!*** ./node_modules/symbol-observable/es/index.js ***!
\****************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* WEBPACK VAR INJECTION */(function(global, module) {/* harmony import */ var _ponyfill_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ponyfill.js */ "./node_modules/symbol-observable/es/ponyfill.js");
/* global window */
var root;
if (typeof self !== 'undefined') {
root = self;
} else if (typeof window !== 'undefined') {
root = window;
} else if (typeof global !== 'undefined') {
root = global;
} else if (true) {
root = module;
} else {}
var result = Object(_ponyfill_js__WEBPACK_IMPORTED_MODULE_0__["default"])(root);
/* harmony default export */ __webpack_exports__["default"] = (result);
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../webpack/buildin/global.js */ "./node_modules/webpack/buildin/global.js"), __webpack_require__(/*! ./../../webpack/buildin/harmony-module.js */ "./node_modules/webpack/buildin/harmony-module.js")(module)))
/***/ }),
/***/ "./node_modules/symbol-observable/es/ponyfill.js":
/*!*******************************************************!*\
!*** ./node_modules/symbol-observable/es/ponyfill.js ***!
\*******************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return symbolObservablePonyfill; });
function symbolObservablePonyfill(root) {
var result;
var Symbol = root.Symbol;
if (typeof Symbol === 'function') {
if (Symbol.observable) {
result = Symbol.observable;
} else {
result = Symbol('observable');
Symbol.observable = result;
}
} else {
result = '@@observable';
}
return result;
};
/***/ }),
/***/ "./node_modules/webpack/buildin/global.js":

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -2610,7 +2610,7 @@ __webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "applyMiddleware", function() { return applyMiddleware; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "compose", function() { return compose; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "__DO_NOT_USE__ActionTypes", function() { return ActionTypes; });
/* harmony import */ var symbol_observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! symbol-observable */ "./node_modules/redux/node_modules/symbol-observable/es/index.js");
/* harmony import */ var symbol_observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! symbol-observable */ "./node_modules/symbol-observable/es/index.js");
/**
@ -3242,7 +3242,7 @@ function applyMiddleware() {
function isCrushed() {}
if ("development" !== 'production' && typeof isCrushed.name === 'string' && isCrushed.name !== 'isCrushed') {
if ( true && typeof isCrushed.name === 'string' && isCrushed.name !== 'isCrushed') {
warning('You are currently using minified code outside of NODE_ENV === "production". ' + 'This means that you are running a slower development build of Redux. ' + 'You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify ' + 'or setting mode to production in webpack (https://webpack.js.org/concepts/mode/) ' + 'to ensure you have the correct code for your production build.');
}
@ -3251,16 +3251,16 @@ if ("development" !== 'production' && typeof isCrushed.name === 'string' && isCr
/***/ }),
/***/ "./node_modules/redux/node_modules/symbol-observable/es/index.js":
/*!***********************************************************************!*\
!*** ./node_modules/redux/node_modules/symbol-observable/es/index.js ***!
\***********************************************************************/
/***/ "./node_modules/symbol-observable/es/index.js":
/*!****************************************************!*\
!*** ./node_modules/symbol-observable/es/index.js ***!
\****************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* WEBPACK VAR INJECTION */(function(global, module) {/* harmony import */ var _ponyfill_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ponyfill.js */ "./node_modules/redux/node_modules/symbol-observable/es/ponyfill.js");
/* WEBPACK VAR INJECTION */(function(global, module) {/* harmony import */ var _ponyfill_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ponyfill.js */ "./node_modules/symbol-observable/es/ponyfill.js");
/* global window */
@ -3279,14 +3279,14 @@ if (typeof self !== 'undefined') {
var result = Object(_ponyfill_js__WEBPACK_IMPORTED_MODULE_0__["default"])(root);
/* harmony default export */ __webpack_exports__["default"] = (result);
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../webpack/buildin/global.js */ "./node_modules/webpack/buildin/global.js"), __webpack_require__(/*! ./../../../../webpack/buildin/harmony-module.js */ "./node_modules/webpack/buildin/harmony-module.js")(module)))
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../webpack/buildin/global.js */ "./node_modules/webpack/buildin/global.js"), __webpack_require__(/*! ./../../webpack/buildin/harmony-module.js */ "./node_modules/webpack/buildin/harmony-module.js")(module)))
/***/ }),
/***/ "./node_modules/redux/node_modules/symbol-observable/es/ponyfill.js":
/*!**************************************************************************!*\
!*** ./node_modules/redux/node_modules/symbol-observable/es/ponyfill.js ***!
\**************************************************************************/
/***/ "./node_modules/symbol-observable/es/ponyfill.js":
/*!*******************************************************!*\
!*** ./node_modules/symbol-observable/es/ponyfill.js ***!
\*******************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -561,7 +561,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
"use strict";
/*global define*/
if (typeof module === 'object' && module.exports) {
if ( true && module.exports) {
module.exports = factory(__webpack_require__(/*! ./ */ "./node_modules/moment-timezone/index.js")); // Node
} else if (true) {
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! moment */ "moment")], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
@ -891,7 +891,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
"use strict";
/*global define*/
if (typeof module === 'object' && module.exports) {
if ( true && module.exports) {
module.exports = factory(__webpack_require__(/*! moment */ "moment")); // Node
} else if (true) {
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! moment */ "moment")], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
this.wp=this.wp||{},this.wp.date=function(M){var b={};function z(p){if(b[p])return b[p].exports;var O=b[p]={i:p,l:!1,exports:{}};return M[p].call(O.exports,O,O.exports,z),O.l=!0,O.exports}return z.m=M,z.c=b,z.d=function(M,b,p){z.o(M,b)||Object.defineProperty(M,b,{enumerable:!0,get:p})},z.r=function(M){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(M,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(M,"__esModule",{value:!0})},z.t=function(M,b){if(1&b&&(M=z(M)),8&b)return M;if(4&b&&"object"==typeof M&&M&&M.__esModule)return M;var p=Object.create(null);if(z.r(p),Object.defineProperty(p,"default",{enumerable:!0,value:M}),2&b&&"string"!=typeof M)for(var O in M)z.d(p,O,function(b){return M[b]}.bind(null,O));return p},z.n=function(M){var b=M&&M.__esModule?function(){return M.default}:function(){return M};return z.d(b,"a",b),b},z.o=function(M,b){return Object.prototype.hasOwnProperty.call(M,b)},z.p="",z(z.s=261)}({171:function(M,b,z){(M.exports=z(262)).tz.load(z(263))},26:function(M,b){!function(){M.exports=this.moment}()},261:function(M,b,z){"use strict";z.r(b),z.d(b,"setSettings",function(){return c}),z.d(b,"__experimentalGetSettings",function(){return W}),z.d(b,"getSettings",function(){return d}),z.d(b,"moment",function(){return X}),z.d(b,"format",function(){return L}),z.d(b,"date",function(){return f}),z.d(b,"gmdate",function(){return a}),z.d(b,"dateI18n",function(){return N});var p=z(26),O=z.n(p),A=(z(171),z(264),z(37)),q=z.n(A),o={l10n:{locale:"en_US",months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],meridiem:{am:"am",pm:"pm",AM:"AM",PM:"PM"},relative:{future:" % s from now",past:"% s ago"}},formats:{time:"g: i a",date:"F j, Y",datetime:"F j, Y g: i a",datetimeAbbreviated:"M j, Y g: i a"},timezone:{offset:"0",string:""}};function c(M){o=M;var b=O.a.locale();O.a.updateLocale(M.l10n.locale,{parentLocale:b,months:M.l10n.months,monthsShort:M.l10n.monthsShort,weekdays:M.l10n.weekdays,weekdaysShort:M.l10n.weekdaysShort,meridiem:function(b,z,p){return b<12?p?M.l10n.meridiem.am:M.l10n.meridiem.AM:p?M.l10n.meridiem.pm:M.l10n.meridiem.PM},longDateFormat:{LT:M.formats.time,LTS:null,L:null,LL:M.formats.date,LLL:M.formats.datetime,LLLL:null},relativeTime:{future:M.l10n.relative.future,past:M.l10n.relative.past,s:"seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}}),O.a.locale(b),R()}function W(){return o}function d(){return q()("wp.date.getSettings",{version:"4.4",alternative:"wp.date.__experimentalGetSettings",plugin:"Gutenberg",hint:"Unstable APIs are strongly discouraged to be used, and are subject to removal without notice."}),o}function R(){O.a.tz.add(O.a.tz.pack({name:"WP",abbrs:["WP"],untils:[null],offsets:[60*-o.timezone.offset||0]}))}var X=function(){for(var M=arguments.length,b=new Array(M),z=0;z<M;z++)b[z]=arguments[z];return O.a.tz.apply(O.a,b.concat(["WP"]))},B=60,n={d:"DD",D:"ddd",j:"D",l:"dddd",N:"E",S:function(M){var b=M.format("D");return M.format("Do").replace(b,"")},w:"d",z:function(M){return""+parseInt(M.format("DDD"),10)-1},W:"W",F:"MMMM",m:"MM",M:"MMM",n:"M",t:function(M){return M.daysInMonth()},L:function(M){return M.isLeapYear()?"1":"0"},o:"GGGG",Y:"YYYY",y:"YY",a:"a",A:"A",B:function(M){var b=O()(M).utcOffset(60),z=parseInt(b.format("s"),10),p=parseInt(b.format("m"),10),A=parseInt(b.format("H"),10);return parseInt((z+60*p+3600*A)/86.4,10)},g:"h",G:"H",h:"hh",H:"HH",i:"mm",s:"ss",u:"SSSSSS",v:"SSS",e:"zz",I:function(M){return M.isDST()?"1":"0"},O:"ZZ",P:"Z",T:"z",Z:function(M){var b=M.format("Z"),z="-"===b[0]?-1:1,p=b.substring(1).split(":");return z*(p[0]*B+p[1])*60},c:"YYYY-MM-DDTHH:mm:ssZ",r:"ddd, D MMM YYYY HH:mm:ss ZZ",U:"X"};function L(M){var b,z,p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,A=[],q=O()(p);for(b=0;b<M.length;b++)"\\"!==(z=M[b])?z in n?"string"!=typeof n[z]?A.push("["+n[z](q)+"]"):A.push(n[z]):A.push("["+z+"]"):(b++,A.push("["+M[b]+"]"));return A=A.join("[]"),q.format(A)}function f(M){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,z=o.timezone.offset*B;return L(M,O()(b).utcOffset(z,!0))}function a(M){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date;return L(M,O()(b).utc())}function N(M){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,z=arguments.length>2&&void 0!==arguments[2]&&arguments[2]?0:o.timezone.offset*B,p=O()(b).utcOffset(z,!0);return p.locale(o.l10n.locale),L(M,p)}R()},262:function(M,b,z){var p,O,A;//! moment-timezone.js
this.wp=this.wp||{},this.wp.date=function(M){var b={};function z(p){if(b[p])return b[p].exports;var O=b[p]={i:p,l:!1,exports:{}};return M[p].call(O.exports,O,O.exports,z),O.l=!0,O.exports}return z.m=M,z.c=b,z.d=function(M,b,p){z.o(M,b)||Object.defineProperty(M,b,{enumerable:!0,get:p})},z.r=function(M){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(M,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(M,"__esModule",{value:!0})},z.t=function(M,b){if(1&b&&(M=z(M)),8&b)return M;if(4&b&&"object"==typeof M&&M&&M.__esModule)return M;var p=Object.create(null);if(z.r(p),Object.defineProperty(p,"default",{enumerable:!0,value:M}),2&b&&"string"!=typeof M)for(var O in M)z.d(p,O,function(b){return M[b]}.bind(null,O));return p},z.n=function(M){var b=M&&M.__esModule?function(){return M.default}:function(){return M};return z.d(b,"a",b),b},z.o=function(M,b){return Object.prototype.hasOwnProperty.call(M,b)},z.p="",z(z.s=261)}({171:function(M,b,z){(M.exports=z(262)).tz.load(z(263))},26:function(M,b){!function(){M.exports=this.moment}()},261:function(M,b,z){"use strict";z.r(b),z.d(b,"setSettings",function(){return c}),z.d(b,"__experimentalGetSettings",function(){return W}),z.d(b,"getSettings",function(){return d}),z.d(b,"moment",function(){return X}),z.d(b,"format",function(){return L}),z.d(b,"date",function(){return f}),z.d(b,"gmdate",function(){return a}),z.d(b,"dateI18n",function(){return N});var p=z(26),O=z.n(p),A=(z(171),z(264),z(34)),q=z.n(A),o={l10n:{locale:"en_US",months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],meridiem:{am:"am",pm:"pm",AM:"AM",PM:"PM"},relative:{future:" % s from now",past:"% s ago"}},formats:{time:"g: i a",date:"F j, Y",datetime:"F j, Y g: i a",datetimeAbbreviated:"M j, Y g: i a"},timezone:{offset:"0",string:""}};function c(M){o=M;var b=O.a.locale();O.a.updateLocale(M.l10n.locale,{parentLocale:b,months:M.l10n.months,monthsShort:M.l10n.monthsShort,weekdays:M.l10n.weekdays,weekdaysShort:M.l10n.weekdaysShort,meridiem:function(b,z,p){return b<12?p?M.l10n.meridiem.am:M.l10n.meridiem.AM:p?M.l10n.meridiem.pm:M.l10n.meridiem.PM},longDateFormat:{LT:M.formats.time,LTS:null,L:null,LL:M.formats.date,LLL:M.formats.datetime,LLLL:null},relativeTime:{future:M.l10n.relative.future,past:M.l10n.relative.past,s:"seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}}),O.a.locale(b),R()}function W(){return o}function d(){return q()("wp.date.getSettings",{version:"4.4",alternative:"wp.date.__experimentalGetSettings",plugin:"Gutenberg",hint:"Unstable APIs are strongly discouraged to be used, and are subject to removal without notice."}),o}function R(){O.a.tz.add(O.a.tz.pack({name:"WP",abbrs:["WP"],untils:[null],offsets:[60*-o.timezone.offset||0]}))}var X=function(){for(var M=arguments.length,b=new Array(M),z=0;z<M;z++)b[z]=arguments[z];return O.a.tz.apply(O.a,b.concat(["WP"]))},B=60,n={d:"DD",D:"ddd",j:"D",l:"dddd",N:"E",S:function(M){var b=M.format("D");return M.format("Do").replace(b,"")},w:"d",z:function(M){return""+parseInt(M.format("DDD"),10)-1},W:"W",F:"MMMM",m:"MM",M:"MMM",n:"M",t:function(M){return M.daysInMonth()},L:function(M){return M.isLeapYear()?"1":"0"},o:"GGGG",Y:"YYYY",y:"YY",a:"a",A:"A",B:function(M){var b=O()(M).utcOffset(60),z=parseInt(b.format("s"),10),p=parseInt(b.format("m"),10),A=parseInt(b.format("H"),10);return parseInt((z+60*p+3600*A)/86.4,10)},g:"h",G:"H",h:"hh",H:"HH",i:"mm",s:"ss",u:"SSSSSS",v:"SSS",e:"zz",I:function(M){return M.isDST()?"1":"0"},O:"ZZ",P:"Z",T:"z",Z:function(M){var b=M.format("Z"),z="-"===b[0]?-1:1,p=b.substring(1).split(":");return z*(p[0]*B+p[1])*60},c:"YYYY-MM-DDTHH:mm:ssZ",r:"ddd, D MMM YYYY HH:mm:ss ZZ",U:"X"};function L(M){var b,z,p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,A=[],q=O()(p);for(b=0;b<M.length;b++)"\\"!==(z=M[b])?z in n?"string"!=typeof n[z]?A.push("["+n[z](q)+"]"):A.push(n[z]):A.push("["+z+"]"):(b++,A.push("["+M[b]+"]"));return A=A.join("[]"),q.format(A)}function f(M){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,z=o.timezone.offset*B;return L(M,O()(b).utcOffset(z,!0))}function a(M){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date;return L(M,O()(b).utc())}function N(M){var b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,z=arguments.length>2&&void 0!==arguments[2]&&arguments[2]?0:o.timezone.offset*B,p=O()(b).utcOffset(z,!0);return p.locale(o.l10n.locale),L(M,p)}R()},262:function(M,b,z){var p,O,A;//! moment-timezone.js
//! version : 0.5.23
//! Copyright (c) JS Foundation and other contributors
//! license : MIT
@ -18,4 +18,4 @@ this.wp=this.wp||{},this.wp.date=function(M){var b={};function z(p){if(b[p])retu
//! Copyright (c) JS Foundation and other contributors
//! license : MIT
//! github.com/moment/moment-timezone
!function(q,o){"use strict";M.exports?M.exports=o(z(171)):(O=[z(26)],void 0===(A="function"==typeof(p=o)?p.apply(b,O):p)||(M.exports=A))}(0,function(M){"use strict";if(!M.tz)throw new Error("moment-timezone-utils.js must be loaded after moment-timezone.js");var b="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWX",z=1e-6;function p(M,p){for(var O="",A=Math.abs(M),q=Math.floor(A),o=function(M,p){for(var O,A=".",q="";p>0;)p-=1,M*=60,O=Math.floor(M+z),A+=b[O],M-=O,O&&(q+=A,A="");return q}(A-q,Math.min(~~p,10));q>0;)O=b[q%60]+O,q=Math.floor(q/60);return M<0&&(O="-"+O),O&&o?O+o:(o||"-"!==O)&&(O||o)||"0"}function O(M){return function(M){if(!M.name)throw new Error("Missing name");if(!M.abbrs)throw new Error("Missing abbrs");if(!M.untils)throw new Error("Missing untils");if(!M.offsets)throw new Error("Missing offsets");if(M.offsets.length!==M.untils.length||M.offsets.length!==M.abbrs.length)throw new Error("Mismatched array lengths")}(M),[M.name,function(M){var b,z,O=0,A=[],q=[],o=[],c={};for(b=0;b<M.abbrs.length;b++)void 0===c[z=M.abbrs[b]+"|"+M.offsets[b]]&&(c[z]=O,A[O]=M.abbrs[b],q[O]=p(Math.round(60*M.offsets[b])/60,1),O++),o[b]=p(c[z],0);return A.join(" ")+"|"+q.join(" ")+"|"+o.join("")}(M),function(M){var b,z=[],O=0;for(b=0;b<M.length-1;b++)z[b]=p(Math.round((M[b]-O)/1e3)/60,1),O=M[b];return z.join(" ")}(M.untils)+function(M){if(!M)return"";if(M<1e3)return"|"+M;var b=String(0|M).length-2;return"|"+Math.round(M/Math.pow(10,b))+"e"+b}(M.population)].join("|")}function A(M,b){var z;if(M.length!==b.length)return!1;for(z=0;z<M.length;z++)if(M[z]!==b[z])return!1;return!0}function q(M,b){return A(M.offsets,b.offsets)&&A(M.abbrs,b.abbrs)&&A(M.untils,b.untils)}function o(M,b){var z=[],p=[];return M.links&&(p=M.links.slice()),function(M,b,z,p){var O,A,o,c,W,d,R=[];for(O=0;O<M.length;O++){for(d=!1,o=M[O],A=0;A<R.length;A++)q(o,c=(W=R[A])[0])&&(o.population>c.population?W.unshift(o):o.population===c.population&&p&&p[o.name]?W.unshift(o):W.push(o),d=!0);d||R.push([o])}for(O=0;O<R.length;O++)for(W=R[O],b.push(W[0]),A=1;A<W.length;A++)z.push(W[0].name+"|"+W[A].name)}(M.zones,z,p,b),{version:M.version,zones:z,links:p.sort()}}function c(M,b,z){var p=Array.prototype.slice,O=function(M,b,z){var p,O,A=0,q=M.length+1;for(z||(z=b),b>z&&(O=b,b=z,z=O),O=0;O<M.length;O++)null!=M[O]&&((p=new Date(M[O]).getUTCFullYear())<b&&(A=O+1),p>z&&(q=Math.min(q,O+1)));return[A,q]}(M.untils,b,z),A=p.apply(M.untils,O);return A[A.length-1]=null,{name:M.name,abbrs:p.apply(M.abbrs,O),untils:A,offsets:p.apply(M.offsets,O),population:M.population}}return M.tz.pack=O,M.tz.packBase60=p,M.tz.createLinks=o,M.tz.filterYears=c,M.tz.filterLinkPack=function(M,b,z,p){var A,q,W=M.zones,d=[];for(A=0;A<W.length;A++)d[A]=c(W[A],b,z);for(q=o({zones:d,links:M.links.slice(),version:M.version},p),A=0;A<q.zones.length;A++)q.zones[A]=O(q.zones[A]);return q},M})},37:function(M,b){!function(){M.exports=this.wp.deprecated}()}});
!function(q,o){"use strict";M.exports?M.exports=o(z(171)):(O=[z(26)],void 0===(A="function"==typeof(p=o)?p.apply(b,O):p)||(M.exports=A))}(0,function(M){"use strict";if(!M.tz)throw new Error("moment-timezone-utils.js must be loaded after moment-timezone.js");var b="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWX",z=1e-6;function p(M,p){for(var O="",A=Math.abs(M),q=Math.floor(A),o=function(M,p){for(var O,A=".",q="";p>0;)p-=1,M*=60,O=Math.floor(M+z),A+=b[O],M-=O,O&&(q+=A,A="");return q}(A-q,Math.min(~~p,10));q>0;)O=b[q%60]+O,q=Math.floor(q/60);return M<0&&(O="-"+O),O&&o?O+o:(o||"-"!==O)&&(O||o)||"0"}function O(M){return function(M){if(!M.name)throw new Error("Missing name");if(!M.abbrs)throw new Error("Missing abbrs");if(!M.untils)throw new Error("Missing untils");if(!M.offsets)throw new Error("Missing offsets");if(M.offsets.length!==M.untils.length||M.offsets.length!==M.abbrs.length)throw new Error("Mismatched array lengths")}(M),[M.name,function(M){var b,z,O=0,A=[],q=[],o=[],c={};for(b=0;b<M.abbrs.length;b++)void 0===c[z=M.abbrs[b]+"|"+M.offsets[b]]&&(c[z]=O,A[O]=M.abbrs[b],q[O]=p(Math.round(60*M.offsets[b])/60,1),O++),o[b]=p(c[z],0);return A.join(" ")+"|"+q.join(" ")+"|"+o.join("")}(M),function(M){var b,z=[],O=0;for(b=0;b<M.length-1;b++)z[b]=p(Math.round((M[b]-O)/1e3)/60,1),O=M[b];return z.join(" ")}(M.untils)+function(M){if(!M)return"";if(M<1e3)return"|"+M;var b=String(0|M).length-2;return"|"+Math.round(M/Math.pow(10,b))+"e"+b}(M.population)].join("|")}function A(M,b){var z;if(M.length!==b.length)return!1;for(z=0;z<M.length;z++)if(M[z]!==b[z])return!1;return!0}function q(M,b){return A(M.offsets,b.offsets)&&A(M.abbrs,b.abbrs)&&A(M.untils,b.untils)}function o(M,b){var z=[],p=[];return M.links&&(p=M.links.slice()),function(M,b,z,p){var O,A,o,c,W,d,R=[];for(O=0;O<M.length;O++){for(d=!1,o=M[O],A=0;A<R.length;A++)q(o,c=(W=R[A])[0])&&(o.population>c.population?W.unshift(o):o.population===c.population&&p&&p[o.name]?W.unshift(o):W.push(o),d=!0);d||R.push([o])}for(O=0;O<R.length;O++)for(W=R[O],b.push(W[0]),A=1;A<W.length;A++)z.push(W[0].name+"|"+W[A].name)}(M.zones,z,p,b),{version:M.version,zones:z,links:p.sort()}}function c(M,b,z){var p=Array.prototype.slice,O=function(M,b,z){var p,O,A=0,q=M.length+1;for(z||(z=b),b>z&&(O=b,b=z,z=O),O=0;O<M.length;O++)null!=M[O]&&((p=new Date(M[O]).getUTCFullYear())<b&&(A=O+1),p>z&&(q=Math.min(q,O+1)));return[A,q]}(M.untils,b,z),A=p.apply(M.untils,O);return A[A.length-1]=null,{name:M.name,abbrs:p.apply(M.abbrs,O),untils:A,offsets:p.apply(M.offsets,O),population:M.population}}return M.tz.pack=O,M.tz.packBase60=p,M.tz.createLinks=o,M.tz.filterYears=c,M.tz.filterLinkPack=function(M,b,z,p){var A,q,W=M.zones,d=[];for(A=0;A<W.length;A++)d[A]=c(W[A],b,z);for(q=o({zones:d,links:M.links.slice(),version:M.version},p),A=0;A<q.zones.length;A++)q.zones[A]=O(q.zones[A]);return q},M})},34:function(M,b){!function(){M.exports=this.wp.deprecated}()}});

View File

@ -6802,7 +6802,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
return classes.join(' ');
}
if (typeof module !== 'undefined' && module.exports) {
if ( true && module.exports) {
classNames.default = classNames;
module.exports = classNames;
} else if (true) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -30800,7 +30800,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
return classes.join(' ');
}
if (typeof module !== 'undefined' && module.exports) {
if ( true && module.exports) {
classNames.default = classNames;
module.exports = classNames;
} else if (true) {
@ -33965,7 +33965,7 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
);
err.name = 'Invariant Violation';
throw err;
} else if ("development" !== 'production' && typeof console !== 'undefined') {
} else if ( true && typeof console !== 'undefined') {
// Old behavior for people using React.PropTypes
var cacheKey = componentName + ':' + propName;
if (
@ -34406,13 +34406,13 @@ module.exports = ReactPropTypesSecret;
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
/* WEBPACK VAR INJECTION */(function(module, global) {var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.4.1 by @mathias */
/* WEBPACK VAR INJECTION */(function(module, global) {var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.3.2 by @mathias */
;(function(root) {
/** Detect free variables */
var freeExports = typeof exports == 'object' && exports &&
var freeExports = true && exports &&
!exports.nodeType && exports;
var freeModule = typeof module == 'object' && module &&
var freeModule = true && module &&
!module.nodeType && module;
var freeGlobal = typeof global == 'object' && global;
if (
@ -34472,7 +34472,7 @@ module.exports = ReactPropTypesSecret;
* @returns {Error} Throws a `RangeError` with the applicable error message.
*/
function error(type) {
throw new RangeError(errors[type]);
throw RangeError(errors[type]);
}
/**
@ -34619,7 +34619,7 @@ module.exports = ReactPropTypesSecret;
/**
* Bias adaptation function as per section 3.4 of RFC 3492.
* https://tools.ietf.org/html/rfc3492#section-3.4
* http://tools.ietf.org/html/rfc3492#section-3.4
* @private
*/
function adapt(delta, numPoints, firstTime) {
@ -34894,7 +34894,7 @@ module.exports = ReactPropTypesSecret;
* @memberOf punycode
* @type String
*/
'version': '1.4.1',
'version': '1.3.2',
/**
* An object of methods to convert from JavaScript's internal character
* representation (UCS-2) to Unicode code points, and back.
@ -37041,7 +37041,7 @@ function validateWCAG2Parms(parms) {
}
// Node: Export function
if (typeof module !== "undefined" && module.exports) {
if ( true && module.exports) {
module.exports = tinycolor;
}
// AMD/requirejs: Define the module

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1307,7 +1307,7 @@ return parser;
// Handle node, amd, and global systems
if (true) {
if (typeof module !== 'undefined' && module.exports) {
if ( true && module.exports) {
exports = module.exports = Jed;
}
exports.Jed = Jed;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
this.wp=this.wp||{},this.wp.tokenList=function(t){var e={};function n(r){if(e[r])return e[r].exports;var u=e[r]={i:r,l:!1,exports:{}};return t[r].call(u.exports,u,u.exports,n),u.l=!0,u.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var u in t)n.d(r,u,function(e){return t[e]}.bind(null,u));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=298)}({10:function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}n.d(e,"a",function(){return u})},11:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,"a",function(){return r})},2:function(t,e){!function(){t.exports=this.lodash}()},298:function(t,e,n){"use strict";n.r(e),n.d(e,"default",function(){return o});var r=n(11),u=n(10),i=n(2),o=function(){function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";Object(r.a)(this,t),this.value=n,["entries","forEach","keys","values"].forEach(function(t){e[t]=function(){var e;return(e=this._valueAsArray)[t].apply(e,arguments)}.bind(e)})}return Object(u.a)(t,[{key:"item",value:function(t){return this._valueAsArray[t]}},{key:"contains",value:function(t){return-1!==this._valueAsArray.indexOf(t)}},{key:"add",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this.value+=" "+e.join(" ")}},{key:"remove",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this.value=i.without.apply(void 0,[this._valueAsArray].concat(e)).join(" ")}},{key:"toggle",value:function(t,e){return void 0===e&&(e=!this.contains(t)),e?this.add(t):this.remove(t),e}},{key:"replace",value:function(t,e){return!!this.contains(t)&&(this.remove(t),this.add(e),!0)}},{key:"supports",value:function(){return!0}},{key:"value",get:function(){return this._currentValue},set:function(t){t=String(t),this._valueAsArray=Object(i.uniq)(Object(i.compact)(t.split(/\s+/g))),this._currentValue=this._valueAsArray.join(" ")}},{key:"length",get:function(){return this._valueAsArray.length}}]),t}()}});
this.wp=this.wp||{},this.wp.tokenList=function(t){var e={};function n(r){if(e[r])return e[r].exports;var u=e[r]={i:r,l:!1,exports:{}};return t[r].call(u.exports,u,u.exports,n),u.l=!0,u.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var u in t)n.d(r,u,function(e){return t[e]}.bind(null,u));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=298)}({10:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,"a",function(){return r})},2:function(t,e){!function(){t.exports=this.lodash}()},298:function(t,e,n){"use strict";n.r(e),n.d(e,"default",function(){return o});var r=n(10),u=n(9),i=n(2),o=function(){function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";Object(r.a)(this,t),this.value=n,["entries","forEach","keys","values"].forEach(function(t){e[t]=function(){var e;return(e=this._valueAsArray)[t].apply(e,arguments)}.bind(e)})}return Object(u.a)(t,[{key:"item",value:function(t){return this._valueAsArray[t]}},{key:"contains",value:function(t){return-1!==this._valueAsArray.indexOf(t)}},{key:"add",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this.value+=" "+e.join(" ")}},{key:"remove",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this.value=i.without.apply(void 0,[this._valueAsArray].concat(e)).join(" ")}},{key:"toggle",value:function(t,e){return void 0===e&&(e=!this.contains(t)),e?this.add(t):this.remove(t),e}},{key:"replace",value:function(t,e){return!!this.contains(t)&&(this.remove(t),this.add(e),!0)}},{key:"supports",value:function(){return!0}},{key:"value",get:function(){return this._currentValue},set:function(t){t=String(t),this._valueAsArray=Object(i.uniq)(Object(i.compact)(t.split(/\s+/g))),this._currentValue=this._valueAsArray.join(" ")}},{key:"length",get:function(){return this._valueAsArray.length}}]),t}()},9:function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}n.d(e,"a",function(){return u})}});

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
/** @license React v16.5.2
/** @license React v16.6.0
* react.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
@ -17,7 +17,7 @@
// TODO: this is special because it gets imported during build.
var ReactVersion = '16.5.2';
var ReactVersion = '16.6.0';
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
// nor polyfill, then a plain number is used for performance.
@ -30,9 +30,11 @@ var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeac
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace;
var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
var REACT_PLACEHOLDER_TYPE = hasSymbol ? Symbol.for('react.placeholder') : 0xead1;
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
var FAUX_ITERATOR_SYMBOL = '@@iterator';
@ -48,48 +50,6 @@ function getIteratorFn(maybeIterable) {
return null;
}
// Exports ReactDOM.createRoot
// Experimental error-boundary API that can recover from errors within a single
// render phase
// Suspense
var enableSuspense = false;
// Helps identify side effects in begin-phase lifecycle hooks and setState reducers:
// In some cases, StrictMode should also double-render lifecycles.
// This can be confusing for tests though,
// And it can be bad for performance in production.
// This feature flag can be used to control the behavior:
// To preserve the "Pause on caught exceptions" behavior of the debugger, we
// replay the begin phase of a failed component inside invokeGuardedCallback.
// Warn about deprecated, async-unsafe lifecycles; relates to RFC #6:
// Warn about legacy context API
// Gather advanced timing metrics for Profiler subtrees.
// Trace which interactions trigger each commit.
var enableSchedulerTracing = true;
// Only used in www builds.
// Only used in www builds.
// React Fire: prevent the value and checked attributes from syncing
// with their related DOM properties
/*
object-assign
(c) Sindre Sorhus
@ -577,14 +537,34 @@ function createRef() {
/* eslint-disable no-var */
// TODO: Currently there's only a single priority level, Deferred. Will add
// additional priorities.
var DEFERRED_TIMEOUT = 5000;
// TODO: Use symbols?
var ImmediatePriority = 1;
var UserBlockingPriority = 2;
var NormalPriority = 3;
var IdlePriority = 4;
// Max 31 bit integer. The max integer size in V8 for 32-bit systems.
// Math.pow(2, 30) - 1
// 0b111111111111111111111111111111
var maxSigned31BitInt = 1073741823;
// Times out immediately
var IMMEDIATE_PRIORITY_TIMEOUT = -1;
// Eventually times out
var USER_BLOCKING_PRIORITY = 250;
var NORMAL_PRIORITY_TIMEOUT = 5000;
// Never times out
var IDLE_PRIORITY = maxSigned31BitInt;
// Callbacks are stored as a circular, doubly linked list.
var firstCallbackNode = null;
var isPerformingWork = false;
var currentPriorityLevel = NormalPriority;
var currentEventStartTime = -1;
var currentExpirationTime = -1;
// This is set when a callback is being executed, to prevent re-entrancy.
var isExecutingCallback = false;
var isHostCallbackScheduled = false;
@ -593,6 +573,11 @@ var hasNativePerformanceNow = typeof performance === 'object' && typeof performa
var timeRemaining;
if (hasNativePerformanceNow) {
timeRemaining = function () {
if (firstCallbackNode !== null && firstCallbackNode.expirationTime < currentExpirationTime) {
// A higher priority callback was scheduled. Yield so we can switch to
// working on that.
return 0;
}
// We assume that if we have a performance timer that the rAF callback
// gets a performance timer value. Not sure if this is always true.
var remaining = getFrameDeadline() - performance.now();
@ -601,6 +586,9 @@ if (hasNativePerformanceNow) {
} else {
timeRemaining = function () {
// Fallback to Date.now()
if (firstCallbackNode !== null && firstCallbackNode.expirationTime < currentExpirationTime) {
return 0;
}
var remaining = getFrameDeadline() - Date.now();
return remaining > 0 ? remaining : 0;
};
@ -612,22 +600,22 @@ var deadlineObject = {
};
function ensureHostCallbackIsScheduled() {
if (isPerformingWork) {
if (isExecutingCallback) {
// Don't schedule work yet; wait until the next time we yield.
return;
}
// Schedule the host callback using the earliest timeout in the list.
var timesOutAt = firstCallbackNode.timesOutAt;
// Schedule the host callback using the earliest expiration in the list.
var expirationTime = firstCallbackNode.expirationTime;
if (!isHostCallbackScheduled) {
isHostCallbackScheduled = true;
} else {
// Cancel the existing host callback.
cancelCallback();
cancelHostCallback();
}
requestCallback(flushWork, timesOutAt);
requestHostCallback(flushWork, expirationTime);
}
function flushFirstCallback(node) {
function flushFirstCallback() {
var flushedNode = firstCallbackNode;
// Remove the node from the list before calling the callback. That way the
@ -638,33 +626,117 @@ function flushFirstCallback(node) {
firstCallbackNode = null;
next = null;
} else {
var previous = firstCallbackNode.previous;
firstCallbackNode = previous.next = next;
next.previous = previous;
var lastCallbackNode = firstCallbackNode.previous;
firstCallbackNode = lastCallbackNode.next = next;
next.previous = lastCallbackNode;
}
flushedNode.next = flushedNode.previous = null;
// Now it's safe to call the callback.
var callback = flushedNode.callback;
callback(deadlineObject);
var expirationTime = flushedNode.expirationTime;
var priorityLevel = flushedNode.priorityLevel;
var previousPriorityLevel = currentPriorityLevel;
var previousExpirationTime = currentExpirationTime;
currentPriorityLevel = priorityLevel;
currentExpirationTime = expirationTime;
var continuationCallback;
try {
continuationCallback = callback(deadlineObject);
} finally {
currentPriorityLevel = previousPriorityLevel;
currentExpirationTime = previousExpirationTime;
}
// A callback may return a continuation. The continuation should be scheduled
// with the same priority and expiration as the just-finished callback.
if (typeof continuationCallback === 'function') {
var continuationNode = {
callback: continuationCallback,
priorityLevel: priorityLevel,
expirationTime: expirationTime,
next: null,
previous: null
};
// Insert the new callback into the list, sorted by its expiration. This is
// almost the same as the code in `scheduleCallback`, except the callback
// is inserted into the list *before* callbacks of equal expiration instead
// of after.
if (firstCallbackNode === null) {
// This is the first callback in the list.
firstCallbackNode = continuationNode.next = continuationNode.previous = continuationNode;
} else {
var nextAfterContinuation = null;
var node = firstCallbackNode;
do {
if (node.expirationTime >= expirationTime) {
// This callback expires at or after the continuation. We will insert
// the continuation *before* this callback.
nextAfterContinuation = node;
break;
}
node = node.next;
} while (node !== firstCallbackNode);
if (nextAfterContinuation === null) {
// No equal or lower priority callback was found, which means the new
// callback is the lowest priority callback in the list.
nextAfterContinuation = firstCallbackNode;
} else if (nextAfterContinuation === firstCallbackNode) {
// The new callback is the highest priority callback in the list.
firstCallbackNode = continuationNode;
ensureHostCallbackIsScheduled();
}
var previous = nextAfterContinuation.previous;
previous.next = nextAfterContinuation.previous = continuationNode;
continuationNode.next = nextAfterContinuation;
continuationNode.previous = previous;
}
}
}
function flushImmediateWork() {
if (
// Confirm we've exited the outer most event handler
currentEventStartTime === -1 && firstCallbackNode !== null && firstCallbackNode.priorityLevel === ImmediatePriority) {
isExecutingCallback = true;
deadlineObject.didTimeout = true;
try {
do {
flushFirstCallback();
} while (
// Keep flushing until there are no more immediate callbacks
firstCallbackNode !== null && firstCallbackNode.priorityLevel === ImmediatePriority);
} finally {
isExecutingCallback = false;
if (firstCallbackNode !== null) {
// There's still work remaining. Request another callback.
ensureHostCallbackIsScheduled();
} else {
isHostCallbackScheduled = false;
}
}
}
}
function flushWork(didTimeout) {
isPerformingWork = true;
isExecutingCallback = true;
deadlineObject.didTimeout = didTimeout;
try {
if (didTimeout) {
// Flush all the timed out callbacks without yielding.
// Flush all the expired callbacks without yielding.
while (firstCallbackNode !== null) {
// Read the current time. Flush all the callbacks that expire at or
// earlier than that time. Then read the current time again and repeat.
// This optimizes for as few performance.now calls as possible.
var currentTime = getCurrentTime();
if (firstCallbackNode.timesOutAt <= currentTime) {
if (firstCallbackNode.expirationTime <= currentTime) {
do {
flushFirstCallback();
} while (firstCallbackNode !== null && firstCallbackNode.timesOutAt <= currentTime);
} while (firstCallbackNode !== null && firstCallbackNode.expirationTime <= currentTime);
continue;
}
break;
@ -678,46 +750,109 @@ function flushWork(didTimeout) {
}
}
} finally {
isPerformingWork = false;
isExecutingCallback = false;
if (firstCallbackNode !== null) {
// There's still work remaining. Request another callback.
ensureHostCallbackIsScheduled(firstCallbackNode);
ensureHostCallbackIsScheduled();
} else {
isHostCallbackScheduled = false;
}
// Before exiting, flush all the immediate work that was scheduled.
flushImmediateWork();
}
}
function unstable_scheduleWork(callback, options) {
var currentTime = getCurrentTime();
function unstable_runWithPriority(priorityLevel, eventHandler) {
switch (priorityLevel) {
case ImmediatePriority:
case UserBlockingPriority:
case NormalPriority:
case IdlePriority:
break;
default:
priorityLevel = NormalPriority;
}
var timesOutAt;
if (options !== undefined && options !== null && options.timeout !== null && options.timeout !== undefined) {
// Check for an explicit timeout
timesOutAt = currentTime + options.timeout;
var previousPriorityLevel = currentPriorityLevel;
var previousEventStartTime = currentEventStartTime;
currentPriorityLevel = priorityLevel;
currentEventStartTime = getCurrentTime();
try {
return eventHandler();
} finally {
currentPriorityLevel = previousPriorityLevel;
currentEventStartTime = previousEventStartTime;
// Before exiting, flush all the immediate work that was scheduled.
flushImmediateWork();
}
}
function unstable_wrapCallback(callback) {
var parentPriorityLevel = currentPriorityLevel;
return function () {
// This is a fork of runWithPriority, inlined for performance.
var previousPriorityLevel = currentPriorityLevel;
var previousEventStartTime = currentEventStartTime;
currentPriorityLevel = parentPriorityLevel;
currentEventStartTime = getCurrentTime();
try {
return callback.apply(this, arguments);
} finally {
currentPriorityLevel = previousPriorityLevel;
currentEventStartTime = previousEventStartTime;
flushImmediateWork();
}
};
}
function unstable_scheduleCallback(callback, deprecated_options) {
var startTime = currentEventStartTime !== -1 ? currentEventStartTime : getCurrentTime();
var expirationTime;
if (typeof deprecated_options === 'object' && deprecated_options !== null && typeof deprecated_options.timeout === 'number') {
// FIXME: Remove this branch once we lift expiration times out of React.
expirationTime = startTime + deprecated_options.timeout;
} else {
// Compute an absolute timeout using the default constant.
timesOutAt = currentTime + DEFERRED_TIMEOUT;
switch (currentPriorityLevel) {
case ImmediatePriority:
expirationTime = startTime + IMMEDIATE_PRIORITY_TIMEOUT;
break;
case UserBlockingPriority:
expirationTime = startTime + USER_BLOCKING_PRIORITY;
break;
case IdlePriority:
expirationTime = startTime + IDLE_PRIORITY;
break;
case NormalPriority:
default:
expirationTime = startTime + NORMAL_PRIORITY_TIMEOUT;
}
}
var newNode = {
callback: callback,
timesOutAt: timesOutAt,
priorityLevel: currentPriorityLevel,
expirationTime: expirationTime,
next: null,
previous: null
};
// Insert the new callback into the list, sorted by its timeout.
// Insert the new callback into the list, ordered first by expiration, then
// by insertion. So the new callback is inserted any other callback with
// equal expiration.
if (firstCallbackNode === null) {
// This is the first callback in the list.
firstCallbackNode = newNode.next = newNode.previous = newNode;
ensureHostCallbackIsScheduled(firstCallbackNode);
ensureHostCallbackIsScheduled();
} else {
var next = null;
var node = firstCallbackNode;
do {
if (node.timesOutAt > timesOutAt) {
// The new callback times out before this one.
if (node.expirationTime > expirationTime) {
// The new callback expires before this one.
next = node;
break;
}
@ -725,13 +860,13 @@ function unstable_scheduleWork(callback, options) {
} while (node !== firstCallbackNode);
if (next === null) {
// No callback with a later timeout was found, which means the new
// callback has the latest timeout in the list.
// No callback with a later expiration was found, which means the new
// callback has the latest expiration in the list.
next = firstCallbackNode;
} else if (next === firstCallbackNode) {
// The new callback has the earliest timeout in the entire list.
// The new callback has the earliest expiration in the entire list.
firstCallbackNode = newNode;
ensureHostCallbackIsScheduled(firstCallbackNode);
ensureHostCallbackIsScheduled();
}
var previous = next.previous;
@ -743,7 +878,7 @@ function unstable_scheduleWork(callback, options) {
return newNode;
}
function unstable_cancelScheduledWork(callbackNode) {
function unstable_cancelCallback(callbackNode) {
var next = callbackNode.next;
if (next === null) {
// Already cancelled.
@ -766,6 +901,10 @@ function unstable_cancelScheduledWork(callbackNode) {
callbackNode.next = callbackNode.previous = null;
}
function unstable_getCurrentPriorityLevel() {
return currentPriorityLevel;
}
// The remaining code is essentially a polyfill for requestIdleCallback. It
// works by scheduling a requestAnimationFrame, storing the time for the start
// of the frame, then scheduling a postMessage which gets scheduled after paint.
@ -826,31 +965,59 @@ if (hasNativePerformanceNow) {
};
}
var requestCallback;
var cancelCallback;
var requestHostCallback;
var cancelHostCallback;
var getFrameDeadline;
if (typeof window === 'undefined') {
// If this accidentally gets imported in a non-browser environment, fallback
// to a naive implementation.
var timeoutID = -1;
requestCallback = function (callback, absoluteTimeout) {
timeoutID = setTimeout(callback, 0, true);
};
cancelCallback = function () {
clearTimeout(timeoutID);
};
getFrameDeadline = function () {
return 0;
};
} else if (window._schedMock) {
if (typeof window !== 'undefined' && window._schedMock) {
// Dynamic injection, only for testing purposes.
var impl = window._schedMock;
requestCallback = impl[0];
cancelCallback = impl[1];
requestHostCallback = impl[0];
cancelHostCallback = impl[1];
getFrameDeadline = impl[2];
} else if (
// If Scheduler runs in a non-DOM environment, it falls back to a naive
// implementation using setTimeout.
typeof window === 'undefined' ||
// "addEventListener" might not be available on the window object
// if this is a mocked "window" object. So we need to validate that too.
typeof window.addEventListener !== 'function') {
var _callback = null;
var _currentTime = -1;
var _flushCallback = function (didTimeout, ms) {
if (_callback !== null) {
var cb = _callback;
_callback = null;
try {
_currentTime = ms;
cb(didTimeout);
} finally {
_currentTime = -1;
}
}
};
requestHostCallback = function (cb, ms) {
if (_currentTime !== -1) {
// Protect against re-entrancy.
setTimeout(requestHostCallback, 0, cb, ms);
} else {
_callback = cb;
setTimeout(_flushCallback, ms, true, ms);
setTimeout(_flushCallback, maxSigned31BitInt, false, maxSigned31BitInt);
}
};
cancelHostCallback = function () {
_callback = null;
};
getFrameDeadline = function () {
return Infinity;
};
getCurrentTime = function () {
return _currentTime === -1 ? 0 : _currentTime;
};
} else {
if (typeof console !== 'undefined') {
// TODO: Remove fb.me link
if (typeof localRequestAnimationFrame !== 'function') {
console.error("This browser doesn't support requestAnimationFrame. " + 'Make sure that you load a ' + 'polyfill in older browsers. https://fb.me/react-polyfills');
}
@ -859,13 +1026,13 @@ if (typeof window === 'undefined') {
}
}
var scheduledCallback = null;
var isIdleScheduled = false;
var scheduledHostCallback = null;
var isMessageEventScheduled = false;
var timeoutTime = -1;
var isAnimationFrameScheduled = false;
var isPerformingIdleWork = false;
var isFlushingHostCallback = false;
var frameDeadline = 0;
// We start out assuming that we run at 30fps but then the heuristic tracking
@ -885,7 +1052,12 @@ if (typeof window === 'undefined') {
return;
}
isIdleScheduled = false;
isMessageEventScheduled = false;
var prevScheduledCallback = scheduledHostCallback;
var prevTimeoutTime = timeoutTime;
scheduledHostCallback = null;
timeoutTime = -1;
var currentTime = getCurrentTime();
@ -893,7 +1065,7 @@ if (typeof window === 'undefined') {
if (frameDeadline - currentTime <= 0) {
// There's no time left in this idle period. Check if the callback has
// a timeout and whether it's been exceeded.
if (timeoutTime !== -1 && timeoutTime <= currentTime) {
if (prevTimeoutTime !== -1 && prevTimeoutTime <= currentTime) {
// Exceeded the timeout. Invoke the callback even though there's no
// time left.
didTimeout = true;
@ -905,19 +1077,18 @@ if (typeof window === 'undefined') {
requestAnimationFrameWithTimeout(animationTick);
}
// Exit without invoking the callback.
scheduledHostCallback = prevScheduledCallback;
timeoutTime = prevTimeoutTime;
return;
}
}
timeoutTime = -1;
var callback = scheduledCallback;
scheduledCallback = null;
if (callback !== null) {
isPerformingIdleWork = true;
if (prevScheduledCallback !== null) {
isFlushingHostCallback = true;
try {
callback(didTimeout);
prevScheduledCallback(didTimeout);
} finally {
isPerformingIdleWork = false;
isFlushingHostCallback = false;
}
}
};
@ -926,12 +1097,27 @@ if (typeof window === 'undefined') {
window.addEventListener('message', idleTick, false);
var animationTick = function (rafTime) {
isAnimationFrameScheduled = false;
if (scheduledHostCallback !== null) {
// Eagerly schedule the next animation callback at the beginning of the
// frame. If the scheduler queue is not empty at the end of the frame, it
// will continue flushing inside that callback. If the queue *is* empty,
// then it will exit immediately. Posting the callback at the start of the
// frame ensures it's fired within the earliest possible frame. If we
// waited until the end of the frame to post the callback, we risk the
// browser skipping a frame and not firing the callback until the frame
// after that.
requestAnimationFrameWithTimeout(animationTick);
} else {
// No pending work. Exit.
isAnimationFrameScheduled = false;
return;
}
var nextFrameTime = rafTime - frameDeadline + activeFrameTime;
if (nextFrameTime < activeFrameTime && previousFrameTime < activeFrameTime) {
if (nextFrameTime < 8) {
// Defensive coding. We don't support higher frame rates than 120hz.
// If we get lower than that, it is probably a bug.
// If the calculated frame time gets lower than 8, it is probably a bug.
nextFrameTime = 8;
}
// If one frame goes long, then the next one can be short to catch up.
@ -946,17 +1132,16 @@ if (typeof window === 'undefined') {
previousFrameTime = nextFrameTime;
}
frameDeadline = rafTime + activeFrameTime;
if (!isIdleScheduled) {
isIdleScheduled = true;
if (!isMessageEventScheduled) {
isMessageEventScheduled = true;
window.postMessage(messageKey, '*');
}
};
requestCallback = function (callback, absoluteTimeout) {
scheduledCallback = callback;
requestHostCallback = function (callback, absoluteTimeout) {
scheduledHostCallback = callback;
timeoutTime = absoluteTimeout;
if (isPerformingIdleWork) {
// If we're already performing idle work, an error must have been thrown.
if (isFlushingHostCallback || absoluteTimeout < 0) {
// Don't wait for the next frame. Continue working ASAP, in a new event.
window.postMessage(messageKey, '*');
} else if (!isAnimationFrameScheduled) {
@ -969,13 +1154,44 @@ if (typeof window === 'undefined') {
}
};
cancelCallback = function () {
scheduledCallback = null;
isIdleScheduled = false;
cancelHostCallback = function () {
scheduledHostCallback = null;
isMessageEventScheduled = false;
timeoutTime = -1;
};
}
// Helps identify side effects in begin-phase lifecycle hooks and setState reducers:
// In some cases, StrictMode should also double-render lifecycles.
// This can be confusing for tests though,
// And it can be bad for performance in production.
// This feature flag can be used to control the behavior:
// To preserve the "Pause on caught exceptions" behavior of the debugger, we
// replay the begin phase of a failed component inside invokeGuardedCallback.
// Warn about deprecated, async-unsafe lifecycles; relates to RFC #6:
// Gather advanced timing metrics for Profiler subtrees.
// Trace which interactions trigger each commit.
var enableSchedulerTracing = true;
// Only used in www builds.
// Only used in www builds.
// React Fire: prevent the value and checked attributes from syncing
// with their related DOM properties
var DEFAULT_THREAD_ID = 0;
// Counters used to generate unique IDs.
@ -1379,10 +1595,13 @@ var describeComponentFrame = function (name, source, ownerName) {
var Resolved = 1;
function refineResolvedLazyComponent(lazyComponent) {
return lazyComponent._status === Resolved ? lazyComponent._result : null;
}
function refineResolvedThenable(thenable) {
return thenable._reactStatus === Resolved ? thenable._reactResult : null;
function getWrappedName(outerType, innerType, wrapperName) {
var functionName = innerType.displayName || innerType.name || '';
return outerType.displayName || (functionName !== '' ? wrapperName + '(' + functionName + ')' : wrapperName);
}
function getComponentName(type) {
@ -1402,8 +1621,8 @@ function getComponentName(type) {
return type;
}
switch (type) {
case REACT_ASYNC_MODE_TYPE:
return 'AsyncMode';
case REACT_CONCURRENT_MODE_TYPE:
return 'ConcurrentMode';
case REACT_FRAGMENT_TYPE:
return 'Fragment';
case REACT_PORTAL_TYPE:
@ -1412,8 +1631,8 @@ function getComponentName(type) {
return 'Profiler';
case REACT_STRICT_MODE_TYPE:
return 'StrictMode';
case REACT_PLACEHOLDER_TYPE:
return 'Placeholder';
case REACT_SUSPENSE_TYPE:
return 'Suspense';
}
if (typeof type === 'object') {
switch (type.$$typeof) {
@ -1422,16 +1641,17 @@ function getComponentName(type) {
case REACT_PROVIDER_TYPE:
return 'Context.Provider';
case REACT_FORWARD_REF_TYPE:
var renderFn = type.render;
var functionName = renderFn.displayName || renderFn.name || '';
return type.displayName || (functionName !== '' ? 'ForwardRef(' + functionName + ')' : 'ForwardRef');
}
if (typeof type.then === 'function') {
var thenable = type;
var resolvedThenable = refineResolvedThenable(thenable);
if (resolvedThenable) {
return getComponentName(resolvedThenable);
}
return getWrappedName(type, type.render, 'ForwardRef');
case REACT_MEMO_TYPE:
return getComponentName(type.type);
case REACT_LAZY_TYPE:
{
var thenable = type;
var resolvedThenable = refineResolvedLazyComponent(thenable);
if (resolvedThenable) {
return getComponentName(resolvedThenable);
}
}
}
}
return null;
@ -1484,12 +1704,15 @@ var ReactSharedInternals = {
// This re-export is only required for UMD bundles;
// CJS bundles use the shared NPM package.
objectAssign(ReactSharedInternals, {
Schedule: {
unstable_cancelScheduledWork: unstable_cancelScheduledWork,
Scheduler: {
unstable_cancelCallback: unstable_cancelCallback,
unstable_now: getCurrentTime,
unstable_scheduleWork: unstable_scheduleWork
unstable_scheduleCallback: unstable_scheduleCallback,
unstable_runWithPriority: unstable_runWithPriority,
unstable_wrapCallback: unstable_wrapCallback,
unstable_getCurrentPriorityLevel: unstable_getCurrentPriorityLevel
},
ScheduleTracing: {
SchedulerTracing: {
__interactionsRef: interactionsRef,
__subscriberRef: subscriberRef,
unstable_clear: unstable_clear,
@ -2172,12 +2395,6 @@ function onlyChild(children) {
return children;
}
function readContext(context, observedBits) {
var dispatcher = ReactCurrentOwner.currentDispatcher;
!(dispatcher !== null) ? invariant(false, 'Context.unstable_read(): Context can only be read while React is rendering, e.g. inside the render method or getDerivedStateFromProps.') : void 0;
return dispatcher.readContext(context, observedBits);
}
function createContext(defaultValue, calculateChangedBits) {
if (calculateChangedBits === undefined) {
calculateChangedBits = null;
@ -2199,16 +2416,69 @@ function createContext(defaultValue, calculateChangedBits) {
_currentValue2: defaultValue,
// These are circular
Provider: null,
Consumer: null,
unstable_read: null
Consumer: null
};
context.Provider = {
$$typeof: REACT_PROVIDER_TYPE,
_context: context
};
context.Consumer = context;
context.unstable_read = readContext.bind(null, context);
var hasWarnedAboutUsingNestedContextConsumers = false;
var hasWarnedAboutUsingConsumerProvider = false;
{
// A separate object, but proxies back to the original context object for
// backwards compatibility. It has a different $$typeof, so we can properly
// warn for the incorrect usage of Context as a Consumer.
var Consumer = {
$$typeof: REACT_CONTEXT_TYPE,
_context: context,
_calculateChangedBits: context._calculateChangedBits
};
// $FlowFixMe: Flow complains about not setting a value, which is intentional here
Object.defineProperties(Consumer, {
Provider: {
get: function () {
if (!hasWarnedAboutUsingConsumerProvider) {
hasWarnedAboutUsingConsumerProvider = true;
warning$1(false, 'Rendering <Context.Consumer.Provider> is not supported and will be removed in ' + 'a future major release. Did you mean to render <Context.Provider> instead?');
}
return context.Provider;
},
set: function (_Provider) {
context.Provider = _Provider;
}
},
_currentValue: {
get: function () {
return context._currentValue;
},
set: function (_currentValue) {
context._currentValue = _currentValue;
}
},
_currentValue2: {
get: function () {
return context._currentValue2;
},
set: function (_currentValue2) {
context._currentValue2 = _currentValue2;
}
},
Consumer: {
get: function () {
if (!hasWarnedAboutUsingNestedContextConsumers) {
hasWarnedAboutUsingNestedContextConsumers = true;
warning$1(false, 'Rendering <Context.Consumer.Consumer> is not supported and will be removed in ' + 'a future major release. Did you mean to render <Context.Consumer> instead?');
}
return context.Consumer;
}
}
});
// $FlowFixMe: Flow complains about missing properties because it doesn't understand defineProperty
context.Consumer = Consumer;
}
{
context._currentRenderer = null;
@ -2219,20 +2489,12 @@ function createContext(defaultValue, calculateChangedBits) {
}
function lazy(ctor) {
var thenable = null;
return {
then: function (resolve, reject) {
if (thenable === null) {
// Lazily create thenable by wrapping in an extra thenable.
thenable = ctor();
ctor = null;
}
return thenable.then(resolve, reject);
},
$$typeof: REACT_LAZY_TYPE,
_ctor: ctor,
// React uses these fields to store the result.
_reactStatus: -1,
_reactResult: null
_status: -1,
_result: null
};
}
@ -2260,7 +2522,20 @@ function forwardRef(render) {
function isValidElementType(type) {
return typeof type === 'string' || typeof type === 'function' ||
// Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
type === REACT_FRAGMENT_TYPE || type === REACT_ASYNC_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_PLACEHOLDER_TYPE || typeof type === 'object' && type !== null && (typeof type.then === 'function' || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE);
type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE);
}
function memo(type, compare) {
{
if (!isValidElementType(type)) {
warningWithoutStack$1(false, 'memo: The first argument must be a component. Instead ' + 'received: %s', type === null ? 'null' : typeof type);
}
}
return {
$$typeof: REACT_MEMO_TYPE,
type: type,
compare: compare === undefined ? null : compare
};
}
/**
@ -2513,7 +2788,7 @@ function validatePropTypes(element) {
var name = void 0,
propTypes = void 0;
if (typeof type === 'function') {
// Class or functional component
// Class or function component
name = type.displayName || type.name;
propTypes = type.propTypes;
} else if (typeof type === 'object' && type !== null && type.$$typeof === REACT_FORWARD_REF_TYPE) {
@ -2665,10 +2940,13 @@ var React = {
createContext: createContext,
forwardRef: forwardRef,
lazy: lazy,
memo: memo,
Fragment: REACT_FRAGMENT_TYPE,
StrictMode: REACT_STRICT_MODE_TYPE,
unstable_AsyncMode: REACT_ASYNC_MODE_TYPE,
unstable_ConcurrentMode: REACT_CONCURRENT_MODE_TYPE,
Suspense: REACT_SUSPENSE_TYPE,
unstable_Profiler: REACT_PROFILER_TYPE,
createElement: createElementWithValidation,
@ -2681,11 +2959,6 @@ var React = {
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: ReactSharedInternals
};
if (enableSuspense) {
React.Placeholder = REACT_PLACEHOLDER_TYPE;
React.lazy = lazy;
}
var React$2 = Object.freeze({

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.0-beta1-43842';
$wp_version = '5.0-beta1-43843';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.