1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,150354,e=>{"use strict";var t=e.i(843476),n=e.i(102305);e.s(["Stack",0,e=>{let{tag:r="div",wrap:i=!1,gap:o,orientation:a="vertical",children:s,align:u,className:l,...c}=e,d=[],p=Object.keys(c);return"vertical"===a&&d.push("flex flex-col"),"vertical"===a&&u&&d.push(`items-${u}`),"horizontal"===a&&d.push("flex flex-row"),"horizontal"===a&&u&&d.push(`justify-${u}`),o&&d.push(`gap-${o}`),i&&d.push("flex-wrap"),p.forEach(t=>{let n=e[t];n&&d.push(`${t}:gap-${n}`)}),(0,t.jsx)(r,{className:(0,n.default)(l,d.join(" ")),children:s})}])},794909,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={default:function(){return c},getImageProps:function(){return l}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let o=e.r(563141),a=e.r(908927),s=e.r(605500),u=o._(e.r(1948));function l(e){let{props:t}=(0,a.getImgProps)(e,{defaultLoader:u.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let c=s.Image},657688,(e,t,n)=>{t.exports=e.r(794909)},558463,e=>{"use strict";var t,n=((t={}).Ok="OK",t.BadRequest="BAD_REQUEST",t.BadGateway="BAD_GATEWAY",t.InternalServerError="INTERNAL_SERVER_ERROR",t.InvalidRequest="INVALID_REQUEST",t.BadCredentials="BAD_CREDENTIALS",t.BlockedUser="BLOCKED_USER",t.EmailIsNotConfirmed="EMAIL_IS_NOT_CONFIRMED",t.RegistrationNotCompleted="REGISTRATION_NOT_COMPLETED",t.UserAlreadyActive="USER_IS_ALREADY_ACTIVE",t.Unauthorized="UNAUTHORIZED",t.UncaughtException="UNCAUGHT_EXCEPTION",t.CodeExpired="CODE_EXPIRED",t.CodeBlocked="CODE_BLOCKED",t.WrongCaptcha="WRONG_CAPTCHA",t.TooManyAttempts="TOO_MANY_ATTEMPTS",t.TooManyRequests="TOO_MANY_REQUESTS",t.NotFound="NOT_FOUND",t.UnprocessableEntity="UNPROCESSABLE_ENTITY",t.Forbidden="FORBIDDEN",t);e.s(["ResponseCode",()=>n])},526732,e=>{"use strict";var t=e.i(247167),n=e.i(843476),r=e.i(271645);class i extends Error{constructor(e,t){e instanceof Error?super(void 0,{cause:{err:e,...e.cause,...t}}):"string"==typeof e?(t instanceof Error&&(t={err:t,...t.cause}),super(e,t)):super(void 0,e),this.name=this.constructor.name,this.type=this.constructor.type??"AuthError",this.kind=this.constructor.kind??"error",Error.captureStackTrace?.(this,this.constructor);const n=`https://errors.authjs.dev#${this.type.toLowerCase()}`;this.message+=`${this.message?". ":""}Read more at ${n}`}}class o extends i{}class a extends i{}async function s(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=`${u(t)}/${e}`;try{let e={headers:{"Content-Type":"application/json",...r?.headers?.cookie?{cookie:r.headers.cookie}:{}}};r?.body&&(e.body=JSON.stringify(r.body),e.method="POST");let t=await fetch(i,e),n=await t.json();if(!t.ok)throw n;return n}catch(e){return n.error(new o(e.message,e)),null}}function u(e){return"u"<typeof window?`${e.baseUrlServer}${e.basePathServer}`:e.basePath}function l(){return Math.floor(Date.now()/1e3)}function c(e){let t=new URL("http://localhost:3000/api/auth");e&&!e.startsWith("http")&&(e=`https://${e}`);let n=new URL(e||t),r=("/"===n.pathname?t.pathname:n.pathname).replace(/\/$/,""),i=`${n.origin}${r}`;return{origin:n.origin,host:n.host,path:r,base:i,toString:()=>i}}let d={baseUrl:c(t.default.env.NEXTAUTH_URL??t.default.env.VERCEL_URL).origin,basePath:c(t.default.env.NEXTAUTH_URL).path,baseUrlServer:c(t.default.env.NEXTAUTH_URL_INTERNAL??t.default.env.NEXTAUTH_URL??t.default.env.VERCEL_URL).origin,basePathServer:c(t.default.env.NEXTAUTH_URL_INTERNAL??t.default.env.NEXTAUTH_URL).path,_lastSync:0,_session:void 0,_getSession:()=>{}},p=null;function _(){return"u"<typeof BroadcastChannel?{postMessage:()=>{},addEventListener:()=>{},removeEventListener:()=>{},name:"next-auth",onmessage:null,onmessageerror:null,close:()=>{},dispatchEvent:()=>!1}:new BroadcastChannel("next-auth")}function g(){return null===p&&(p=_()),p}let h={debug:console.debug,error:console.error,warn:console.warn},m=r.createContext?.(void 0);async function y(e){let t=await s("session",d,h,e);return(e?.broadcast??!0)&&_().postMessage({event:"session",data:{trigger:"getSession"}}),t}async function E(){let e=await s("csrf",d,h);return e?.csrfToken??""}async function f(){return s("providers",d,h)}async function T(e,t,n){let{callbackUrl:r,...i}=t??{},{redirect:o=!0,redirectTo:a=r??window.location.href,...s}=i,l=u(d),c=await f();if(!c){let e=`${l}/error`;window.location.href=e;return}if(!e||!c[e]){let e=`${l}/signin?${new URLSearchParams({callbackUrl:a})}`;window.location.href=e;return}let p=c[e].type;if("webauthn"===p)throw TypeError(`Provider id "${e}" refers to a WebAuthn provider. 2Please use \`import { signIn } from "next-auth/webauthn"\` instead.`);let _=`${l}/${"credentials"===p?"callback":"signin"}/${e}`,g=await E(),h=await fetch(`${_}?${new URLSearchParams(n)}`,{method:"post",headers:{"Content-Type":"application/x-www-form-urlencoded","X-Auth-Return-Redirect":"1"},body:new URLSearchParams({...s,csrfToken:g,callbackUrl:a})}),m=await h.json();if(o){let e=m.url??a;window.location.href=e,e.includes("#")&&window.location.reload();return}let y=new URL(m.url).searchParams.get("error")??void 0,T=new URL(m.url).searchParams.get("code")??void 0;return h.ok&&await d._getSession({event:"storage"}),{error:y,code:T,status:h.status,ok:h.ok,url:y?null:m.url}}async function v(e){let{redirect:t=!0,redirectTo:n=e?.callbackUrl??window.location.href}=e??{},r=u(d),i=await E(),o=await fetch(`${r}/signout`,{method:"post",headers:{"Content-Type":"application/x-www-form-urlencoded","X-Auth-Return-Redirect":"1"},body:new URLSearchParams({csrfToken:i,callbackUrl:n})}),a=await o.json();if(g().postMessage({event:"session",data:{trigger:"signout"}}),t){let e=a.url??n;window.location.href=e,e.includes("#")&&window.location.reload();return}return await d._getSession({event:"storage"}),a}e.s(["SessionProvider",0,function(e){if(!m)throw Error("React Context is unavailable in Server Components");let{children:t,basePath:i,refetchInterval:o,refetchWhenOffline:u}=e;i&&(d.basePath=i);let c=void 0!==e.session;d._lastSync=c?l():0;let[p,_]=r.useState(()=>
2(c&&(d._session=e.session),e.session)),[f,T]=r.useState(!c);r.useEffect(()=>(d._getSession=async function(){let{event:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{let t="storage"===e;if(t||void 0===d._session){d._lastSync=l(),d._session=await y({broadcast:!t}),_(d._session);return}if(!e||null===d._session||l()<d._lastSync)return;d._lastSync=l(),d._session=await y(),_(d._session)}catch(e){h.error(new a(e.message,e))}finally{T(!1)}},d._getSession(),()=>{d._lastSync=0,d._session=void 0,d._getSession=()=>{}}),[]),r.useEffect(()=>{let e=()=>d._getSession({event:"storage"});return g().addEventListener("message",e),()=>g().removeEventListener("message",e)},[]),r.useEffect(()=>{let{refetchOnWindowFocus:t=!0}=e,n=()=>{t&&"visible"===document.visibilityState&&d._getSession({event:"visibilitychange"})};return document.addEventListener("visibilitychange",n,!1),()=>document.removeEventListener("visibilitychange",n,!1)},[e.refetchOnWindowFocus]);let v=function(){let[e,t]=r.useState("u">typeof navigator&&navigator.onLine),n=()=>t(!0),i=()=>t(!1);return r.useEffect(()=>(window.addEventListener("online",n),window.addEventListener("offline",i),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",i)}),[]),e}(),S=!1!==u||v;r.useEffect(()=>{if(o&&S){let e=setInterval(()=>{d._session&&d._getSession({event:"poll"})},1e3*o);return()=>clearInterval(e)}},[o,S]);let A=r.useMemo(()=>({data:p,status:f?"loading":p?"authenticated":"unauthenticated",async update(e){if(f)return;T(!0);let t=await s("session",d,h,void 0===e?void 0:{body:{csrfToken:await E(),data:e}});return T(!1),t&&(_(t),g().postMessage({event:"session",data:{trigger:"getSession"}})),t}}),[p,f]);return(0,n.jsx)(m.Provider,{value:A,children:t})},"getSession",0,y,"signIn",0,T,"signOut",0,v,"useSession",0,function(e){if(!m)throw Error("React Context is unavailable in Server Components");let t=r.useContext(m),{required:n,onUnauthenticated:i}=e??{},o=n&&"unauthenticated"===t.status;return(r.useEffect(()=>{if(o){let e=`${d.basePath}/signin?${new URLSearchParams({error:"SessionRequired",callbackUrl:window.location.href})}`;i?i():window.location.href=e}},[o,i]),o)?{data:t.data,update:t.update,status:"loading"}:t}],526732)},117595,e=>{"use strict";function t(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var n=function e(n,r){function i(e,i,o){if("u">typeof document){"number"==typeof(o=t({},r,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var s in o)o[s]&&(a+="; "+s,!0!==o[s]&&(a+="="+o[s].split(";")[0]));return document.cookie=e+"="+n.write(i,e)+a}}return Object.create({set:i,get:function(e){if("u">typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],r={},i=0;i<t.length;i++){var o=t[i].split("="),a=o.slice(1).join("=");try{var s=decodeURIComponent(o[0]);if(r[s]=n.read(a,s),e===s)break}catch(e){}}return e?r[e]:r}},remove:function(e,n){i(e,"",t({},n,{expires:-1}))},withAttributes:function(n){return e(this.converter,t({},this.attributes,n))},withConverter:function(n){return e(t({},this.converter,n),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(n)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});e.s(["default",0,n])},871321,e=>{"use strict";let t=(e,t)=>{let n=new Intl.DateTimeFormat("en-US",{timeZone:e,hour12:!1,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).formatToParts(t);return Date.UTC(Number(n.find(e=>"year"===e.type)?.value),Number(n.find(e=>"month"===e.type)?.value)-1,Number(n.find(e=>"day"===e.type)?.value),Number(n.find(e=>"hour"===e.type)?.value),Number(n.find(e=>"minute"===e.type)?.value),Number(n.find(e=>"second"===e.type)?.value))-t.getTime()};e.s(["composeDay",0,function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"GMT",[r,i,o]=new Date(e).toLocaleDateString(t,{timeZone:n,year:"numeric",day:"2-digit",month:"2-digit"}).split(/[./]/);return"ru"===t?new Date(`${o}-${i}-${r}`).toISOString():new Date(`${o}-${r}-${i}`).toISOString()},"formatDate",0,function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"GMT";return new Date(e).toLocaleDateString(t,{timeZone:n})},"formatDateToDayMonth",0,e=>{let{date:t,locale:n="ru"}=e;return(0,new Intl.DateTimeFormat(n,{day:"2-digit",month:"long",timeZone:"UTC"}).format)(t)},"formatDateYYYYMMDD",0,(e,t)=>{let n=new Intl.DateTimeFormat("en",{year:"numeric",month:"numeric",day:"numeric",timeZone:t}).formatToParts(new Date(e)),r=n.find(e=>"year"===e.type)?.value,i=n.find(e=>"month"===e.type)?.value,o=n.find(e=>"day"===e.type)?.value;return`${r}/${i}/${o}`},"formatDay",0,function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"GMT";return new Date(e).toLocaleDateString(t,{timeZone:n,day:"2-digit",month:"long"})},"formatDayUTC",0,(e,t)=>new Date(e).toLocaleDateString(t,{timeZone:"UTC",day:"2-digit",month:"long"}),"formatTime",0,function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"GMT";return new Intl.DateTimeFormat(t,{timeZone:n,hour:"numeric",minute:"numeric",hour12:!1}).format(new Date(e))},"formatUtcToDateKey",0,e=>`${e.getUTCFullYear()}/${e.getUTCMonth()+1}/${e.getUTCDate()}`,"getCurrentFullTime",0,function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GMT";return new Date().toLocaleDateString(e,{timeZone:t,day:"numeric",month:"numeric",hour12:!1,hour:"numeric",minute:"numeric",year:"numeric"})},"getDateInitial",0,function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=new Date;if(0===e.length)return n;let r=n.getTime(),i=e[0].getTime(),o=new Date(e[e.length-1]).setHours(23,59,59);return r>=i&&r<o?e.find(e=>e.getDate()===n.getDate()&&e.getMonth()===n.getMonth()||e.getTime()>r)??n:t?new Date(e[0]):null},"getDayIntervalUtcForTimeZone",0,e=>{let{date:n,timeZone:r}=e,i=n.getUTCFullYear(),o=n.getUTCMonth(),a=n.getUTCDate(),s=t(r,new Date(Date.UTC(i,o,a,12,0,0)));return{from:Date.UTC(i,o,a,0,0,0)-s,to:Date.UTC(i,o,a,23,59,59)-s}},"getDayOfWeekUTC",0,(e,t)=>new Intl.DateTimeFormat(t,{weekday:"long",timeZone:"UTC"}).format(new Date(e)),"getStartOfDayUtcInTimeZone",0,(e,n)=>{let r=new Intl.DateTimeFormat("en-US",{timeZone:n,year:"numeric",month:"2-digit",day:"2-digit"}).formatToParts(new Date(e)),i=Number(r.find(e=>"year"===e.type)?.value),o=Number(r.find(e=>"month"===e.type)?.value)-1,a=Number(r.find(e=>"day"===e.type)?.value),s=t(n,new Date(Date.UTC(i,o,a,12,0,0)));return Date.UTC(i,o,a,0,0,0)-s},"parseDateKeyToUtcDate",0,e=>{let[t,n,r]=e.split("/").map(Number);return new Date(Date.UTC(t,n-1,r))}],871321)},824878,e=>{e.v({"is-solid":"index-module__uQotyq__is-solid","size-lg":"index-module__uQotyq__size-lg","size-md":"index-module__uQotyq__size-md","size-sm":"index-module__uQotyq__size-sm",tag:"index-module__uQotyq__tag"})},106624,e=>{"use strict";var t=e.i(843476),n=e.i(102305);e.i(140669);var r=e.i(496412),i=e.i(824878);e.s(["Tag",0,e=>{let{label:o,color:a,icon:s,variant:u,size:l="md",...c}=e;return(0,t.jsxs)("span",{className:(0,n.default)(i.default.tag,"solid"===u&&i.default["is-solid"],i.default[`size-${l}`],{[`bg-tag-${a}/20`]:"filled"===u,[`bg-tag-${a}`]:"solid"===u,[`border border-tag-${a}`]:"outlined"===u}),...c,children:[s&&(0,t.jsx)(r.Icon,{name:s,size:"xs"}),o]})}])},444487,e=>{"use strict";var t,n=((t={}).All="all",t.Forum="forum",t.Festival="festival",t);e.s(["EventType",()=>n])},615891,e=>{"use strict";var t,n,r,i,o,a,s=e.i(558463),u=((t={}).Login="login",t.Signup="signup",t.SignupEmailConfirmation="email-confirmation",t.SignupRegistration="registration",t.SignupCongratulation="signup-congratulation",t.PasswordForget="password-forget",t.PasswordReset="password-reset",t.PasswordChange="password-change",t.PasswordCongratulation="password-congratulation",t.CFPBadRequestError="cfp-bad-request",t.CFPBadGatewayError="cfp-bad-gateway",t.CFPInternalServerError="cfp-internal-error",t.BlockedAccount="blocked-account",t),l=((n={}).Purchase="purchase",n.Tickets="tickets",n.Favorites="favorites",n.FavoritesAdd="favorites-add",n.PresentationDownload="presentation-download",n.TalkRating="talk-rating",n.GiftTicketByLink="gift-ticket-by-link",n.GetMyPdfProgram="get-my-pdf-program",n),c=((r={}
2).COMPANY="company",r.UNIVERSITY="university",r),d=((i={}).UNAUTHENTICATED="unauthenticated",i.LOADING="loading",i.AUTHENTICATED="authenticated",i),p=((o={}).RUSSIAN_COMPANY="RUSSIAN_COMPANY",o.FOREIGN_COMPANY="FOREIGN_COMPANY",o.RUSSIAN_UNIVERSITY="RUSSIAN_UNIVERSITY",o.FOREIGN_UNIVERSITY="FOREIGN_UNIVERSITY",o.FREELANCE="FREELANCE",o.SLACKER="SLACKER",o),_=((a={}).OK="OK",a.RESTRICTED_EMAIL_DOMAINS="RESTRICTED_EMAIL_DOMAINS",a);e.s(["ActivityType",()=>p,"AuthEnterPointerTypes",()=>l,"AuthType",()=>u,"DomainResponseCode",()=>_,"OrganizationType",()=>c,"SessionStatus",()=>d,"isAuthResponseCode",0,e=>Object.values(s.ResponseCode).includes(e)])},95187,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={callServer:function(){return o.callServer},createServerReference:function(){return s.createServerReference},findSourceMapURL:function(){return a.findSourceMapURL}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let o=e.r(132120),a=e.r(92245),s=e.r(235326)},266840,e=>{e.v({footer:"index-module__EthvYq__footer"})},195460,368118,935278,e=>{"use strict";var t=e.i(843476),n=e.i(102305),r=e.i(657688);let i={md:48,lg:80},o={favorites:{src:"https://storage.yandexcloud.net/static.phdays.ru/phdays_public/icons/favorites.webp"},download:{src:"https://storage.yandexcloud.net/static.phdays.ru/phdays_public/icons/download.webp"},door:{src:"https://storage.yandexcloud.net/static.phdays.ru/phdays_public/icons/door.webp"},ticket:{src:"https://storage.yandexcloud.net/static.phdays.ru/phdays_public/icons/ticket.webp"},negative:{src:"https://storage.yandexcloud.net/static.phdays.ru/phdays_public/icons/negative.webp"},wait:{src:"https://storage.yandexcloud.net/static.phdays.ru/phdays_public/icons/wait.webp"},positive:{src:"https://storage.yandexcloud.net/static.phdays.ru/phdays_public/icons/positive.webp"},review:{src:"https://storage.yandexcloud.net/static.phdays.ru/phdays_public/icons/review.webp"}};e.s(["ILLUSTRATION_SIZES",0,i,"illustrationMap",0,o],368118),e.s(["Illustration",0,e=>{let{name:a,alt:s,className:u,size:l="lg"}=e,c=o[a];if(!c)return null;let d=i[l];return(0,t.jsx)(r.default,{className:(0,n.default)("shrink-0",u),src:c.src,alt:s||"",width:d,height:d})}],935278),e.s([],195460)},622825,e=>{e.v({header:"index-module__DjG9CW__header","icon-wrap":"index-module__DjG9CW__icon-wrap"})},441477,e=>{e.v({backdrop:"index-module__bsjmFq__backdrop","close-button":"index-module__bsjmFq__close-button",content:"index-module__bsjmFq__content",modal:"index-module__bsjmFq__modal"})},88701,e=>{"use strict";var t=e.i(843476),n=e.i(102305),r=e.i(88653),i=e.i(846932);e.i(140669);var o=e.i(496412),a=e.i(830354),s=e.i(426817),u=e.i(266840);e.i(195460);var l=e.i(935278),c=e.i(736179),d=e.i(622825),p=e.i(441477),_=e.i(271645);let g=e=>{let{open:s,onClose:u,modal:l=!0,theme:c,children:d}=e;return(e=>{let{open:t,modal:n,onClose:r}=e;(0,_.useEffect)(()=>(t&&document.body.classList.add("overflow-hidden"),()=>{document.body.classList.remove("overflow-hidden")}),[t,r]),(0,_.useEffect)(()=>{if(n&&t){let e=e=>{"Escape"===e.key&&r(e)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}},[r,n,t])})({open:s,modal:l,onClose:u}),(0,t.jsx)(r.AnimatePresence,{children:s&&(0,t.jsxs)(a.Portal,{children:[(0,t.jsx)(i.motion.div,{initial:{opacity:0}
2,animate:{opacity:1},exit:{opacity:0},onClick:u,className:(0,n.default)("backdrop-overlay",p.default.backdrop)}),(0,t.jsxs)(i.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:p.default.modal,"data-theme":c,children:[(0,t.jsx)("button",{className:p.default["close-button"],onClick:u,children:(0,t.jsx)(o.Icon,{name:"close",size:"xs"})}),(0,t.jsx)("div",{className:p.default.content,children:d})]})]})})};g.Header=e=>{let{title:n,illustration:r}=e;return(0,t.jsxs)("div",{className:d.default.header,children:[r&&(0,t.jsx)("div",{className:d.default["icon-wrap"],children:(0,t.jsx)(l.Illustration,{name:r})}),(0,t.jsx)(c.Heading,{tag:"h4",type:"headingM",children:n})]})},g.Footer=e=>{let{children:n}=e;return(0,t.jsx)("div",{className:u.default.footer,children:n})},g.Content=e=>{let{children:n}=e;return(0,t.jsx)("div",{className:"text-center",children:(0,t.jsx)(s.Text,{type:"bodyM",color:"primary",children:n})})},e.s(["Modal",0,g],88701)},484001,e=>{"use strict";var t=e.i(615891);let n={[t.AuthEnterPointerTypes.FavoritesAdd]:{descriptionKey:"Program.Talk.FavoritePrompt.Description",illustration:"favorites",titleKey:"Program.Talk.FavoritePrompt.Title"},[t.AuthEnterPointerTypes.PresentationDownload]:{descriptionKey:"Program.Talk.PresentationPrompt.Description",illustration:"download",titleKey:"Program.Talk.PresentationPrompt.Title"},[t.AuthEnterPointerTypes.TalkRating]:{descriptionKey:"Program.Talk.RatingPrompt.Description",illustration:"review",titleKey:"Program.Talk.RatingPrompt.Title"},[t.AuthEnterPointerTypes.Purchase]:{descriptionKey:"TicketButton.Pseudo.Label.PurchaseAuthDescription",illustration:"ticket",titleKey:"TicketButton.Pseudo.Label.PurchaseAuthTitle"}},r=[t.AuthType.SignupEmailConfirmation,t.AuthType.SignupRegistration],i=[t.AuthType.CFPBadRequestError,t.AuthType.CFPBadGatewayError,t.AuthType.CFPInternalServerError],o=[t.AuthType.Login,t.AuthType.Signup,t.AuthType.PasswordForget,t.AuthType.BlockedAccount,...i],a={[t.ActivityType.RUSSIAN_COMPANY]:"SignupRegistration.ActivityType.Option.WorkRussianCompany",[t.ActivityType.FOREIGN_COMPANY]:"SignupRegistration.ActivityType.Option.WorkForeignCompany",[t.ActivityType.RUSSIAN_UNIVERSITY]:"SignupRegistration.ActivityType.Option.StudyRussianUniversity",[t.ActivityType.FOREIGN_UNIVERSITY]:"SignupRegistration.ActivityType.Option.StudyForeignUniversity",[t.ActivityType.FREELANCE]:"SignupRegistration.ActivityType.Option.Freelance",[t.ActivityType.SLACKER]:"SignupRegistration.ActivityType.Option.Slacker"};e.s(["ACTIVITY_TYPES",0,a,"AUTH_CFP_CSRF_TOKEN_KEY",0,"cfp_csrf_token","AUTH_CSRF_TOKEN_KEY",0,"phdays_csrf_token","AUTH_MODAL_PRESETS",0,n,"AUTH_RESEND_CODE_TIMER_SECONDS",0,120,"AUTH_SCREENS_AVAILABLE",0,o,"AUTH_SCREENS_REQUIRE_CONFIRM_TO_CLOSE",0,r,"DADATA_NAME_SHORT_MAX_LENGTH",0,100,"DADATA_UNIVERSITY_OKVED_CODE",0,["85.22","85.22.1","85.22.2","85.22.3"],"DEBOUNCE_DELAY_MS",0,500,"FIELD_ADVERTISING_MESSAGES",0,"advertisingMessages","FIELD_COMPANY",0,"company","FIELD_COMPANY_ADDRESS",0,"companyAddress","FIELD_COMPANY_INN",0,"companyINN","FIELD_COMPANY_LEGAL_NAME",0,"companyLegalName","FIELD_COUNTRY",0,"country","FIELD_EMAIL",0,"email","FIELD_FIRST_NAME",0,"name","FIELD_INDUSTRY",0,"industry","FIELD_JOB_TITLE",0,"jobTitle","FIELD_JOB_TITLE_MAX_LENGTH",0,100,"FIELD_LOGIN",0,"login","FIELD_ORGANIZATION_MAX_LENGTH",0,1e3,"FIELD_PASSWORD",0,"password","FIELD_PHONE",0,"phone","FIELD_PRIVACY_POLICY",0,"privacyPolicy","FIELD_SPECIALTY",0,"specialty","FIELD_SPECIALTY_MAX_LENGTH",0,100,"FIELD_SURNAME",0,"surname","FIELD_TYPE_OF_ACTIVITY",0,"typeOfActivity","FIELD_UNIVERSITY",0,"university","FIELD_UNIVERSITY_ADDRESS",0,"universityAddress","FIELD_UNIVERSITY_INN",0,"universityINN","FIELD_UNIVERSITY_LEGAL_NAME",0,"universityLegalName","FIELD_VERIFY_CODE",0,"code","INDUSTRY_OPTIONS",0,["SignupRegistration.Industry.Option.IT","SignupRegistration.Industry.Option.Manufacturing","SignupRegistration.Industry.Option.FuelAndEnergy","SignupRegistration.Industry.Option.Education","SignupRegistration.Industry.Option.Transport","SignupRegistration.Industry.Option.Medicine","SignupRegistration.Industry.Option.Trade","SignupRegistration.Industry.Option.Government","SignupRegistration.Industry.Option.Services","SignupRegistration.Industry.Option.Other"],"LS_AUTH_ENTER_POINTER",0,"phdays:auth_enter_pointer","PROFILE_COMPANY_DATA_TEST_IDS",0,{industryContainer:"registration-industry-container",companyLegalNameContainer:"registration-tax-number-container",companyLegalNameInput:"registration-tax-number-input",companyInput:"registration-company-input",jobTitleInput:"registration-job-title-input"},"PROFILE_COMPANY_FOREIGN_DATA_TEST_IDS",0,{countryDropdown:"registration-country-container",industryContainer:"registration-foreign-industry-container",companyInput:"registration-foreign-company-input",jobTitleInput:"registration-foreign-job-title-input"},"PROFILE_UNIVERSITY_DATA_TEST_IDS",0,{universityInput:"registration-university-input",specialtyInput:"registration-speciality-input"},"PROFILE_UNIVERSITY_FOREIGN_DATA_TEST_IDS",0,{universityInput:"registration-foreign-university-input",specialtyInput:"registration-foreign-speciality-input"}])},141181,748871,e=>{"use strict";var t=e.i(618566),n=e.i(442367);let r=(e,r)=>{let{replace:i}=(0,n.useRouter)(),o=(0,t.useSearchParams)(),a=(0,n.usePathname)();return r?()=>{let t=new URLSearchParams(Array.from(o?.entries()||[]));t.set(e,String(r)),i(`${a}?${t.toString()}`,{scroll:!1})}:()=>{let t=new URLSearchParams(Array.from(o?.entries()||[]));t.delete(e),i(`${a}?${t.toString()}`,{scroll:!1})}};e.s(["useRouteParam",0,r],748871),e.s(["useAuthRouter",0,e=>r("auth",e)],141181)},351822,e=>{"use strict";var t=e.i(95187);let n=(0,t.createServerReference)("40c7484e6bc0f3f9fe1ad3e87b5e82252eba705fa1",t.callServer,void 0,t.findSourceMapURL,"getCountries");var r=e.i(271645);e.s(["useCountryList",0,(e,t)=>{let[i,o]=(0,r.useState)([]),a=async()=>{try{let t=await n({locale:e});if(!t)return;let r=t.map(e=>({label:e.attributes.country,value:e.attributes.countryCode}));o(r)}catch(e){throw e}};return(0,r.useEffect)(()=>{t||a()},[e,t]),i}],351822)},944682,180523,158698,409778,e=>{"use strict";e.i(141181);var t=e.i(271645);e.i(195460);var n=e.i(368118);let r=["favorites","download","review","ticket"];e.s(["usePrefetchIllustrations",0,()=>{(0,t.useEffect)(()=>{for(let e of r)new Image().src=n.illustrationMap[e].src},[])}],180523),e.i(247167);var i=e.i(558463),o=e.i(861745),a=e.i(948148),s=e.i(484001);let u=e.i(117595).default,l=e=>{let{access_token:t}=e;t&&u.set(s.AUTH_CSRF_TOKEN_KEY,t,{secure:!0})};
2e.s(["applyAuthTokensFromResponse",0,l,"getAuthTokenCookies",0,()=>({accessToken:u.get(s.AUTH_CSRF_TOKEN_KEY)??""}),"removeAuthTokenCookies",0,()=>{u.remove(s.AUTH_CSRF_TOKEN_KEY)}],158698),e.s(["useResendCode",0,e=>{let{functionApi:n,resendCodeParams:r}=e,u=(0,a.useTranslations)(),c=(0,o.useLocale)(),{timer:d,setTimer:p}=(e=>{let[n,r]=(0,t.useState)(e);return(0,t.useEffect)(()=>{n>0&&setTimeout(()=>r(n-1),1e3)},[n]),{timer:n,setTimer:r}})(s.AUTH_RESEND_CODE_TIMER_SECONDS),[_,g]=(0,t.useState)(!1),[h,m]=(0,t.useState)(""),[y,E]=(0,t.useState)(!1),[f,T]=(0,t.useState)(0),v=async e=>{try{let t=await n({captcha_token:e,...r},c);t.response_code===i.ResponseCode.Ok?(l(t),p(s.AUTH_RESEND_CODE_TIMER_SECONDS),m("")):m(u("Auth.ResendCode.Error.Text"))}catch(e){throw Error()}finally{g(!1),T(e=>e+1)}};return{timer:d,isLoading:_,handleResendCode:()=>{g(!0),E(!0)},errorMessage:h,sendingCaptcha:y,handleCaptchaError:()=>{E(!1),g(!1)},handleCaptchaSuccess:e=>{E(!1),v(e)},handleChallengeHidden:()=>{E(!1),g(!1),m(u("Forms.Status.Error.Captcha"))},captchaKey:f}}],409778),e.i(351822),e.s([],944682)},151813,e=>{e.v({"align-center":"index-module__vZjHZq__align-center","align-end":"index-module__vZjHZq__align-end","align-start":"index-module__vZjHZq__align-start","button-group":"index-module__vZjHZq__button-group","direction-col":"index-module__vZjHZq__direction-col","direction-row":"index-module__vZjHZq__direction-row","full-width":"index-module__vZjHZq__full-width","mobile-vertical":"index-module__vZjHZq__mobile-vertical"})},945618,e=>{"use strict";var t=e.i(843476),n=e.i(102305),r=e.i(151813);e.s(["ButtonGroup",0,e=>{let{fullWidth:i=!0,direction:o="row",mobileVertical:a=!1,align:s,children:u}=e;return(0,t.jsx)("div",{className:(0,n.default)(r.default["button-group"],r.default[`align-${s}`],r.default[`direction-${o}`],{[r.default["full-width"]]:i,[r.default["mobile-vertical"]]:a}),role:"group",children:u})}])},891569,e=>{"use strict";var t=e.i(843476),n=e.i(948148),r=e.i(949208),i=e.i(945618);e.i(195460);var o=e.i(935278),a=e.i(88701);e.s(["AuthRequiredModal",0,e=>{let{open:s,onClose:u,onLogin:l,onSignup:c,description:d,illustration:p,title:_,buttonSignupText:g,buttonLoginText:h}=e,m=(0,n.useTranslations)();return(0,t.jsxs)(a.Modal,{open:s,onClose:u,children:[p&&(0,t.jsx)("div",{className:"flex justify-center mb-5",children:(0,t.jsx)(o.Illustration,{name:p})}),(0,t.jsx)(a.Modal.Header,{title:_??m("Auth.AuthRequiredModal.Title.Text")}),(0,t.jsx)(a.Modal.Content,{children:d??m("Auth.AuthRequiredModal.Description.Text")}),(0,t.jsx)(a.Modal.Footer,{children:(0,t.jsxs)(i.ButtonGroup,{mobileVertical:!0,children:[(0,t.jsx)(r.Button,{color:"primary",onClick:c,children:g??m("Auth.AuthRequiredModal.Button.Signup")}),(0,t.jsx)(r.Button,{color:"third",onClick:l,children:h??m("Auth.AuthRequiredModal.Button.Login")})]})})]})}])},842821,701450,789969,e=>{"use strict";var t=e.i(843476),n=e.i(526732),r=e.i(271645);e.i(944682);var i=e.i(180523),o=e.i(615891),a=e.i(948148),s=e.i(891569),u=e.i(484001),l=e.i(141181),c=e.i(994865),d=e.i(966238);let p=e=>{let{isOpen:n,enterPointerRef:r,onClose:i,onConfirm:p}=e,_=(0,a.useTranslations)(),g=(0,l.useAuthRouter)(o.AuthType.Login),h=(0,l.useAuthRouter)(o.AuthType.Signup),m=r.current,y=m&&u.AUTH_MODAL_PRESETS[m],E=(e,t)=>n=>{n.stopPropagation(),p(),(0,d.ymReachGoal)(e,{enterPointer:r.current}),r.current&&localStorage.setItem(u.LS_AUTH_ENTER_POINTER,r.current),t()};return(0,t.jsx)(s.AuthRequiredModal,{description:y?.descriptionKey&&_(y.descriptionKey),illustration:y?.illustration,open:n,title:y?.titleKey&&_(y.titleKey),onClose:i,onLogin:E(c.CLICK_AUTH_REQUIRED_BUTTON_LOGIN,g),onSignup:E(c.CLICK_AUTH_REQUIRED_BUTTON_SIGNUP,h)})},_=(0,r.createContext)({withAuth:e=>{let{action:t}=e;return t()}});e.s(["AuthDefenderProvider",0,e=>{let{children:a}=e,{data:s,status:u}=(0,n.useSession)(),[,l]=(0,r.useTransition)(),[c,d]=(0,r.useState)(!1);(0,i.usePrefetchIllustrations)();let g=(0,r.useRef)(null),h=(0,r.useRef)(null),m=(0,r.useCallback)(e=>{let{action:t,enterPointer:n}=e;s?.jwt?t():(g.current=t,h.current=n??null,d(!0))},[s]);(0,r.useEffect)(()=>
2{if(!s?.jwt||u!==o.SessionStatus.AUTHENTICATED)return;let e=g.current;e&&(g.current=null,h.current=null,d(!1),l(async()=>{await e()}))},[s?.jwt,u,l]);let y=(0,r.useMemo)(()=>({withAuth:m}),[m]);return(0,t.jsxs)(_.Provider,{value:y,children:[a,(0,t.jsx)(r.Suspense,{children:(0,t.jsx)(p,{isOpen:c,enterPointerRef:h,onClose:e=>{e.stopPropagation(),g.current=null,h.current=null,d(!1)},onConfirm:()=>{d(!1)}})})]})}],701450),e.s(["useAuthDefender",0,()=>(0,r.useContext)(_)],789969),e.s([],842821)}]);
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.