7.4.33 | Linux x86_64
Server128.199.10.0
Userwww-data (uid:33)
PHP7.4.33 (apache2handler)
Terminal
Upload
Files: /var/www/html/wp-includes/js/dist
View: plugins.min.js
"use strict";var wp;(wp||={}).plugins=(()=>{var K=Object.create;var g=Object.defineProperty;var Q=Object.getOwnPropertyDescriptor;var Y=Object.getOwnPropertyNames;var Z=Object.getPrototypeOf,aa=Object.prototype.hasOwnProperty;var d=(a,t)=>()=>(t||a((t={exports:{}}).exports,t),t.exports),ta=(a,t)=>{for(var r in t)g(a,r,{get:t[r],enumerable:!0})},B=(a,t,r,f)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Y(t))!aa.call(a,o)&&o!==r&&g(a,o,{get:()=>t[o],enumerable:!(f=Q(t,o))||f.enumerable});return a};var s=(a,t,r)=>(r=a!=null?K(Z(a)):{},B(t||!a||!a.__esModule?g(r,"default",{value:a,enumerable:!0}):r,a)),ea=a=>B(g({},"__esModule",{value:!0}),a);var h=d((ia,T)=>{T.exports=window.wp.element});var P=d((pa,A)=>{A.exports=window.wp.hooks});var z=d((na,V)=>{V.exports=window.wp.isShallowEqual});var j=d((ca,E)=>{E.exports=window.wp.compose});var F=d((ga,U)=>{U.exports=window.wp.deprecated});var v=d((ha,H)=>{H.exports=window.ReactJSXRuntime});var W=d((ba,J)=>{J.exports=window.wp.primitives});var ua={};ta(ua,{PluginArea:()=>X,getPlugin:()=>oa,getPlugins:()=>S,registerPlugin:()=>ra,unregisterPlugin:()=>fa,usePluginContext:()=>O,withPluginContext:()=>M});function D(a,t){var r=0,f,o;t=t||{};function l(){var e=f,C=arguments.length,c,u;a:for(;e;){if(e.args.length!==arguments.length){e=e.next;continue}for(u=0;u<C;u++)if(e.args[u]!==arguments[u]){e=e.next;continue a}return e!==f&&(e===o&&(o=e.prev),e.prev.next=e.next,e.next&&(e.next.prev=e.prev),e.next=f,e.prev=null,f.prev=e,f=e),e.val}for(c=new Array(C),u=0;u<C;u++)c[u]=arguments[u];return e={args:c,val:a.apply(null,c)},f?(f.prev=e,e.next=f):o=e,r===t.maxSize?(o=o.prev,o.next=null):r++,f=e,e.val}return l.clear=function(){f=null,o=null,r=0},l}var y=s(h(),1),i=s(P(),1),G=s(z(),1);var w=s(h(),1),N=s(j(),1),q=s(F(),1),L=s(v(),1),x=(0,w.createContext)({name:null,icon:null});x.displayName="PluginContext";var I=x.Provider;function O(){return(0,w.useContext)(x)}var M=a=>(0,N.createHigherOrderComponent)(t=>((0,q.default)("wp.plugins.withPluginContext",{since:"6.8.0",alternative:"wp.plugins.usePluginContext"}),r=>(0,L.jsx)(x.Consumer,{children:f=>(0,L.jsx)(t,{...r,...a(f,r)})})),"withPluginContext");var _=s(h(),1),$=class extends _.Component{constructor(a){super(a),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(a){let{name:t,onError:r}=this.props;r&&r(t,a)}render(){return this.state.hasError?null:this.props.children}};var p=s(P(),1);var b=s(W(),1),R=s(v(),1),k=(0,R.jsx)(b.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,R.jsx)(b.Path,{d:"M10.5 4v4h3V4H15v4h1.5a1 1 0 011 1v4l-3 4v2a1 1 0 01-1 1h-3a1 1 0 01-1-1v-2l-3-4V9a1 1 0 011-1H9V4h1.5zm.5 12.5v2h2v-2l3-4v-3H8v3l3 4z"})});var m={};function ra(a,t){if(typeof t!="object")return console.error("No settings object provided!"),null;if(typeof a!="string")return console.error("Plugin name must be string."),null;if(!/^[a-z][a-z0-9-]*$/.test(a))return console.error('Plugin name must include only lowercase alphanumeric characters or dashes, and start with a letter. Example: "my-plugin".'),null;m[a]&&console.error(`Plugin "${a}" is already registered.`),t=(0,p.applyFilters)("plugins.registerPlugin",t,a);let{render:r,scope:f}=t;if(typeof r!="function")return console.error('The "render" property must be specified and must be a valid function.'),null;if(f){if(typeof f!="string")return console.error("Plugin scope must be string."),null;if(!/^[a-z][a-z0-9-]*$/.test(f))return console.error('Plugin scope must include only lowercase alphanumeric characters or dashes, and start with a letter. Example: "my-page".'),null}return m[a]={name:a,icon:k,...t},(0,p.doAction)("plugins.pluginRegistered",t,a),t}function fa(a){if(!m[a]){console.error('Plugin "'+a+'" is not registered.');return}let t=m[a];return delete m[a],(0,p.doAction)("plugins.pluginUnregistered",t,a),t}function oa(a){return m[a]}function S(a){return Object.values(m).filter(t=>t.scope===a)}var n=s(v(),1),la=D((a,t)=>({icon:a,name:t}));function sa({scope:a,onError:t}){let r=(0,y.useMemo)(()=>{let o=[];return{subscribe(l){return(0,i.addAction)("plugins.pluginRegistered","core/plugins/plugin-area/plugins-registered",l),(0,i.addAction)("plugins.pluginUnregistered","core/plugins/plugin-area/plugins-unregistered",l),()=>{(0,i.removeAction)("plugins.pluginRegistered","core/plugins/plugin-area/plugins-registered"),(0,i.removeAction)("plugins.pluginUnregistered","core/plugins/plugin-area/plugins-unregistered")}},getValue(){let l=S(a);return(0,G.isShallowEqual)(o,l)||(o=l),o}}},[a]),f=(0,y.useSyncExternalStore)(r.subscribe,r.getValue,r.getValue);return(0,n.jsx)("div",{style:{display:"none"},children:f.map(({icon:o,name:l,render:e})=>(0,n.jsx)(I,{value:la(o,l),children:(0,n.jsx)($,{name:l,onError:t,children:(0,n.jsx)(e,{})})},l))})}var X=sa;return ea(ua);})();
NameSizeActions
a11y.js5.5KView Edit Del
a11y.min.js2.4KView Edit Del
annotations.js15.1KView Edit Del
annotations.min.js5.6KView Edit Del
api-fetch.js17.5KView Edit Del
api-fetch.min.js6.3KView Edit Del
autop.js9.7KView Edit Del
autop.min.js5.5KView Edit Del
base-styles.js48BView Edit Del
base-styles.min.js40BView Edit Del
blob.js2.3KView Edit Del
blob.min.js1.1KView Edit Del
block-directory.js55.7KView Edit Del
block-directory.min.js21.9KView Edit Del
block-editor.js2.7MView Edit Del
block-editor.min.js1MView Edit Del
block-library.js2.6MView Edit Del
block-library.min.js1.1MView Edit Del
block-serialization-default-parser.js6.5KView Edit Del
block-serialization-default-parser.min.js2.4KView Edit Del
block-serialization-spec-parser.js50.5KView Edit Del
block-serialization-spec-parser.min.js10.3KView Edit Del
blocks.js381.1KView Edit Del
blocks.min.js180.6KView Edit Del
commands.js151.7KView Edit Del
commands.min.js63.1KView Edit Del
components.js3.8MView Edit Del
components.min.js786.2KView Edit Del
compose.js80.8KView Edit Del
compose.min.js28.2KView Edit Del
core-commands.js28.7KView Edit Del
core-commands.min.js11.8KView Edit Del
core-data.js612KView Edit Del
core-data.min.js210.4KView Edit Del
customize-widgets.js91.6KView Edit Del
customize-widgets.min.js36.6KView Edit Del
data-controls.js4.1KView Edit Del
data-controls.min.js1.7KView Edit Del
data.js82.8KView Edit Del
data.min.js25.9KView Edit Del
date.js176.3KView Edit Del
date.min.js141.2KView Edit Del
deprecated.js3KView Edit Del
deprecated.min.js1.3KView Edit Del
development/--
dom-ready.js1.5KView Edit Del
dom-ready.min.js783BView Edit Del
dom.js34.6KView Edit Del
dom.min.js12.6KView Edit Del
edit-post.js117.4KView Edit Del
edit-post.min.js49.1KView Edit Del
edit-site.js1.7MView Edit Del
edit-site.min.js684.4KView Edit Del
edit-widgets.js160.2KView Edit Del
edit-widgets.min.js61.8KView Edit Del
editor.js2.5MView Edit Del
editor.min.js1021.2KView Edit Del
element.js27.9KView Edit Del
element.min.js12.1KView Edit Del
escape-html.js2.3KView Edit Del
escape-html.min.js1KView Edit Del
format-library.js73.3KView Edit Del
format-library.min.js28.8KView Edit Del
hooks.js12KView Edit Del
hooks.min.js4.9KView Edit Del
html-entities.js1.6KView Edit Del
html-entities.min.js844BView Edit Del
i18n.js15.3KView Edit Del
i18n.min.js5.6KView Edit Del
is-shallow-equal.js2.7KView Edit Del
is-shallow-equal.min.js1.1KView Edit Del
keyboard-shortcuts.js9.7KView Edit Del
keyboard-shortcuts.min.js3.4KView Edit Del
keycodes.js8.3KView Edit Del
keycodes.min.js2.9KView Edit Del
list-reusable-blocks.js13.1KView Edit Del
list-reusable-blocks.min.js5.2KView Edit Del
media-utils.js637.1KView Edit Del
media-utils.min.js237.6KView Edit Del
notices.js10.1KView Edit Del
notices.min.js4.3KView Edit Del
nux.js10.3KView Edit Del
nux.min.js3.9KView Edit Del
patterns.js58.2KView Edit Del
patterns.min.js21.6KView Edit Del
plugins.js11.7KView Edit Del
plugins.min.js4.7KView Edit Del
preferences-persistence.js17.2KView Edit Del
preferences-persistence.min.js5.5KView Edit Del
preferences.js21.1KView Edit Del
preferences.min.js7.7KView Edit Del
primitives.js5.1KView Edit Del
primitives.min.js1.9KView Edit Del
priority-queue.js10KView Edit Del
priority-queue.min.js3.3KView Edit Del
private-apis.js4.1KView Edit Del
private-apis.min.js2.6KView Edit Del
react-i18n.js3.9KView Edit Del
react-i18n.min.js1.5KView Edit Del
redux-routine.js24.7KView Edit Del
redux-routine.min.js9.6KView Edit Del
reusable-blocks.js20.5KView Edit Del
reusable-blocks.min.js7.2KView Edit Del
rich-text.js97KView Edit Del
rich-text.min.js39.9KView Edit Del
router.js36.1KView Edit Del
router.min.js14.1KView Edit Del
script-modules/--
server-side-render.js11KView Edit Del
server-side-render.min.js3.9KView Edit Del
shortcode.js8KView Edit Del
shortcode.min.js3.2KView Edit Del
style-engine.js17.6KView Edit Del
style-engine.min.js6.4KView Edit Del
sync.js359.4KView Edit Del
sync.min.js118.1KView Edit Del
theme.js127.6KView Edit Del
theme.min.js56.1KView Edit Del
token-list.js6.1KView Edit Del
token-list.min.js1.6KView Edit Del
undo-manager.js5.3KView Edit Del
undo-manager.min.js1.7KView Edit Del
upload-media.js55.7KView Edit Del
upload-media.min.js23KView Edit Del
url.js23.4KView Edit Del
url.min.js10.1KView Edit Del
vendor/--
viewport.js6.6KView Edit Del
viewport.min.js2.2KView Edit Del
warning.js1.5KView Edit Del
warning.min.js720BView Edit Del
widgets.js50.1KView Edit Del
widgets.min.js20.8KView Edit Del
wordcount.js6.9KView Edit Del
wordcount.min.js2.4KView Edit Del