golden hour
/home/godaofbq/elitehyperbarics.com/wp-content/plugins/wordpress-seo/js/dist
⬆️ Go Up
Upload
File/Folder
Size
Actions
42.js
4.55 KB
Del
OK
576.js
4.3 KB
Del
OK
631.js
4.36 KB
Del
OK
academy.js
16.2 KB
Del
OK
addon-installation.js
4.04 KB
Del
OK
admin-global.js
5.35 KB
Del
OK
admin-modules.js
29.25 KB
Del
OK
analysis-worker.js
617 B
Del
OK
api-client.js
579 B
Del
OK
block-editor.js
230.04 KB
Del
OK
bulk-editor.js
2.5 KB
Del
OK
classic-editor.js
176.62 KB
Del
OK
crawl-settings.js
575 B
Del
OK
dashboard-widget.js
2.02 KB
Del
OK
dynamic-blocks.js
1.02 KB
Del
OK
edit-page.js
547 B
Del
OK
editor-modules.js
81.4 KB
Del
OK
elementor.js
232.52 KB
Del
OK
externals
-
Del
OK
externals-components.js
75.31 KB
Del
OK
externals-contexts.js
814 B
Del
OK
externals-redux.js
54.81 KB
Del
OK
faq-block.js
9.91 KB
Del
OK
filter-explanation.js
200 B
Del
OK
first-time-configuration.js
149.52 KB
Del
OK
frontend-inspector-resources.js
3.82 KB
Del
OK
general-page.js
344.85 KB
Del
OK
help-scout-beacon.js
4.87 KB
Del
OK
how-to-block.js
19.36 KB
Del
OK
import.js
5.76 KB
Del
OK
indexation.js
7.19 KB
Del
OK
installation-success.js
5.21 KB
Del
OK
integrations-page.js
172.44 KB
Del
OK
introductions.js
32.37 KB
Del
OK
languages
-
Del
OK
network-admin.js
2.27 KB
Del
OK
new-dashboard.js
226.96 KB
Del
OK
new-settings.js
416.35 KB
Del
OK
post-edit.js
129.45 KB
Del
OK
quick-edit-handler.js
957 B
Del
OK
react-select.js
91.36 KB
Del
OK
redirect-old-features-tab.js
237 B
Del
OK
reindex-links.js
2.72 KB
Del
OK
settings.js
19.06 KB
Del
OK
structured-data-blocks.js
28.08 KB
Del
OK
support.js
41.28 KB
Del
OK
term-edit.js
86.9 KB
Del
OK
used-keywords-assessment.js
782 B
Del
OK
wincher-dashboard-widget.js
28.66 KB
Del
OK
wordproof-uikit.js
616.45 KB
Del
OK
workouts.js
38.5 KB
Del
OK
Edit: dashboard-widget.js
(()=>{"use strict";const e=window.React,t=window.wp.element,s=window.yoast.componentsNew,o=window.yoast.styleGuide,i=window.yoast.analysisReport,a=window.yoast.helpers;class r extends t.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 o.colors[`$color_${e}`]||o.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,a.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,e.createElement)(i.SiteSEOReport,{key:"yoast-seo-posts-assessment",seoAssessmentText:this.state.statistics.header,seoAssessmentItems:this.state.statistics.seoScores})}getYoastFeed(){return null===this.state.feed?null:(0,e.createElement)(s.ArticleList,{className:"wordpress-feed",key:"yoast-seo-blog-feed",title:wpseoDashboardWidgetL10n.feed_header,feed:this.state.feed,footerLinkText:wpseoDashboardWidgetL10n.feed_footer})}render(){const t=[this.getSeoAssessment(),this.getYoastFeed()].filter((e=>null!==e));return 0===t.length?null:(0,e.createElement)("div",null,t)}}const n=document.getElementById("yoast-seo-dashboard-widget");n&&(0,t.render)((0,e.createElement)(r,null),n)})();
Save