mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-10 14:48:07 +02:00
Further improves webpack configuration for editor files to use hashed module IDs in the compressed (`*.min.js`) production files. Follow up to [50940]. Props gziolo, peterwilsoncc. Fixes #53192. Built from https://develop.svn.wordpress.org/trunk@51035 git-svn-id: http://core.svn.wordpress.org/trunk@50644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2 lines
2.1 KiB
JavaScript
2 lines
2.1 KiB
JavaScript
/*! This file is auto-generated */
|
|
this.wp=this.wp||{},this.wp.tokenList=function(t){var e={};function r(n){if(e[n])return e[n].exports;var u=e[n]={i:n,l:!1,exports:{}};return t[n].call(u.exports,u,u.exports,r),u.l=!0,u.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var u in t)r.d(n,u,function(e){return t[e]}.bind(null,u));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s="hwXU")}({YLtl:function(t,e){t.exports=window.lodash},hwXU:function(t,e,r){"use strict";r.r(e),r.d(e,"default",(function(){return u}));var n=r("YLtl");class u{constructor(t=""){this.value=t,this._currentValue,this._valueAsArray}entries(...t){return this._valueAsArray.entries(...t)}forEach(...t){return this._valueAsArray.forEach(...t)}keys(...t){return this._valueAsArray.keys(...t)}values(...t){return this._valueAsArray.values(...t)}get value(){return this._currentValue}set value(t){t=String(t),this._valueAsArray=Object(n.uniq)(Object(n.compact)(t.split(/\s+/g))),this._currentValue=this._valueAsArray.join(" ")}get length(){return this._valueAsArray.length}toString(){return this.value}*[Symbol.iterator](){return yield*this._valueAsArray}item(t){return this._valueAsArray[t]}contains(t){return-1!==this._valueAsArray.indexOf(t)}add(...t){this.value+=" "+t.join(" ")}remove(...t){this.value=Object(n.without)(this._valueAsArray,...t).join(" ")}toggle(t,e){return void 0===e&&(e=!this.contains(t)),e?this.add(t):this.remove(t),e}replace(t,e){return!!this.contains(t)&&(this.remove(t),this.add(e),!0)}supports(){return!0}}}}).default; |