1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1740],{430:(t,e,n)=>{n.d(e,{C9:()=>o,Tm:()=>r});var a=n(5016);function i(t){let e=function(t){if(!t)return t;try{if(t.includes("www.ukcybersecuritycouncil.org.uk/media/")||t.startsWith("/media/"))return t.replace("/media/","/cms/media/");return t}catch(e){return t}}(t);return(0,a.U$)(e)}let r='\n /* Link styling */\n .rich-text-display a,\n .rich-text-display .link-tangerine {\n color: hsl(var(--theme-tangerine)) !important;\n text-decoration: underline !important;\n font-family: inherit !important;\n font-weight: 500 !important;\n }\n \n .rich-text-display a:hover,\n .rich-text-display .link-tangerine:hover {\n color: hsl(var(--theme-tangerine) / 0.8) !important;\n text-decoration: underline !important;\n font-weight: 500 !important;\n }\n \n .rich-text-display a:visited,\n .rich-text-display .link-tangerine:visited {\n color: hsl(var(--theme-tangerine)) !important;\n text-decoration: underline !important;\n font-weight: 500 !important;\n }\n \n /* Standalone link with arrow styling */\n .rich-text-display p[data-standalone-link="true"],\n .rich-text-display p.standalone-link-with-arrow {\n position: relative !important;\n }\n \n .rich-text-display p[data-standalone-link="true"] a,\n .rich-text-display p.standalone-link-with-arrow a {\n text-decoration: none !important;\n position: relative !important;\n display: inline !important;\n font-weight: 500 !important;\n }\n \n .rich-text-display p[data-standalone-link="true"] a:hover,\n .rich-text-display p.standalone-link-with-arrow a:hover {\n text-decoration: none !important;\n font-weight: 500 !important;\n }\n \n .rich-text-display p[data-standalone-link="true"] a::before,\n .rich-text-display p.standalone-link-with-arrow a::before {\n content: "" !important;\n position: absolute !important;\n bottom: 0 !important;\n left: 0 !important;\n right: 0 !important;\n height: 1px !important;\n background-color: hsl(var(--theme-tangerine)) !important;\n display: block !important;\n }\n \n .rich-text-display p[data-standalone-link="true"] a::after,\n .rich-text-display p.standalone-link-with-arrow a::after {\n content: "â¶" !important;\n margin-left: 0.5rem !important;\n color: hsl(var(--theme-tangerine)) !important;\n font-size: 0.875em !important;\n opacity: 0.8 !important;\n display: inline !important;\n text-decoration: none !important;\n }\n \n .rich-text-display p[data-standalone-link="true"] a:hover::after,\n .rich-text-display p.standalone-link-with-arrow a:hover::after {\n opacity: 1 !important;\n }\n \n .rich-text-display p[data-standalone-link="true"] a:hover::before,\n .rich-text-display p.standalone-link-with-arrow a:hover::before {\n background-color: hsl(var(--theme-tangerine) / 0.8) !important;\n }\n \n /* Image alignment styles */\n .rich-text-display img,\n .rich-text-display .editor-image {\n max-width: 100%;\n height: auto;\n }\n \n .rich-text-display img[data-align="left"],\n .rich-text-display .editor-image[data-align="left"] {\n float: left !important;\n margin-right: 1rem !important;\n margin-bottom: 0.5rem !important;\n margin-left: 0 !important;\n }\n \n .rich-text-display img[data-align="right"],\n .rich-text-display .editor-image[data-align="right"] {\n float: right !important;\n margin-left: 1rem !important;\n margin-bottom: 0.5rem !important;\n margin-right: 0 !important;\n }\n \n .rich-text-display img[data-align="center"],\n .rich-text-display .editor-image[data-align="center"] {\n display: block !important;\n margin-left: auto !important;\n margin-right: auto !important;\n margin-bottom: 0.5rem !important;\n float: none !important;\n }\n \n .rich-text-display p[style*="text-align: left"] img,\n .rich-text-display p[style*="text-align: left"] .editor-image {\n float: left !important;\n margin-right: 1rem !important;\n margin-bottom: 0.5rem !important;\n margin-left: 0 !important;\n }\n \n .rich-text-display p[style*="text-align: right"] img,\n .rich-text-display p[style*="text-align: right"] .editor-image {\n float: right !important;\n margin-left: 1rem !important;\n margin-bottom: 0.5rem !important;\n margin-right: 0 !important;\n }\n \n .rich-text-display p[style*="text-align: center"] img,\n .rich-text-display p[style*="text-align: center"] .editor-image {\n display: block !important;\n margin-left: auto !important;\n margin-right: auto !important;\n float: none !important;\n }\n \n /* Custom blockquote styling */\n .rich-text-display blockquote {\n padding: 2rem !important;\n margin: 1.5rem 0 !important;\n border-left: 6px solid hsl(var(--theme-tangerine)) !important;\n border-radius: 0.5rem !important;\n position: relative !important;\n font-style: normal !important;\n box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;\n }\n \n .rich-text-display blockquote::before {\n content: \'"\' !important;\n font-size: 4rem !important;\n color: hsl(var(--theme-tangerine)) !important;\n position: absolute !important;\n top: 1rem !important;\n left: 1rem !important;\n line-height: 1 !important;\n font-family: serif !important;\n opacity: 0.8 !important;\n }\n \n .rich-text-display blockquote p {\n margin: 0 0 1rem 0 !important;\n padding-left: 3rem !important;\n font-size: 1.1rem !important;\n line-height: 1.6 !important;\n }\n \n .rich-text-display blockquote p:last-child {\n margin-bottom: 0 !important;\n }\n \n /* Clear floats */\n .rich-text-display p:after {\n content: "";\n display: table;\n clear: both;\n }\n\n /* Unordered list styling with tangerine bullets */\n .rich-text-display ul {\n list-style: none !important;\n margin: 1rem 0 1.25rem 0 !important;\n padding: 0 !important;\n }\n .rich-text-display ul ul { /* nested */\n margin: 0.5rem 0 0.75rem 0 !important;\n }\n .rich-text-display ul li {\n position: relative !important;\n padding-left: 1.25rem !important;\n margin: 0.4rem 0 !important;\n line-height: 1.45 !important;\n }\n .rich-text-display ul li::before {\n content: "" !important;\n position: absolute !important;\n left: 0.25rem !important;\n top: 0.75em !important;\n width: 0.45rem !important;\n height: 0.45rem !important;\n background: hsl(var(--theme-tangerine)) !important;\n border-radius: 9999px !important;\n transform: translateY(-50%) !important;\n }\n\n /* Ordered lists */\n .rich-text-display ol {\n list-style: decimal !important;\n margin: 1rem 0 1.25rem 1.25rem !important;\n padding-left: 1rem !important;\n }\n .rich-text-display ol li {\n margin: 0.4rem 0 !important;\n line-height: 1.45 !important;\n }\n\n /* Paragraph spacing override (reduce default prose gaps & preserve newlines) */\n .rich-text-display p {\n white-space: pre-line !important;\n margin: 0 0 0.95rem 0 !important;\n line-height:1.55 !important;\n }\n .rich-text-display p + p { margin-top:0 !important; }\n .rich-text-display p:last-child { margin-bottom:0 !important; }\n /* Visual gap for normalized empty paragraphs (now truly :empty) */\n .rich-text-display p:empty {\
1n display:block !important;\n height:1.25rem !important; /* gap height */\n margin:0 0 1.25rem 0 !important; /* ensure it contributes a gap */\n }\n .rich-text-display p:empty:last-child { margin-bottom:0 !important; }\n\n \n/* Responsive overrides (quick patch) */\n@media (max-width: 640px){\n .rich-text-display blockquote{padding:1.25rem 1.25rem 1.25rem 1.25rem !important;}\n .rich-text-display blockquote p{padding-left:2.25rem !important;}\n}\n.rich-text-display blockquote::before{font-size:clamp(2.25rem,10vw,4rem) !important;}\n.rich-text-display p, .rich-text-display li{overflow-wrap:anywhere;word-break:break-word;}\n@media (max-width:400px){\n .rich-text-display ul li{padding-left:1rem !important;}\n .rich-text-display ul li::before{left:0.15rem !important;}\n}\n\n';function o(t){if(!t)return t;let e=t;var n=e=(e=e.replace(/<\/p>\s+<p/gi,"</p><p")).replace(/<p(\s+[^>]*)?>((?: |\s|<br\s*\/? >)*)<\/p>/gi,(t,e,n)=>/^(?: |\s|<br\s*\/? >)*$/i.test(n)?"<p".concat(e||"","></p>"):t);if(!n)return n;let r=n;return(r=(r=(r=(r=(r=r.replace(/(<img\b[^>]*\bsrc\s*=\s*)(["'])([^"']+)(\2)/gi,(t,e,n,a,r)=>"".concat(e).concat(n).concat(i(a)).concat(r))).replace(/(<source\b[^>]*\bsrc\s*=\s*)(["'])([^"']+)(\2)/gi,(t,e,n,a,r)=>"".concat(e).concat(n).concat(i(a)).concat(r))).replace(/(<video\b[^>]*\bposter\s*=\s*)(["'])([^"']+)(\2)/gi,(t,e,n,a,r)=>"".concat(e).concat(n).concat(i(a)).concat(r))).replace(/(<a\b[^>]*\bhref\s*=\s*)(["'])([^"']+)(\2)/gi,(t,e,n,a,r)=>"".concat(e).concat(n).concat(i(a)).concat(r))).replace(/(style\s*=\s*)(["'])([^"']*)(\2)/gi,(t,e,n,i,r)=>{var o;let l=null!=(o=(0,a._4)(i))?o:i;return"".concat(e).concat(n).concat(l).concat(r)})).replace(/<iframe\b([^>]*)>/gi,(t,e)=>{let n=e||"";/\sallowfullscreen\b/i.test(n)||(n+=" allowfullscreen");let a=n.match(/\sallow\s*=\s*(["'])([^"']*)(\1)/i);if(a){let t=a[1],e=(a[2]||"").split(";").map(t=>t.trim()).filter(Boolean);for(let t of["fullscreen","picture-in-picture","encrypted-media","autoplay"])e.includes(t)||e.push(t);let i=" allow=".concat(t).concat(e.join("; ")).concat(t);n=n.replace(a[0],i)}else n+=' allow="fullscreen; picture-in-picture; encrypted-media; autoplay"';return"<iframe".concat(n,">")})}},2173:(t,e,n)=>{n.d(e,{A:()=>i});var a=n(5155);n(2115);let i=t=>{let{position:e="top",height:n=150,offset:i=75}=t,r="top"===e;return(0,a.jsx)("div",{className:"absolute inset-0 ".concat(r?"bg-gradient-to-b from-primary to-primary/0":"bg-gradient-to-b from-primary/0 to-primary"),style:{height:"".concat(n,"px"),marginTop:r?void 0:"-".concat(i,"px"),position:r?"absolute":"relative"}})}},2869:(t,e,n)=>{n.d(e,{p:()=>o});var a=n(7153);let i=["class","style"],r=new a.FilterXSS({whiteList:{p:[...i],br:[],strong:[],em:[],b:[],i:[],u:[],ul:[...i],ol:[...i],li:[...i],a:["href","title","target","rel","class","style"],h1:[...i],h2:[...i],h3:[...i],h4:[...i],h5:[...i],h6:[...i],blockquote:[...i],table:[...i],thead:[],tbody:[],tr:[],th:["colspan","rowspan",...i],td:["colspan","rowspan",...i],img:["src","alt","title","class"],span:[...i],div:[...i],mark:[...i],hr:[],sub:[],sup:[]},stripIgnoreTag:!0,stripIgnoreTagBody:["script","style"],safeAttrValue(t,e,n,i){let r=(0,a.safeAttrValue)(t,e,n,i);return("href"===e||"src"===e)&&r.trim().startsWith("//")?"":r},css:{whiteList:{color:!0,"font-size":!0,"text-align":!0,"background-color":!0,"line-height":!0}}});function o(t){return t?r.process(t):""}},3341:(t,e,n)=>{n.d(e,{default:()=>l});var a=n(5155),i=n(2173),r=n(2115),o=n(5016);let l=t=>{let{backgroundImg:e,bgImage:n,title:l,customCss:s="",align:c="left",size:p="md",as:m="h2"}=t;return(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsxs)("div",{className:"relative flex w-full ".concat("sm"===p?"h-[220px] md:h-[260px]":"lg"===p?"h-[300px] md:h-[45vh]":"h-[250px] md:h-[40vh]"," items-center text-white bg-cover bg-center")+(s?" ".concat(s):""),style:(0,o.IG)({backgroundImage:'url("'.concat(e||n||"/design/header3.png",'")')}),children:[(0,a.jsx)("div",{className:"absolute inset-0 bg-black/35","aria-hidden":"true"}),(0,a.jsx)(i.A,{position:"top",height:240}),(0,a.jsx)("div",{className:"relative z-10 w-full max-w-7xl mx-auto px-4 sm:px-6 md:px-8 pt-12 md:pt-4 ".concat("center"===c?"mx-auto text-center":"right"===c?"ml-auto text-right":"text-left"),children:r.createElement(m,{className:"".concat("sm"===p?"text-lg md:text-2xl":"lg"===p?"text-2xl md:text-4xl":"text-xl md:text-3xl"," font-bold inline-block leading-tight")},l)})]}),(0,a.jsx)("div",{className:"bg-theme-tangerine h-2"})]})}},5341:(t,e,n)=>{n.d(e,{default:()=>r});var a=n(5155),i=n(2115);let r=t=>{let{bgColor:e,customCss:n="",color:r,spacingTop:o,spacingBottom:l,height:s}=t,c=i.useId().replace(/[:]/g,""),p=Math.round(.75*o),m=Math.round(.75*l),d=Math.round(.5*o),h=Math.round(.5*l);return(0,a.jsxs)("div",{className:"w-full ".concat(n),style:{backgroundColor:e},children:[(0,a.jsx)("div",{className:"max-w-7xl mx-auto divider-".concat(c),style:{paddingTop:"".concat(o,"px"),paddingBottom:"".concat(l,"px")},children:(0,a.jsx)("hr",{"aria-hidden":"true",style:{backgroundColor:r,height:"".concat(s,"px"),border:"none",margin:0}})}),(0,a.jsx)("style",{children:"\n/* Responsive vertical spacing scaling for divider-".concat(c," */\n@media (max-width: 639px) { /* mobile */\n .divider-").concat(c," { padding-top: ").concat(d,"px !important; padding-bottom: ").concat(h,"px !important; }\n}\n@media (min-width: 640px) and (max-width: 1023px) { /* tablet */\n .divider-").concat(c," { padding-top: ").concat(p,"px !important; padding-bottom: ").concat(m,"px !important; }\n}\n/* >=1024px keeps original spacing */\n ")})]})}},9710:(t,e,n)=>{n.d(e,{DynamicRichTextDisplay:()=>m});var a=n(5155),i=n(5016),r=n(2115),o=n(430),l=n(2869),s=n(63),c=n(1622);let p=t=>{let{eventDateRange:e,time:n,locationLine:i,priceLine:r,registrationLink:o,isHorizontalLayout:l=!1}=t;return(0,a.jsx)("div",{className:"mt-4 p-4 lg:px-0 rounded-lg bg-white/10 backdrop-blur-sm border border-white/20",children:(0,a.jsxs)("div",{className:"space-y-3 text-sm sm:text-base font-medium",children:[e&&(0,a.jsxs)("div",{className:"flex ".concat(l?"flex-col gap-1":"flex-col sm:flex-row sm:items-center gap-1 sm:gap-3"),children:[(0,a.jsx)("span",{className:"text-sm opacity-80 font-semibold ".concat(l?"":"min-w-[100px]"),children:"Event Dates:"}),(0,a.jsx)("span",{className:"text-lg font-bold",children:e})]}),n&&(0,a.jsxs)("div",{className:"flex ".concat(l?"flex-col gap-1":"flex-col sm:flex-row sm:items-center gap-1 sm:gap-3"),children:[(0,a.jsx)("span",{className:"text-sm opacity-80 font-semibold ".concat(l?"":"min-w-[100px]"),children:"Time:"}),(0,a.jsx)("span",{className:"text-lg font-bold",children:n})]}),i&&(0,a.jsxs)("div",{className:"flex ".concat(l?"flex-col gap-1":"flex-col sm:flex-row sm:items-center gap-1 sm:gap-3"),children:[(0,a.jsx)("span",{className:"text-sm opacity-80 font-semibold ".concat(l?"":"min-w-[100px]"),children:"Location:"}),(0,a.jsx)("span",{className:"text-lg font-bold",children:i})]}),r&&(0,a.jsxs)("div",{className:"flex ".concat(l?"flex-col gap-1":"flex-col sm:flex-row sm:items-center gap-1 sm:gap-3"),children:[(0,a.jsx)("span",{className:"text-sm opacity-80 font-semibold ".concat(l?"":"min-w-[100px]"),children:"Pricing:"}),(0,a.jsx)("span",{className:"text-lg font-bold",children:r})]}),o&&(0,a.jsx)("div",{className:"pt-3 border-t border-white/20",children:(0,a.jsx)(c.default,{borderColor:"theme-indigo",bgColor:"bg-theme-tangerine",ctaText:"Register now",ctaLink:o,newTab:o.startsWith("http"),size:"wide",hoverStyle:"arrowSlide"})})]})})},m=t=>{let{title:e,content:n,bgColor:c,customCss:m="",author:d="",image:h="",createdAt:x="",layout:g="horizontal",startDate:u,endDate:f,time:y,address:b,city:v,registrationLink:w,generalPrice:k,earlyBirdPrice:j,memberPrice:N}=t,{textColor:L}=(0,i.MN)(c),T=(0,s.usePathname)(),M=r.useMemo(()=>(0,l.p)((0,o.C9)(n)),[n]),S=r.useMemo(()=>
1{if(!x)return"";try{let t="string"==typeof x?new Date(x):x;if(isNaN(t.getTime()))return x.toString();return t.toLocaleDateString(void 0,{day:"2-digit",month:"short",year:"numeric"})}catch(t){return String(x)}},[x]),D=!!(S||d)&&!(null==T?void 0:T.startsWith("/events")),z="text-white"===L?"text-white/70":"text-neutral-600",C=!!(u||f||y||b||v||w||k||j||N),_=t=>{if(!t)return"";let e=new Date(t);return isNaN(e.getTime())?t:e.toLocaleDateString(void 0,{day:"2-digit",month:"short",year:"numeric"})},q=r.useMemo(()=>{if(!u)return"";let t=_(u);if(!f||f===u)return t;let e=_(f),n=new Date(u),a=new Date(f);if(!isNaN(n.getTime())&&!isNaN(a.getTime())&&n.getMonth()===a.getMonth()&&n.getFullYear()===a.getFullYear()){let t=n.toLocaleDateString(void 0,{day:"2-digit"}),e=a.toLocaleDateString(void 0,{day:"2-digit"}),i=n.toLocaleDateString(void 0,{month:"short",year:"numeric"});return"".concat(t,"â").concat(e," ").concat(i)}return"".concat(t," â ").concat(e)},[u,f]),I=r.useMemo(()=>{let t=[];return k&&t.push("General: ".concat(k)),j&&t.push("Early Bird: ".concat(j)),N&&t.push("Member: ".concat(N)),t.join(" | ")},[k,j,N]),R=r.useMemo(()=>b||v?[b,v].filter(Boolean).join(", "):"",[b,v]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("style",{"data-rich-text-inline":"true",dangerouslySetInnerHTML:{__html:o.Tm}}),(0,a.jsx)("div",{className:"relative z-0 ".concat(m),children:(0,a.jsx)("div",{className:"relative w-full min-h-[50px] overflow-hidden ".concat(L),style:{backgroundColor:c},children:(0,a.jsx)("div",{className:"relative z-10 w-full h-full min-h-[50px]",children:(0,a.jsx)("div",{className:"container mx-auto px-4 lg:px-8 pt-4 pb-2 lg:pt-8 lg:pb-4",children:"vertical"!==g&&e?(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-7 gap-8 max-w-7xl mx-auto",children:[(0,a.jsx)("div",{className:"lg:col-span-2 flex flex-col",children:e&&(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:"text-lg sm:text-xl lg:text-2xl font-bold text-left tracking-tight",children:e}),D&&(0,a.jsxs)("div",{className:"mt-1 text-xs font-medium flex flex-wrap items-center gap-x-2 ".concat(z),children:[S&&(0,a.jsx)("span",{children:S}),S&&d&&(0,a.jsx)("span",{className:"text-[10px] opacity-60",children:"|"}),d&&(0,a.jsx)("span",{children:d})]}),C&&(0,a.jsx)(p,{eventDateRange:q,time:y,locationLine:R,priceLine:I,registrationLink:w,isHorizontalLayout:!0})]})}),(0,a.jsx)("div",{className:"lg:col-span-5",children:(0,a.jsx)("div",{className:"prose max-w-none lg:prose-lg ".concat("text-white"===L?"prose-invert":""),children:(0,a.jsx)("div",{className:"rich-text-display rich-text-content",dangerouslySetInnerHTML:{__html:M}})})})]}):(0,a.jsxs)("div",{className:"max-w-7xl mx-auto flex flex-col gap-8",children:[e&&(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:"text-xl sm:text-2xl lg:text-3xl font-bold text-left tracking-tight",children:e}),D&&(0,a.jsxs)("div",{className:"mt-1 text-xs font-medium flex flex-wrap items-center gap-x-2 ".concat(z),children:[S&&(0,a.jsx)("span",{children:S}),S&&d&&(0,a.jsx)("span",{className:"text-[10px] opacity-60",children:"|"}),d&&(0,a.jsx)("span",{children:d})]}),C&&(0,a.jsx)(p,{eventDateRange:q,time:y,locationLine:R,priceLine:I,registrationLink:w,isHorizontalLayout:!1})]}),(0,a.jsx)("div",{className:"prose max-w-none lg:prose-lg ".concat("text-white"===L?"prose-invert":""),children:(0,a.jsx)("div",{className:"rich-text-display rich-text-content",dangerouslySetInnerHTML:{__html:M}})})]})})})})})]})}}}]);
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.