import{h as k,r as B,m as S}from"../js/utils.Cm-Tz_B-.js";import{A as l,i as g,d as L,e as v,f as m,w as u,j as c,t as d,c as p,B as A,g as E,l as C,m as I,ad as P,n as R,ae as T}from"../js/_plugin-vue_export-helper.C2ZCDIpF.js";import{l as H,_ as M}from"../js/license.DGscJ9TW.js";import{B as h}from"../js/Toggle.CtA5WV7C.js";const F=k`
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
	<g clipPath="url(#clip0_354_509)">
		<path d="M11.9995 9.3001C9.27552 9.3001 8.72352 5.1721 8.72352 5.1721C8.39952 3.0241 9.38352 0.600098 11.9635 0.600098C14.5555 0.600098 15.5395 3.0241 15.2155 5.1721C15.2155 5.1721 14.7235 9.3001 11.9995 9.3001ZM11.9995 12.3841L15.2635 10.2001C18.1315 10.2001 20.6875 12.9961 20.6875 15.6361V18.6241C20.6875 18.6241 16.3075 19.9801 11.9995 19.9801C7.61952 19.9801 3.31152 18.6241 3.31152 18.6241V15.6361C3.31152 12.9361 5.63952 10.2601 8.67552 10.2601L11.9995 12.3841Z" fill="black"/>
		<g clipPath="url(#clip1_354_509)">
			<path d="M3.60059 28.1997H20.4006V25.7997H3.60059V28.1997ZM3.60059 16.1997V18.5997H20.4006V16.1997H3.60059ZM3.60059 23.3997H20.4006V20.9997H3.60059V23.3997Z" fill="black"/>
		</g>
	</g>
	<defs>
		<clipPath id="clip0_354_509">
			<rect width="24" height="24" fill="white"/>
		</clipPath>
		<clipPath id="clip1_354_509">
			<rect width="24" height="24" fill="white" transform="translate(0 10.2002)"/>
		</clipPath>
	</defs>
</svg>
`,N="https://schemas.wp.org/wp/5.8/block.json",O="aioseo/author-tooltip",U="AIOSEO - Author Name",Z="Easily output the name of the post author in your content for enhanced E-E-A-T.",j="aioseo",x=["author","author name","author bio","author biography","author profile","author information","author details","author description","bio","biography","description","information","profile"],D="aioseo-eeat",q={showLabel:{type:"boolean",default:!0},showImage:{type:"boolean",default:!0},showTooltip:{type:"boolean",default:!0},postAuthor:{type:"number"},showBioLink:{type:"boolean",default:!0}},z={html:!1,align:!0},G={$schema:N,name:O,title:U,description:Z,category:j,keywords:x,textdomain:D,attributes:q,supports:z},J={class:"aioseo-author-tooltip-sidebar"},K={class:"sidebar-row"},Q={__name:"SidebarOptions",setup(f){const a={showLabel:l("Show Label",void 0),showImage:l("Show Image",void 0),showTooltip:l("Show Tooltip",void 0),showSeeFullBioLink:l('Show "See Full Bio" link',void 0)};return(t,e)=>(g(),L("div",J,[v("div",K,[m(p(h),{modelValue:t.$root.$data.showLabel,"onUpdate:modelValue":e[0]||(e[0]=o=>t.$root.$data.showLabel=o)},{default:u(()=>[c(d(a.showLabel),1)]),_:1},8,["modelValue"]),m(p(h),{modelValue:t.$root.$data.showImage,"onUpdate:modelValue":e[1]||(e[1]=o=>t.$root.$data.showImage=o)},{default:u(()=>[c(d(a.showImage),1)]),_:1},8,["modelValue"]),m(p(h),{modelValue:t.$root.$data.showTooltip,"onUpdate:modelValue":e[2]||(e[2]=o=>t.$root.$data.showTooltip=o)},{default:u(()=>[c(d(a.showTooltip),1)]),_:1},8,["modelValue"]),t.$root.$data.showTooltip?(g(),A(p(h),{key:0,modelValue:t.$root.$data.showBioLink,"onUpdate:modelValue":e[3]||(e[3]=o=>t.$root.$data.showBioLink=o)},{default:u(()=>[c(d(a.showSeeFullBioLink),1)]),_:1},8,["modelValue"])):E("",!0)])]))}},W="aioseo-eeat",{name:y,title:X,description:Y,category:tt,supports:et,attributes:ot}=G,n=window.wp,at=n.serverSideRender||n.components.ServerSideRender;var $;const nt=(($=n.blockEditor)==null?void 0:$.InspectorControls)||n.editor.InspectorControls,st=n.components.PanelBody,w={},b=[],rt={title:X,description:Y,category:tt,supports:et,attributes:ot,icon:F,edit:function(f){const{attributes:s,setAttributes:a,clientId:t,isSelected:e}=f,o="aioseo-"+t,V={id:o,parent:document.querySelector(".block-editor"),subtree:!0,done:function(r){S(t,b);let i=I({name:"Blocks/AuthorBio",data:function(){return w[t]},watch:{$data:{handler:function(_){a(_)},deep:!0}},render:()=>P(Q)});i=R(i),i.mount(r),b.push({clientId:t,app:i})}};return e&&(w[t]={},Object.keys(s).forEach(function(r){w[t][r]=s[r]}),T(V)),React.createElement(React.Fragment,null,React.createElement(nt,null,React.createElement(st,{title:M("Block Settings",W),initialOpen:!0},React.createElement("div",{id:o}))),React.createElement(at,{block:y,attributes:{...s}}))},save:function(){return null},example:{attributes:{showLabel:!0,showImage:!0}}};C();H.hasAddonFeature("aioseo-eeat","post-reviewer")&&B({name:y,settings:rt});
