import{_ as x}from"./_plugin-vue_export-helper.eefbdd86.js";import{f as u,i as b,an as m,Q as g,R as i,j as c,ae as l,U as a,a0 as s,v as e,M as f}from"./vendor-vue-ui.c21c50b5.js";import{c as h,G as B,h as G}from"./app-core.52885c02.js";import{_ as n,a as A}from"./vendor-other.ec82d685.js";import{C as M}from"./Blur.733ff0bf.js";import{C as R}from"./SettingsRow.c5806203.js";import{S as U}from"./External.e4c3c14a.js";import{B as D}from"./Checkbox.d28f1a29.js";import{C as I}from"./Card.91e8fa10.js";import{C as H}from"./ProBadge.3032531f.js";import{C as O}from"./Index.8f92cf19.js";import{R as V}from"./RequiredPlans.3d75e621.js";import{u as E}from"./AddonConditions.9fe985d0.js";import"./vendor-lodash.b9aaf385.js";import"./Row.2e668feb.js";import"./Checkmark.ecbc0a01.js";import"./Tooltip.9761aafe.js";import"./Caret.911868b5.js";import"./Trash.e939fb36.js";import"./Close.4a8424fd.js";import"./Slide.a69b6847.js";import"./Index.df48fa2a.js";import"./Button.7e4e5aaa.js";import"./Pencil.886eeda5.js";const z={};function Y(_,p){return u(),b("div")}const j=x(z,[["render",Y]]),o="all-in-one-seo-pack",N=()=>({strings:{news:n("News Sitemap",o),setPublicationName:n("Set Publication Name",o),publicationName:n("Publication Name",o),postTypes:n("Post Types",o),exclude:n("Exclude Pages/Posts",o),description:n("The Google News Sitemap lets you control which content you submit to Google News and only contains articles that were published in the last 48 hours.",o),extendedDescription:n("In order to submit a News Sitemap to Google, you must have added your site to Google’s Publisher Center and had it approved.",o),enableSitemap:n("Enable Sitemap",o),openSitemap:n("Open News Sitemap",o),noIndexDisplayed:n("Noindexed content will not be displayed in your sitemap.",o),doYou404:n("Do you get a blank sitemap or 404 error?",o),ctaButtonText:n("Unlock News Sitemaps",o),ctaHeader:A(n("News Sitemaps is a %1$s Feature",o),"PRO"),includeAllPostTypes:n("Include All Post Types",o),selectPostTypes:n("Select which Post Types appear in your sitemap.",o)}}),q={setup(){const{strings:_}=N();return{strings:_,GLOBAL_STRINGS:B,links:h}},components:{CoreBlur:M,CoreSettingsRow:R,SvgExternal:U,BaseCheckbox:D}},F={class:"aioseo-settings-row aioseo-section-description"},Q=["innerHTML"],J={class:"aioseo-sitemap-preview"},K={class:"aioseo-description"},W=["innerHTML"],X={class:"aioseo-description"},Z=["innerHTML"];function $(_,p,r,t,S,T){const w=m("base-toggle"),d=m("core-settings-row"),k=m("svg-external"),L=m("base-button"),P=m("base-input"),C=m("base-checkbox"),v=m("core-blur");return u(),g(v,null,{default:i(()=>[c("div",F,[l(a(t.strings.description)+" "+a(t.strings.extendedDescription)+" ",1),c("span",{innerHTML:t.links.getDocLink(t.GLOBAL_STRINGS.learnMore,"newsSitemaps",!0)},null,8,Q)]),s(d,{name:t.strings.enableSitemap},{content:i(()=>[s(w,{modelValue:!0})]),_:1},8,["name"]),s(d,{name:t.GLOBAL_STRINGS.preview},{content:i(()=>[c("div",J,[s(L,{size:"medium",type:"blue"},{default:i(()=>[s(k),l(" "+a(t.strings.openSitemap),1)]),_:1})]),c("div",K,[l(a(t.strings.noIndexDisplayed)+" ",1),p[0]||(p[0]=c("br",null,null,-1)),l(" "+a(t.strings.doYou404)+" ",1),c("span",{innerHTML:t.links.getDocLink(t.GLOBAL_STRINGS.learnMore,"blankSitemap",!0)},null,8,W)])]),_:1},8,["name"]),s(d,{name:t.strings.publicationName,align:""},{content:i(()=>[s(P,{size:"medium"})]),_:1},8,["name"]),s(d,{name:t.strings.postTypes},{content:i(()=>[s(C,{size:"medium"},{default:i(()=>[l(a(t.strings.includeAllPostTypes),1)]),_:1}),c("div",X,[l(a(t.strings.selectPostTypes)+" ",1),c("span",{innerHTML:t.links.getDocLink(t.GLOBAL_STRINGS.learnMore,"selectPostTypesNews",!0)},null,8,Z)])]),_:1},8,["name"])]),_:1})}const ee=x(q,[["render",$]]),te={class:"aioseo-news-sitemap-lite"},y={__name:"NewsSitemap",setup(_){const p=G(),{strings:r}=N();return(t,S)=>(u(),b("div",te,[s(e(I),{slug:"newsSitemap",noSlide:!0},{header:i(()=>[c("span",null,a(e(r).news),1),s(e(H))]),default:i(()=>[s(e(ee)),s(e(O),{"feature-list":[e(r).setPublicationName,e(r).exclude],"cta-link":e(h).getPricingUrl("news-sitemap","news-sitemap-upsell",null,"liteUpgrade"),"button-text":e(r).ctaButtonText,"learn-more-link":e(h).getUpsellUrl("news-sitemap",null,"liteUpgrade"),"hide-bonus":!e(p).isUnlicensed},{"header-text":i(()=>[l(a(e(r).ctaHeader),1)]),description:i(()=>[s(e(V),{addon:"aioseo-news-sitemap"}),l(" "+a(e(r).description),1)]),_:1},8,["feature-list","cta-link","button-text","learn-more-link","hide-bonus"])]),_:1})]))}},ne={class:"aioseo-news-sitemap"},Pe={__name:"NewsSitemap",setup(_){const{shouldShowActivate:p,shouldShowLite:r,shouldShowMain:t,shouldShowUpdate:S}=E({addonSlug:"aioseo-news-sitemap"});return(T,w)=>(u(),b("div",ne,[e(t)?(u(),g(e(y),{key:0})):f("",!0),e(S)||e(p)?(u(),g(e(j),{key:1})):f("",!0),e(r)?(u(),g(e(y),{key:2})):f("",!0)]))}};export{Pe as default};
