import{n as s,V as a}from"./js/vueComponentNormalizer.87056a83.js";import"./js/index.652636d3.js";import{S as i}from"./js/Standalone.f29e6756.js";import{C as l}from"./js/Index.476ddbfd.js";import{s as c}from"./js/index.8900b7f9.js";import"./js/client.94d919c5.js";import"./js/_commonjsHelpers.f40d732e.js";import"./js/default-i18n.abde8d59.js";import"./js/constants.7cd698f2.js";import"./js/isArrayLikeObject.a4a9229a.js";var u=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"aioseo-divi-seo-admin-notice-container"},[r("core-alert",{domProps:{innerHTML:t._s(t.strings.alert)}})],1)},p=[];const m=window.aioseo.urls.aio.searchAppearance,d={components:{CoreAlert:l},mixins:[i],data(){return{strings:{alert:this.$t.sprintf("The options below are disabled because you are using %1$s to manage your SEO. They can be changed in the %2$sSearch Appearance menu%3$s.","All in One SEO",`<a href="${m}" target="_blank">`,"</a>")}}}},o={};var _=s(d,u,p,!1,f,null,null,null);function f(t){for(let e in o)this[e]=o[e]}var h=function(){return _.exports}();const y=()=>{const t=document.querySelectorAll("#wrap-seo .et-tab-content");for(let e=0;e<t.length;e++){const r=document.createElement("div");r.setAttribute("id",`aioseo-divi-seo-admin-notice-container-${e}`),t[e].insertBefore(r,t[e].firstChild),new a({store:c,render:n=>n(h)}).$mount(`#${r.getAttribute("id")}`)}},v=()=>{const t=document.querySelectorAll('#wrap-seo input[type="text"], #wrap-seo textarea');for(let n=0;n<t.length;n++)t[n].style.pointerEvents="none",t[n].setAttribute("readonly",!0);const e=document.querySelectorAll("#wrap-seo select");for(let n=0;n<e.length;n++)e[n].style.pointerEvents="none",e[n].setAttribute("disabled",!0);const r=document.querySelectorAll("#wrap-seo .et-checkbox");for(let n=0;n<r.length;n++)r[n].setAttribute("disabled",!0),r[n].nextElementSibling.style.pointerEvents="none"},A=()=>{const t=window.aioseo.urls.aio.searchAppearance,e=document.querySelector('a[href="#wrap-seo"]');if(!t||!e)return;const r=e.cloneNode(!0);r.setAttribute("href",t),e.parentNode.replaceChild(r,e)};window.addEventListener("load",()=>{y(),v(),A()});
