import"./js/_plugin-vue_export-helper.b97bdf23.js";import{G as e,y as p}from"./js/vue.runtime.esm-bundler.b39e1078.js";import{c as m,a as n}from"./js/vue-router.2e9fe287.js";import{l as s}from"./js/index.cfe09a50.js";import{l as a}from"./js/index.0eabb636.js";import{l as u}from"./js/index.0b123ab1.js";import{i as c,j as d,l}from"./js/links.23796d97.js";import{m as f,T as _}from"./js/postContent.dbf3451c.js";import{i as y}from"./js/isEmpty.fcd10c81.js";import{A as i}from"./js/App.fab9fca7.js";import"./js/translations.6e7b2383.js";import"./js/default-i18n.3881921e.js";import"./js/constants.1758f66e.js";import"./js/Caret.164d8058.js";import"./js/isArrayLikeObject.22a096cb.js";import"./js/cleanForSlug.383040f4.js";import"./js/toString.0891eb3e.js";import"./js/_baseTrim.8725856f.js";import"./js/_stringToArray.4de3b1f3.js";import"./js/html.e224f763.js";import"./js/get.ebf1fee6.js";import"./js/_getTag.89be5fac.js";/* empty css                */import"./js/allowed.2026f6fd.js";import"./js/params.f0608262.js";/* empty css                                               *//* empty css                                                 */import"./js/JsonValues.870a4901.js";/* empty css                                                 */import"./js/SettingsRow.1adac8e2.js";import"./js/Row.5242dafa.js";import"./js/Checkbox.17c05fc5.js";import"./js/Checkmark.e0bb6305.js";import"./js/LicenseKeyBar.d79b3571.js";import"./js/LogoGear.c42c709f.js";import"./js/Tabs.8ec856a5.js";import"./js/TruSeoScore.29220195.js";import"./js/Ellipse.1be120e0.js";import"./js/Information.70c6532e.js";import"./js/Slide.cdf6c622.js";import"./js/Portal.6c1bcf12.js";import"./js/Index.4ee78e0e.js";import"./js/MaxCounts.12b45bab.js";import"./js/Tags.49706f1a.js";import"./js/tags.1952ae10.js";import"./js/Tooltip.6979830f.js";import"./js/Plus.3a43a085.js";import"./js/Editor.5c187525.js";import"./js/Blur.8cc39c73.js";import"./js/RadioToggle.334ba6b1.js";import"./js/GoogleSearchPreview.104cd74f.js";import"./js/HtmlTagsEditor.b31d68d2.js";import"./js/UnfilteredHtml.2e4271be.js";import"./js/popup.6fe74774.js";import"./js/addons.afbe11a7.js";import"./js/upperFirst.8df5cd57.js";import"./js/Index.f7bbb33f.js";import"./js/WpTable.0fd0f82e.js";import"./js/Table.1ce53c08.js";import"./js/numbers.c7cb4085.js";import"./js/PostTypes.9ab32454.js";import"./js/InternalOutbound.4ce419f7.js";import"./js/RequiredPlans.77523a56.js";import"./js/license.df046522.js";import"./js/Image.af03f96e.js";import"./js/FacebookPreview.8bdc9bb7.js";import"./js/Img.57b2833c.js";import"./js/Profile.066f7adf.js";import"./js/ImageUploader.0dab3221.js";import"./js/TwitterPreview.24d33b09.js";import"./js/Book.b195937b.js";import"./js/Settings.8ba385ff.js";import"./js/Build.971e396e.js";import"./js/Redirects.1f2362f6.js";import"./js/Index.4b06a1ea.js";import"./js/strings.c89d2b51.js";import"./js/isString.714e3ec6.js";import"./js/ProBadge.34da75c2.js";import"./js/External.8186427a.js";import"./js/Exclamation.2f8bed1f.js";import"./js/Gear.a85d4a2b.js";import"./js/Card.79fe964d.js";import"./js/Eye.17b73ba3.js";import"./js/Upsell.e7fe6b1b.js";const g=()=>{const o=c();y(o.currentPost)||o.saveCurrentPost(o.currentPost).then(()=>{d().fetch({})})},S=()=>{document.getElementById("seedprod-builder-save").addEventListener("click",g)},P=()=>{seedprod_app.$watch("$route.name",o=>{if(o==="setup_settings_seo"){const r=m({history:n(),routes:[{path:"/",component:i}]});let t=e({name:"Standalone/SeedProd",data(){return{tableContext:window.aioseo.currentPost.context,screenContext:"metabox"}},mounted:()=>{setTimeout(f)},render:()=>p(i)});t=s(t),t=a(t),t=u(t),t.use(r),r.app=t,l(t,r),t.config.globalProperties.$truSeo=new _,t.mount("#seedprod-preview-wrapper .seedprod-settings-page-wrapper")}},{immediate:!0})},h=()=>{const o=document.getElementById("aioseo-seedprod-common-css");o&&o.setAttribute("href",o.getAttribute("data-href"))},v=()=>{P(),h(),S()};document.addEventListener("DOMContentLoaded",()=>{seedprod_app&&seedprod_app._isMounted&&v()});
