import{_ as x}from"./_plugin-vue_export-helper.eefbdd86.js";import{f as u,i as b,as 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.d70c869f.js";import{d as h,G as B,k as G}from"./app-core.61d75c0b.js";import{_ as o,a as A}from"./vendor-other.2cdd5822.js";import{C as M}from"./Blur.d9f10327.js";import{C as R}from"./SettingsRow.483d3796.js";import{S as U}from"./External.8fb031e3.js";import{B as D}from"./Checkbox.02461d14.js";import{C as I}from"./Card.357796d1.js";import{C as H}from"./ProBadge.3cd57c7c.js";import{C as O}from"./Index.234cfb98.js";import{R as V}from"./RequiredPlans.89eae445.js";import{u as E}from"./AddonConditions.d3c18cc7.js";import"./vendor-datetime.430013a3.js";import"./vendor-lodash.f9514987.js";import"./Row.0a3f58c3.js";import"./Checkmark.8da35047.js";import"./Tooltip.7f0ce0d2.js";import"./Caret.c4a084e6.js";import"./Trash.effd183e.js";import"./Close.cee3494e.js";import"./Slide.4a56936c.js";import"./Index.104764b8.js";import"./Button.7fa2ada4.js";import"./Pencil.acabfd26.js";const z={};function Y(_,p){return u(),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:A(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:_}=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,k){const w=m("base-toggle"),d=m("core-settings-row"),T=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(T),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})]))}},oe={class:"aioseo-news-sitemap"},Ce={__name:"NewsSitemap",setup(_){const{shouldShowActivate:p,shouldShowLite:r,shouldShowMain:t,shouldShowUpdate:S}=E({addonSlug:"aioseo-news-sitemap"});return(k,w)=>(u(),b("div",oe,[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{Ce as default};
