PageSourceSearch

https://gromo.in/_next/static/chunks/2631.4a7fdddc0d30c2cb.js

js gromo.in collected 2026-09-24 11:54:37 UTC 3,731 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2631],{7277:function(e,t,n){var i=n(5893),r=n(6886),l=n(5861);n(7294);var o=n(6066);n(1548),n(3873);var a=n(5675),s=n.n(a),d=n(1664),c=n.n(d);t.Z=function(e){let{list:t,title:n,directionLTR:a,width:d,numbers:u,titleMargin:p,sliderPad:h,pointer:g,marquee:x}=e,m={infinite:Boolean(x),speed:x?4e3:1500,slidesToShow:u||5,slidesToScroll:1,initialSlide:0,autoplay:!0,autoplaySpeed:x?0:2e3,centerMode:!1,arrows:!1,easing:x?"linear":"ease",responsive:[{breakpoint:1024,settings:{slidesToShow:3}},{breakpoint:600,settings:{slidesToShow:2}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1}}]};return(0,i.jsxs)(r.ZP,{sx:{padding:h||"0"},className:"container",children:[n?(0,i.jsxs)(r.ZP,{style:{position:"relative",display:"flex",justifyContent:"center",padding:"8px 0",margin:p||"auto"},children:[(0,i.jsx)(l.Z,{sx:{background:"white",padding:"0 8px",zIndex:1,fontWeight:"bold",fontSize:{xs:"24px",md:"32px"}},children:n}),(0,i.jsx)(r.ZP,{style:{position:"absolute",height:1,width:"100%",background:"lightgray",top:"calc(50% + 0.5px)",zIndex:0}})]}):null,(0,i.jsx)(r.ZP,{style:{padding:"8px 0",transform:a?"rotate(180deg)":"rotate(0deg)"},children:(0,i.jsx)(o.Z,{...m,children:t.map((e,t)=>{var n;let r=d||140,l=(0,i.jsx)(s(),{width:r,height:140,src:e.icon,alt:e.name,style:{width:"100%",height:"100%",border:"none",outline:"none",transform:a?"rotate(180deg)":"rotate(0deg)",objectFit:"contain",cursor:g?"pointer":"normal"},className:"app-slider-img",loading:"lazy"});return(0,i.jsx)("div",{children:(0,i.jsx)("div",{style:{width:r,height:140,margin:"0 auto",display:"flex",alignItems:"center",justifyContent:"center",padding:"10px",boxSizing:"border-box"},children:(null==e?void 0:null===(n=e.redirectLink)||void 0===n?void 0:n.length)>0?(0,i.jsx)(c(),{href:e.redirectLink,rel:"preload",children:l}):l})},t)})})})]})}},1985:function(e,t,n){n.d(t,{Z:function(){return s}});var i=n(5893),r=n(7294),l=n(7277);let o=e=>String(null!=e?e:"").trim().toUpperCase().replace(/\s+/g,"_"),a=new Set(["HDFC_P","SBI_CC","ICICI_CC","AXIS_CK","INDUS_CC","YES_CC","IDFC_PL","KSECURITY","MOTILAL_OSWAL","UPSTOX","ANGEL_ONE","BAJAJ_EMI","CLICKPE","ADITYA_LOAN","POONAWALLA_FINCORP","DBS","AIRTEL_XSTREAM","AUSFB_CC","EQUITASC","BHARATPL","INCRED"].map(o));function s(e){let{title:t,titleMargin:n,width:s=240,numbers:d=4}=e,[c,u]=(0,r.useState)([]),[p,h]=(0,r.useState)(!1);(0,r.useEffect)(()=>{let e=!1;return(async()=>{try{let t=await fetch("/api/productsForGp");if(!t.ok)return;let n=await t.json(),i=Array.isArray(null==n?void 0:n.products)?n.products:[],r=new Set,l=i.filter(e=>(null==e?void 0:e.productImage)&&(null==e?void 0:e.code)).filter(e=>{let t=o(e.code),n=o(e.name);return a.has(t)||a.has(n)}).filter(e=>{let t=o(e.code);return!(!t||r.has(t))&&(r.add(t),!0)}).map(e=>({name:e.name||e.code,icon:e.productImage,redirectLink:""}));e||u(l)}catch(s){}finally{e||h(!0)}})(),()=>{e=!0}},[]);let{topRow:g,bottomRow:x}=(0,r.useMemo)(()=>{let e=Math.ceil(c.length/2);return{topRow:c.slice(0,e),bottomRow:c.slice(e)}},[c]);return p&&0!==c.length?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l.Z,{list:g,directionLTR:!0,width:s,numbers:d,title:t,titleMargin:n}),x.length?(0,i.jsx)(l.Z,{list:x,width:s,numbers:d}):null]}):null}},9584:function(e,t,n){n.r(t);var i=n(5893),r=n(6886),l=n(1985);t.default=function(){return(0,i.jsx)(r.ZP,{container:!0,sx:{position:"relative",minHeight:{xs:"30vh",md:"50vh"},justifyContent:"space-around",flexDirection:"column",padding:{xs:"48px 0",md:"60px 0"},maxWidth:"1440px",margin:"auto"},children:(0,i.jsx)(l.Z,{title:"Our Financial Partners",titleMargin:"25px auto",width:240,numbers:4})})}}}]);
2//# sourceMappingURL=2631.4a7fdddc0d30c2cb.js.map

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.