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.02763c14.js";import{d as h,G as B,k as G}from"./app-core.82d0a9b8.js";import{_ as o,a as A}from"./vendor-other.2cdd5822.js";import{C as M}from"./Blur.a74558b3.js";import{C as R}from"./SettingsRow.b0f20d96.js";import{S as U}from"./External.01278971.js";import{B as D}from"./Checkbox.e9c7109b.js";import{C as I}from"./Card.2051539b.js";import{C as H}from"./ProBadge.e8abb23c.js";import{C as O}from"./Index.d16c1162.js";import{R as V}from"./RequiredPlans.db82a3fa.js";import{u as E}from"./AddonConditions.653f3a42.js";import"./vendor-datetime.430013a3.js";import"./vendor-lodash.f9514987.js";import"./Row.42f1b009.js";import"./Checkmark.27028b68.js";import"./Tooltip.16bec62e.js";import"./Caret.1dd03f59.js";import"./Trash.9c01fca5.js";import"./Close.ed64f0a2.js";import"./Slide.59825bf3.js";import"./Index.ab3a7ebe.js";import"./Button.b03184b6.js";import"./Pencil.b091de6b.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};
