관리-도구
편집 파일: EeatCta.o3mqcjsv.js
import{e as C,i as O,u as x}from"./index.nsvc8vqf.js";import{u as V}from"./EeatCta.c3kigksf.js";import{C as P}from"./Index.lvccx76i.js";import{G as y}from"./constants.fxxegv78.js";import{u as R}from"./JsonValues.g6ep3o3z.js";import"./translations.lf9cwm9a.js";import{_ as $}from"./Caret.hnvbzqgq.js";import{B as L}from"./Checkbox.fww0datn.js";import{a as b,B as I,b as W,S as N}from"./index.h076fivy.js";import{B as M}from"./RadioToggle.h9afcyfi.js";import{C as z}from"./Blur.f3nyx4yc.js";import{C as U}from"./Card.n68aovsj.js";import{C as k}from"./SettingsRow.1l1umqn0.js";import{C as f}from"./Tooltip.jx4casvt.js";import{C as H}from"./Index.msuvgptk.js";import{S as j}from"./Plus.e1tf1dpc.js";import{_ as t,a as r}from"./default-i18n.hohxoesu.js";import{o as h,k as v,l as n,a as s,C as a,u as o,x as c,t as l,c as A,F as G,J as q,G as J,v as T,b as D}from"./runtime-dom.esm-bundler.h3clfjuw.js";import{R as F}from"./RequiredPlans.e7ak5151.js";import{_ as X}from"./_plugin-vue_export-helper.oebm7xum.js";import{u as K}from"./AddonConditions.lmddpmma.js";import"./helpers.fdpg7vgg.js";import"./Row.o0q8mn7y.js";import"./Checkmark.d5kkjaf5.js";import"./Slide.dop8j51m.js";import"./CheckSolid.ktze41sq.js";import"./addons.foby19s7.js";import"./upperFirst.mzmrvvb6.js";import"./_stringToArray.mpukyt2g.js";import"./toString.g0kcp64r.js";import"./license.bcd45a0t.js";var Q={BASE_URL:"./",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_AIOSEO_DEV_PORT:"8085",VITE_AIOSEO_DOMAIN:"aioseo.local",VITE_NAME:"All in One SEO",VITE_SHORT_NAME:"AIOSEO",VITE_TEXTDOMAIN:"all-in-one-seo-pack",VITE_TEXTDOMAIN_PRO:"aioseo-pro",VITE_TRUSEO_WEB_WORKER:"true",VITE_VERSION:"Lite"};const Y={id:"aioseo-author-seo"},Z={class:"aioseo-description"},ee=["innerHTML"],te={class:"aioseo-description"},oe=["innerHTML"],se={class:"topics-table"},ae={class:"tooltip-wrapper"},ie={class:"tooltip-wrapper"},re={class:"tooltip-wrapper"},ne=s("td",null,null,-1),le={class:"name"},ce={class:"url"},ue={class:"same-as-urls"},pe={class:"actions"},de={colspan:"4"},he={__name:"EeatBlur",setup(_){const{getJsonValue:p}=R(),d=[{name:"WordPress",url:"https://wordpress.org",sameAsUrls:[]},{name:"SEO",url:"https://aioseo.com",sameAsUrls:[]},{name:"Schema Markup",url:"https://schema.org",sameAsUrls:[]}],e="all-in-one-seo-pack",i={settings:t("Settings",e),experienceTopics:t("Author Experience Topics (E-E-A-T)",e),experienceTopicsDescription:r(t("The following settings will be added directly to an author's schema meta data via the %1$sknowsAbout%2$s property. This property helps with the Experience aspect of Google's E-E-A-T guidelines. After setting the global options here, you can add them directly in an authors profile page.",e),"<code>","</code>"),name:t("Name",e),url:t("URL",e),sameAsUrls:t("Same As URLs",e),addItem:t("Add Item",e),delete:t("Delete",e),nameTooltip:t('The name of the item the author knows about (e.g. "Amazon").',e),urlTooltip:t('The URL of the item the author knows about (e.g. "https://amazon.com").',e),sameAsUrlsTooltip:t('Additional URLs to help identify the item (e.g. "https://en.wikipedia.org/wiki/Amazon_(company)").',e),sameAsUrlsPlaceholder:t("Enter a URL and press enter",e),tagPlaceholder:t("Press enter to insert a URL",e),authorBioInjection:t("Append Author Bio to Posts",e),authorBioInjectionDescription:r(t("Choose whether %1$s should automatically append a compact author bio at the end of every post. You can also manually insert the author bio using the Author Bio block.",e),Q.VITE_AIOSEO_SHORT_NAME),postTypes:t("Post Types",e),includeAllPostTypes:t("Include All Post Types",e),selectPostTypes:t("Select the post types for which you want to automatically inject an author bio.",e)},g={block:{desc:r('<p>The following blocks are available in the Block Editor:</p><ul style="list-style:disc; margin-left: 24px;"><li>AIOSEO - Author Bio</li><li>AIOSEO - Author Name</li><li>AIOSEO - Reviewer Name</li></ul>')},shortcode:{multiple:[{copy:"[aioseo_eeat_author_bio]",desc:t("Use the following shortcode to display the author bio.",e),hasAdvanced:!0,attributes:[{name:"compact",description:r(t("Whether the compact author bio should be output or not. Defaults to %1$s.",e),"<code>true</code>")}],attributesDescription:t("The following shortcode attributes can be used to override the default settings:",e)},{copy:"[aioseo_eeat_author_tooltip]",desc:t("Use the following shortcode to display the author name.",e),hasAdvanced:!0,attributes:[{name:"show-label",description:r(t('Whether to display the "Written By" label or not. Defaults to %1$s.',e),"<code>true</code>")},{name:"show-image",description:r(t("Whether to display the author image or not. Defaults to %1$s.",e),"<code>true</code>")},{name:"show-tooltip",description:r(t("Whether to display the popup when someone hovers over the name or not. Defaults to %1$s.",e),"<code>true</code>")}],attributesDescription:t("The following shortcode attributes can be used to override the default settings:",e)},{copy:"[aioseo_eeat_reviewer_tooltip]",desc:t("Use the following shortcode to display the reviewer name.",e),hasAdvanced:!0,attributes:[{name:"show-label",description:r(t('Whether to display the "Reviewed By" label or not. Defaults to %1$s.',e),"<code>true</code>")},{name:"show-image",description:r(t("Whether to display the reviewer image or not. Defaults to %1$s.",e),"<code>true</code>")},{name:"show-tooltip",description:r(t("Whether to display the popup when someone hovers over the name or not. Defaults to %1$s.",e),"<code>true</code>")}],attributesDescription:t("The following shortcode attributes can be used to override the default settings:",e)}]},php:{multiple:[{copy:"<?php if( function_exists( 'aioseo_eeat_author_bio' ) ) aioseo_eeat_author_bio(); ?>",desc:t("Use the following PHP code anywhere in your theme's post templates or author archive template to display a bio for the author.",e),hasAdvanced:!0,attributes:[{name:"$compact",description:r(t("Whether the compact author bio should be output or not. Defaults to %1$s.",e),"<code>true</code>")}],attributesDescription:t("The following function arguments can be used to override the default settings:",e)},{copy:"<?php if( function_exists( 'aioseo_eeat_author_tooltip' ) ) aioseo_eeat_author_tooltip(); ?>",desc:t("Use the following PHP code anywhere in your theme's post templates to display a bio for the post author.",e),hasAdvanced:!0,attributes:[{name:"$showLabel",description:r(t('Whether to display the "Written By" label or not. Defaults to %1$s.',e),"<code>true</code>")},{name:"$showImage",description:r(t("Whether to display the author image or not. Defaults to %1$s.",e),"<code>true</code>")},{name:"$showTooltip",description:r(t("Whether to display the popup when someone hovers over the name or not. Defaults to %1$s.",e),"<code>true</code>")}],attributesDescription:t("The following function arguments can be used to override the default settings:",e)},{copy:"<?php if( function_exists( 'aioseo_eeat_reviewer_tooltip' ) ) aioseo_eeat_reviewer_tooltip(); ?>",desc:t("Use the following PHP code anywhere in your theme's post templates to display a bio for the post reviewer.",e),hasAdvanced:!0,attributes:[{name:"$showLabel",description:r(t('Whether to display the "Reviewed By" label or not. Defaults to %1$s.',e),"<code>true</code>")},{name:"$showImage",description:r(t("Whether to display the reviewer image or not. Defaults to %1$s.",e),"<code>true</code>")},{name:"$showTooltip",description:r(t("Whether to display the popup when someone hovers over the name or not. Defaults to %1$s.",e),"<code>true</code>")}],attributesDescription:t("The following function arguments can be used to override the default settings:",e)}]}};return(w,E)=>(h(),v(o(z),null,{default:n(()=>[s("div",Y,[a(o(U),{id:"aioseo-author-seo-settings",slug:"authorSeoSettings","header-text":i.settings,noSlide:""},{default:n(()=>[a(o(H),{options:g,plural:""}),a(o(k),{name:i.authorBioInjection},{content:n(()=>[a(o(M),{value:"true",name:"authorBioInjection",options:[{label:o(y).disabled,value:!1,activeClass:"dark"},{label:o(y).enabled,value:!0}]},null,8,["options"]),s("div",Z,[c(l(i.authorBioInjectionDescription)+" ",1),s("span",{innerHTML:o(C).getDocLink(o(y).learnMore,"eeatAuthorBioInjection",!0)},null,8,ee)])]),_:1},8,["name"]),a(o(k),{name:i.postTypes},{content:n(()=>[a(o(L),{size:"medium",value:"true"},{default:n(()=>[c(l(i.includeAllPostTypes),1)]),_:1}),s("div",te,l(i.selectPostTypes),1)]),_:1},8,["name"])]),_:1},8,["header-text"]),a(o(U),{id:"aioseo-author-seo-topics",slug:"authorSeoTopics","header-text":i.experienceTopics,noSlide:""},{default:n(()=>[s("div",{class:"aioseo-settings-row aioseo-section-description",innerHTML:i.experienceTopicsDescription},null,8,oe),s("table",se,[s("thead",null,[s("tr",null,[s("td",null,[s("div",ae,[c(l(i.name)+" ",1),a(o(f),null,{tooltip:n(()=>[c(l(i.nameTooltip),1)]),default:n(()=>[a(o(b))]),_:1})])]),s("td",null,[s("div",ie,[c(l(i.url)+" ",1),a(o(f),null,{tooltip:n(()=>[c(l(i.urlTooltip),1)]),default:n(()=>[a(o(b))]),_:1})])]),s("td",null,[s("div",re,[c(l(i.sameAsUrls)+" ",1),a(o(f),null,{tooltip:n(()=>[c(l(i.sameAsUrlsTooltip),1)]),default:n(()=>[a(o(b))]),_:1})])]),ne])]),s("tbody",null,[(h(),A(G,null,q(d,(u,S)=>s("tr",{class:J({even:S%2===0}),key:S},[s("td",le,[a(o(I),{size:"medium",modelValue:u.name,"onUpdate:modelValue":m=>u.name=m,"append-icon":"circle-close","append-icon-on-value":"",onAppendIconClick:m=>u.name=""},null,8,["modelValue","onUpdate:modelValue","onAppendIconClick"])]),s("td",ce,[a(o(I),{size:"medium",modelValue:u.url,"onUpdate:modelValue":m=>u.url=m,"append-icon":"circle-close","append-icon-on-value":"",onAppendIconClick:m=>u.url=""},null,8,["modelValue","onUpdate:modelValue","onAppendIconClick"])]),s("td",ue,[a(o(W),{size:"medium",multiple:"",taggable:"",options:o(p)(u.sameAsUrls)||[],modelValue:o(p)(u.sameAsUrls)||[],placeholder:i.sameAsUrlsPlaceholder,"tag-placeholder":i.tagPlaceholder},null,8,["options","modelValue","placeholder","tag-placeholder"])]),s("td",pe,[a(o(f),{type:"action"},{tooltip:n(()=>[c(l(i.delete),1)]),default:n(()=>[a(o(N))]),_:1})])],2)),64))]),s("tfoot",null,[s("tr",null,[s("td",de,[a(o($),{size:"small-table",type:"black"},{default:n(()=>[a(o(j)),c(" "+l(i.addItem),1)]),_:1})])])])])]),_:1},8,["header-text"])])]),_:1}))}},me={setup(){const{addonSlug:_,features:p,strings:d}=V();return{addonSlug:_,features:p,licenseStore:O(),rootStore:x(),links:C,strings:d}},components:{Cta:P,EeatBlur:he,RequiredPlans:F}};function _e(_,p,d,e,i,g){const w=T("eeat-blur"),E=T("required-plans"),u=T("cta");return h(),A("div",null,[a(w),a(u,{"cta-link":e.links.getPricingUrl("eeat","eeat-upsell"),"button-text":e.strings.ctaButtonText,"learn-more-link":e.links.getUpsellUrl("eeat",null,e.rootStore.isPro?"pricing":"liteUpgrade"),"feature-list":e.features,alignTop:""},{"header-text":n(()=>[c(l(e.strings.headerText),1)]),description:n(()=>[a(E,{addon:"aioseo-eeat"}),c(" "+l(e.strings.description),1)]),_:1},8,["cta-link","button-text","learn-more-link","feature-list"])])}const B=X(me,[["render",_e]]),fe={class:"author-seo-cta"},Fe={__name:"EeatCta",setup(_){const{shouldShowActivate:p,shouldShowLite:d,shouldShowUpdate:e}=K({addonSlug:"aioseo-eeat"});return(i,g)=>(h(),A("div",fe,[o(e)||o(p)?(h(),v(o(B),{key:0})):D("",!0),o(d)?(h(),v(o(B),{key:1})):D("",!0)]))}};export{Fe as default};