PageSourceSearch

https://js-static.iimjobs.com/production/21.4.0/_next/static/chunk…/auth/apple/callback-318c6207c6c6925f.js

js iimjobs.com collected 2026-09-24 11:17:09 UTC 27,831 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1581,1981,7446,4749,8168],{83050:function(e,t,n){"use strict";n.d(t,{d:function(){return d}});var r=n(2784),o=n(78629),i=n(79813),s=n(18477),a=n(52322);function c(e){return e.substring(2).toLowerCase()}function d(e){let{children:t,disableReactTree:n=!1,mouseEvent:d="onClick",onClickAway:u,touchEvent:l="onTouchEnd"}=e,p=r.useRef(!1),h=r.useRef(null),f=r.useRef(!1),v=r.useRef(!1);r.useEffect(()=>(setTimeout(()=>{f.current=!0},0),()=>{f.current=!1}),[]);let g=(0,o.Z)(t.ref,h),m=(0,i.Z)(e=>{let t=v.current;v.current=!1;let r=(0,s.Z)(h.current);if(f.current&&h.current&&(!("clientX"in e)||!(r.documentElement.clientWidth<e.clientX)&&!(r.documentElement.clientHeight<e.clientY))){if(p.current){p.current=!1;return}(e.composedPath?e.composedPath().indexOf(h.current)>-1:!r.documentElement.contains(e.target)||h.current.contains(e.target))||!n&&t||u(e)}}),x=e=>n=>{v.current=!0;let r=t.props[e];r&&r(n)},w={ref:g};return!1!==l&&(w[l]=x(l)),r.useEffect(()=>{if(!1!==l){let e=c(l),t=(0,s.Z)(h.current),n=()=>{p.current=!0};return t.addEventListener(e,m),t.addEventListener("touchmove",n),()=>{t.removeEventListener(e,m),t.removeEventListener("touchmove",n)}}},[m,l]),!1!==d&&(w[d]=x(d)),r.useEffect(()=>{if(!1!==d){let e=c(d),t=(0,s.Z)(h.current);return t.addEventListener(e,m),()=>{t.removeEventListener(e,m)}}},[m,d]),(0,a.jsx)(r.Fragment,{children:r.cloneElement(t,w)})}},37396:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/auth/apple/callback",function(){return n(26150)}])},57883:function(e,t,n){"use strict";n.d(t,{ZP:function(){return E},g5:function(){return _},cn:function(){return b}});var r=n(85333),o=n(52322),i=n(94449),s=n(62197),a=n(23119),c=n(78229),d=n(88646),u=n(38885),l=n(96138),p=n(55351),h=n(79427),f=function(){return(0,o.jsx)(o.Fragment,{children:"Oops! something went wrong, please try again"})},v=function(e){var t=e.children;return(0,o.jsx)(h.SV,{FallbackComponent:f,onError:function(e,t){},children:t})},g=n(81524),m=n(99491),x=n(89520),w=n(29878),y=n(19308),b=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"desktop";return null==e?void 0:e.map(function(e,r){return(null==e?void 0:e.item)&&r<e.item.length?(0,o.jsxs)(s.Z,{fontSize:t?12:10,color:t?"#898989":"secondary.main",fontWeight:500,children:[(null==e?void 0:e.name)==="Home"&&t&&(0,o.jsx)(m.E,{src:y.jhW,alt:"home-bread",width:10,height:10,style:{marginRight:"8px"}}),(0,o.jsx)(a.Z,{href:null==e?void 0:e.item,onClick:function(t){t.preventDefault(),(null==e?void 0:e.item)&&(0,x.VP)(function(){return(0,x.Yo)(e.item,"_self")})},sx:{textDecoration:"none",color:t?"#898989":"secondary.main",":hover":{textDecoration:t?"underline":"none"}},children:"desktop"===n?null==e?void 0:e.name:(0,g.aS)(null==e?void 0:e.name,10)})]},"breadcrumb-layout-".concat(r)):(0,o.jsx)(s.Z,{fontSize:t?12:10,color:"secondary.main",sx:{overflowX:"hidden",overflowY:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},textTransform:"capitalize",children:"mobile"===n?(0,g.aS)(null==e?void 0:e.name,24):null==e?void 0:e.name},"breadcrumb-title-".concat(r))})},_=function(e){return null==e?void 0:e.map(function(t,n){if(null==t?void 0:t.name){var r,o={position:n+1,name:null==t?void 0:t.name};return(null==e?void 0:e.length)-1!==n&&(o.item="".concat("https://www.iimjobs.com").concat(null==t?void 0:null===(r=t.item)||void 0===r?void 0:r.split("?")[0])),o}return t})},E=function(e){var t=e||{},n=t.children,a=t.breadcrumbElements,h=t.variant,f=(0,d.YN)(2560),g=(0,i.v9)(function(e){return e.app.page},i.wU),m=b(a,!1,(0,i.v9)(function(e){return e.app.layout},i.wU).device),x=(0,r._)({background:h===u.r.VERSION_TWO?"#F3F7FA":"#fff",py:{xxs:a.length?10:(null==g?void 0:g.indexOf(w.oG))>-1?6:8,md:"jobfeed"==g?10:(null==g?void 0:g.indexOf(w.oG))>-1?8:10},minHeight:(null==g?void 0:g.indexOf(w.Bh))>-1||(null==g?void 0:g.includes("registration-"))||(null==g?void 0:g.indexOf(w.OV))>-1||(null==g?void 0:g.indexOf(w.FU))>-1?"100vh":"58vh"},{px:h===u.r.VERSION_TWO?2:f?66:{xxs:2,md:4,xl:15}});return(0,o.jsx)(v,{children:(0,o.jsxs)(c.xu,{display:"flex",justifyContent:"center",sx:(0,r._)({},x,(null==g?void 0:g.indexOf(w.Bh))>-1||(null==g?void 0:g.indexOf(w.VH))>-1||(null==g?void 0:g.indexOf(w.Yo))>-1?{paddingBottom:"0px !important"}:{}),children:[!1,(0,o.jsxs)(c.xu,{maxWidth:1440,width:"100%",children:[(0,o.jsx)(function(){return(0,o.jsxs)(o.Fragment,{children:[(null==a?void 0:a.length)>0&&(0,o.jsx)(p.BreadcrumbJsonLd,{itemListElements:_(a)}),(null==a?void 0:a.length)>0&&(0,o.jsx)(c.xu,{sx:{pb:2},children:(0,o.jsx)(l.Z,{variant:u.r.VERSION_TWO,separator:(0,o.jsx)(s.Z,{fontSize:10,
1color:"secondary.main",mx:0,children:">"}),breadcrumbs:m})})]})},{}),n]})]})})}},26150:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return p}});var r=n(52322),o=n(1305),i=n(73405),s=n(70127),a=n(14677),c=n(81524),d=n(29878),u=n(94449),l=n(90002),p=!0;t.default=function(e){var t=e.seoConfig,n=e.code,p=e.state,h=(0,c.mQ)(a.R,d.Sd,!0,d.PJ),f=(0,u.v9)(function(e){return e.app.layout.searchOverlay},u.wU);return(0,r.jsxs)(i.n,{metaInfo:h,children:[(0,r.jsx)(s.Ut,{seoConfig:t}),(0,r.jsxs)(s.zn,{children:[(0,r.jsx)(o.fU,{isSearchEnabled:f}),(0,r.jsx)(l.yQ,{code:n,state:p})]})]})}},8168:function(e,t,n){"use strict";var r,o,i,s,a,c,d,u,l,p,h=n(81862),f=n(85333),v=n(5163),g=n(19126),m=n.n(g),x=n(21094),w=n(62247),y=n(67015),b=n(75277),_=(0,y.Z)("".concat("https://gladiator.iimjobs.com","/").concat("user","/")),E=(r=(0,h._)(function(e,t){var n,r,o,i,s,a,c,d,u,l,p;return(0,v.Jh)(this,function(h){switch(h.label){case 0:return h.trys.push([0,2,,3]),[4,_.post("".concat(e),m().stringify(t),{withCredentials:!0,headers:{"x-url":(0,b.A)(),"x-referer":(0,b.w)(),"x-href":window.location.href}})];case 1:if(200===(n=h.sent())[x.Q_]){if((null===(r=n.data)||void 0===r?void 0:r.twoFactorAuth)||(null===(i=n.data)||void 0===i?void 0:null===(o=i.options)||void 0===o?void 0:o.reset))return[2,null===(u=n)||void 0===u?void 0:u.data];if(null===(s=n.data)||void 0===s?void 0:s.activationToken)return[2,null===(l=n)||void 0===l?void 0:l.data];return[2,{token:null===(a=n.data)||void 0===a?void 0:a[x.LT],userId:null===(c=n.data)||void 0===c?void 0:c.seekerId,obfuscatedUserId:null===(d=n.data)||void 0===d?void 0:d.obfuscatedUserId,expires:172800}]}return[2,{}];case 2:return[2,{error:{message:(p=h.sent()).response.data.error.message,code:p.response.data.error.statusCode}}];case 3:return[2]}})}),function(e,t){return r.apply(this,arguments)}),C=(o=(0,h._)(function(e,t){var n,r,o,i,s;return(0,v.Jh)(this,function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,_.post("".concat(e),m().stringify(t),{withCredentials:!0,headers:{"x-url":(0,b.A)(),"x-referer":(0,b.w)(),"x-href":window.location.href}})];case 1:if(200===(r=a.sent())[x.Q_]&&(null===(n=r.data)||void 0===n?void 0:n.seekerId))return[2,{token:null===(o=r.data)||void 0===o?void 0:o[x.LT],expires:172800,userId:null===(i=r.data)||void 0===i?void 0:i.seekerId,emailVerified:!1}];return[2,{error:{message:"some issue while registering! Please try again!",code:404}}];case 2:return[2,{error:{message:(s=a.sent()).response.data.error.message,code:s.response.data.error.statusCode}}];case 3:return[2]}})}),function(e,t){return o.apply(this,arguments)}),k=(i=(0,h._)(function(e,t){var n,r,o;return(0,v.Jh)(this,function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,_.post("".concat(e),m().stringify(t))];case 1:if(200===(n=i.sent())[x.Q_]){if(null===(r=n.data)||void 0===r?void 0:r.activationToken)return[2,{message:n.data.message,activationToken:n.data.activationToken}];return[2,{message:n.data.message}]}return[2,{}];case 2:return[2,{error:{message:(o=i.sent()).response.data.error.message,code:o.response.data.error.statusCode}}];case 3:return[2]}})}),function(e,t){return i.apply(this,arguments)}),S=(s=(0,h._)(function(e,t){var n,r;return(0,v.Jh)(this,function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,_.post("".concat(e),m().stringify(t))];case 1:if(200===(n=o.sent())[x.Q_])return[2,{message:n.data.data.message}];return[2,{}];case 2:return[2,{error:{message:(r=o.sent()).response.data.error.message,code:r.response.data.error.statusCode}}];case 3:return[2]}})}),function(e,t){return s.apply(this,arguments)}),O=(a=(0,h._)(function(e,t){var n,r;return(0,v.Jh)(this,function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,_.post("".concat(e),m().stringify(t))];case 1:if(200===(n=o.sent())[x.Q_])return[2,{message:n.data.emailSent?"Email sent":"Failed to send email"}];return[2,{}];case 2:return[2,{error:{message:(r=o.sent()).response.data.error.message,code:r.response.data.error.statusCode}}];case 3:return[2]}})}),function(e,t){return a.apply(this,arguments)}),L=(c=(0,h._)(function(e,t){var n,r,o,i;return(0,v.Jh)(this,function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,_.post("".concat(e),t,{withCredentials:!0,headers:{"x-url":(0,b.A)(),"x-referer":(0,b.w)(),"x-href":window.location.href}})];case 1:if(200===(n=s.sent())[x.Q_])return[2,{success:null===(r=n.data)||void 0===r?void 0:r.success,name:null===(o=n.data)||void 0===o?void 0:o.name}];return[2,{}];case 2:return[2,{error:{message:(i=s.sent()).response.data.error.message,code:i.response.data.error.statusCode}}];case 3:return[2]}})}),function(e,t){return c.apply(this,arguments)}),j=(d=(0,h._)(function(e,t){var n,r,o,i,s,a,c;return(0,v.Jh)(this,function(d){switch(d.label){case 0:return d.trys.push([0,2,,3]),[4,_.post("".concat(e),t,{withCredentials:!0,headers:{"x-url":(0,b.A)(),"x-referer":(0,b.w)(),"x-href":window.location.href}})];case 1:if(200===(n=d.sent())[x.Q_])return[2,{token:null===(r=n.data)||void 0===r?void 0:r[x.LT],userId:null===(o=n.data)||void 0===o?void 0:o.seekerId,action:null===(i=n.data)||void 0===i?void 0:i.action,name:null===(s=n.data)||void 0===s?void 0:s.name,redirectPath:null===(a=n.data)||void 0===a?void 0:a.redirectPath}];return[2,{}];case 2:return[2,{error:{message:(c=d.sent()).response.data.error.message,code:c.response.data.error.statusCode}}];case 3:return[2]}})}),function(e,t){return d.apply(this,arguments)}),R=(u=(0,h._)(function(e,t){var n,r,o,i;return(0,v.Jh)(this,function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,_.post("".concat(e),t,{withCredentials:!0,headers:{"x-url":(0,b.A)(),"x-referer":(0,b.w)(),"x-href":window.location.href}})];case 1:if(200===(n=s.sent())[x.Q_])return[2,{success:null===(r=n.data)||void 0===r?void 0:r.success,name:null===(o=n.data)||void 0===o?void 0:o.name}];return[2,{}];case 2:return[2,{error:{message:(i=s.sent()).response.data.error.message,code:i.response.data.error.statusCode}}];case 3:return[2]}})}),function(e,t){return u.apply(this,arguments)}),I=(l=(0,h._)(function(e,t){var n,r,o,i,s,a,c,d,u,l;return(0,v.Jh)(this,function(p){switch(p.label){case 0:return p.trys.push([0,2,,3]),[4,_.post("".concat(e),t,{withCredentials:!0,headers:{"x-url":(0,b.A)(),"x-referer":(0,b.w)(),"x-href":window.location.href}})];case 1:if(200===(n=p.sent())[x.Q_])return[2,{token:null===(r=n.data)||void 0===r?void 0:r[x.LT],sendAuth:null===(o=n.data)||void 0===o?void 0:o.sendAuth,action:null===(i=n.data)||void 0===i?void 0:i.action,userId:null===(s=n.data)||void 0===s?void 0:s.seekerId,seekerId:null===(a=n.data)||void 0===a?void 0:a.seekerId,name:null===(c=n.data)||void 0===c?void 0:c.name,redirectPath:null===(d=n.data)||void 0===d?void 0:d.redirectPath,isNewAccount:null===(u=n.data)||void 0===u?void 0:u.isNewAccount}];return[2,{}];case 2:return[2,{error:{message:(l=p.sent()).response.data.error.message,code:l.response.data.error.statusCode}}];case 3:return[2]}})}),function(e,t){return l.apply(this,arguments)}),N=(p=(0,h._)(function(e){var t,n=arguments;return(0,v.Jh)(this,function(r){switch(r.label){case 0:t=n.length>1&&void 0!==n[1]?n[1]:{},r.label=1;case 1:return r.trys.push([1,3,,4]),[4,_.post("".concat(e),m().str
1ingify({}),(0,f._)({withCredentials:!0},t))];case 2:return r.sent(),(0,w.DH)(),[3,4];case 3:throw r.sent();case 4:return[2]}})}),function(e){return p.apply(this,arguments)});t.Z={login:E,register:C,forgotPassword:k,logOut:N,sendOtp:L,verifyOtp:j,sendMobileOtp:R,verifyMobileOtp:I,resendPasswordPolicyEmail:O,resetPassword:S}},74749:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var r,o=n(81862),i=n(85333),s=n(89290),a=n(5163),c=n(52322),d=n(2784),u=n(68282),l=n(78229),p=n(62197),h=n(38468),f=function(e){var t=e.onClick,n=e.disabled,r=e.text,o=e.sx;return(0,c.jsx)(u.default,{variant:"outlined",onClick:t,disabled:n,sx:o,children:(0,c.jsxs)(l.xu,{sx:{display:"flex",alignItems:"center",gap:"10px"},children:[(0,c.jsx)(h.JM8,{size:20}),(0,c.jsx)(p.Z,{style:{color:"#111111"},children:void 0===r?"Continue with Google":r})]})})},v=n(38388),g=n(72841),m=function(e){var t=e.open;return(0,c.jsx)(v.Z,{sx:{color:"#fff",zIndex:function(e){return e.zIndex.modal+1},backgroundColor:"rgba(0,0,0,0.35)"},open:t,children:(0,c.jsx)(g.Z,{color:"inherit"})})},x=n(59083),w=n(89520),y=n(46749),b=n(56961),_=function(e){if(e)try{var t=new URL(e,window.location.origin),n=t.searchParams.get("redirectto");return n?decodeURIComponent(n):t.pathname+t.search}catch(e){return}},E=function(e){try{var t=new URL(e,window.location.origin),n=t.pathname.split("/").filter(Boolean);if("talent-bridge-hiring-drive"!==n[0]&&"talent-bridge-detail"!==n[0]||!n[1])return null;return{city:n[1],ref:t.searchParams.get("ref")}}catch(e){return null}},C=(r=(0,o._)(function(){var e,t,n;return(0,a.Jh)(this,function(r){switch(r.label){case 0:if(null===(n=window)||void 0===n?void 0:null===(t=n.google)||void 0===t?void 0:null===(e=t.accounts)||void 0===e?void 0:e.id)return[2];return[4,new Promise(function(e,t){var n="google-identity-services";if(document.getElementById(n)){e();return}var r=document.createElement("script");r.src="https://accounts.google.com/gsi/client",r.async=!0,r.defer=!0,r.id=n,r.onload=function(){return e()},r.onerror=function(){return t(Error("Failed to load Google script"))},document.body.appendChild(r)})];case 1:return r.sent(),[2]}})}),function(){return r.apply(this,arguments)}),k=function(e){var t,n=e.buttonSx,r=e.dividerSx,u=e.onSuccess,l=e.onError,h=(0,s._)((0,d.useState)(!1),2),v=h[0],g=h[1],k=(0,s._)((0,d.useState)(!1),2),S=k[0],O=k[1],L=(0,d.useRef)(""),j=(t=(0,o._)(function(e){var t,n,r,o,i,s,c,d,p,h,f,v,m,b,C,k,S,O,j;return(0,a.Jh)(this,function(a){switch(a.label){case 0:a.label=1;case 1:if(a.trys.push([1,3,,4]),g(!0),!(s=null===(t=e)||void 0===t?void 0:t.credential))return g(!1),[2];return[4,y.Z.socialLogin({token:s})];case 2:if(null===(n=c=a.sent())||void 0===n?void 0:n.error)throw c.error;if(!(null===(r=c)||void 0===r?void 0:r.token))throw{message:"Invalid response from server"};null===(o=c)||void 0===o||o.redirectPath;try{h=JSON.parse(atob(s.split(".")[1])),(null===(p=h)||void 0===p?void 0:p.email)&&(d=h.email,localStorage.setItem("google_login_hint",h.email))}catch(e){}try{(0,x.Xf)("jsGoogleLoginClick","click",{pageName:(0,x.uW)(),status:"googleSigninSuccess",sessionUsername:sessionStorage.getItem("userId")||(null===(f=c)||void 0===f?void 0:f.seekerId)||""})}catch(e){console.error("❌ UBA tracking failed:",e)}return null===(i=u)||void 0===i||i(d),window&&window.location?(b=null===(v=c)||void 0===v?void 0:v.redirectPath,S=E(k=null!==(C=_(L.current))&&void 0!==C?C:"/jobfeed"),(null===(m=b)||void 0===m?void 0:m.startsWith("/registration"))?S?("/talent-bridge-detail/".concat(S.city).concat(S.ref?"?ref=".concat(S.ref):""),O="/registration/addPersonalDetails?has=1&source=re"):O="/registration/addPersonalDetails?has=1&source=re&redirectto=".concat(encodeURIComponent(k)):O=S?"/talent-bridge-detail/".concat(S.city).concat(S.ref?"?ref=".concat(S.ref):""):k,(0,w.Yo)(O,"_self")):(0,w.Yo)("/jobfeed","_self"),[3,4];case 3:a.sent(),g(!1);try{(0,x.Xf)("jsGoogleLoginClick","click",{pageName:(0,x.uW)(),status:"googleSigninFailure",sessionUsername:sessionStorage.getItem("userId")||""})}catch(e){}return null===(j=l)||void 0===j||j(),[3,4];case 4:return[2]}})}),function(e){return t.apply(this,arguments)});return(0,d.useEffect)(function(){var e,t=!1;return(e=(0,o._)(function(){var e,n,r,o,i;return(0,a.Jh)(this,function(s){switch(s.label){case 0:if(s.trys.push([0,2,,3]),0||!(o="758500692895-qi5rd49nastr8vfsf14cpq5niedepsu0.apps.googleusercontent.com"))return[2];return[4,C()];case 1:if(s.sent(),!(null===(r=i=null===(e=window)||void 0===e?void 0:e.google)||void 0===r?void 0:null===(n=r.accounts)||void 0===n?void 0:n.id))return[2];return S||(i.accounts.id.initialize({client_id:o,callback:j,auto_select:!1,cancel_on_tap_outside:!1,itp_supp
1ort:!0,context:"signin",use_fedcm_for_prompt:!0}),t||O(!0)),L.current=window.location.pathname+window.location.search,i.accounts.id.prompt(function(e){(null==e?void 0:e.isNotDisplayed)&&e.isNotDisplayed(),(null==e?void 0:e.isSkippedMoment)&&e.isSkippedMoment()}),[3,3];case 2:return s.sent(),[3,3];case 3:return[2]}})}),function(){return e.apply(this,arguments)})(),function(){t=!0}},[]),(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)(b.Z,{sx:(0,i._)({mt:"24px"},r),children:[" ",(0,c.jsx)(p.Z,{style:{color:"#000000",opacity:.3},children:"or"})," "]}),(0,c.jsx)(f,{onClick:function(){(0,w.VP)(function(){try{var e="758500692895-qi5rd49nastr8vfsf14cpq5niedepsu0.apps.googleusercontent.com";if(!e)throw Error("Google login not configured");var t="".concat(window.location.origin,"/auth/google/callback"),n=window.location.pathname+window.location.search,r="https://accounts.google.com/o/oauth2/v2/auth?".concat(new URLSearchParams({client_id:e,redirect_uri:t,response_type:"code",scope:"openid email profile",state:n}).toString()),o=(0,x.uW)(),i=function(e){if(e.origin===window.location.origin){var t=e.data||{},n=t.type,r=t.nextUrl,s=t.seekerId;if("GOOGLE_LOGIN_SUCCESS"===n){window.removeEventListener("message",i);try{(0,x.Xf)("jsGoogleLoginClick","click",{pageName:o,status:"googleSigninSuccess",sessionUsername:sessionStorage.getItem("userId")||s||""})}catch(e){}null==u||u(),(0,w.Yo)(r,"_self")}else if("GOOGLE_LOGIN_FAILURE"===n){window.removeEventListener("message",i);try{(0,x.Xf)("jsGoogleLoginClick","click",{pageName:o,status:"googleSigninFailure",sessionUsername:sessionStorage.getItem("userId")||""})}catch(e){}null==l||l(),window.location.href="/login"}}};window.addEventListener("message",i),window.open(r,"googleLogin","width=500,height=600")}catch(e){}})},disabled:v,sx:(0,i._)({px:"20px",py:"10px",lineHeight:"24px",width:"100%",height:"40px",fontSize:"16px",fontWeight:600,borderRadius:"24px",display:"flex",alignItems:"center",gap:"10px",border:1.5,mt:"24px"},n)}),(0,c.jsx)(m,{open:v})]})}},3176:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r,o,i=n(2784),s=n(13980),a=n.n(s),c=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function u(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e,t){return(l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var p=function(e){function t(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(u(t)),t.handleErrored=t.handleErrored.bind(u(t)),t.handleChange=t.handleChange.bind(u(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(u(t)),t}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,l(t,e);var n=t.prototype;return n.getCaptchaFunction=function(e){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[e]:this.props.grecaptcha[e]:null},n.getValue=function(){var e=this.getCaptchaFunction("getResponse");return e&&void 0!==this._widgetId?e(this._widgetId):null},n.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},n.execute=function(){var e=this.getCaptchaFunction("execute");if(e&&void 0!==this._widgetId)return e(this._widgetId);this._executeRequested=!0},n.executeAsync=function(){var e=this;return new Promise(function(t,n){e.executionResolve=t,e.executionReject=n,e.execute()})},n.reset=function(){var e=this.getCaptchaFunction("reset");e&&void 0!==this._widgetId&&e(this._widgetId)},n.forceReset=function(){var e=this.getCaptchaFunction("reset");e&&e()},n.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},n.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},n.handleChange=function(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},n.explicitRender=function(){var e=this.getCaptchaFunction("render");if(e&&void 0===this._widgetId){var t=document.createElement("div");this._widgetId=e(t,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge,isolated:this.props.isolated}),this.captcha.appendChild(t)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},n.componentDidMount=function(){this.explicitRender()},n.componentDidUpdate=function(){this.explicitRender()},n.handleRecaptchaRef=function(e){this.captcha=e},n.render=function(){var e=this.props,t=(e.sitekey,e.onChange,e.theme,e.type,e.tabindex,e.onExpired,e.onErrored,e.size,e.stoken,e.grecaptcha,e.badge,e.hl,e.isolated,function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,c));return i.createElement("div",d({},t,{ref:this.handleRecaptchaRef}))},t}(i.Component);p.displayName="ReCAPTCHA",p.propTypes={sitekey:a().string.isRequired,onChange:a().func,grecaptcha:a().object,theme:a().oneOf(["dark","light"]),type:a().oneOf(["image","audio"]),tabindex:a().number,onExpired:a().func,onErrored:a().func,size:a().oneOf(["compact","normal","invisible"]),stoken:a().string,hl:a().string,badge:a().oneOf(["bottomright","bottomleft","inline"]),isolated:a().bool}
1,p.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var h=n(73463),f=n.n(h);function v(){return(v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var g={},m=0,x="onloadcallback";function w(){return"undefined"!=typeof window&&window.recaptchaOptions||{}}var y=(r=function(){var e=w(),t=e.useRecaptchaNet?"recaptcha.net":"www.google.com";return e.enterprise?"https://"+t+"/recaptcha/enterprise.js?onload="+x+"&render=explicit":"https://"+t+"/recaptcha/api.js?onload="+x+"&render=explicit"},o=(o={callbackName:x,globalName:"grecaptcha",attributes:w().nonce?{nonce:w().nonce}:{}})||{},function(e){var t=e.displayName||e.name||"Component",n=function(t){function n(e,n){var r;return(r=t.call(this,e,n)||this).state={},r.__scriptURL="",r}n.prototype=Object.create(t.prototype),n.prototype.constructor=n,n.__proto__=t;var s=n.prototype;return s.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+m++),this.__scriptLoaderID},s.setupScriptURL=function(){return this.__scriptURL="function"==typeof r?r():r,this.__scriptURL},s.asyncScriptLoaderHandleLoad=function(e){var t=this;this.setState(e,function(){return t.props.asyncScriptOnLoad&&t.props.asyncScriptOnLoad(t.state)})},s.asyncScriptLoaderTriggerOnScriptLoaded=function(){var e=g[this.__scriptURL];if(!e||!e.loaded)throw Error("Script is not loaded.");for(var t in e.observers)e.observers[t](e);delete window[o.callbackName]},s.componentDidMount=function(){var e=this,t=this.setupScriptURL(),n=this.asyncScriptLoaderGetScriptLoaderID(),r=o,i=r.globalName,s=r.callbackName,a=r.scriptId;if(i&&void 0!==window[i]&&(g[t]={loaded:!0,observers:{}}),g[t]){var c=g[t];if(c&&(c.loaded||c.errored)){this.asyncScriptLoaderHandleLoad(c);return}c.observers[n]=function(t){return e.asyncScriptLoaderHandleLoad(t)};return}var d={};d[n]=function(t){return e.asyncScriptLoaderHandleLoad(t)},g[t]={loaded:!1,observers:d};var u=document.createElement("script");for(var l in u.src=t,u.async=!0,o.attributes)u.setAttribute(l,o.attributes[l]);a&&(u.id=a);var p=function(e){if(g[t]){var n=g[t].observers;for(var r in n)e(n[r])&&delete n[r]}};s&&"undefined"!=typeof window&&(window[s]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),u.onload=function(){var e=g[t];e&&(e.loaded=!0,p(function(t){return!s&&(t(e),!0)}))},u.onerror=function(){var e=g[t];e&&(e.errored=!0,p(function(t){return t(e),!0}))},document.body.appendChild(u)},s.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===o.removeOnUnmount)for(var t=document.getElementsByTagName("script"),n=0;n<t.length;n+=1)t[n].src.indexOf(e)>-1&&t[n].parentNode&&t[n].parentNode.removeChild(t[n]);var r=g[e];r&&(delete r.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===o.removeOnUnmount&&delete g[e])},s.render=function(){var t=o.globalName,n=this.props,r=(n.asyncScriptOnLoad,n.forwardedRef),s=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(o[n]=e[n]);return o}(n,["asyncScriptOnLoad","forwardedRef"]);return t&&"undefined"!=typeof window&&(s[t]=void 0!==window[t]?window[t]:void 0),s.ref=r,(0,i.createElement)(e,s)},n}(i.Component),s=(0,i.forwardRef)(function(e,t){return(0,i.createElement)(n,v({},e,{forwardedRef:t}))});return s.displayName="AsyncScriptLoader("+t+")",s.propTypes={asyncScriptOnLoad:a().func},f()(s,e)})(p)},79427:function(e,t,n){"use strict";n.d(t,{SV:function(){return s}});var r=n(2784);let o=(0,r.createContext)(null),i={didCatch:!1,error:null};class s extends r.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=i}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(){let{error:e}=this.state;if(null!==e){for(var t,n,r=arguments.length,o=Array(r),s=0;s<r;s++)o[s]=arguments[s];null===(t=(n=this.props).onReset)||void 0===t||t.call(n,{args:o,reason:"imperative-api"}),this.setState(i)}}componentDidCatch(e,t){var n,r;null===(n=(r=this.props).onError)||void 0===n||n.call(r,e,t)}componentDidUpdate(e,t){let{didCatch:n}=this.state,{resetKeys:r}=this.props;if(n&&null!==t.error&&function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length!==t.length||e.some((e,n)=>!Object.is(e,t[n]))}(e.resetKeys,r)){var o,s;null===(o=(s=this.props).onReset)||void 0===o||o.call(s,{next:r,prev:e.resetKeys,reason:"keys"}),this.setState(i)}}render(){let{children:e,fallbackRender:t,FallbackComponent:n,fallback:i}=this.props,{didCatch:s,error:a}=this.state,c=e;if(s){let e={error:a,resetErrorBoundary:this.resetErrorBoundary};if("function"==typeof t)c=t(e);else if(n)c=(0,r.createElement)(n,e);else if(void 0!==i)c=i;else throw a}return(0,r.createElement)(o.Provider,{value:{didCatch:s,error:a,resetErrorBoundary:this.resetErrorBoundary}},c)}}}},function(e){e.O(0,[6525,4424,8898,8903,4235,8917,5789,4285,9410,246,4540,5596,7037,9175,9254,932,7799,5687,6273,5990,6749,4907,3749,2096,5732,2157,7201,8583,2566,4810,9369,2805,8646,3996,8505,5149,127,1305,984,8412,3514,9774,2888,179],function(){return e(e.s=37396)}),_N_E=e.O()}]);
2//# sourceMappingURL=callback-318c6207c6c6925f.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.