import{d as a,b as c,j as b}from"./app-core.a6d808ce.js";import{S as l}from"./LogoGear.6afc7f21.js";import{_ as u}from"./_plugin-vue_export-helper.eefbdd86.js";import{aq as d,f as _,i as p,j as t,a0 as g}from"./vendor-vue-ui.de3ab35f.js";import{a as e,_ as s}from"./vendor-other.7b559694.js";const i="all-in-one-seo-pack",k={setup(){return{rootStore:c()}},components:{SvgAioseoLogoGear:l},data(){return{strings:{boldText:e("<strong>%1$s %2$s</strong>","AIOSEO",this.rootStore.isPro?"Pro":""),linkText:s("Click here to learn more",i)}}},computed:{link(){return e('<strong><a href="%1$s" target="_blank" class="text-white">%2$s</a></strong>',a.getDocUrl("restApi"),this.strings.linkText)},upgradeText(){return e(s("%1$s relies on the WordPress Rest API and your site might have it disabled. %2$s.",i),this.strings.boldText,this.link)}},mounted(){document.body.classList.add("aioseo-has-bar")},beforeUnmount(){document.body.classList.remove("aioseo-has-bar")}},y={class:"aioseo-api-bar"},T={class:"upgrade-text"},L=["innerHTML"];function v(m,h,x,f,$,n){const r=d("svg-aioseo-logo-gear");return _(),p("div",y,[t("div",T,[g(r),t("div",{innerHTML:n.upgradeText},null,8,L)])])}const O=u(k,[["render",v]]),o="aioseo-pro",S={setup(){return{licenseStore:b(),rootStore:c()}},components:{SvgAioseoLogoGear:l},data(){return{strings:{boldText:e("<strong>%1$s %2$s</strong>","All in One SEO","Pro"),linkText:s("license key now",o),renewLinkText:s("Renew your license now",o)}}},computed:{link(){return e('<strong><a href="%1$s" class="text-white">%2$s</a></strong>',this.rootStore.aioseo.data.isNetworkAdmin?this.rootStore.aioseo.urls.aio.networkSettings:this.rootStore.aioseo.urls.aio.settings,this.strings.linkText)},renewLink(){return e('<strong><a href="%1$s" class="text-white" target="_blank">%2$s</a></strong>',a.utmUrl("expired-license-key-bar","","https://aioseo.com/account/downloads/"),this.strings.renewLinkText)},upgradeText(){return this.licenseStore.license.isExpired?e(s("You're using %1$s but your license has expired. %2$s.",o),this.strings.boldText,this.renewLink):e(s("You're using %1$s but no license key has been entered. Add your %2$s.",o),this.strings.boldText,this.link)}},mounted(){document.body.classList.add("aioseo-has-bar")},beforeUnmount(){document.body.classList.remove("aioseo-has-bar")}},w={class:"aioseo-license-key-bar"},A={class:"upgrade-text"},P=["innerHTML"];function B(m,h,x,f,$,n){const r=d("svg-aioseo-logo-gear");return _(),p("div",w,[t("div",A,[g(r),t("div",{innerHTML:n.upgradeText},null,8,P)])])}const R=u(S,[["render",B]]);export{R as C,O as a};
