import{n as r}from"./vueComponentNormalizer.87056a83.js";var i=function(){var e=this,s=e.$createElement,t=e._self._c||s;return t("svg",{staticClass:"aioseo-seo-site-score-svg",attrs:{viewBox:"0 0 34 34",xmlns:"http://www.w3.org/2000/svg"}},[t("circle",{staticClass:"aioseo-seo-site-score__background",attrs:{"stroke-width":e.strokeWidth,fill:"none",cx:"17",cy:"17",r:17-e.strokeWidth/2}}),t("circle",{staticClass:"aioseo-seo-site-score__circle",class:e.getClass,attrs:{"stroke-width":e.strokeWidth,"stroke-dasharray":e.score+",100","stroke-linecap":"round",fill:"none",cx:"17",cy:"17",r:17-e.strokeWidth/2}})])},c=[];const l={props:{scoreColor:String,score:{type:Number,required:!0},strokeWidth:{type:Number,default(){return 2}}},computed:{getClass(){let e="",s="";switch(!0){case 33>=this.score:e="fast",s="stroke-red";break;case 66>=this.score:e="medium",s="stroke-orange";break;default:e="slow",s="stroke-green"}return this.scoreColor!==void 0&&(s=`stroke-${this.scoreColor}`),`${e} ${s}`}}},o={};var _=r(l,i,c,!1,u,null,null,null);function u(e){for(let s in o)this[s]=o[s]}var v=function(){return _.exports}(),d=function(){var e=this,s=e.$createElement,t=e._self._c||s;return t("svg",{staticClass:"aioseo-seo-site-score-svg-loading",attrs:{viewBox:"0 0 33.83098862 33.83098862",xmlns:"http://www.w3.org/2000/svg"}},[t("circle",{staticClass:"aioseo-seo-site-score-loading__circle",attrs:{fill:"none",cx:"16.91549431",cy:"16.91549431",r:"15.91549431","stroke-linecap":"round","stroke-width":"2","stroke-dasharray":"93","stroke-dashoffset":"90"}})])},p=[];const g={},n={};var f=r(g,d,p,!1,m,null,null,null);function m(e){for(let s in n)this[s]=n[s]}var h=function(){return f.exports}(),y=function(){var e=this,s=e.$createElement,t=e._self._c||s;return t("div",{staticClass:"aioseo-site-score"},[e.loading?t("svg-seo-site-score-loading"):e._e(),e.loading?e._e():t("svg-seo-site-score",{attrs:{score:e.score}}),t("div",{staticClass:"aioseo-score-amount-wrapper"},[e.loading?e._e():t("div",{staticClass:"aioseo-score-amount"},[t("span",{staticClass:"score"},[e._v(e._s(e.score))]),t("span",{staticClass:"total"},[e._v("/ 100")])]),e.loading?e._e():t("div",{staticClass:"score-description",domProps:{innerHTML:e._s(e.description)}}),e.loading?t("div",{staticClass:"score-analyzing"},[e._v(" "+e._s(e.strings.analyzing)+" ")]):e._e()])],1)},x=[];const C={components:{SvgSeoSiteScore:v,SvgSeoSiteScoreLoading:h},props:{score:Number,loading:Boolean,description:String},data(){return{strings:{analyzing:"Analyzing..."}}}},a={};var k=r(C,y,x,!1,$,null,null,null);function $(e){for(let s in a)this[s]=a[s]}var S=function(){return k.exports}();export{S as C,v as S};
