import"./app-core.a6d808ce.js";import{u as p}from"./IndexStatus.370fc223.js";import{S as g}from"./External.934835f7.js";import{f as e,i as n,O as f,ad as m,j as r,U as o,Q as h,S as x,P as y,v as a,ae as k,a0 as v,M as S,u as w}from"./vendor-vue-ui.de3ab35f.js";import{_ as L}from"./vendor-other.7b559694.js";const M={class:"aioseo-index-status-result"},R={key:0},V={class:"aioseo-index-status-result__row-title"},B=["innerHTML"],I={key:0,class:"aioseo-index-status-result__row"},N=["href"],O={key:1},D={__name:"IndexStatusResult",props:{result:{type:Object,default(){return{}}},errorMessage:{type:String,default:""}},setup(t){const u="aioseo-pro",i=t,{items:l,strings:c}=p(),d=w(()=>i.errorMessage?i.errorMessage:L("Oops! It looks like something went wrong while loading the results for this page. Please try again by refreshing the page.",u));return(P,b)=>(e(),n("div",M,[t.result?.indexStatusResult?.verdict?(e(),n("div",R,[(e(!0),n(f,null,m(a(l),(s,_)=>(e(),n("div",{class:"aioseo-index-status-result__row",key:_},[r("div",V,o(s.title),1),r("div",{class:y(["aioseo-index-status-result__row-description",s.key])},[(e(),h(x(s.getIcon(t.result.indexStatusResult[s.key])))),r("span",{innerHTML:s.parseValue(t.result.indexStatusResult[s.key]).value},null,8,B)],2)]))),128)),t.result?.inspectionResultLink?(e(),n("div",I,[r("a",{href:t.result.inspectionResultLink,target:"_blank",class:"aioseo-index-status-result__row-inspection-link"},[k(o(a(c).inspectOnGsc)+" ",1),v(a(g),{width:"12",height:"12"})],8,N)])):S("",!0)])):(e(),n("div",O,o(d.value),1))]))}};export{D as _};
