1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[390],{40505:function(e,t,l){Promise.resolve().then(l.bind(l,32716)),Promise.resolve().then(l.bind(l,79494)),Promise.resolve().then(l.bind(l,66109)),Promise.resolve().then(l.bind(l,67990)),Promise.resolve().then(l.bind(l,2408)),Promise.resolve().then(l.bind(l,12246)),Promise.resolve().then(l.bind(l,11857)),Promise.resolve().then(l.bind(l,2229)),Promise.resolve().then(l.bind(l,35642)),Promise.resolve().then(l.bind(l,23728)),Promise.resolve().then(l.bind(l,61199)),Promise.resolve().then(l.bind(l,45682)),Promise.resolve().then(l.bind(l,6058)),Promise.resolve().then(l.bind(l,85502)),Promise.resolve().then(l.bind(l,41990)),Promise.resolve().then(l.bind(l,27373)),Promise.resolve().then(l.bind(l,82891)),Promise.resolve().then(l.bind(l,29926)),Promise.resolve().then(l.bind(l,24309)),Promise.resolve().then(l.bind(l,19573)),Promise.resolve().then(l.bind(l,32014)),Promise.resolve().then(l.bind(l,51754)),Promise.resolve().then(l.bind(l,54562))},51754:function(e,t,l){"use strict";var s=l(57437),i=l(50739),n=l(71304),o=l(54887),r=l(2265),c=l(56618),a=l(38328),d=l(33145),m=l(44079),x=l(45561),h=l(40206);t.default=function(e){let{data:t,className:l=""}=e,{lockScroll:u,unlockScroll:b}=(0,m.Z)(),[p,f]=(0,r.useState)(!1),[v,w]=(0,r.useState)(""),g=(0,r.useRef)([]),[j,y]=(0,r.useState)(null);(0,r.useEffect)(()=>{(async()=>{let e=await (0,h.M)();console.log("data",e),e&&y(e)})()},[]),(0,r.useEffect)(()=>{p?u():b()},[u,b,p]);let N=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";console.log(e,t),w(t),f(e)};function P(e){let{location:t,address:l,number:i,image:o,className:a="",url:m="",layout:x="type-b",parent:h="white",onClick:u=()=>{},noDesc:b=!1}=e,[p,f]=(0,r.useState)(!1),[v,w]=(0,r.useState)(!0);return console.log(o),(0,s.jsxs)("div",{className:"card w-full h-full ".concat(a," flex flex-col"),children:[o&&(0,s.jsxs)("div",{className:"".concat(v?"placeholder":""," w-full h-0 pb-[56.25%] relative overflow-hidden [&_+_.copy-box]:border-t-0 [&_+_.copy-box]:border-b-0 [&_+_.copy-box]:border-l"),children:[(0,s.jsx)(d.default,{quality:100,loading:"lazy",onLoad:()=>void(f(!0),setTimeout(()=>w(!1),400)),src:o,alt:"Grand Banks",width:1920,height:"type-a"===x?800:1080,className:"absolute h-full w-full object-cover ".concat(p?"opacity-100":"opacity-0"," transition duration-300 cursor-pointer"),onClick:()=>u()}),(0,s.jsx)("div",{className:"absolute bottom-2 left-2 z-10 flex items-center justify-center w-10 h-10 bg-pb-red bg-opacity-60x rounded-full cursor-pointer",style:{pointerEvents:"none"},children:(0,s.jsxs)("svg",{viewBox:"0 0 32 32",width:"24",height:"24",fill:"white","aria-hidden":"true",children:[(0,s.jsx)("circle",{className:"fill-pb-red",cx:"16",cy:"16",r:"16",fill:"black",fillOpacity:"0.4"}),(0,s.jsx)("polygon",{points:"12.1,9.4 25.1,16 12.1,22.6",fill:"white"})]})})]}),(0,s.jsxs)("div",{className:"copy-box border-t md:border-b ".concat("red"===h?"border-white":"border-pb-grey-light"," px-5 h-fullx flex flex-col grow"),children:[t&&(0,s.jsx)("p",{className:"pt-4",children:(0,n.z)(t)}),l&&(0,s.jsx)("p",{className:"pt-2 text-sm",children:(0,n.z)(l)}),i&&(0,s.jsx)("span",{className:"".concat(b?"hidden":""," py-4 text-sm [&_p]:mb-2 [&_ul]:mb-2"),children:(0,s.jsx)(c.ZP,{children:i})})]})]})}return(0,s.jsx)(s.Fragment,{children:j&&(0,s.jsxs)("section",{className:"section-content relative section-compact ".concat(l," ").concat((0,a.jo)(t.bgColor)," py-10 sm:py-16 md:py-24 flex flex-col justify-center items-center lg:px-10"),data:t,children:[(0,s.jsx)("div",{className:"w-full",children:(t.heading||t.description)&&(0,s.jsxs)("div",{className:"pb-container ".concat(t.imageUrl?"mb-14":""," flex flex-col ").concat((0,a.Y7)(t.bgColor)),children:[t.subheading&&(0,s.jsx)("span",{className:"!text-center text-base w-full max-w-[900px] mx-auto mb-4 md:mb-7 tracking-widest",children:(0,n.z)(t.subheading)||""}),t.heading&&(0,s.jsx)("h2",{className:"text-center text-2xl md:text-4xl xl:text-5xl w-full overflow-ellipsis mb-4 md:mb-7 max-w-[740px] mx-auto",children:(0,n.z)(t.heading)}),t.description&&(0,s.jsx)("div",{className:"content-description mb-20 text-center ".concat("POST"===t.name?"[.news-
1page_&]:text-left":""," text-sm md:text-base w-full max-w-[900px] mx-auto whitespace-break-spaces [&_span]:block ").concat(t.subheading?"":"mt-7"),children:(0,s.jsx)(c.ZP,{children:t.description})})]})}),(0,s.jsx)("div",{className:"pb-container-sm flex flex-col pt-10 pb-14x ".concat((0,a.Y7)(t.bgColor)," justify-center items-center"),children:(0,s.jsx)("div",{className:"flex flex-wrap mx-5 justify-center w-full",children:j&&j.items&&0!==j.items.length?j.items.map((e,l)=>(g.current&&-1===g.current.indexOf((0,i.J)(e.imageUrl))&&g.current.push((0,i.J)(e.imageUrl)),(0,s.jsx)("div",{className:"px-3 mb-10 w-full md:w-1/2 ".concat(3===t.items.length?"lg:max-w-[33.3333%]":""," ").concat(4===t.items.length?"lg:max-w-[25%]":""," "),children:(0,s.jsx)(P,{location:e.heading,address:e.subheading,number:e.description,image:e.image,url:e.url,layout:e.layout,parent:t.bgColor,onClick:()=>N(!0,e.url.split("v=")[1])})},"section-card-content-".concat(l)))):(0,s.jsx)("div",{className:"w-full flex justify-center items-center",children:(0,s.jsx)("div",{className:"px-3 mb-10 w-full",children:(0,s.jsxs)("div",{className:"bg-[#FE1132] text-white text-center p-6 rounded-lg shadow w-full max-w-[600px] mx-auto",children:[(0,s.jsx)("h3",{className:"text-xl font-bold mb-2",children:"Error loading YouTube RSS"}),(0,s.jsx)("p",{className:"text-base",children:"Please check back later."})]})})})})}),p&&(0,o.createPortal)((0,s.jsxs)("div",{className:"w-screen h-screen flex justify-center items-center fixed top-0 left-0 z-[9999]",children:[(0,s.jsx)("div",{onClick:()=>N(!1),className:"w-full h-full bg-black/90 absolute z-0 custom-fade-in transition duration-300"}),(0,s.jsx)("div",{className:"w-[95%] max-w-[1200px] mx-auto z-10 transition duration-300 video-transition",children:(0,s.jsx)("div",{className:"overflow-hidden relative w-full mx-auto h-0 pb-[56.25%]",children:(0,s.jsx)("iframe",{className:"absolute top-0 left-0 w-full h-full",src:"https://www.youtube.com/embed/".concat(v),title:"YouTube video player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})})}),(0,s.jsx)("div",{onClick:()=>N(!1),className:"absolute top-5 right-5 text-white text-3xl",children:(0,s.jsx)(x.Z,{parentIsOpen:p})})]}),document.body)]})})}}},function(e){e.O(0,[1662,9973,461,1523,5878,5910,4562,2972,8170,553,9568,3361,8004,1676,7989,1683,9388,5089,5682,2902,3106,1857,2971,2117,1744],function(){return e(e.s=40505)}),_N_E=e.O()}]);
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.