1import h from"./D0rIMvHL.js";import x from"./CJwVwZZk.js";import _ from"./nxkkOwJg.js";import{u as v}from"./vsr-mS5a.js";import{o as w,a9 as g,a6 as f,cI as c,a7 as s,bp as d,a8 as o,cH as S,bR as C,bq as M,c9 as T,bQ as z,bz as n,aj as I,a3 as y}from"./BPlt5jNJ.js";import"./BWkuNxku.js";try{let t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new t.Error().stack;l&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[l]="d7764c67-61d2-4d04-9190-89743bf1f96f",t._sentryDebugIdIdentifier="sentry-dbid-d7764c67-61d2-4d04-9190-89743bf1f96f")}catch{}{let t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[new t.Error().stack]=Object.assign({},t._sentryModuleMetadata[new t.Error().stack],{"_sentryBundlerPluginAppKey:splash-application":!0})}const L={name:"Author",components:{EditableText:h,EditableImage:x,SocialMedia:_},props:{module:{type:Object,default:()=>{}},editable:{type:Boolean,default:!1},headingOffset:{type:Number,default:0}},emits:["tracking"],setup(t){const l=y(()=>t.module.content?.header?.meta?.display===!0),e=y(()=>t.module.content?.name?.meta?.display===!0),{h1LevelTag:i,h1LevelStyleClass:b,h2LevelTag:r,h2LevelStyleClass:m}=v(T(t,"headingOffset"),l,e);return{h1LevelTag:i,h1LevelStyleClass:b,h2LevelTag:r,h2LevelStyleClass:m}},computed:{moduleComputedCssClass(){return{[`@sm:px-8 @md:px-${this.module.content.padding.x}`]:!!(this.module.content.padding.x&&this.module.content.margin===!0),[`@sm:px-14 @md:px-${this.module.content.padding.x+8}`]:!!(this.module.content.padding.x&&this.module.content.margin===!1),[`border-solid border-${this.module.content.border?.width}`]:!!this.module.content.border?.width,[`pt-${this.module.content.padding.t}`]:!!this.module.content.padding.t,[`pb-${this.module.content.padding.b}`]:!!this.module.content.padding.b}},borderStyle(){return{"--module-border-color":this.module.content.border?.color}}}},E={class:"module_inner"},H={key:0,class:"flex"},D={class:"mb-4"};function j(t,l,e,i,b,r){const m=h,V=x,k=_,u=z("panel");return n(),g("div",{key:e.module.content.prhApiIdentifier,class:d(["module px-4 py-8",r.moduleComputedCssClass]),style:M([e.module.content.background.style,r.borderStyle])},[f("div",E,[e.module.content.header.meta.display?(n(),g("div",H,[e.module.content.header.meta.display?c((n(),s(m,{key:0,modelValue:e.module.content.header.html,"onUpdate:modelValue":l[0]||(l[0]=a=>e.module.content.header.html=a),editable:e.editable,tag:i.h1LevelTag,class:d(["w-full mb-2",[i.h1LevelStyleClass,{"text-center":e.module.content.layout==="SplitVertical","text-center @md:text-left":e.module.content.layout!=="SplitVertical"}]]),"data-test":"module-header"},null,8,["modelValue","editable","tag","class"])),[[u]]):o("",!0)])):o("",!0),f("div",{class:d(["flex flex-col",{"@md:flex-row":e.module.content.layout==="SplitHorizontalLeft","@md:flex-row-reverse":e.module.content.layout==="SplitHorizontalRight"}])},[e.module.content.image.meta.display?(n(),g("div",{key:0,class:d(["flex justify-center mt-2",{"@md:w-2/5":e.module.content.layout!=="SplitVertical","items-start":e.module.content.image.alignment==="top","items-center":e.module.content.image.alignment==="middle","@md:pl-10":e.module.content.layout==="SplitHorizontalRight","@md:pr-10":e.module.content.layout==="SplitHorizontalLeft"}])},[f("figure",D,[(n(),s(C(e.module.content.image.link.href?"a":"div"),{href:e.module.content.image.link.href?e.module.content.image.link.href:null,"data-test":e.module.content.image.link.href?"image-link":null,target:e.module.content.image.link.external?"_blank":null,rel:e.module.content.image.link.external?"noopener":null},{default:S(()=>[c(I(V,{modelValue:e.module.content.image,"onUpdate:modelValue":l[1]||(l[1]=a=>e.module.content.image=a),editable:e.editable,layout:e.module.content.image.format,context:e.module.component,placeholder:"/img/splash-no-author.jpg","data-test":"author-image","alt-text":e.module.content.image.altText,"image-classes":{"w-full":!0},class:d({[e.module.content.image.size]:!!(typeof e.module.content.image.size<"u"&&e.module.content.image.size)})},null,8,["modelValue","editable","layout","context","alt-text","class"]),[[u,{component:"ImageStyle"}]])]),_:1},8,["href","data-test","target","rel"])),e.module.content.credit.meta.display&&e.module.content.credit.html?c((n(),s(m,{key:0,modelValue:e.module.content.credit.html,"onUpdate:modelValue":l[2]||(l[2]=a=>
1e.module.content.credit.html=a),editable:e.editable,tag:"figcaption",class:"mt-1 mb-0","data-test":"author-image-credit","theme-variable":"body"},null,8,["modelValue","editable"])),[[u]]):o("",!0)])],2)):o("",!0),f("div",{class:d({"@md:w-3/5":e.module.content.layout!=="SplitVertical"&&e.module.content.image.meta.display,"flex-row-reverse":e.module.content.layout==="SplitHorizontalRight"})},[e.module.content.name.meta.display?c((n(),s(m,{key:0,modelValue:e.module.content.name.html,"onUpdate:modelValue":l[3]||(l[3]=a=>e.module.content.name.html=a),editable:e.editable,tag:i.h2LevelTag,class:d(["mb-3",i.h2LevelStyleClass]),"data-test":"author-name"},null,8,["modelValue","editable","tag","class"])),[[u]]):o("",!0),e.module.content.bio.meta.display?c((n(),s(m,{key:1,modelValue:e.module.content.bio.html,"onUpdate:modelValue":l[4]||(l[4]=a=>e.module.content.bio.html=a),editable:e.editable,tag:"div","data-test":"author-bio"},null,8,["modelValue","editable"])),[[u]]):o("",!0),e.module.content.social.meta.display?c((n(),s(k,{key:2,modelValue:e.module.content.social,"onUpdate:modelValue":l[5]||(l[5]=a=>e.module.content.social=a),editable:e.editable,class:"mt-5",onTracking:l[6]||(l[6]=a=>t.$emit("tracking",a))},null,8,["modelValue","editable"])),[[u,{component:"SocialMediaSettings"}]]):o("",!0)],2)],2)])],6)}const q=Object.assign(w(L,[["render",j],["__scopeId","data-v-8a710f9c"]]),{__name:"Author"});export{q as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.