PageSourceSearch

https://bani.africa/_next/static/chunks/pages/home/features/Banner-82dd5fec35d9c15b.js

js bani.africa collected 2026-10-03 21:39:40 UTC 4,409 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1718],{8775:function(e,i,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/home/features/Banner",function(){return a(6)}])},6:function(e,i,a){"use strict";a.r(i),a.d(i,{default:function(){return p}});var t=a(5893),n=a(7294),r=a(9008),s=a.n(r);a(1163);var l=a(6506),m=a(5675),o=a.n(m);let c=n.createContext({});function g({count:e=1,wrapper:i,className:a,containerClassName:t,containerTestId:r,circle:s=!1,style:l,...m}){var o,g,d;let u=n.useContext(c),p={...m};for(let[e,i]of Object.entries(m))void 0===i&&delete p[e];let h={...u,...p,circle:s},f={...l,...function({baseColor:e,highlightColor:i,width:a,height:t,borderRadius:n,circle:r,direction:s,duration:l,enableAnimation:m=!0,customHighlightBackground:o}){let c={};return"rtl"===s&&(c["--animation-direction"]="reverse"),"number"==typeof l&&(c["--animation-duration"]=`${l}s`),m||(c["--pseudo-element-display"]="none"),("string"==typeof a||"number"==typeof a)&&(c.width=a),("string"==typeof t||"number"==typeof t)&&(c.height=t),("string"==typeof n||"number"==typeof n)&&(c.borderRadius=n),r&&(c.borderRadius="50%"),void 0!==e&&(c["--base-color"]=e),void 0!==i&&(c["--highlight-color"]=i),"string"==typeof o&&(c["--custom-highlight-background"]=o),c}(h)},x="react-loading-skeleton";a&&(x+=` ${a}`);let j=null!==(o=h.inline)&&void 0!==o&&o,y=[],b=Math.ceil(e);for(let i=0;i<b;i++){let a=f;if(b>e&&i===b-1){let i=null!==(g=a.width)&&void 0!==g?g:"100%",t=e%1,n="number"==typeof i?i*t:`calc(${i} * ${t})`;a={...a,width:n}}let t=n.createElement("span",{className:x,style:a,key:i},"‌");j?y.push(t):y.push(n.createElement(n.Fragment,{key:i},t,n.createElement("br",null)))}return n.createElement("span",{className:t,"data-testid":r,"aria-live":"polite","aria-busy":null===(d=h.enableAnimation)||void 0===d||d},i?y.map((e,a)=>n.createElement(i,{key:a},e)):y)}a(8045);let d=e=>{let{className:i,containerClassName:a="w-full",...n}=e;return(0,t.jsx)("div",{className:a,children:(0,t.jsx)(g,{className:i,...n})})},u=()=>{let[e,i]=(0,n.useState)(!0);return(0,n.useEffect)(()=>{let e=document.createElement("script");return e.src="/panorama-slider/index.js",e.type="module",e.crossOrigin="anonymous",document.body.appendChild(e),()=>{document.body.removeChild(e)}},[]),(0,n.useEffect)(()=>{let e=()=>{"function"==typeof window.initPanoramaSlider&&(window.initPanoramaSlider(),i(!1))},a=setTimeout(e,2500);return()=>{clearTimeout(a)}},[]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(s(),{children:[(0,t.jsx)("link",{rel:"modulepreload",href:"/panorama-slider/vendor.js"}),(0,t.jsx)("link",{rel:"stylesheet",href:"/panorama-slider/index.css"})]}),(0,t.jsxs)("h1",{className:"text-blue-gradient text-center bani-heading mt-8 md:mt-16 px-5 md:px-[5%] lg:px-[8%]",children:["One Integration, ",(0,t.jsx)("br",{})," Endless Opportunities"," ",(0,t.jsx)("br",{className:"sm:hidden"})," Across Africa."]}),e?(0,t.jsx)("div",{className:"flex items-center justify-center w-full min-h-[400px]",children:(0,t.jsx)(d,{className:"w-full h-[360px] min-h-[360px] max-h-[360px] mt-[40px]",containerClassName:"w-full min-h-[400px] max-h-[400px]"})}):null,(0,t.jsx)("div",{className:"panorama-slider flex items-center ".concat(e?"invisible max-h-0":""),children:(0,t.jsxs)("div",{className:"swiper",children:[(0,t.jsx)("div",{className:"swiper-wrapper",children:l.W.map(e=>{let{image:i}=e;return(0,t.jsx)("div",{className:"swiper-slide",children:(0,t.jsx)(o(),{className:"slide-image object-cover",src:i,alt:i.replace("/images/",""),fill:!0,priority:!0})},i)})}),(0,t.jsx)("div",{className:"swiper-pagination"})]})})]})};var p=u},6506:function(e,i,a){"use strict";a.d(i,{S:function(){return t},W:function(){return n}});let t={PRE_VIEW:"PRE_VIEW",IN_VIEW:"IN_VIEW",POST_VIEW:"POST_VIEW"},n=[{image:"/images/hero-image-6.jpg"},{image:"/images/hero-image-7.jpg"},{image:"/images/hero-image-8.jpg"},{image:"/images/hero-image-9.jpg"},{image:"/images/hero-image-10.jpg"},{image:"/images/hero-image-11.jpg"},{image:"/images/hero-image-12.jpg"},{image:"/images/hero-image-13.jpg"},{image:"/images/hero-image-14.jpg"},{image:"/images/hero-image-1.jpg"},{image:"/images/hero-image-2.jpg"},{image:"/images/hero-image-3.jpg"},{image:"/images/hero-image-4.jpg"},{image:"/images/hero-image-5.jpg"}]},8045:function(){},9008:function(e,i,a){e.exports=a(3121)}},function(e){e.O(0,[5675,9774,2888,179],function(){return e(e.s=8775)}),_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.