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-admin/js
View: code-editor.min.js
/*! This file is auto-generated */ void 0===window.wp&&(window.wp={}),void 0===window.wp.codeEditor&&(window.wp.codeEditor={}),function(u,c){"use strict";function d(r){let s=[],a=[];function c(t){r.onUpdateErrorNotice&&!_.isEqual(s,a)&&(r.onUpdateErrorNotice(s,t),a=s)}function d(){let t=r.codemirror?.lint??!1;if(!t)return!1;!0===t?t={}:_.isObject(t)&&(t=u.extend({},t));var i,e=t;return"javascript"===r.codemirror?.mode&&r.jshint&&u.extend(e,r.jshint),"css"===r.codemirror?.mode&&r.csslint&&u.extend(e,r.csslint),"htmlmixed"===r.codemirror?.mode&&r.htmlhint&&(e.rules=u.extend({},r.htmlhint),r.jshint&&e.rules&&(e.rules.jshint=r.jshint),r.csslint)&&e.rules&&(e.rules.csslint=r.csslint),e.onUpdateLinting=(i=e.onUpdateLinting,function(t,e,n){var o=t.filter(function(t){return"error"===t.severity});i&&i(t,e,n),!_.isEqual(o,s)&&(s=o,r.onChangeLintingErrors&&r.onChangeLintingErrors(o,t,e,n),!n.state.focused||0===s.length||0<a.length)&&c(n)}),e}return{getLintOptions:d,init:function(i){i.on("optionChange",function(t,e){var n,o="CodeMirror-lint-markers";"lint"===e&&(e=i.getOption("gutters")||[],!0===(n=i.getOption("lint"))?(_.contains(e,o)||i.setOption("gutters",[o].concat(e)),i.setOption("lint",d())):n||i.setOption("gutters",_.without(e,o)),i.getOption("lint")&&i.performLint?i.performLint():(s=[],c(i)))}),i.on("blur",c),i.on("startCompletion",function(){i.off("blur",c)}),i.on("endCompletion",function(){i.on("blur",c),_.delay(function(){i.state.focused||c(i)},500)}),u(document.body).on("mousedown",function(t){!i.state.focused||i.getWrapperElement().contains(t.target)||t.target.classList.contains("CodeMirror-hint")||c(i)})},updateErrorNotice:c}}c.codeEditor.defaultSettings={codemirror:{},csslint:{},htmlhint:{},jshint:{},onTabNext:function(){},onTabPrevious:function(){},onChangeLintingErrors:function(){},onUpdateErrorNotice:function(){}},c.codeEditor.initialize=function(t,e){"loading"===document.readyState&&console.warn("wp.codeEditor.initialize() ran too early. Invoke this function in a `DOMContentLoaded` event listener.");let n;n=u("string"==typeof t?"#"+t:t);t=u.extend(!0,{},c.codeEditor.defaultSettings,e);const o=d(t),s=(t.codemirror&&(t.codemirror.lint=o.getLintOptions()),c.CodeMirror.fromTextArea(n[0],t.codemirror));o.init(s);e={settings:t,codemirror:s,updateErrorNotice:function(){o.updateErrorNotice(s)}};s.showHint&&s.on("inputRead",function(t,e){if(e.origin&&("+input"===e.origin||e.origin.startsWith("*compose"))&&1===e.text.length&&1===e.text[0].length){var e=e.text[0],n=/^[a-zA-Z]$/.test(e);if(!s.state.completionActive||!n){var o=s.getTokenAt(s.getCursor());if("string"!==o.type&&"comment"!==o.type){var i=c.CodeMirror.innerMode(s.getMode(),o.state).mode.name,r=s.getDoc(),r=r.getLine(r.getCursor().line).slice(0,r.getCursor().ch);let t=!1;"html"===i||"xml"===i?t="<"===e||"/"===e&&"tag"===o.type||n&&"tag"===o.type||n&&"attribute"===o.type||"="===e&&!(!o.state.htmlState?.tagName&&!o.state.curState?.htmlState?.tagName):"css"===i?t=n||":"===e||" "===e&&/:\s+$/.test(r):"javascript"===i?t=n||"."===e:"clike"===i&&"php"===s.options.mode&&(t=n&&("keyword"===o.type||"variable"===o.type)),t&&s.showHint({completeSingle:!1})}}}});{var i=s,r=t;const a=u(i.getTextArea());i.on("blur",function(){a.data("next-tab-blurs",!1)}),i.on("keydown",function(t,e){"Escape"===e.key?a.data("next-tab-blurs",!0):"Tab"===e.key&&a.data("next-tab-blurs")&&(e.shiftKey&&r.onTabPrevious?r.onTabPrevious(i,e):!e.shiftKey&&r.onTabNext&&r.onTabNext(i,e),a.data("next-tab-blurs",!1),e.preventDefault())})}return e}}(jQuery,window.wp);
NameSizeActions
accordion.js2.9KView Edit Del
accordion.min.js758BView Edit Del
application-passwords.js6.2KView Edit Del
application-passwords.min.js3KView Edit Del
auth-app.js5.7KView Edit Del
auth-app.min.js2KView Edit Del
code-editor.js17.5KView Edit Del
code-editor.min.js3.5KView Edit Del
color-picker.js9.5KView Edit Del
color-picker.min.js3.4KView Edit Del
comment.js2.9KView Edit Del
comment.min.js1.3KView Edit Del
common.js61.3KView Edit Del
common.min.js23.2KView Edit Del
custom-background.js3.4KView Edit Del
custom-background.min.js1.2KView Edit Del
custom-header.js2KView Edit Del
customize-controls.js288.4KView Edit Del
customize-controls.min.js109.7KView Edit Del
customize-nav-menus.js111.5KView Edit Del
customize-nav-menus.min.js47.1KView Edit Del
customize-widgets.js70KView Edit Del
customize-widgets.min.js27.4KView Edit Del
dashboard.js27KView Edit Del
dashboard.min.js8.7KView Edit Del
edit-comments.js37.2KView Edit Del
edit-comments.min.js15.2KView Edit Del
editor-expand.js41.6KView Edit Del
editor-expand.min.js13.1KView Edit Del
editor.js44KView Edit Del
editor.min.js12.8KView Edit Del
farbtastic.js7.7KView Edit Del
gallery.js5.4KView Edit Del
gallery.min.js3.7KView Edit Del
image-edit.js40KView Edit Del
image-edit.min.js15.2KView Edit Del
inline-edit-post.js20.2KView Edit Del
inline-edit-post.min.js9.4KView Edit Del
inline-edit-tax.js7.6KView Edit Del
inline-edit-tax.min.js2.9KView Edit Del
iris.min.js23.1KView Edit Del
language-chooser.js890BView Edit Del
language-chooser.min.js423BView Edit Del
link.js4.8KView Edit Del
link.min.js2.3KView Edit Del
media-gallery.js1.3KView Edit Del
media-gallery.min.js611BView Edit Del
media-upload.js3.4KView Edit Del
media-upload.min.js1.1KView Edit Del
media.js6.6KView Edit Del
media.min.js2.4KView Edit Del
nav-menu.js61.1KView Edit Del
nav-menu.min.js30.1KView Edit Del
password-strength-meter.js4.1KView Edit Del
password-strength-meter.min.js1.1KView Edit Del
password-toggle.js1.3KView Edit Del
password-toggle.min.js847BView Edit Del
plugin-install.js6.9KView Edit Del
plugin-install.min.js2.3KView Edit Del
post.js39.5KView Edit Del
post.min.js19KView Edit Del
postbox.js18.5KView Edit Del
postbox.min.js6.6KView Edit Del
privacy-tools.js10.7KView Edit Del
privacy-tools.min.js5KView Edit Del
revisions.js33.9KView Edit Del
revisions.min.js18KView Edit Del
set-post-thumbnail.js876BView Edit Del
set-post-thumbnail.min.js620BView Edit Del
site-health.js13.6KView Edit Del
site-health.min.js6.3KView Edit Del
site-icon.js6.1KView Edit Del
site-icon.min.js2.2KView Edit Del
svg-painter.js3.2KView Edit Del
svg-painter.min.js1.5KView Edit Del
tags-box.js10.9KView Edit Del
tags-box.min.js3KView Edit Del
tags-suggest.js5.6KView Edit Del
tags-suggest.min.js2.2KView Edit Del
tags.js6KView Edit Del
tags.min.js2.4KView Edit Del
theme-plugin-editor.js25.6KView Edit Del
theme-plugin-editor.min.js11.8KView Edit Del
theme.js54.9KView Edit Del
theme.min.js26.5KView Edit Del
updates.js109.4KView Edit Del
updates.min.js47.3KView Edit Del
user-profile.js17.9KView Edit Del
user-profile.min.js7.8KView Edit Del
user-suggest.js2.2KView Edit Del
user-suggest.min.js676BView Edit Del
widgets/--
widgets.js22.6KView Edit Del
widgets.min.js12.3KView Edit Del
word-count.js7.5KView Edit Del
word-count.min.js1.5KView Edit Del
xfn.js740BView Edit Del
xfn.min.js458BView Edit Del