관리-도구
편집 파일: Advanced.7af30895.js
import{G as L}from"./constants.2019bcb3.js";import{m as q,b as P,u as H,l as M,h as J}from"./index.5a710757.js";import{v as Q}from"./helpers.f95d5840.js";import{B as X}from"./Checkbox.e983780b.js";import{B as $}from"./RadioToggle.64619d6b.js";import{C as K,d as ee}from"./Caret.662da1f3.js";import{C as se}from"./Card.5b602127.js";import{C as oe}from"./PostTypeOptions.b8e00ea2.js";import{C as ne}from"./ProBadge.7733ac87.js";import{C as te}from"./SettingsRow.1934f141.js";import{C as W}from"./Tooltip.b6b45c85.js";import{S as ie,i as ae,a as le}from"./index.ee8124c6.js";import"./translations.12335a6a.js";import{G as N,a as G}from"./Row.f01f32cd.js";import{_ as z}from"./_plugin-vue_export-helper.249dac1d.js";import{o as r,c as T,a as u,v as p,C as l,t as d,l as t,b as m,F,J as Z,k as _,x as S,E as I}from"./runtime-dom.esm-bundler.6789c400.js";import{_ as o,s as v}from"./default-i18n.54b5d8cd.js";import"./Checkmark.32f79576.js";import"./Slide.d0517fb0.js";import"./PostTypes.d6c1987b.js";import"./HighlightToggle.6ee9eb70.js";import"./Radio.e92f8160.js";const re={},de={xmlns:"http://www.w3.org/2000/svg",viewBox:"80 -840 800 680",fill:"currentColor",class:"aioseo-outgoing-mail"},ce=u("path",{d:"m720-160-56-56 63-64H560v-80h167l-63-64 56-56 160 160-160 160ZM160-280q-33 0-56.5-23.5T80-360v-400q0-33 23.5-56.5T160-840h520q33 0 56.5 23.5T760-760v204q-10-2-20-3t-20-1q-10 0-20 .5t-20 2.5v-147L416-520 160-703v343h323q-2 10-2.5 20t-.5 20q0 10 1 20t3 20H160Zm58-480 198 142 204-142H218Zm-58 400v-400 400Z"},null,-1),ue=[ce];function me(a,n){return r(),T("svg",de,ue)}const pe=z(re,[["render",me]]),A="all-in-one-seo-pack",_e={setup(){return{licenseStore:q(),optionsStore:P(),rootStore:H()}},components:{CoreAlert:K,CoreTooltip:W,GridColumn:N,GridRow:G,SvgOutgoingMail:pe,SvgTrash:ie},data(){return{alertSendTestMessage:[{show:!1,type:"",message:""}],btnSendTestMessageLoading:[],btnSendTestMessageDisabled:!1,strings:{enableEmailReports:o("Enable email reports to receive a digest of the most important SEO updates for your site, right in your inbox.",A),recipientLabel:o("Email Address",A),frequencyLabel:o("Frequency",A),addEmailAddress:o("Add Email Address",A),sendTestEmail:o("Send Test Email",A),upsell:v(o("Sending summaries to additional email addresses is a %1$s feature. %2$s",A),"PRO",M.getUpsellLink("general-settings-advanced",L.learnMore,"email-summary",!0))},defaultFrequencyValue:"monthly",frequencyOptions:[{label:o("Monthly",A),value:"monthly"},{label:o("Weekly",A),value:"weekly"}]}},watch:{"optionsStore.options.advanced.emailSummary.enable"(a){var n;if(a){this.sanitizeRecipients();const y=this.optionsStore.options.advanced.emailSummary.recipients.length;y||this.addRecipient({email:this.rootStore.aioseo.data.adminEmail}),y===1&&!((n=this.optionsStore.options.advanced.emailSummary.recipients[0])!=null&&n.email)&&(this.deleteRecipient(0),this.addRecipient({email:this.rootStore.aioseo.data.adminEmail}))}}},computed:{parseRecipients(){const a=[],n=this.optionsStore.options.advanced.emailSummary.recipients;return Object.values(n).forEach(y=>{a.push(y)}),a.length===0&&this.addRecipient(),a}},methods:{isEmail:ae,stringTestEmailSent(a){return v(o("An email was sent out to %1$s.",A),a)},stringTestEmailNotSent(a){return v(o("Failed to send email to %1$s. Make sure the address is correct and that your site is configured correctly to send emails.",A),a)},addRecipient(a={}){this.optionsStore.options.advanced.emailSummary.recipients.push({email:(a==null?void 0:a.email)??"",frequency:this.defaultFrequencyValue})},deleteRecipient(a){this.optionsStore.options.advanced.emailSummary.recipients.splice(a,1)},sendTestMessage(a){const n=this.optionsStore.options.advanced.emailSummary.recipients[a].email,y=this.optionsStore.options.advanced.emailSummary.recipients[a].frequency;return this.btnSendTestMessageLoading[a]=!0,this.btnSendTestMessageDisabled=!0,J.post(M.restUrl("email-summary/send")).send({to:n,frequency:y}).then(e=>{if(!e.body.success)return console.error(e.body.message),this.setAlertSendTestMessage(a,"red",this.stringTestEmailNotSent(n)),!1;this.setAlertSendTestMessage(a,"green",this.stringTestEmailSent(n))}).catch(e=>{console.error(e),this.setAlertSendTestMessage(a,"red",this.stringTestEmailNotSent(n))}).finally(()=>{this.btnSendTestMessageLoading=[],this.btnSendTestMessageDisabled=!1})},setAlertSendTestMessage(a,n,y){this.alertSendTestMessage=[],this.alertSendTestMessage[a]={show:!0,type:n,message:y},ee(()=>{this.alertSendTestMessage=[]},7e3)},async sanitizeRecipients(){await this.$nextTick();const a=[];this.optionsStore.options.advanced.emailSummary.recipients.forEach(n=>{a.find(y=>y.email===n.email&&y.frequency===n.frequency)||a.push(n)}),this.optionsStore.options.advanced.emailSummary.recipients=a.filter(n=>n.email)},async updateRecipient(a,n,y,e){await this.$nextTick(),a[y]=e.trim(),this.optionsStore.options.advanced.emailSummary.recipients.splice(n,1,a)}},mounted(){this.sanitizeRecipients(),window.aioseoBus.$on("changes-saved",this.sanitizeRecipients)},beforeUnmount(){window.aioseoBus.$off("changes-saved",this.sanitizeRecipients)}},ge={class:"aioseo-email-summary"},ye={class:"aioseo-description"},he={key:0,class:"aioseo-email-summary__table"},Se={key:0,class:"aioseo-email-summary-table__header"},ve={class:"aioseo-email-summary__label"},fe={class:"aioseo-email-summary__label"},be={key:1,class:"aioseo-email-summary__table-body"},Te=["onClick"],ke={class:"aioseo-email-summary__table-footer"},Ae=["innerHTML"];function Me(a,n,y,e,s,h){const V=p("base-toggle"),g=p("grid-column"),U=p("grid-row"),C=p("svg-outgoing-mail"),w=p("base-button"),O=p("core-tooltip"),E=p("base-input"),x=p("base-select"),R=p("svg-trash"),D=p("core-alert");return r(),T("div",ge,[l(V,{modelValue:e.optionsStore.options.advanced.emailSummary.enable,"onUpdate:modelValue":n[0]||(n[0]=k=>e.optionsStore.options.advanced.emailSummary.enable=k)},null,8,["modelValue"]),u("div",ye,d(s.strings.enableEmailReports),1),e.optionsStore.options.advanced.emailSummary.enable?(r(),T("div",he,[h.parseRecipients.length>0?(r(),T("div",Se,[l(U,null,{default:t(()=>[l(g,{xs:"7",sm:"6"},{default:t(()=>[u("div",ve,d(s.strings.recipientLabel),1)]),_:1}),l(g,{xs:"5",sm:"4"},{default:t(()=>[u("div",fe,d(s.strings.frequencyLabel),1)]),_:1})]),_:1})])):m("",!0),h.parseRecipients.length>0?(r(),T("div",be,[(r(!0),T(F,null,Z(h.parseRecipients,(k,b)=>(r(),_(U,{key:`recipient-${b}`,class:"aioseo-email-summary__table-row"},{default:t(()=>{var B;return[l(g,{class:"aioseo-email-summary__table-column",xs:"6"},{default:t(()=>[l(E,{class:"aioseo-email-summary__input aioseo-email-summary__input--recipient",type:"email",size:"medium",validation:"email","onUpdate:modelValue":f=>{h.updateRecipient(k,b,"email",f)},modelValue:k.email},{"append-icon":t(()=>[l(O,{class:"",type:"action"},{tooltip:t(()=>[S(d(s.strings.sendTestEmail),1)]),default:t(()=>[l(w,{class:"btn-send-test-message",onClick:I(f=>h.sendTestMessage(b),["exact"]),type:"gray",size:"medium",loading:s.btnSendTestMessageLoading[b],disabled:s.btnSendTestMessageDisabled||!h.isEmail(k.email)},{default:t(()=>[l(C)]),_:2},1032,["onClick","loading","disabled"])]),_:2},1024)]),_:2},1032,["onUpdate:modelValue","modelValue"])]),_:2},1024),l(g,{class:"aioseo-email-summary__table-column",xs:"4"},{default:t(()=>[e.licenseStore.isUnlicensed?(r(),_(E,{key:0,class:"aioseo-email-summary__input aioseo-email-summary__input--frequency",size:"medium",modelValue:s.frequencyOptions.find(f=>f.value===s.defaultFrequencyValue).label,disabled:!0},null,8,["modelValue"])):(r(),_(x,{key:1,class:"aioseo-email-summary__input aioseo-email-summary__input--frequency",size:"medium",options:s.frequencyOptions,modelValue:s.frequencyOptions.find(f=>f.value===k.frequency),filterable:null,"onUpdate:modelValue":f=>h.updateRecipient(k,b,"frequency",f.value)},null,8,["options","modelValue","onUpdate:modelValue"]))]),_:2},1024),h.parseRecipients.length>1?(r(),_(g,{key:0,class:"aioseo-email-summary__table-column aioseo-email-summary__table-column--actions",xs:"2"},{default:t(()=>[u("a",{onClick:I(f=>h.deleteRecipient(b),["prevent","exact"]),href:"#",class:"btn-delete-recipient"},[l(R,{width:"20"})],8,Te)]),_:2},1024)):m("",!0),(B=s.alertSendTestMessage[b])!=null&&B.show?(r(),_(g,{key:1,class:"aioseo-email-summary__table-column aioseo-email-summary__table-column--alert",xs:"10"},{default:t(()=>{var f;return[l(D,{class:"alert-send-test-message",type:(f=s.alertSendTestMessage[b])==null?void 0:f.type,size:"medium"},{default:t(()=>{var c;return[S(d((c=s.alertSendTestMessage[b])==null?void 0:c.message),1)]}),_:2},1032,["type"])]}),_:2},1024)):m("",!0)]}),_:2},1024))),128))])):m("",!0),u("div",ke,[u("div",null,[l(w,{class:"btn-add-recipient",onClick:n[1]||(n[1]=I(k=>h.addRecipient(),["exact"])),type:"blue",size:"small",disabled:e.licenseStore.isUnlicensed},{default:t(()=>[S(d(s.strings.addEmailAddress),1)]),_:1},8,["disabled"])]),e.licenseStore.isUnlicensed?(r(),_(D,{key:0,class:"inline-upsell"},{default:t(()=>[u("div",{innerHTML:s.strings.upsell},null,8,Ae)]),_:1})):m("",!0)])])):m("",!0)])}const Ue=z(_e,[["render",Me],["__scopeId","data-v-f40df527"]]),i="all-in-one-seo-pack",we={setup(){return{licenseStore:q(),optionsStore:P(),rootStore:H(),GLOBAL_STRINGS:L,links:M}},components:{BaseCheckbox:X,BaseRadioToggle:$,CoreAlert:K,CoreCard:se,CorePostTypeOptions:oe,CoreProBadge:ne,CoreSettingsRow:te,CoreTooltip:W,EmailSummary:Ue,GridColumn:N,GridRow:G,SvgCircleQuestionMark:le},data(){return{openAiKeyInvalid:!1,strings:{advanced:o("Advanced Settings",i),truSeo:o("TruSEO Score & Content",i),truSeoDescription:o("Enable our TruSEO score to help you optimize your content for maximum traffic.",i),headlineAnalyzer:o("Headline Analyzer",i),headlineAnalyzerDescription:o("Enable our Headline Analyzer to help you write irresistible headlines and rank better in search results.",i),seoAnalysis:o("SEO Analysis",i),postTypeColumns:o("Post Type Columns",i),includeAllPostTypes:o("Include All Post Types",i),selectPostTypes:v(o("Select which Post Types you want to use the %1$s columns with.",i),"AIOSEO"),usageTracking:o("Usage Tracking",i),adminBarMenu:o("Admin Bar Menu",i),adminBarMenuDescription:v(o("This adds %1$s to the admin toolbar for easy access to your SEO settings.",i),"AIOSEO"),dashboardWidgets:o("Dashboard Widgets",i),dashboardWidgetsDescription:v(o("Select which %1$s widgets to display on the dashboard.",i),"AIOSEO"),announcements:o("Announcements",i),announcementsDescription:o("This allows you to hide plugin announcements and update details in the Notification Center.",i),automaticUpdates:o("Automatic Updates",i),all:o("All (recommended)",i),allDescription:o("You are getting the latest features, bugfixes, and security updates as they are released.",i),minor:o("Minor Only",i),minorDescription:o("You are getting bugfixes and security updates, but not major features.",i),none:o("None",i),noneDescription:o("You will need to manually update everything.",i),usageTrackingDescription:o("By allowing us to track usage data we can better help you as we will know which WordPress configurations, themes and plugins we should test.",i),usageTrackingTooltip:v(o("Complete documentation on usage tracking is available %1$shere%2$s.",i),v('<strong><a href="%1$s" target="_blank">',M.getDocUrl("usageTracking")),"</a></strong>"),adminBarMenuUpsell:v(o("Admin Bar Menu is a %1$s feature. %2$s",i),"PRO",M.getUpsellLink("general-settings-advanced",L.learnMore,"admin-bar-menu",!0)),dashboardWidgetsUpsell:v(o("Dashboard Widgets is a %1$s feature. %2$s",i),"PRO",M.getUpsellLink("general-settings-advanced",L.learnMore,"dashboard-widget",!0)),taxonomyColumns:o("Taxonomy Columns",i),includeAllTaxonomies:o("Include All Taxonomies",i),selectTaxonomies:v(o("Select which Taxonomies you want to use the %1$s columns with.",i),"AIOSEO"),taxonomyColumnsUpsell:v(o("Taxonomy Columns is a %1$s feature. %2$s",i),"PRO",M.getUpsellLink("general-settings-advanced",L.learnMore,"taxonomy-columns",!0)),uninstallAioseo:v(o("Uninstall %1$s",i),"AIOSEO"),uninstallAioseoDescription:v(o("Check this if you would like to remove ALL %1$s data upon plugin deletion. All settings and SEO data will be unrecoverable.",i),"AIOSEO"),openAiKey:o("OpenAI API Key",i),openAiKeyDescription:v(o("Enter an OpenAI API key in order to automatically generate SEO titles and meta descriptions for your pages. %1$s",i),M.getDocLink(L.learnMore,"openAi",!0)),openAiKeyUpsell:v(o("OpenAI Integration is a %1$s feature. %2$s",i),"PRO",M.getUpsellLink("general-settings-advanced",L.learnMore,"open-ai",!0)),openAiKeyInvalid:o("The API key you have entered is invalid. Please check your API key and try again.",i),emailSummaries:o("Email Reports",i)}}},computed:{adminBarMenu:{get(){return this.licenseStore.isUnlicensed?!0:this.optionsStore.options.advanced.adminBarMenu},set(a){this.optionsStore.options.advanced.adminBarMenu=a}},widgets(){return[{key:"seoSetup",label:o("SEO Setup Wizard",i),tooltip:o("Our SEO Setup Wizard dashboard widget helps you remember to finish setting up some initial crucial settings for your site to help you rank higher in search results. Once the setup wizard is completed this widget will automatically disappear.",i)},{key:"seoOverview",label:o("SEO Overview",i),tooltip:o("Our SEO Overview widget helps you determine which posts or pages you should focus on for content updates to help you rank higher in search results.",i)},{key:"seoNews",label:o("SEO News",i),tooltip:o("Our SEO News widget provides helpful links that enable you to get the most out of your SEO and help you continue to rank higher than your competitors in search results.",i)}]}},methods:{versionCompare:Q,updateDashboardWidgets(a,n){if(a){const e=this.optionsStore.options.advanced.dashboardWidgets;e.push(n.key),this.optionsStore.options.advanced.dashboardWidgets=e;return}const y=this.optionsStore.options.advanced.dashboardWidgets.findIndex(e=>e===n.key);y!==-1&&this.optionsStore.options.advanced.dashboardWidgets.splice(y,1)},isDashboardWidgetChecked(a){return this.licenseStore.isUnlicensed?!0:this.optionsStore.options.advanced.dashboardWidgets.includes(a.key)},validateOpenAiKey(){this.optionsStore.options.advanced.openAiKey&&this.optionsStore.options.advanced.openAiKey.match(/^sk-.*/)===null?this.openAiKeyInvalid=!0:this.openAiKeyInvalid=!1}},beforeMount(){this.validateOpenAiKey()}},Oe={class:"aioseo-advanced"},Le={class:"aioseo-description"},Ve={class:"aioseo-description"},Ee={class:"aioseo-description"},Ce=["innerHTML"],xe={class:"aioseo-description"},Re=["innerHTML"],De=["innerHTML"],Be={class:"aioseo-description"},Ie=["innerHTML"],ze={class:"aioseo-description"},qe=["innerHTML"],Pe={class:"aioseo-description"},He={class:"aioseo-description"},Ke={key:0},We={key:1},Ne={key:2},Ge=["innerHTML"],Fe={class:"aioseo-description"},Ze=["innerHTML"],Ye=["innerHTML"],je={class:"aioseo-description"};function Je(a,n,y,e,s,h){const V=p("base-toggle"),g=p("core-settings-row"),U=p("base-checkbox"),C=p("core-post-type-options"),w=p("core-pro-badge"),O=p("core-alert"),E=p("base-radio-toggle"),x=p("svg-circle-question-mark"),R=p("core-tooltip"),D=p("grid-column"),k=p("grid-row"),b=p("email-summary"),B=p("base-input"),f=p("core-card");return r(),T("div",Oe,[l(f,{slug:"advanced","header-text":s.strings.advanced},{default:t(()=>[l(g,{name:s.strings.truSeo},{content:t(()=>[l(V,{modelValue:e.optionsStore.options.advanced.truSeo,"onUpdate:modelValue":n[0]||(n[0]=c=>e.optionsStore.options.advanced.truSeo=c)},null,8,["modelValue"]),u("div",Le,d(s.strings.truSeoDescription),1)]),_:1},8,["name"]),l(g,{name:s.strings.headlineAnalyzer},{content:t(()=>[l(V,{modelValue:e.optionsStore.options.advanced.headlineAnalyzer,"onUpdate:modelValue":n[1]||(n[1]=c=>e.optionsStore.options.advanced.headlineAnalyzer=c)},null,8,["modelValue"]),u("div",Ve,d(s.strings.headlineAnalyzerDescription),1)]),_:1},8,["name"]),l(g,{name:s.strings.postTypeColumns},{content:t(()=>[l(U,{size:"medium",modelValue:e.optionsStore.options.advanced.postTypes.all,"onUpdate:modelValue":n[2]||(n[2]=c=>e.optionsStore.options.advanced.postTypes.all=c)},{default:t(()=>[S(d(s.strings.includeAllPostTypes),1)]),_:1},8,["modelValue"]),e.optionsStore.options.advanced.postTypes.all?m("",!0):(r(),_(C,{key:0,options:e.optionsStore.options.advanced,type:"postTypes"},null,8,["options"])),u("div",Ee,[S(d(s.strings.selectPostTypes)+" ",1),u("span",{innerHTML:e.links.getDocLink(e.GLOBAL_STRINGS.learnMore,"selectPostTypesColumns",!0)},null,8,Ce)])]),_:1},8,["name"]),l(g,null,{name:t(()=>[S(d(s.strings.taxonomyColumns)+" ",1),e.licenseStore.isUnlicensed?(r(),_(w,{key:0})):m("",!0)]),content:t(()=>[e.licenseStore.isUnlicensed?(r(),_(U,{key:0,disabled:"",size:"medium",modelValue:!0},{default:t(()=>[S(d(s.strings.includeAllTaxonomies),1)]),_:1})):m("",!0),e.licenseStore.isUnlicensed?m("",!0):(r(),_(U,{key:1,size:"medium",modelValue:e.optionsStore.options.advanced.taxonomies.all,"onUpdate:modelValue":n[3]||(n[3]=c=>e.optionsStore.options.advanced.taxonomies.all=c)},{default:t(()=>[S(d(s.strings.includeAllTaxonomies),1)]),_:1},8,["modelValue"])),!e.optionsStore.options.advanced.taxonomies.all&&!e.licenseStore.isUnlicensed?(r(),_(C,{key:2,options:e.optionsStore.options.advanced,type:"taxonomies"},null,8,["options"])):m("",!0),u("div",xe,[S(d(s.strings.selectTaxonomies)+" ",1),u("span",{innerHTML:e.links.getDocLink(e.GLOBAL_STRINGS.learnMore,"selectTaxonomiesColumns",!0)},null,8,Re)]),e.licenseStore.isUnlicensed?(r(),_(O,{key:3,class:"inline-upsell",type:"blue"},{default:t(()=>[u("div",{innerHTML:s.strings.taxonomyColumnsUpsell},null,8,De)]),_:1})):m("",!0)]),_:1}),l(g,null,{name:t(()=>[S(d(s.strings.adminBarMenu)+" ",1),e.licenseStore.isUnlicensed?(r(),_(w,{key:0})):m("",!0)]),content:t(()=>[l(E,{disabled:e.licenseStore.isUnlicensed,modelValue:h.adminBarMenu,"onUpdate:modelValue":n[4]||(n[4]=c=>h.adminBarMenu=c),name:"adminBarMenu",options:[{label:e.GLOBAL_STRINGS.hide,value:!1,activeClass:"dark"},{label:e.GLOBAL_STRINGS.show,value:!0}]},null,8,["disabled","modelValue","options"]),u("div",Be,d(s.strings.adminBarMenuDescription),1),e.licenseStore.isUnlicensed?(r(),_(O,{key:0,class:"inline-upsell",type:"blue"},{default:t(()=>[u("div",{innerHTML:s.strings.adminBarMenuUpsell},null,8,Ie)]),_:1})):m("",!0)]),_:1}),l(g,null,{name:t(()=>[S(d(s.strings.dashboardWidgets)+" ",1),e.licenseStore.isUnlicensed?(r(),_(w,{key:0})):m("",!0)]),content:t(()=>[l(k,null,{default:t(()=>[(r(!0),T(F,null,Z(h.widgets,(c,Y)=>(r(),_(D,{key:Y},{default:t(()=>[l(U,{size:"medium",disabled:e.licenseStore.isUnlicensed,modelValue:h.isDashboardWidgetChecked(c),"onUpdate:modelValue":j=>h.updateDashboardWidgets(j,c)},{default:t(()=>[S(d(c.label)+" ",1),l(R,null,{tooltip:t(()=>[S(d(c.tooltip),1)]),default:t(()=>[l(x)]),_:2},1024)]),_:2},1032,["disabled","modelValue","onUpdate:modelValue"])]),_:2},1024))),128))]),_:1}),u("div",ze,d(s.strings.dashboardWidgetsDescription),1),e.licenseStore.isUnlicensed?(r(),_(O,{key:0,class:"inline-upsell",type:"blue"},{default:t(()=>[u("div",{innerHTML:s.strings.dashboardWidgetsUpsell},null,8,qe)]),_:1})):m("",!0)]),_:1}),l(g,{name:s.strings.emailSummaries,id:"aioseo-email-summary-row"},{content:t(()=>[l(b)]),_:1},8,["name"]),l(g,{name:s.strings.announcements},{content:t(()=>[l(E,{modelValue:e.optionsStore.options.advanced.announcements,"onUpdate:modelValue":n[5]||(n[5]=c=>e.optionsStore.options.advanced.announcements=c),name:"announcements",options:[{label:e.GLOBAL_STRINGS.hide,value:!1,activeClass:"dark"},{label:e.GLOBAL_STRINGS.show,value:!0}]},null,8,["modelValue","options"]),u("div",Pe,d(s.strings.announcementsDescription),1)]),_:1},8,["name"]),e.rootStore.isPro?(r(),_(g,{key:0},{name:t(()=>[S(d(s.strings.automaticUpdates),1)]),content:t(()=>[l(E,{modelValue:e.optionsStore.options.advanced.autoUpdates,"onUpdate:modelValue":n[6]||(n[6]=c=>e.optionsStore.options.advanced.autoUpdates=c),name:"autoUpdates",options:[{label:s.strings.all,value:"all"},{label:s.strings.minor,value:"minor"},{label:s.strings.none,value:"none",activeClass:"dark"}]},null,8,["modelValue","options"]),u("div",He,[e.optionsStore.options.advanced.autoUpdates==="all"?(r(),T("span",Ke,d(s.strings.allDescription),1)):m("",!0),e.optionsStore.options.advanced.autoUpdates==="minor"?(r(),T("span",We,d(s.strings.minorDescription),1)):m("",!0),e.optionsStore.options.advanced.autoUpdates==="none"?(r(),T("span",Ne,d(s.strings.noneDescription),1)):m("",!0)])]),_:1})):m("",!0),e.rootStore.isPro?m("",!0):(r(),_(g,{key:1},{name:t(()=>[S(d(s.strings.usageTracking)+" ",1),l(R,null,{tooltip:t(()=>[u("div",{innerHTML:s.strings.usageTrackingTooltip},null,8,Ge)]),default:t(()=>[l(x)]),_:1})]),content:t(()=>[l(V,{modelValue:e.optionsStore.options.advanced.usageTracking,"onUpdate:modelValue":n[7]||(n[7]=c=>e.optionsStore.options.advanced.usageTracking=c)},null,8,["modelValue"]),u("div",Fe,d(s.strings.usageTrackingDescription),1)]),_:1})),l(g,{id:"aioseo-open-ai-api-key",name:s.strings.openAiKey},{name:t(()=>[S(d(s.strings.openAiKey)+" ",1),e.licenseStore.isUnlicensed?(r(),_(w,{key:0})):m("",!0)]),content:t(()=>[l(B,{class:"openAiKey",type:"text",size:"medium",modelValue:e.optionsStore.options.advanced.openAiKey,"onUpdate:modelValue":n[8]||(n[8]=c=>e.optionsStore.options.advanced.openAiKey=c),disabled:e.licenseStore.isUnlicensed,onBlur:h.validateOpenAiKey},null,8,["modelValue","disabled","onBlur"]),u("div",{class:"aioseo-description",innerHTML:s.strings.openAiKeyDescription},null,8,Ze),!e.licenseStore.isUnlicensed&&e.optionsStore.options.advanced.openAiKey&&s.openAiKeyInvalid?(r(),_(O,{key:0,class:"inline-upsell",type:"red"},{default:t(()=>[u("div",null,d(s.strings.openAiKeyInvalid),1)]),_:1})):m("",!0),e.licenseStore.isUnlicensed?(r(),_(O,{key:1,class:"inline-upsell",type:"blue"},{default:t(()=>[u("div",{innerHTML:s.strings.openAiKeyUpsell},null,8,Ye)]),_:1})):m("",!0)]),_:1},8,["name"]),l(g,{name:s.strings.uninstallAioseo},{content:t(()=>[l(V,{modelValue:e.optionsStore.options.advanced.uninstall,"onUpdate:modelValue":n[9]||(n[9]=c=>e.optionsStore.options.advanced.uninstall=c)},null,8,["modelValue"]),u("div",je,d(s.strings.uninstallAioseoDescription),1)]),_:1},8,["name"])]),_:1},8,["header-text"])])}const vs=z(we,[["render",Je]]);export{vs as default};