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