PageSourceSearch

https://eztips.com/_next/static/chunks/pages/blogs/[...slug]-73b756dec1b7b92f.js

js eztips.com collected 2026-10-04 21:52:36 UTC 9,404 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7185,6028],{60262:function(e,l,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blogs/[...slug]",function(){return t(58774)}])},75315:function(e,l,t){"use strict";t.d(l,{n2:function(){return nofollowExternalLinks}});let s=/^(www\.)?eztips\.com$/i,nofollowExternalLinks=e=>e?e.replace(/<a\b[^>]*>/gi,e=>{var l;let t;let i=null===(l=e.match(/\bhref\s*=\s*"([^"]*)"/i))||void 0===l?void 0:l[1];if(!i||!/^https?:\/\//i.test(i))return e;try{t=new URL(i.replace(/&amp;/g,"&")).host}catch(l){return e}if(s.test(t))return e;let n=e.replace(/\s+rel\s*=\s*"[^"]*"/i,"");return n.replace(/^<a\b/i,'<a rel="'.concat("nofollow sponsored noopener noreferrer",'"'))}):e},6028:function(e,l,t){"use strict";t.r(l);var s=t(85893),i=t(60713),n=t(67294);let r="data-slick-tabindex";function syncFocusable(e){e.querySelectorAll(".slick-slide").forEach(e=>{let l="true"===e.getAttribute("aria-hidden");e.querySelectorAll("a[href], button, input, select, textarea, [tabindex]").forEach(e=>{if(l&&!e.hasAttribute(r)){var t;e.setAttribute(r,null!==(t=e.getAttribute("tabindex"))&&void 0!==t?t:""),e.setAttribute("tabindex","-1")}else if(!l&&e.hasAttribute(r)){let l=e.getAttribute(r);l?e.setAttribute("tabindex",l):e.removeAttribute("tabindex"),e.removeAttribute(r)}})})}let a=(0,n.forwardRef)(function(e,l){let t=(0,n.useRef)(null);return(0,n.useEffect)(()=>{let e=t.current;if(!e)return;syncFocusable(e);let l=new MutationObserver(()=>syncFocusable(e));return l.observe(e,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["aria-hidden"]}),()=>l.disconnect()},[]),(0,s.jsx)("div",{ref:t,style:{display:"contents"},children:(0,s.jsx)(i.Z,{ref:l,...e})})});l.default=a},55999:function(e,l,t){"use strict";var s=t(85893),i=t(25675),n=t.n(i),r=t(41664),a=t.n(r),o=t(73272);l.Z=e=>{let{items:l=[],basePath:t,heading:i="Related reading"}=e,r=l.filter(e=>null==e?void 0:e.slug).slice(0,6);return r.length?(0,s.jsxs)("section",{className:"mt-10",children:[(0,s.jsx)("h2",{className:"text-[#FAE29A] text-xl",children:i}),(0,s.jsx)("div",{className:"w-full bg-[#2E3034] h-[2px] mt-2"}),(0,s.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 mt-4",children:r.map((e,l)=>(0,s.jsxs)(a(),{href:"".concat(t,"/").concat(e.slug),prefetch:!1,className:"flex justify-start items-start gap-3 text-white",children:[(0,s.jsx)(n(),{src:(null==e?void 0:e.inner)||"https://res.cloudinary.com/dbusbjuea/image/upload/v1760361877/Utils/dummyblog.webp",alt:(null==e?void 0:e.title)||"article",width:120,height:67,className:"rounded-lg w-[35%] h-auto aspect-[9/5] object-cover flex-shrink-0"}),(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsx)("p",{className:"font-semibold leading-snug",children:null==e?void 0:e.title}),(null==e?void 0:e.createdAt)&&(0,s.jsx)("p",{className:"text-[#A4A4A4] text-sm mt-1",children:(0,o.p6)(e.createdAt)})]})]},l))})]}):null}},58774:function(e,l,t){"use strict";t.r(l),t.d(l,{__N_SSG:function(){return x},default:function(){return BlogSection}});var s=t(85893),i=t(41664),n=t.n(i);t(5152);var r=t(55999),a=t(25675),o=t.n(a),d=t(91130),c=t(73272),u=t(75315),h=t(68469),m=t(6028),f=t(67294),x=!0;function BlogSection(e){var l,t,i,a,x,v,g,p,b,j,w,N;let{blogsData:y}=e,[A,k]=(0,f.useState)([]),[_,E]=(0,f.useState)(!1);return(0,f.useEffect)(()=>E(!0),[]),(0,f.useEffect)(()=>{let getAdvertisement=async()=>{try{var e;let l=await fetch("".concat(d.zA,"/home/getAdvertisementList")),t=await l.json();k(null==t?void 0:null===(e=t.data)||void 0===e?void 0:e.items)}catch(e){}};getAdvertisement()},[]),(0,s.jsxs)("div",{className:"flex w-full flex-col lg:flex-row",children:[(0,s.jsxs)("div",{className:"w-full lg:w-[70%]",children:[(0,s.jsx)("div",{children:(0,s.jsx)("h1",{className:"text-white uppercase font-semibold text-[50px]",children:null==y?void 0:null===(l=y.content)||void 0===l?void 0:l.title})}),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"mt-3 p-3 relative",style:{background:"linear-gradient(180deg, #5729AB 0%, #54115F 100%),linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4))"},children:[(0,s.jsx)(o(),{onError:e=>{e.target.src="https://res.cloudinary.com/dbusbjuea/image/upload/v1760361897/Utils/mainbanner.webp",e.target.alt="banner"},src:(null==y?void 0:null===(t=y.content)||void 0===t?void 0:t.image)||"https://res.cloudinary.com/dbusbjuea/image/upload/v1760361897/Utils/mainbanner.webp",className:"w-full rounded-lg object-cover aspect-[2/1]",width:800,height:800,alt:null!==(N=null==y?void 0:null===(i=y.content)||void 0===i?void 0:i.title)&&void 0!==N?N:"banner-image"}),(0,s.jsx)("div",{className:"absolute top-2 left-0",children:(0,s.jsx)(o(),{src:"https://res.cloudinary.com/dbusbjuea/image/upload/v1760362335/Utils/blogArrow.webp",alt:"blogArrow",width:100,height:100})}),(0,s.jsx)("div",{className:"absolute bottom-0 right-0",children:(0,s.jsx)(o(),{src:"https://res.cloudinary.com/dbusbjuea/image/upload/v1760362335/Utils/blogArrow.webp",alt:"blogArrow",width:100,height:100})})]}),(0,s.jsx)("div",{className:"dynamicCon mt-4",children:(e=>{if(!e)return null;if(!_)return(0,s.jsx)("div",{dangerouslySetInnerHTML:{__html:e}});let l=new DOMParser,t=l.parseFromString(e,"text/html"),i=Array.from(t.body.childNodes),n=0,r=!1;return i.map((e,l)=>{let t=e.nodeName,a=!1;return("H2"===t||"H1"===t||"H3"==t)&&(r&&(a=!0,r=!1),++n%3==0&&(r=!0)),(0,s.jsxs)(f.Fragment,{children:[a&&(0,s.jsx)("div",{className:"flex justify-center my-4 ",children:(0,s.jsx)("div",{className:"w-full max-w-[784px] overflow-hidden",children:(0,s.jsx)(m.default,{slidesToShow:1,autoplay:!0,autoplaySpeed:4e3,infinite:!0,dots:!1,pauseOnHover:!1,children:null==A?void 0:A.map((e,l)=>(0,s.jsx)("div",{className:"w-full flex-shrink-0",children:(0,s.jsx)("a",{href:null==e?void 0:e.link,target:"_blank",rel:"nofollow noopener noreferrer",className:"block w-full",children:(0,s.jsx)("div",{className:"w-full h-[100px] flex items-center justify-center rounded-lg overflow-hidden",children:(0,s.jsx)(o(),{src:(null==e?void 0:e.image)||"/fallback4.png",alt:"platform",width:800,height:100,className:"object-contain h-full w-full rounded-lg"})})})},l))})})}),(0,s.jsx)("div",{dangerouslySetInnerHTML:{__html:e.outerHTML}}),l===i.length-1&&r&&(0,s.jsx)("div",{className:"flex justify-center my-4",children:(0,s.jsx)("div",{className:"w-full max-w-[784px]",children:(0,s.jsx)(m.default,{slidesToShow:1,autoplay:!0,autoplaySpeed:4e3,infinite:!0,dots:!1,pauseOnHover:!1,children:null==A?void 0:A.map((e,l)=>(0,s.jsx)("div",{className:"w-full flex-shrink-0",children:(0,s.jsx)("a",{href:null==e?void 0:e.link,target:"_blank",rel:"nofollow noopener noreferrer",className:"block w-full",children:(0,s.jsx)("div",{className:"w-full h-[100px] flex items-center justify-center rounded-lg overflow-hidden",children:(0,s.jsx)(o(),{src:(null==e?void 0:e.image)||"/fallback4.png",alt:"platform",width:800,height:100,className:"object-contain h-full w-full rounded-lg"})})})},l))})})})]},l)})})((0,u.n2)(null==y?void 0:null===(a=y.content)||void 0===a?void 0:a.rteString))})]}),(null==y?void 0:null===(v=y.content)||void 0===v?void 0:null===(x=v.faqs)||void 0===x?void 0:x.length)>0?(0,s.jsxs)("div",{className:" w-full m-auto mt-4  ",children:[(0,s.jsx)("div",{className:"mt-4",children:(0,s.jsx)("p",{className:"text-[#FAE29A] text-xl",children:"Frequently Asked Questions"})}),(0,s.jsx)(h.default,{expandIcon:()=>(0,s.jsx)("p",{className:"font-bold text-xl",children:"+"}),expandIconPosition:"right",accordion:!0,rootClassName:"rounded-none",className:"my-4",defaultActiveKey:["0"],items:null==y?void 0:null===(p=y.content)||void 0===p?void 0:null===(g=p.faqs)||void 0===g?void 0:g.map((e,l)=>
1({key:l,label:(0,s.jsx)("p",{className:"capitalize text-lg text-white font-teko font-semibold",children:null==e?void 0:e.q}),children:(0,s.jsx)("p",{className:"text-gray-600 font-semibold font-teko text-sm  capitalize",children:null==e?void 0:e.a})}))})]}):"",(0,s.jsx)(r.Z,{items:null==y?void 0:y.otherBlogs,basePath:"/blogs",heading:"More blogs"})]}),(0,s.jsxs)("div",{className:"w-full lg:w-[30%] lg:ml-8 mt-8 lg:mt-0",children:[(null==y?void 0:null===(b=y.otherBlogs)||void 0===b?void 0:b.length)>0&&(0,s.jsx)("div",{children:(0,s.jsxs)("p",{className:"font-bold text-white text-[22px]",children:[(null==y?void 0:null===(j=y.content)||void 0===j?void 0:j.sport)||"All"," Blogs"]})}),(0,s.jsx)("div",{className:"grid grid-cols-1 place-items-center gap-4 mt-6",children:null==y?void 0:null===(w=y.otherBlogs)||void 0===w?void 0:w.map((e,l)=>(0,s.jsxs)("div",{className:"w-full h-full flex justify-start items-start gap-4",children:[(0,s.jsx)(n(),{href:"/blogs/".concat(null==e?void 0:e.slug),prefetch:!1,className:"w-[40%] lg:w-[45%] flex-shrink-0",children:(0,s.jsx)(o(),{src:(null==e?void 0:e.inner)||"https://res.cloudinary.com/dbusbjuea/image/upload/v1760361877/Utils/dummyblog.webp",alt:"dummyblog",width:80,height:80,className:"rounded-xl h-full object-fill w-full aspect-[9/5] cursor-pointer"})}),(0,s.jsxs)("div",{className:"text-white w-full mt-2 lg:w-1/2",children:[(0,s.jsx)("p",{className:"text-lg font-bold",children:(0,s.jsx)(n(),{href:"/blogs/".concat(null==e?void 0:e.slug),prefetch:!1,children:null==e?void 0:e.title})}),(0,s.jsxs)("p",{className:"mt-4 text-[#E0E0E0]",children:[". ",(0,c.p6)(null==e?void 0:e.createdAt)]})]})]},l))})]})]})}}},function(e){e.O(0,[8469,713,9774,2888,179],function(){return e(e.s=60262)}),_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.