import{h as k,r as B,m as v}from"../js/utils.DpAxr-wm.js";import{A as l,i as g,d as S,e as L,f as h,w as u,j as c,t as d,c as p,B as E,g as I,l as A,m as C,aH as P,n as R,aI as T}from"../js/_plugin-vue_export-helper.vltRgGEd.js";import{l as H,_ as M}from"../js/license.BkPEFJd_.js";import{B as m}from"../js/Toggle.B_D_WPlM.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/reviewer-tooltip",U="AIOSEO - Reviewer Name",Z="Easily output the name of the post reviewer 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","reviewer","review"],D="aioseo-eeat",q={showLabel:{type:"boolean",default:!0},showImage:{type:"boolean",default:!0},showTooltip:{type:"boolean",default:!0},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-reviewer-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(e,t)=>(g(),S("div",J,[L("div",K,[h(p(m),{modelValue:e.$root.$data.showLabel,"onUpdate:modelValue":t[0]||(t[0]=o=>e.$root.$data.showLabel=o)},{default:u(()=>[c(d(a.showLabel),1)]),_:1},8,["modelValue"]),h(p(m),{modelValue:e.$root.$data.showImage,"onUpdate:modelValue":t[1]||(t[1]=o=>e.$root.$data.showImage=o)},{default:u(()=>[c(d(a.showImage),1)]),_:1},8,["modelValue"]),h(p(m),{modelValue:e.$root.$data.showTooltip,"onUpdate:modelValue":t[2]||(t[2]=o=>e.$root.$data.showTooltip=o)},{default:u(()=>[c(d(a.showTooltip),1)]),_:1},8,["modelValue"]),e.$root.$data.showTooltip?(g(),E(p(m),{key:0,modelValue:e.$root.$data.showBioLink,"onUpdate:modelValue":t[3]||(t[3]=o=>e.$root.$data.showBioLink=o)},{default:u(()=>[c(d(a.showSeeFullBioLink),1)]),_:1},8,["modelValue"])):I("",!0)])]))}},W="aioseo-eeat",{name:y,title:X,description:Y,category:ee,supports:te,attributes:oe}=G,n=window.wp,ae=n.serverSideRender||n.components.ServerSideRender;var $;const ne=(($=n.blockEditor)==null?void 0:$.InspectorControls)||n.editor.InspectorControls,se=n.components.PanelBody,w={},b=[],re={title:X,description:Y,category:ee,supports:te,attributes:oe,icon:F,edit:function(f){const{attributes:s,setAttributes:a,clientId:e,isSelected:t}=f,o="aioseo-"+e,V={id:o,parent:document.querySelector(".block-editor"),subtree:!0,done:function(r){v(e,b);let i=C({name:"Blocks/AuthorBio",data:function(){return w[e]},watch:{$data:{handler:function(_){a(_)},deep:!0}},render:()=>P(Q)});i=R(i),i.mount(r),b.push({clientId:e,app:i})}};return t&&(w[e]={},Object.keys(s).forEach(function(r){w[e][r]=s[r]}),T(V)),React.createElement(React.Fragment,null,React.createElement(ne,null,React.createElement(se,{title:M("Block Settings",W),initialOpen:!0},React.createElement("div",{id:o}))),React.createElement(ae,{block:y,attributes:{...s}}))},save:function(){return null},example:{attributes:{showLabel:!0,showImage:!0}}};A();H.hasAddonFeature("aioseo-eeat","post-reviewer")&&B({name:y,settings:re});
