PageSourceSearch

https://machbank.com/_next/static/chunks/pages/digital-d10c74002c83b7af.js

js machbank.com collected 2026-09-24 09:49:45 UTC 10,828 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5809,8190,8672],{57:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSG:()=>y,default:()=>E});var l=a(37876),r=a(18847),n=a.n(r),i=a(14232),s=a(5809),o=a(12963),c=a(49150),m=a(78893),d=a(77343),g=a(98657),u=a(1814),h=a(75847);let p=n()(()=>Promise.all([a.e(1167),a.e(2786),a.e(7647),a.e(8230),a.e(2351),a.e(7608),a.e(9999),a.e(3349)]).then(a.bind(a,83349)),{loadableGenerated:{webpack:()=>[83349]},ssr:!1}),f=n()(()=>a.e(7804).then(a.bind(a,27804)),{loadableGenerated:{webpack:()=>[27804]},ssr:!1});var y=!0;function E(){let{setShowLoader:e}=(0,i.useContext)(c.o),t=(0,g.A)(),{translate:a}=(0,h.WD)(),r=(0,u.yb)(),[n,y]=(0,i.useState)([]),[E,v]=(0,i.useState)({}),x=window?.location?.href;"undefined"!=typeof localStorage&&localStorage.getItem("accessTokenCustomer");let{data:w,isFetching:b}=(0,d.N4)(t),C=async()=>{try{let e=await m.A.get("/get-dynamic-home-page-component/digital",{headers:{"X-Page":x||""}});v(e.data)}catch(e){console.error("error",e)}};return(0,i.useEffect)(()=>{C()},[]),(0,i.useEffect)(()=>{if(E){let t=E?.data?.components?.data.map(e=>e?.layout?.title);y(t),t?.length>0?setTimeout(()=>{e(!1)},1e3):e(!0)}else e(!0)},[E]),(0,l.jsxs)(i.Fragment,{children:[(0,l.jsx)(o.A,{title:`${a({en:r?.name||r?.metaTitle||"Digital",np:r?.nameNp||r?.metaTitleNP||"डिजिटल"})}`,metaTitle:`${a({en:r?.metaTitle||"Digital",np:r?.metaTitleNP||"डिजिटल"})}`,metaImage:(0,u.m_)(r?.headerImage),metaDescription:`${a({en:r?.metaDescription||w?.data?.banner?.[0]?.subtitle,np:r?.metaDescriptionNp||w?.data?.banner?.[0]?.subtitle_np})}`,structuredData:r?.metaStructureData,latestUpdatedDate:E?.latestUpdatedDate}),n?.length>0?(0,l.jsxs)("div",{children:[(0,l.jsx)(p,{}),(0,l.jsx)(f,{componentNames:n})]}):(0,l.jsx)(s.default,{isFetching:!0})]})}},5809:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>o});var l=a(37876),r=a(91106),n=a(99471),i=a(21727),s=a(14232);function o({isFetching:e,dataLength:t,hideIfNoData:a,fullPage:o,actionButtonName:c,actionButtonCallback:m,noDataText:d}){let g=(0,l.jsx)(i.A,{rev:void 0,style:{fontSize:"4.8rem",color:"#C5161D"},spin:!0});return(0,l.jsxs)(s.Fragment,{children:[e&&(0,l.jsx)("div",{id:"SpinLoading",style:o?{minHeight:"75vh"}:{minHeight:"20rem"},className:"d-flex flex-column justify-content-center my-5",children:(0,l.jsx)(r.A,{indicator:g})}),!e&&!t&&!a&&(0,l.jsxs)("div",{style:o?{minHeight:"75vh"}:{minHeight:"20rem"},className:"d-flex flex-column justify-content-center my-5",children:[(0,l.jsx)(n.A,{image:"/assets/images/no-data.png",description:d||"No data found",className:`${c?"my-3 py-2":"my-5 py-5"}`}),c&&(0,l.jsx)("button",{className:"btn btn-link text-danger",onClick:()=>m&&m(),children:(0,l.jsx)("p",{style:{fontSize:"1.5rem"},children:c})})]})]})}},21727:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var l=a(44501),r=a(14232);let n={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 1024c-69.1 0-136.2-13.5-199.3-40.2C251.7 958 197 921 150 874c-47-47-84-101.7-109.8-162.7C13.5 648.2 0 581.1 0 512c0-19.9 16.1-36 36-36s36 16.1 36 36c0 59.4 11.6 117 34.6 171.3 22.2 52.4 53.9 99.5 94.3 139.9 40.4 40.4 87.5 72.2 139.9 94.3C395 940.4 452.6 952 512 952c59.4 0 117-11.6 171.3-34.6 52.4-22.2 99.5-53.9 139.9-94.3 40.4-40.4 72.2-87.5 94.3-139.9C940.4 629 952 571.4 952 512c0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.2C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3s-13.5 136.2-40.2 199.3C958 772.3 921 827 874 874c-47 47-101.8 83.9-162.7 109.7-63.1 26.8-130.2 40.3-199.3 40.3z"}}]},name:"loading-3-quarters",theme:"outlined"};var i=a(80676);let s=r.forwardRef(function(e,t){return r.createElement(i.A,(0,l.A)({},e,{ref:t,icon:n}))})},44337:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/digital",function(){return a(57)}])},78893:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var l=a(91040),r=a(65266);let n=l.A.create({baseURL:r.tj});n.interceptors.request.use(async e=>{let t=localStorage.getItem("accessTokenCustomer");t&&(e.headers.Authorization=`Bearer ${t}`);let a=e.headers?.["X-Page"]||"";if(delete e.headers["X-Page"],a&&t)try{await l.A.post(`${r.tj}/histories`,{history_url:a},e)}catch(e){console.error("Error tracking page visit:",e)}return e},e=>Promise.reject(e));let i=n},87213:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var l=a(14232),r=a(4467),n=a(73293);let i=(e,t)=>{let a=l.useContext(r.A);return[l.useMemo(()=>{var l;let r=t||n.A[e],i=null!=(l=null==a?void 0:a[e])?l:{};return Object.assign(Object.assign({},"function"==typeof r?r():r),i||{})},[e,t,a]),l.useMemo(()=>{let e=null==a?void 0:a.locale;return(null==a?void 0:a.exist)&&!e?n.A.locale:e},[a])]}},98657:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var l=a(89099),r=a(14232),n=a(77343);let i=function(){let[e,t]=(0,r.useState)("personal"),a=(0,l.useRouter)(),{data:i}=(0,n.O9)();return(0,r.useEffect)(()=>
1{if(!a.isReady||!i)return;let e=a.asPath.split("/").filter(e=>e);if(!e.length)return void t("home");let l=e[0],r=i?.data?.menu?.map(e=>e.slug);r?.includes(l)&&t(l)},[a.isReady,i]),e}},99471:(e,t,a)=>{"use strict";a.d(t,{A:()=>y});var l=a(14232),r=a(15039),n=a.n(r),i=a(73967),s=a(87213),o=a(29378),c=a(81593),m=a(93908),d=a(61060);let g=(0,m.OF)("Empty",e=>{let{componentCls:t,controlHeightLG:a,calc:l}=e;return[(e=>{let{componentCls:t,margin:a,marginXS:l,marginXL:r,fontSize:n,lineHeight:i}=e;return{[t]:{marginInline:l,fontSize:n,lineHeight:i,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:l,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorTextDescription},[`${t}-footer`]:{marginTop:a},"&-normal":{marginBlock:r,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:l,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}})((0,d.mergeToken)(e,{emptyImgCls:`${t}-img`,emptyImgHeight:l(a).mul(2.5).equal(),emptyImgHeightMD:a,emptyImgHeightSM:l(a).mul(.875).equal()}))]});var u=function(e,t){var a={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&0>t.indexOf(l)&&(a[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);r<l.length;r++)0>t.indexOf(l[r])&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(a[l[r]]=e[l[r]]);return a};let h=l.createElement(()=>{let[,e]=(0,c.Ay)(),t=new o.q(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return l.createElement("svg",{style:t,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},l.createElement("title",null,"empty image"),l.createElement("g",{fill:"none",fillRule:"evenodd"},l.createElement("g",{transform:"translate(24 31.67)"},l.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),l.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),l.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),l.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),l.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),l.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),l.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},l.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),l.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},null),p=l.createElement(()=>{let[,e]=(0,c.Ay)(),{colorFill:t,colorFillTertiary:a,colorFillQuaternary:r,colorBgContainer:n}=e,{borderColor:i,shadowColor:s,contentColor:m}=(0,l.useMemo)(()=>({borderColor:new o.q(t).onBackground(n).toHexShortString(),shadowColor:new o.q(a).onBackground(n).toHexShortString(),contentColor:new o.q(r).onBackground(n).toHexShortString()}),[t,a,r,n]);return l.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},l.createElement("title",null,"Simple Empty"),l.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},l.createElement("ellipse",{fill:s,cx:"32",cy:"33",rx:"32",ry:"7"}),l.createElement("g",{fillRule:"nonzero",stroke:i},l.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),l.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:m}))))},null),f=e=>{var{className:t,rootClassName:a,prefixCls:r,image:o=h,description:c,children:m,imageStyle:d,style:f}=e,y=u(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);let{getPrefixCls:E,direction:v,empty:x}=l.useContext(i.QO),w=E("empty",r),[b,C,j]=g(w),[A]=(0,s.A)("Empty"),S=void 0!==c?c:null==A?void 0:A.description,N="string"==typeof S?S:"empty",H=null;return H="string"==typeof o?l.createElement("img",{alt:N,src:o}):o,b(l.createElement("div",Object.assign({className:n()(C,j,w,null==x?void 0:x.className,{[`${w}-normal`]:o===p,[`${w}-rtl`]:"rtl"===v},t,a),style:Object.assign(Object.assign({},null==x?void 0:x.style),f)},y),l.createElement("div",{className:`${w}-image`,style:d},H),S&&l.createElement("div",{className:`${w}-description`},S),m&&l.createElement("div",{className:`${w}-footer`},m)))};f.PRESENTED_IMAGE_DEFAULT=h,f.PRESENTED_IMAGE_SIMPLE=p;let y=f}},e=>{e.O(0,[1106,636,6593,8792],()=>e(e.s=44337)),_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.