1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[71],{9071:function(e,r,t){t.r(r),t.d(r,{default:function(){return s}});var n=t(5893),o=t(7294),l=function(e){var r,t=e.isOpen,l=(0,o.useRef)(null),a=(0,o.useState)(0),i=a[0],s=a[1];return(0,o.useEffect)((function(){l.current&&t?s(l.current.clientHeight):s(0)}),[t]),(0,n.jsxs)("div",{className:"animate-show-transY-btt flex flex-col break-words bg-transparent overflow-hidden relative border border-secondary rounded-tl-sm rounded-tr-sm",children:[(0,n.jsxs)("div",{className:"relative",style:{width:"100%",height:"auto"},onClick:e.onClick,role:"button",children:[(0,n.jsx)("img",{loading:"lazy",src:e.imageSrc,alt:e.title,className:"w-full"}),(0,n.jsx)("button",{className:"absolute p-1 px-6 btn-primary font-bold bottom-0 right-0 text-lg rounded m-1",onClick:e.onClick,children:"INFO"})]}),(0,n.jsx)("div",{className:"transition-all duration-300 ease-in-out",style:{maxHeight:"".concat(i,"px")},children:(0,n.jsxs)("div",{className:"bg-dark-color p-4",ref:l,children:[(0,n.jsx)("span",{className:"text-lg text-warning font-semibold",children:e.title}),(0,n.jsx)("div",{className:"text-common text-md",dangerouslySetInnerHTML:{__html:null!==(r=e.body)&&void 0!==r?r:""}}),(0,n.jsx)("br",{}),(0,n.jsx)("br",{}),(0,n.jsx)("div",{className:"text-common",children:"image"===e.footerType?(0,n.jsx)(n.Fragment,{children:e.footerLink?(0,n.jsx)("a",{href:e.footerUrl,target:"_blank",rel:"noreferrer",children:(0,n.jsx)("img",{loading:"lazy",src:e.footer,alt:e.title})}):(0,n.jsx)("img",{loading:"lazy",src:e.footer,alt:e.title})}):(0,n.jsx)(n.Fragment,{children:e.footerLink?(0,n.jsx)("a",{href:e.footerUrl,target:"_blank",rel:"noreferrer",children:e.footer}):(0,n.jsx)("p",{children:e.footer})})})]})})]})};function a(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function i(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,o,l=[],a=!0,i=!1;try{for(t=t.call(e);!(a=(n=t.next()).done)&&(l.push(n.value),!r||l.length!==r);a=!0);}catch(s){i=!0,o=s}finally{try{a||null==t.return||t.return()}finally{if(i)throw o}}return l}}(e,r)||function(e,r){if(!e)return;if("string"===typeof e)return a(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return a(e,r)}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var s=function(e){var r=i(o.useState(-1),2),t=r[0],a=r[1],s=i(o.useState(!1),2),c=s[0],u=s[1];return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"overflow-hidden",children:e.promoBannerList.map((function(e,r){return(0,n.jsx)(l,{position:r,isOpen:t===r&&c,imageSrc:e.imagePath,title:e.promoTitle,body:e.promoText,footer
1:e.promoFooter,onClick:function(){return u((e=r)!==t||!c),void a(e);var e},footerType:e.footerType,footerLink:e.footerLink,footerUrl:e.footerUrl},"a_".concat(r+r-1))}))})})}}}]);
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.