PageSourceSearch

https://www.prism-me.com/_next/static/chunks/6167-f1edaec49ec81aac.js?dpl=dpl_BvESRVhYQhhNcA9eAtSF8uEmW4sB

js prism-me.com collected 2026-10-03 21:22:22 UTC 12,131 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6167,5263],{66167:function(e,t,a){a.r(t);var l=a(85893),s=a(11163),o=a(67294),r=a(25675),i=a.n(r),n=a(41664),c=a.n(n),m=a(45697),d=a.n(m),p=a(2947),x=a(28276),u=a(27370),h=a(80584),f=a(22888);let w={name:"",email:"",phone:""};function b(){let[e,t]=(0,o.useState)(!1),a=(0,o.useRef)(null);return(0,o.useEffect)(()=>{if(!a.current)return;let e=new IntersectionObserver(a=>{let[l]=a;l.isIntersecting&&(t(!0),e.disconnect())},{rootMargin:"800px"});return e.observe(a.current),()=>e.disconnect()},[]),(0,l.jsx)("div",{ref:a,style:{width:250},children:e?(0,l.jsx)("iframe",{title:"Prism Digital location map",src:"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3609.453494550455!2d55.2811041!3d25.2216463!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3e5f6becb9f676ed%3A0xd45a302f703b789a!2sPrism%20Digital!5e0!3m2!1sen!2sae!4v1753172066266!5m2!1sen!2sae",width:"250",height:"180",className:"rounded-[10px] overflow-hidden",style:{border:0},loading:"lazy",referrerPolicy:"no-referrer-when-downgrade",allowFullScreen:!0}):(0,l.jsx)("button",{type:"button",onClick:()=>t(!0),"aria-label":"Load Prism Digital map",className:"w-[250px] h-[180px] rounded-[10px] overflow-hidden border border-white/20",style:{background:"rgba(255,255,255,0.06)"},children:(0,l.jsxs)("div",{className:"w-full h-full flex flex-col items-center justify-center gap-2 text-white",children:[(0,l.jsx)("span",{className:"text-sm font-medium",children:"Load map"}),(0,l.jsx)("span",{className:"text-xs opacity-80",children:"Google Maps"})]})})})}let g=(0,o.memo)(e=>{let{className:t=""}=e,a=(0,s.useRouter)(),r=a.locale||"en",{t:n}=(0,x.$G)("footer"),[m,d]=(0,o.useState)(w),[g,y]=(0,o.useState)(!1),[v,j]=(0,o.useState)({}),[N,k]=(0,o.useState)([]),[S,P]=(0,o.useState)(!1),[A,E]=(0,o.useState)(""),[C]=(0,o.useState)(()=>Date.now()),[_,I]=(0,o.useState)("");(0,o.useEffect)(()=>{(async()=>{try{var e;let t=await h.Z.get("/form-token?lang=".concat(r));E((null==t?void 0:null===(e=t.data)||void 0===e?void 0:e.formToken)||"")}catch(e){console.error("Failed to load form token",e),E("")}})()},[r]),(0,o.useEffect)(()=>{(async()=>{try{P(!0);let{data:e}=await (0,u.kB)(r);k((null==e?void 0:e.data)||[])}catch(e){console.error("Error fetching country list:",e)}finally{P(!1)}})()},[r]);let D=e=>{d(t=>({...t,[e.target.name]:e.target.value})),j(t=>({...t,[e.target.name]:""}))},T=async e=>{let t=Date.now()-C;try{let a={name:null==e?void 0:e.name,email:null==e?void 0:e.email,phone:null==e?void 0:e.phone,formToken:A,timeOnPageMs:t,website:_,recaptchaToken:null==e?void 0:e.recaptchaToken},l=await h.Z.post("/subscription",a);(200===l.status||201===l.status)&&(y(!1),p.Am.success("You have subscribed successfully."),d({...w}))}catch(e){var a,l;console.error("Error posting Data:",e),y(!1),p.Am.error((null==e?void 0:null===(l=e.response)||void 0===l?void 0:null===(a=l.data)||void 0===a?void 0:a.message)||"Something Went wrong!")}},L=async e=>{if(e.preventDefault(),!A){p.Am.error("Please wait a moment and try again.");return}let{name:t,email:a,phone:l}=m,s={};if(t||(s.name="Please enter your name."),a?/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i.test(a)?a.length<5?s.email="Email must be at least 5 characters long.":/\.\./.test(a)?s.email="Email cannot contain consecutive dots.":/(@example\.com|@tempmail\.com|@disposable\.com)$/i.test(a)&&(s.email="Disposable email addresses are not allowed."):s.email="Invalid email format.":s.email="Please enter your email.",l||(s.phone="Please enter your contact number."),Object.keys(s).length>0){j(s);return}y(!0);try{let e=await (0,f.U)("subscription_submit"),t={...m,recaptchaToken:e};await T(t)}catch(e){console.error(e),p.Am.error("Verification failed. Please try again."),y(!1)}};return(0,l.jsxs)("footer",{className:"\n    text-background-color-primary text-sm box-border\n    gap-[60px] max-w-full z-[1]\n    px-[24px] md:px-[60px] lg:px-[80px] xl:px-[80px]\n    py-[40px] md:py-[40px] lg:py-[60px]\n    bg-text-primary\n    ".concat(t,"\n  "),children:[(0,l.jsxs)("div",{className:"relative z-10 w-full flex flex-col md:flex-row flex-wrap items-start justify-start gap-10 max-w-[1600px] mx-auto",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)(i(),{className:"h-20 w-20 object-contain cursor-pointer block mb-4",loading:"lazy",width:80,height:80,alt:"prism digital marketing agency logo",src:"/[email protected]",onClick:()=>a.push("/")}),(0,l.jsx)(b,{})]}),(0,l.jsxs)("div",{className:"flex flex-col items-start justify-start",children:[(0,l.jsx)("h3",{className:"font-semibold m-0 mb-2",children:n("footer.quickLinks")}),[{label:"footer.services",path:"/services"},{label:"footer.portfolio",path:"/portfolio"},{label:"footer.caseStudies",path:"/case-study"},{label:"footer.blogs",path:"/blog"},{label:"footer.faqs",path:"/faqs"}].map(e=>(0,l.jsx)(c(),{href:e.path,className:"py-2 text-white no-underline font-medium text-[14px] leading-[150%]",children:n(e.label)},e.path)),"ar"!==r&&(0,l.jsx)(c(),{href:"/news",className:"py-2 text-white no-underline font-medium text-[14px] leading-[150%]",children:n("footer.news")}),"ar"!==r&&(0,l.jsx)(c(),{href:"/podcasts",className:"py-2 text-white no-underline font-medium text-[14px] leading-[150%]",children:n("footer.podcasts")})]}),(0,l.jsxs)("div",{className:" flex flex-col items-start justify-start",children:[(0,l.jsx)("h3",{className:"font-semibold m-0 mb-2",children:n("footer.company")}),[{label:"footer.about",path:"/about-prism-digital-marketing-agency"},{label:"footer.clients",path:"/our-clients"},{label:"footer.testimonials",path:"/digital-marketing-reviews"},{label:"footer.contact",path:"/contact-digital-marketing-agency"},{label:"footer.careers",path:"/careers"},{label:"footer.events",path:"/events"}].map(e=>(0,l.jsx)(c(),{href:e.path,className:"py-2 text-white no-underline font-medium text-[14px] leading-[150%]",children:n(e.label)},e.path))]}),(0,l.jsxs)("div",{className:"lg:w-[20%] flex flex-col items-start justify-start",children:[(0,l.jsx)("h3",{className:"font-semibold m-0 mb-2",children:n("footer.support")}),(0,l.jsxs)("p",{className:"font-medium text-[14px] leading-[150%] text-white m-0 py-2",children:[n("footer.contactInfo.phone")," ",(0,l.jsx)("a",{dir:"ltr",href:"tel:043320808",className:"no-underline text-white hover:text-crimson",children:"04 332 0808"})]}),(0,l.jsxs)("p",{className:"font-medium text-[14px] leading-[150%] text-white m-0 py-2",children:[n("footer.contactInfo.email")," ",(0,l.jsx)("a",{href:"mailto:[email protected]",className:"no-underline text-white hover:text-crimson",children:"[email protected]"})]}),(0,l.jsx)("p",{className:"font-medium text-[14px] leading-[150%] text-white m-0 py-2",children:n("footer.contactInfo.location")})]}),(0,l.jsxs)("div",{className:"w-max max-w-full flex flex-1 flex-col items-start justify-start gap-6",children:[(0,l.jsxs)("div",{className:"flex flex-col items-start justify-start gap-4",children:[(0,l.jsx)("h3",{className:"font-semibold m-0",children:n("footer.subscribeSection.title")}),(0,l.jsx)("p",{className:"text-sm font-medium m-0",children:n("footer.subscribeSection.description")})]}),(0,l.jsxs)("div",{className:"w-full flex flex-col gap-4 text-sm",children:[(0,l.jsx)("div",{className:"w-full flex flex-col sm:flex-row gap-4",children:(0,l.jsxs)("form",{onSubmit:L,className:"w-full box-border flex flex-col gap-4 items-start",children:[(0,l.jsxs)("div",{className:"m-0 w-full box-border flex flex-col lg:flex-row gap-4",children:[(0,l.jsxs)("div",{className:"m-0 w-full box-border",children:[(0,l.jsx)("input",{type:"text",name:"name",value:m.name,onChange:D,className:"w-full box-border px-3 py-2 bg-transparent outline-none placeholder-white text-white border border-white rounded-[10px]",placeholder:n("footer.subscribeSection.inputNamePlaceholder")}),v.name&&(0,l.jsx)("p",{className:"m-0 mt-3 text-[14px]",style:{color:"red"},children:v.name}
1),(0,l.jsx)("input",{type:"text",name:"website",value:_,onChange:e=>I(e.target.value),autoComplete:"off",tabIndex:-1,style:{position:"absolute",left:"-10000px",top:"auto",width:"1px",height:"1px",overflow:"hidden"}})]}),(0,l.jsxs)("div",{className:"m-0 w-full box-border",children:[(0,l.jsx)("input",{type:"email",name:"email",value:m.email,onChange:D,className:"w-full box-border px-3 py-2 bg-transparent outline-none placeholder-white text-white border border-white rounded-[10px]",placeholder:n("footer.subscribeSection.inputEmailPlaceholder")}),v.email&&(0,l.jsx)("p",{className:"m-0 mt-3 text-[14px]",style:{color:"red"},children:v.email})]})]}),(0,l.jsxs)("div",{className:"m-0 w-full box-border",children:[(0,l.jsx)("input",{type:"text",name:"phone",value:m.phone,onChange:D,className:"w-full box-border px-3 py-2 bg-transparent outline-none placeholder-white text-white border border-white rounded-[10px]",placeholder:n("footer.subscribeSection.inputPhonePlaceholder")}),v.phone&&(0,l.jsx)("p",{className:"m-0 mt-3 text-[14px]",style:{color:"red"},children:v.phone})]}),(0,l.jsx)("button",{type:"submit",className:"rounded-31xl bg-background-color-primary text-text-primary py-3 px-6 font-medium cursor-pointer",disabled:g,children:g?"Verifying...":n("footer.subscribeSection.buttonText")})]})}),(0,l.jsx)("p",{className:"text-sm font-medium text-white m-0",children:n("footer.subscribeSection.consentText")})]})]}),null==N?void 0:N.map(e=>{var t;return(0,l.jsxs)("div",{className:"w-full flex flex-col items-start justify-start",children:[(0,l.jsx)("h3",{className:"font-semibold m-0 mb-2",children:null==e?void 0:e.name}),null==e?void 0:null===(t=e.cities)||void 0===t?void 0:t.map((e,t)=>(0,l.jsx)(c(),{href:"/city-services/".concat(null==e?void 0:e.slug),className:"py-2 text-white no-underline font-medium text-[14px] leading-[150%]",children:null==e?void 0:e.name},t))]},null==e?void 0:e.name)})]}),(0,l.jsx)("div",{className:"w-full flex flex-col gap-5 mt-10 max-w-[1600px] mx-auto",children:(0,l.jsxs)("div",{className:"flex flex-col md:flex-row pt-5 items-center justify-between gap-5 border-white border-solid border-t-[1px] box-border",children:[(0,l.jsx)("div",{className:"text-sm font-medium",children:n("footer.copyright")}),(0,l.jsxs)("div",{className:"flex flex-col lg:flex-row gap-3 items-center",children:[(0,l.jsx)(c(),{href:"/privacy-policy",className:"font-medium text-[14px] leading-[150%] text-white no-underline",children:n("footer.privacyPolicy")}),(0,l.jsx)("div",{className:"flex gap-3 items-center",children:[{url:"https://www.tiktok.com/@prismsocial",icon:"tiktok2"},{url:"https://api.whatsapp.com/send?phone=971558500095",icon:"whatsapp2"},{url:"https://www.facebook.com/PrismSocial/",icon:"facebook2"},{url:"https://www.instagram.com/prismsocial/",icon:"instagram2"},{url:"https://x.com/PRISM_Social",icon:"twitter2"},{url:"https://www.linkedin.com/company/prismmarketing",icon:"linkedIn2"},{url:"https://www.youtube.com/@PrismDigitalMarketingAgency",icon:"youtube2"},{url:"https://www.pinterest.com/prismsocial/",icon:"pinterest2"}].map(e=>(0,l.jsx)("a",{href:e.url,className:"text-white no-underline",target:"_blank",rel:"noopener noreferrer",children:(0,l.jsx)(i(),{src:"/icons/".concat(e.icon,".svg"),alt:e.icon,width:24,height:24})},e.icon))})]})]})})]})});g.propTypes={className:d().string},t.default=g},22888:function(e,t,a){a.d(t,{U:function(){return o}});let l="6LduyFEsAAAAAB0dqiuatcOOA0QALxCDQu5Yiltu",s=null,o=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"contact_submit";if(!l)throw Error("Missing NEXT_PUBLIC_RECAPTCHA_SITE_KEY");return await (window.grecaptcha?Promise.resolve():s||(s=new Promise((e,t)=>{let a=document.querySelector('script[src^="https://www.google.com/recaptcha/api.js"]');if(a){a.addEventListener("load",e),a.addEventListener("error",t);return}let o=document.createElement("script");o.src="https://www.google.com/recaptcha/api.js?render=".concat(l),o.async=!0,o.onload=e,o.onerror=()=>{s=null,t(Error("Failed to load reCAPTCHA script"))},document.head.appendChild(o)}))),await new Promise(e=>{window.grecaptcha.ready(e)}),window.grecaptcha.execute(l,{action:e})}}}]);
2//# sourceMappingURL=6167-f1edaec49ec81aac.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.