<% const badgeFrag = `
`; const warnFrag = `
`; const arrowBoxColor = ob.verified ? 'clrBrAlert2 clrBAlert2Grad' : 'clrP clrBr'; const arrowBoxClass = `${ob.arrowClass} ${arrowBoxColor}`; const arrowBox = `
${ob.verified ? badgeFrag : warnFrag}
${ob.tipTitle}
${ob.tipBody}
`; let icon = ``; if (ob.wrapInfoIcon) { icon = `
${icon} ${arrowBox}
`; } const textWrapper = `
${ob.verified ? badgeFrag : warnFrag} ${ ob.text ? `${ob.text}${icon}` : '' }
`; %>
<% if (!ob.wrapInfoIcon) { %>
<%= textWrapper %> <%= arrowBox %>
<% } else { %> <%= textWrapper %> <% } %>