X7ROOT File Manager
Current Path:
/home/gfecatvj/sites/radon/wp-content/plugins/wordpress-seo/js/dist
home
/
gfecatvj
/
sites
/
radon
/
wp-content
/
plugins
/
wordpress-seo
/
js
/
dist
/
📁
..
📄
academy.js
(16.69 KB)
📄
addon-installation.js
(3.99 KB)
📄
admin-global.js
(5.44 KB)
📄
admin-modules.js
(29.03 KB)
📄
ai-consent.js
(18.48 KB)
📄
ai-generator.js
(98.6 KB)
📄
analysis-worker.js
(617 B)
📄
api-client.js
(579 B)
📄
block-editor.js
(190.72 KB)
📄
bulk-editor.js
(2.5 KB)
📄
classic-editor.js
(139.83 KB)
📄
crawl-settings.js
(575 B)
📄
dashboard-widget.js
(2 KB)
📄
dynamic-blocks.js
(1.01 KB)
📄
edit-page.js
(547 B)
📄
editor-modules.js
(121.72 KB)
📄
elementor.js
(208.08 KB)
📁
externals
📄
externals-components.js
(129.86 KB)
📄
externals-contexts.js
(823 B)
📄
externals-redux.js
(55.78 KB)
📄
faq-block.js
(9.7 KB)
📄
filter-explanation.js
(200 B)
📄
frontend-inspector-resources.js
(3.8 KB)
📄
general-page.js
(337.79 KB)
📄
help-scout-beacon.js
(4.83 KB)
📄
how-to-block.js
(19.5 KB)
📄
import.js
(5.76 KB)
📄
indexation.js
(7.06 KB)
📄
installation-success.js
(5.06 KB)
📄
integrations-page.js
(155.75 KB)
📄
introductions.js
(26.93 KB)
📁
languages
📄
network-admin.js
(2.27 KB)
📄
new-settings.js
(429.94 KB)
📄
plans.js
(20.45 KB)
📄
post-edit.js
(101.14 KB)
📄
quick-edit-handler.js
(957 B)
📄
redirect-old-features-tab.js
(237 B)
📄
redirects.js
(65.35 KB)
📄
reindex-links.js
(2.72 KB)
📄
settings.js
(17.56 KB)
📄
support.js
(35.56 KB)
📄
term-edit.js
(58.41 KB)
📄
used-keywords-assessment.js
(782 B)
📄
wincher-dashboard-widget.js
(19.16 KB)
📄
workouts.js
(38.08 KB)
Editing: dashboard-widget.js
(()=>{"use strict";const e=window.wp.element,t=window.yoast.componentsNew,s=window.yoast.styleGuide,o=window.yoast.analysisReport,i=window.yoast.helpers,a=window.ReactJSXRuntime;class r extends e.Component{constructor(){super(),this.state={statistics:null,feed:null,isDataFetched:!1}}componentDidMount(){const e=jQuery("#wpseo-dashboard-overview-hide");e.is(":checked")&&this.fetchData(),e.on("click",(()=>{this.fetchData()}))}fetchData(){this.state.isDataFetched||(this.getStatistics(),this.getFeed(),this.setState({isDataFetched:!0}))}static getColorFromScore(e){return s.colors[`$color_${e}`]||s.colors.$color_grey}getStatistics(){wpseoApi.get("statistics",(e=>{const t={};e&&e.seo_scores&&(t.seoScores=e.seo_scores.map((e=>({value:parseInt(e.count,10),color:r.getColorFromScore(e.seo_rank),html:`<a href="${e.link}">${e.label}</a>`}))),t.header=jQuery(`<div>${e.header}</div>`).text(),this.setState({statistics:t}))}))}getFeed(){(0,i.getPostFeed)("https://yoast.com/feed/widget/?wp_version="+wpseoDashboardWidgetL10n.wp_version+"&php_version="+wpseoDashboardWidgetL10n.php_version,2).then((e=>{e.items=e.items.map((e=>(e.description=jQuery(`<div>${e.description}</div>`).text(),e.description=e.description.replace(`The post ${e.title} appeared first on Yoast.`,"").trim(),e))),this.setState({feed:e})})).catch((e=>console.log(e)))}getSeoAssessment(){return null===this.state.statistics?null:(0,a.jsx)(o.SiteSEOReport,{seoAssessmentText:this.state.statistics.header,seoAssessmentItems:this.state.statistics.seoScores},"yoast-seo-posts-assessment")}getYoastFeed(){return null===this.state.feed?null:(0,a.jsx)(t.ArticleList,{className:"wordpress-feed",title:wpseoDashboardWidgetL10n.feed_header,feed:this.state.feed,footerLinkText:wpseoDashboardWidgetL10n.feed_footer},"yoast-seo-blog-feed")}render(){const e=[this.getSeoAssessment(),this.getYoastFeed()].filter((e=>null!==e));return 0===e.length?null:(0,a.jsx)("div",{children:e})}}const n=document.getElementById("yoast-seo-dashboard-widget");n&&(0,e.createRoot)(n).render((0,a.jsx)(r,{}))})();
Upload File
Create Folder