import{_ as x}from"./_plugin-vue_export-helper.eefbdd86.js";import{o as m,c as b,x as p,l as g,m as i,a as c,y as l,t as a,H as s,u as e,b as S}from"./runtime-dom.esm-bundler.5d5e6b71.js";import{b as f,j as B}from"./index.bd66e758.js";import"./translations.d159963e.js";import{_ as o,s as G}from"./default-i18n.20001971.js";import{G as A}from"./constants.fe8bda37.js";import{C as M}from"./Blur.4fe4b9a3.js";import{C as R}from"./SettingsRow.8aa99257.js";import{S as D}from"./External.4ed94f4a.js";import{B as H}from"./Checkbox.28e8400d.js";import{C as I}from"./Card.88a70537.js";import{C as U}from"./ProBadge.aeac9858.js";import{C as O}from"./Index.1a358ca4.js";import{R as V}from"./RequiredPlans.54d3867a.js";import{u as E}from"./AddonConditions.21ed0fed.js";import"./helpers.bf0d86e6.js";import"./Row.aff98451.js";import"./Checkmark.43d7168a.js";import"./Tooltip.418c677c.js";import"./Caret.382b7591.js";import"./index.eb92a2a8.js";import"./Slide.a525748d.js";import"./addons.efc46fe0.js";import"./upperFirst.9b123e9b.js";import"./license.32be7976.js";const z={};function Y(u,_){return m(),b("div")}const j=x(z,[["render",Y]]),n="all-in-one-seo-pack",N=()=>({strings:{news:o("News Sitemap",n),setPublicationName:o("Set Publication Name",n),publicationName:o("Publication Name",n),postTypes:o("Post Types",n),exclude:o("Exclude Pages/Posts",n),description:o("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.",n),extendedDescription:o("In order to submit a News Sitemap to Google, you must have added your site to Google’s Publisher Center and had it approved.",n),enableSitemap:o("Enable Sitemap",n),openSitemap:o("Open News Sitemap",n),noIndexDisplayed:o("Noindexed content will not be displayed in your sitemap.",n),doYou404:o("Do you get a blank sitemap or 404 error?",n),ctaButtonText:o("Unlock News Sitemaps",n),ctaHeader:G(o("News Sitemaps is a %1$s Feature",n),"PRO"),includeAllPostTypes:o("Include All Post Types",n),selectPostTypes:o("Select which Post Types appear in your sitemap.",n)}}),q={setup(){const{strings:u}=N();return{strings:u,GLOBAL_STRINGS:A,links:f}},components:{CoreBlur:M,CoreSettingsRow:R,SvgExternal:D,BaseCheckbox:H}},F={class:"aioseo-settings-row aioseo-section-description"},J=["innerHTML"],K={class:"aioseo-sitemap-preview"},Q={class:"aioseo-description"},W=c("br",null,null,-1),X=["innerHTML"],Z={class:"aioseo-description"},$=["innerHTML"];function ee(u,_,r,t,h,T){const w=p("base-toggle"),d=p("core-settings-row"),k=p("svg-external"),L=p("base-button"),P=p("base-input"),C=p("base-checkbox"),v=p("core-blur");return m(),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,J)]),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",K,[s(L,{size:"medium",type:"blue"},{default:i(()=>[s(k),l(" "+a(t.strings.openSitemap),1)]),_:1})]),c("div",Q,[l(a(t.strings.noIndexDisplayed)+" ",1),W,l(" "+a(t.strings.doYou404)+" ",1),c("span",{innerHTML:t.links.getDocLink(t.GLOBAL_STRINGS.learnMore,"blankSitemap",!0)},null,8,X)])]),_: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",Z,[l(a(t.strings.selectPostTypes)+" ",1),c("span",{innerHTML:t.links.getDocLink(t.GLOBAL_STRINGS.learnMore,"selectPostTypesNews",!0)},null,8,$)])]),_:1},8,["name"])]),_:1})}const te=x(q,[["render",ee]]),oe={class:"aioseo-news-sitemap-lite"},y={__name:"NewsSitemap",setup(u){const _=B(),{strings:r}=N();return(t,h)=>(m(),b("div",oe,[s(e(I),{slug:"newsSitemap",noSlide:!0},{header:i(()=>[c("span",null,a(e(r).news),1),s(e(U))]),default:i(()=>[s(e(te)),s(e(O),{"feature-list":[e(r).setPublicationName,e(r).exclude],"cta-link":e(f).getPricingUrl("news-sitemap","news-sitemap-upsell",null,"liteUpgrade"),"button-text":e(r).ctaButtonText,"learn-more-link":e(f).getUpsellUrl("news-sitemap",null,"liteUpgrade"),"hide-bonus":!e(_).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"},ve={__name:"NewsSitemap",setup(u){const{shouldShowActivate:_,shouldShowLite:r,shouldShowMain:t,shouldShowUpdate:h}=E({addonSlug:"aioseo-news-sitemap"});return(T,w)=>(m(),b("div",ne,[e(t)?(m(),g(e(y),{key:0})):S("",!0),e(h)||e(_)?(m(),g(e(j),{key:1})):S("",!0),e(r)?(m(),g(e(y),{key:2})):S("",!0)]))}};export{ve as default};
