import{S as a}from"./LogoGear.0c3dd5e3.js";import{n as o}from"./vueComponentNormalizer.87056a83.js";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"aioseo-api-bar"},[n("div",{staticClass:"upgrade-text"},[n("svg-aioseo-logo-gear"),n("div",{domProps:{innerHTML:t._s(t.upgradeText)}})],1)])},l=[];const c={components:{SvgAioseoLogoGear:a},data(){return{strings:{boldText:this.$t.sprintf("<strong>%1$s %2$s</strong>","AIOSEO",this.$isPro?"Pro":""),linkText:"Click here to learn more"}}},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("%1$s relies on the WordPress Rest API and your site might have it disabled. %2$s.",this.strings.boldText,this.link)}},mounted(){document.body.classList.add("aioseo-has-bar")},beforeDestroy(){document.body.classList.remove("aioseo-has-bar")}},r={};var u=o(c,i,l,!1,_,null,null,null);function _(t){for(let e in r)this[e]=r[e]}var $=function(){return u.exports}(),p=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div")},v=[];const d={},s={};var f=o(d,p,v,!1,m,null,null,null);function m(t){for(let e in s)this[e]=s[e]}var x=function(){return f.exports}();export{$ as C,x as a};
