PageSourceSearch

https://advaiya.com/_next/static/chunks/7185-0c60a2e4dc911517.js

js advaiya.com collected 2026-10-02 05:30:44 UTC 8,164 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7185],{3655:(e,t,r)=>{r.d(t,{N:()=>i,k:()=>n});let i={script:e=>"https://www.google.com/recaptcha/api.js?render=".concat(e),verify:"https://www.google.com/recaptcha/api/siteverify"},n={privacy:"https://policies.google.com/privacy",terms:"https://policies.google.com/terms"}},11472:(e,t,r)=>{r.d(t,{A:()=>a});var i=r(95155),n=r(70353);function a(e){let{id:t,error:r,inputProps:a,className:l,labelClassName:s}=e,o="".concat(t,"-error"),d=(0,n.cn)("font-franklin-book text-[14px] leading-snug text-[#333333]",s);return(0,i.jsxs)("div",{className:(0,n.cn)("flex flex-col gap-1.5",l),children:[(0,i.jsxs)("div",{className:"flex items-start gap-2",children:[(0,i.jsx)("input",{id:t,type:"checkbox",required:!0,"aria-required":"true","aria-invalid":!!r,"aria-describedby":r?o:void 0,className:"mt-0.5 h-4 w-4 shrink-0 rounded border-[#D9D9D9] text-heading-strong focus:ring-heading-strong",...a}),(0,i.jsxs)("label",{htmlFor:t,className:d,children:["I agree to the processing of my information as described in the privacy policy.",(0,i.jsx)("span",{className:"text-[#DA2037]","aria-hidden":"true",children:"\xa0*"})]})]}),r&&(0,i.jsx)("p",{id:o,role:"alert",className:"text-xs text-red-600",children:r})]})}},13076:(e,t,r)=>{r.d(t,{M:()=>n,l:()=>i});let i={Width_3:3,Width_8:8,Width_10:10,Width_11:11,Width_12:12,Width_13:13,Width_14:14,Width_16:16,Width_18:18,Width_20:20,Width_22:22,Width_24:24,Width_28:28,Width_30:30,Width_32:32,Width_40:40,Width_44:44,Width_45:45,Width_48:48,Width_52:52,Width_56:56,Width_64:64,Width_83:83,Width_96:96},n={Height_3:3,Height_8:8,Height_10:10,Height_11:11,Height_12:12,Height_13:13,Height_14:14,Height_16:16,Height_18:18,Height_20:20,Height_22:22,Height_24:24,Height_28:28,Height_30:30,Height_32:32,Height_37:37,Height_40:40,Height_44:44,Height_45:45,Height_48:48,Height_52:52,Height_56:56,Height_64:64,Height_83:83}},54037:(e,t,r)=>{r.d(t,{V:()=>s});var i=r(12115),n=r(94111),a=r(3655);let l=null;function s(){let e=n._K.recaptchaSiteKey;return{execute:(0,i.useCallback)(async t=>{if(!e)return null;await (l||(l=new Promise((t,r)=>{let i=document.createElement("script");i.src=a.N.script(e),i.async=!0,i.onload=()=>t(),i.onerror=()=>r(Error("recaptcha-load-failed")),document.head.appendChild(i)})));let r=window.grecaptcha;return r?(await new Promise(e=>r.ready(()=>e())),r.execute(e,{action:t})):null},[e])}}},58588:(e,t,r)=>{r.d(t,{QD:()=>n,Vh:()=>a,it:()=>o,jV:()=>l,qt:()=>s,uN:()=>i});let i=/^\+?[0-9()\-\s]{7,20}$/,n=/^\+?[1-9]\d{7,14}$/,a=/^[A-Za-z\s]+$/,l=/[^A-Za-z\s]/g,s=/[^0-9()\-\s+]/g,o=/[^0-9+]/g},70353:(e,t,r)=>{r.d(t,{cn:()=>a});var i=r(2821),n=r(75889);function a(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,n.QP)((0,i.$)(t))}},72360:(e,t,r)=>{r.d(t,{BK:()=>o,DD:()=>d,M8:()=>c,YC:()=>h,f8:()=>u,jJ:()=>l,yD:()=>s});var i=r(55653),n=r(58588);let a={required:"This field is required.",email:"Please enter a valid email address.",name:"Only letters and spaces are allowed.",phone:"Please enter a valid phone number.",mobile:"Please enter a valid mobile number.",consent:"Please accept the consent statement to continue."};function l(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i.Yj().trim().min(1,null!=(e=r.required)?e:a.required).max(254).pipe(i.Rp(null!=(t=r.invalid)?t:a.email))}function s(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:255;return i.Yj().trim().min(1,null!=(e=r.required)?e:a.required).max(l).regex(n.Vh,null!=(t=r.invalid)?t:a.name)}function o(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50;return i.Yj().trim().min(1,null!=(e=r.required)?e:a.required).max(l).regex(n.uN,null!=(t=r.invalid)?t:a.phone)}function d(){var e,t;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:30;return i.Yj().trim().min(1,null!=(e=r.required)?e:a.required).max(l).regex(n.QD,null!=(t=r.invali
1d)?t:a.mobile)}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:255;return i.Yj().trim().min(1,null!=e?e:a.required).max(t)}function h(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:255;return i.Yj().trim().max(e).optional()}function u(e){return i.zM().refine(e=>!0===e,null!=e?e:a.consent)}},74701:(e,t,r)=>{r.d(t,{XF:()=>i,a_:()=>n,yC:()=>a});let i={NEWSLETTER:"newsletter",INSIGHT_LEAD:"insight-lead",CONTACT_US:"contact-us",EVENT_REGISTRATION:"event-registration"},n="job-application";function a(e){return"submit_".concat(e.replace(/-/g,"_"))}},76031:(e,t,r)=>{r.d(t,{A:()=>l});var i=r(95155),n=r(70353),a=r(3655);function l(e){let{className:t}=e;return(0,i.jsxs)("p",{className:(0,n.cn)("font-franklin-book text-[11px] leading-relaxed text-gray-400",t),children:["This site is protected by reCAPTCHA and the Google"," ",(0,i.jsx)("a",{href:a.k.privacy,target:"_blank",rel:"noopener noreferrer",className:"underline hover:text-gray-600",children:"Privacy Policy"})," ","and"," ",(0,i.jsx)("a",{href:a.k.terms,target:"_blank",rel:"noopener noreferrer",className:"underline hover:text-gray-600",children:"Terms of Service"})," ","apply."]})}},86216:(e,t,r)=>{r.d(t,{A:()=>d});var i=r(95155),n=r(52619),a=r.n(n),l=r(70353);let s={solid:"bg-brand-red text-white hover:brightness-90",inverse:"bg-white text-brand-red hover:scale-105",outline:"border border-border-cool bg-transparent text-charcoal hover:bg-surface-subtle",ghost:"bg-transparent text-text-muted-1 hover:bg-gray-100"},o={sm:"gap-2 px-5 py-2.5 text-sm",md:"gap-3 px-7 py-3 text-sm",lg:"gap-4 px-10 py-5 text-lg"};function d(e){let{variant:t="solid",size:r="md",icon:n,iconPosition:d="right",fullWidth:c=!1,active:h=!1,className:u,children:g,href:p,onClick:m,type:_="button",disabled:v,...f}=e,b=(0,l.cn)("inline-flex items-center justify-center rounded-full transition-all duration-300 disabled:pointer-events-none disabled:opacity-40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-red/40",h?"bg-brand-red text-white hover:brightness-90":s[t],o[r],c&&"w-full",u),x=(0,i.jsxs)(i.Fragment,{children:[n&&"left"===d&&n,g,n&&"right"===d&&n]});return p?(0,i.jsx)(a(),{href:p,className:b,onClick:m,...f,children:x}):(0,i.jsx)("button",{type:_,className:b,onClick:m,disabled:v,...f,children:x})}},87429:(e,t,r)=>{r.d(t,{e:()=>s});var i=r(12115),n=r(54037),a=r(74701);let l={[a.XF.NEWSLETTER]:"/api/forms/newsletter/submit",[a.XF.INSIGHT_LEAD]:"/api/forms/insight-download/submit",[a.XF.CONTACT_US]:"/api/forms/contact/submit",[a.XF.EVENT_REGISTRATION]:"/api/forms/event-registration/submit"};function s(e){let{execute:t}=(0,n.V)(),[r,s]=(0,i.useState)("idle"),[o,d]=(0,i.useState)(null);return{submit:(0,i.useCallback)(async(r,i)=>{s("submitting"),d(null);try{var n;let o=await t((0,a.yC)(e)),c=await fetch(l[e],{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({fields:r,token:o,...i})});if(c.ok)return s("success"),!0;let h=await c.json().catch(()=>({}));return d(null!=(n=h.error)?n:"error"),s("error"),!1}catch(e){return d("error"),s("error"),!1}},[t,e]),status:r,errorCode:o}}},94111:(e,t,r)=>{r.d(t,{_K:()=>a});var i=r(95704);function n(e){return null==e?void 0:e.replace(/\/+$/,"")}let a={environment:i.env.ENV,appUrl:"https://advaiya.com",canonicalUrl:n("https://advaiya.com/"),strapiUrl:n("https://cms.advaiya.com/"),strapiApiToken:i.env.STRAPI_API_TOKEN,strapiRedirectsToken:i.env.STRAPI_REDIRECTS_TOKEN,previewSecret:i.env.PREVIEW_SECRET,revalidateSecret:i.env.STRAPI_REVALIDATE_SECRET,recaptchaSiteKey:"6Lf5q5ctAAAAABtgZYaX3ZQDfpSH6o7ApR0emD92",recaptchaSecretKey:i.env.RECAPTCHA_SECRET_KEY,recaptchaMinScore:i.env.RECAPTCHA_MIN_SCORE,gaMeasurementId:"G-JP6LGMS84Y",googleSiteVerification:i.env.GOOGLE_SITE_VERIFICATION,supabaseUrl:n(i.env.SUPABASE_URL),supabaseSecretKey:i.env.SUPABASE_SECRET_KEY,smtpHost:i.env.SMTP_HOST,smtpPort:i.env.SMTP_PORT,smtpSecure:i.env.SMTP_SECURE,smtpUsername:i.env.SMTP_USERNAME,smtpPassword:i.env.SMTP_PASSWORD,smtpFrom:i.env.SMTP_FROM}}}]);

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.