"use strict";(globalThis.webpackChunkcomplianz_gdpr=globalThis.webpackChunkcomplianz_gdpr||[]).push([[625],{20625:(e,l,t)=>{t.r(l),t.d(l,{default:()=>s});var i=t(45111),a=t(27723),n=t(99418),r=t(10790);const s=e=>{let l=e.help;l.title||(l.title=l.text,l.text=!1);let t=e.noticesExpanded?"open":"",s=l.url&&-1!==l.url.indexOf("complianz.io")?"_blank":"_self";return(0,r.jsxs)(r.Fragment,{children:[l.title&&l.text&&(0,r.jsxs)("details",{className:"cmplz-wizard-help-notice cmplz-"+l.label.toLowerCase(),open:t,children:[(0,r.jsxs)("summary",{children:[l.title," ",(0,r.jsx)(i.default,{name:"chevron-down"})]}),(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:n.A.sanitize(l.text)}})," ",l.url&&(0,r.jsx)("div",{className:"cmplz-help-more-info",children:(0,r.jsx)("a",{target:s,href:l.url,children:(0,a.__)("More info","complianz-gdpr")})})]}),l.title&&!l.text&&(0,r.jsx)("div",{className:"cmplz-wizard-help-notice cmplz-"+l.label.toLowerCase(),children:(0,r.jsx)("p",{children:l.title})})]})}}}]);