import{S as i}from"./LogoGear.fa7af154.js";import{n as o}from"./vueComponentNormalizer.58b0a173.js";var a=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-api-bar"},[e("div",{staticClass:"upgrade-text"},[e("svg-aioseo-logo-gear"),e("div",{domProps:{innerHTML:t._s(t.upgradeText)}})],1)])},l=[];const c={components:{SvgAioseoLogoGear:i},data(){return{strings:{boldText:this.$t.sprintf("<strong>%1$s %2$s</strong>","AIOSEO",this.$isPro?"Pro":""),linkText:this.$t.__("Click here to learn more",this.$td)}}},computed:{link(){return this.$t.sprintf('<strong><a href="%1$s" target="_blank" class="text-white">%2$s</a></strong>',this.$links.getDocUrl("restApi"),this.strings.linkText)},upgradeText(){return this.$t.sprintf(this.$t.__("%1$s relies on the WordPress Rest API and your site might have it disabled. %2$s.",this.$td),this.strings.boldText,this.link)}},mounted(){document.body.classList.add("aioseo-has-bar")},beforeDestroy(){document.body.classList.remove("aioseo-has-bar")}},n={};var u=o(c,a,l,!1,_,null,null,null);function _(t){for(let s in n)this[s]=n[s]}const v=function(){return u.exports}();var d=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-license-key-bar"},[e("div",{staticClass:"upgrade-text"},[e("svg-aioseo-logo-gear"),e("div",{domProps:{innerHTML:t._s(t.upgradeText)}})],1)])},h=[];const p={components:{SvgAioseoLogoGear:i},data(){return{strings:{boldText:this.$t.sprintf("<strong>%1$s %2$s</strong>","All in One SEO","Pro"),linkText:this.$t.__("license key now",this.$td),renewLinkText:this.$t.__("Renew your license now",this.$td)}}},computed:{link(){return this.$t.sprintf('<strong><a href="%1$s" class="text-white">%2$s</a></strong>',this.$aioseo.data.isNetworkAdmin?this.$aioseo.urls.aio.networkSettings:this.$aioseo.urls.aio.settings,this.strings.linkText)},renewLink(){return this.$t.sprintf('<strong><a href="%1$s" class="text-white" target="_blank">%2$s</a></strong>',this.$links.utmUrl("expired-license-key-bar","","https://aioseo.com/account/downloads/"),this.strings.renewLinkText)},upgradeText(){return this.$aioseo.license.isExpired?this.$t.sprintf(this.$t.__("You're using %1$s but your license has expired. %2$s.",this.$td),this.strings.boldText,this.renewLink):this.$t.sprintf(this.$t.__("You're using %1$s but no license key has been entered. Add your %2$s.",this.$td),this.strings.boldText,this.link)}},mounted(){document.body.classList.add("aioseo-has-bar")},beforeDestroy(){document.body.classList.remove("aioseo-has-bar")}},r={};var $=o(p,d,h,!1,g,null,null,null);function g(t){for(let s in r)this[s]=r[s]}const x=function(){return $.exports}();export{v as C,x as a};
