1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1591],{2868:function(){},4777:function(){},9830:function(){},209:function(){},2968:function(e,t,r){Promise.resolve().then(r.t.bind(r,3625,23)),Promise.resolve().then(r.bind(r,9157)),Promise.resolve().then(r.bind(r,7856)),Promise.resolve().then(r.bind(r,3468)),Promise.resolve().then(r.bind(r,1591)),Promise.resolve().then(r.bind(r,9264)),Promise.resolve().then(r.bind(r,3689)),Promise.resolve().then(r.bind(r,3713)),Promise.resolve().then(r.bind(r,981)),Promise.resolve().then(r.bind(r,6597)),Promise.resolve().then(r.t.bind(r,5250,23)),Promise.resolve().then(r.t.bind(r,5935,23)),Promise.resolve().then(r.bind(r,6005))},501:function(e,t,r){"use strict";r.d(t,{w:function(){return n}});var s=r(7437);r(2265);let n="px-5 sm:px-7 md:px-10 lg:px-20 ui:px-32 2xl:px-0";t.Z=e=>{let{children:t,className:r}=e;return(0,s.jsx)("div",{className:"w-full max-w-[1440px] mx-auto ".concat(n," ").concat(r),children:t})}},1500:function(e,t,r){"use strict";var s=r(7437),n=r(9805),a=r(1868),i=r(2265);t.Z=e=>{let{closeModal:t,isOpen:r,content:l,bgColor:o="bg-black/70",maxWidth:c}=e;return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(n.u,{appear:!0,show:r,as:i.Fragment,children:(0,s.jsxs)(a.V,{as:"div",className:"relative z-10",onClose:t,children:[(0,s.jsx)(n.u.Child,{as:i.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,s.jsx)("div",{className:"fixed inset-0 ".concat(o)})}),(0,s.jsx)("div",{className:"fixed inset-0 overflow-y-auto",children:(0,s.jsx)("div",{className:"flex min-h-full items-center justify-center p-4 text-center",children:(0,s.jsx)(n.u.Child,{as:i.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",children:(0,s.jsx)(a.V.Panel,{className:"w-full max-w-[1000px] ".concat(c," transform overflow-hidden rounded-sm bg-white text-left align-middle shadow-xl transition-all"),children:l})})})})]})})})}},6597:function(e,t,r){"use strict";r.r(t);var s=r(7437),n=r(2265),a=r(501),i=r(7254),l=r.n(i);t.default=e=>{let{heading:t,className:r}=e,[i,o]=(0,n.useState)(0),c=(0,n.useRef)(),u=()=>{let e=c.current.getBoundingClientRect();window.innerWidth>=parseInt(l().theme.screens.ui)?o(e):o(0)};return(0,n.useEffect)(()=>{c.current&&u()},[c]),(0,n.useEffect)(()=>(window.addEventListener("resize",u),()=>window.removeEventListener("resize",u))),(0,s.jsx)("div",{className:"md:w-full overflow-hidden",children:(0,s.jsx)("div",{className:"w-full !max-w-screen-ui !mx-auto py-[20px] md:py-10 pb-2 ".concat(r),children:(0,s.jsxs)("div",{className:"w-fit relative !font-bold !text-[14px] md:!text-[25px] text-white uppercase bg-primary ".concat(a.w," !pr-4"),ref:c,children:[t,(0,s.jsx)("div",{className:"bg-primary absolute top-0",style:{width:i.x+1+"px",left:-i.x+"px",height:i.height+"px"}})]})})})}},9157:function(e,t,r){"use strict";r.r(t);var s=r(2265),n=r(7584);t.default=e=>{let{data:t}=e,{setLanguages:r}=(0,n.useLanguages)();return(0,s.useEffect)(()=>(r(t),()=>{r([])}),[t,r]),null}},239:function(e,t,r){"use strict";r.d(t,{i:function(){return s}});let s={email:{value:/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,message:"Please enter a valid email"},mobile:{value:/^[0-9]{10}$/,message:"Please enter a valid 10-digit mobile number without the country code."},name:{value:/^[a-zA-Z\s]*$/,message:"Please enter only letters and spaces."}}},3468:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return n}});var s=r(2265);function n(){return(0,s.useEffect)(()=>{var e,t,r;(null===(r=window)||void 0===r?void 0:null===(t=r.instgrm)||void 0===t?void 0:null===(e=t.Embeds)||void 0===e?void 0:e.process)&&window.instgrm.Embeds.process()},[]),null}},9264:function(e,t,r){"use strict";r.r(t);var s=r(2265),n=r(7584);t.default=()=>{let{setDisableDropDown:e}=(0,n.useLanguages)();return(0,s.useEffect)(()=>(e(!0),()=>{e(!1)}),[e]),null}},3689:function(e,t,r){"use strict";r.r(t);var s=r(7437),n=r(2265),a=r(8409),i=r(9172),l=r(4873);t.default=e=>{let{showFacebook:t=!0,showTwitter:r=!0,showWhatsApp:o=!0,showLinkedIn:c=!0,shareTitle:u="Check out this article!",className:d}
1=e,[m,x]=(0,n.useState)("");return(0,n.useEffect)(()=>{x(window.location.href)},[]),(0,s.jsxs)("div",{className:" !text-active grid grid-cols-4 gap-0 md:gap-3.5 ".concat(d),children:[t&&(0,s.jsx)("a",{href:"https://www.facebook.com/sharer/sharer.php?u=".concat(m),target:"_blank",rel:"noopener noreferrer",children:(0,s.jsx)(a.Am9,{size:22,color:"text-primary",className:"p-[2px] md:p-0"})}),r&&(0,s.jsx)("a",{href:"https://twitter.com/share?url=".concat(m,"&text=").concat(u),target:"_blank",rel:"noopener noreferrer",children:(0,s.jsx)(a.LCd,{size:22,color:"text-primary",className:"p-[2px] md:p-0"})}),o&&(0,s.jsx)("a",{href:"https://wa.me/?text=".concat(m),target:"_blank",rel:"noopener noreferrer",children:(0,s.jsx)(l.ff9,{size:22,color:"text-primary",className:"p-[2px] md:p-0"})}),c&&(0,s.jsx)("a",{href:"https://www.linkedin.com/shareArticle?mini=true&url=".concat(m),target:"_blank",rel:"noopener noreferrer",children:(0,s.jsx)(i.ltd,{size:22,color:"text-primary",className:"p-[2px] md:p-0"})})]})}},3713:function(e,t,r){"use strict";r.r(t);var s=r(7437),n=r(2265),a=r(7856),i=r(9545),l=r(1500);t.default=e=>{var t,r,o,c;let{medium:u}
1=e,[d,m]=(0,n.useState)(!1),x=()=>{m(!0)};return(0,s.jsxs)("div",{className:"w-[100%] mt-3 relative cursor-pointer overflow-hidden flex justify-center items-center",children:[(null==u?void 0:null===(t=u.url)||void 0===t?void 0:t.raw)&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.default,{onClick:x,src:null==u?void 0:null===(r=u.url)||void 0===r?void 0:r.raw,className:"object-center",alt:"banner_image",width:650,height:650}),(0,s.jsx)(l.Z,{closeModal:()=>{m(!1)},isOpen:d,content:(0,s.jsx)(a.default,{onClick:x,src:null==u?void 0:null===(o=u.url)||void 0===o?void 0:o.raw,className:"mx-auto object-center object-cover w-full h-full",alt:"banner_image",width:1e3,height:1e3})})]}),!(null==u?void 0:null===(c=u.url)||void 0===c?void 0:c.raw)&&(0,s.jsx)(i.Z,{})]})}},981:function(e,t,r){"use strict";r.r(t);var s=r(7437),n=r(2265),a=r(1865),i=r(239),l=r(7948),o=r(3507),c=r(8475),u=r.n(c),d=r(81),m=r(5623),x=r(3761);t.default=e=>{let{postId:t}=e,{register:r,handleSubmit:c,formState:{errors:p},reset:f}=(0,a.cI)({reValidateMode:"onSubmit",defaultValues:{post_id:t}}
1),[h,v]=(0,n.useState)(!1),g=()=>{let e=document.querySelector(".cf-turnstile");e&&!e.hasChildNodes()&&window.turnstile.render(e,{sitekey:o.v.turnstilePublicKey,invisible:!0})};(0,n.useEffect)(()=>{"object"==typeof window.turnstile?g():setTimeout(()=>{"object"==typeof window.turnstile&&g()},d.pk)},[]);let b=()=>{let e=document.querySelector(".cf-turnstile");e&&window.turnstile.reset(e)},w=async e=>{v(!0);let t=document.querySelector('input[name="cf-turnstile-response"]');if(!t||!t.value){v(!1);return}e.token=t.value;let r=new FormData;Object.entries(e).forEach(e=>{let[t,s]=e;r.append(t,s)});let s=await (0,m.XN)(r);if(s&&s.ok)l.toast.success(x.q.commentAdded,{className:"success-toast"}),f();else{let e=await s.json();l.toast.error(e.message||x.Q.general,{className:"error-toast"})}b(),v(!1),t&&(t.value="")},j=e=>"w-full p-2 rounded-md resize-none ".concat(p[e]?"border-2 border-red-500":"border border-gray-300");return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(u(),{src:"https://challenges.cloudflare.com/turnstile/v0/api.js",async:!0,defer:!0}),(0,s.jsxs)("form",{onSubmit:c(w),className:"flex flex-col space-y-4 md:w-3/4 justify-center",children:[(0,s.jsx)("textarea",{...r("content",{required:"Your comment is required."}),placeholder:"Comment*",className:j("content"),rows:"6"}),p.content&&(0,s.jsx)("p",{className:"text-red-500 text-xs !mt-1",children:p.content.message}),(0,s.jsx)("input",{...r("author_name",{required:"Your name is required."}),placeholder:"Name*",className:j("author_name")}
1),p.author_name&&(0,s.jsx)("p",{className:"text-red-500 text-xs !mt-1",children:p.author_name.message}),(0,s.jsx)("input",{...r("author_email",{required:"Your email is required.",pattern:i.i.email}),placeholder:"Email*",type:"email",className:j("author_email")}),p.author_email&&(0,s.jsx)("p",{className:"text-red-500 text-xs !mt-1",children:p.author_email.message}),h&&(0,s.jsx)("div",{className:"absolute top-0 left-0 w-full h-full flex items-center justify-center backdrop-filter backdrop-blur-md",children:(0,s.jsxs)("div",{className:"flex flex-col justify-center items-center",children:[(0,s.jsx)("div",{className:"loader ease-linear rounded-full border-4 border-t-4 h-12 w-12 border-primary mb-2"}),(0,s.jsx)("div",{className:"text-content",children:"Submitting your comment"})]})}),(0,s.jsx)("div",{className:"cf-turnstile","data-sitekey":o.v.turnstilePublicKey}),(0,s.jsx)("button",{type:"submit",className:"py-2 bg-active text-white rounded-full uppercase w-[150px]",children:"Post Comment"})]})]})}},7584:function(e,t,r){"use strict";r.r(t),r.d(t,{LanguagesProvider:function(){return i},useLanguages:function(){return l}});var s=r(7437),n=r(2265);let a=(0,n.createContext)({languages:[],setLanguages:()=>{},disableDropDown:!1,setDisableDropDown:()=>{}}),i=e=>{let{children:t}=e,[r,i]=(0,n.useState)([]),[l,o]=(0,n.useState)(!1);return(0,s.jsx)(a.Provider,{value:{languages:r,setLanguages:i,disableDropDown:l,setDisableDropDown:o},children:t})},l=()=>(0,n.useContext)(a)},6005:function(e,t,r){"use strict";function s(e){let{children:t}=e;return t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NoSSR",{enumerable:!0,get:function(){return s}}),r(6491)},7254:function(e,t,r){e.exports={content:["./pages/**/*.{js,ts,jsx,tsx,mdx}","./components/**/*.{js,ts,jsx,tsx,mdx}","./app/**/*.{js,ts,jsx,tsx,mdx}"],theme:{extend:{zIndex:{100:"100"},backgroundImage:{"gradient-radial":"radial-gradient(var(--tw-gradient-stops))","gradient-conic":"conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))"},colors:{primary:"#5352C8",content:"#202125",secondary:"#94CBC3",active:"#17A597",grey:"#EDEEF1"},fontSize:{xxs:"8px",xs:"10px",sm:"12px",sd:"13px",smd:"14px",md:"16px",mlg:"18px",lg:"20px",xl:"22px",xxl:"24px",xxxl:"34px"},fontWeight:{thin:100,extralight:200,light:300,normal:400,medium:500,semibold:600,bold:700}},screens:{xxs:"320px",xs:"375px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px",ui:"1440px","2xl":"1536px"}},plugins:[r(7561)],daisyui:{themes:[],base:!1}}},3761:function(e,t,r){"use strict";r.d(t,{Q:function(){return a},q:function(){return n}});var s=r(81);let n={commentAdded:"Comment added successfully",formSubmitted:"Form submitted successfully"},a={unexpectedError:"An unexpected error occurred",formDetailsMissing:"Failed to retrieve form details.",formDetailsError:"An error occurred while retrieving form details.",captchaValidationFailed:"We encountered a problem processing your request. Please try submitting the form again.",fileSizeExceeded:"File size should not exceed ".concat(s.Tb/1024/1024," MB"),formSubmissionError:"Error submitting form: ${result.message || 'Unknown error'}"}},3625:function(e){e.exports={articlepost:"page_articlepost__kbko4"}}},function(e){e.O(0,[7240,5452,7699,7928,5250,7561,8225,9484,8433,7298,9505,5689,5623,7974,2971,4938,1744],function(){return e(e.s=2968)}),_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.