const s={data(){return{strings:{weveGotWorkToDo:this.$t.sprintf(this.$t.__("We've got some%1$swork to do!",this.$td),"<br>"),needsImprovement:this.$t.sprintf(this.$t.__("Needs%1$sImprovement!",this.$td),"<br>"),veryGood:this.$t.__("Very Good!",this.$td),excellent:this.$t.__("Excellent!",this.$td),criticalIssues:this.$t.__("Important Issues",this.$td),recommendedImprovements:this.$t.__("Recommended Improvements",this.$td),goodResults:this.$t.__("Good Results",this.$td),completeSiteAuditChecklist:this.$t.__("Complete Site Audit Checklist",this.$td),allGood:this.$t.__("All Good!",this.$td),errors:this.$t.__("Errors",this.$td)}}},computed:{description(){return 25>=this.score?this.strings.weveGotWorkToDo:50>=this.score?this.strings.needsImprovement:75>=this.score?this.strings.veryGood:this.strings.excellent}},methods:{getErrorDisplay(t){return 0<t?this.$t.sprintf(this.$t._n("%1$s Error","%1$s Errors",t,this.$td),t):this.strings.allGood},getErrorClass(t){return 5<t?"red":0<t?"orange":"green"},getScoreClass(t){return 80<t?"green":50<t?"orange":1<t?"red":"none"},runAnalysis(t){this.$truSeo.runAnalysis(t)}}};export{s as T};
