PageSourceSearch

https://www.isicem.org/_next/static/chunks/pages/forms/login-2d1b73be39192cc2.js

js isicem.org collected 2026-10-09 17:50:45 UTC 9,237 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d2350f1c-0a83-4347-b74c-00541ba2983c",e._sentryDebugIdIdentifier="sentry-dbid-d2350f1c-0a83-4347-b74c-00541ba2983c")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3756],{5944:function(e,t,n){"use strict";n.d(t,{BX:function(){return a},tZ:function(){return i}});var r=n(5893),o=n(7685);n(7294),n(8711),n(8679),n(5662),n(7278),r.Fragment;var i=function(e,t,n){return o.h.call(t,"css")?r.jsx(o.E,(0,o.c)(e,t),n):r.jsx(e,t,n)},a=function(e,t,n){return o.h.call(t,"css")?r.jsxs(o.E,(0,o.c)(e,t),n):r.jsxs(e,t,n)}},6888:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/forms/login",function(){return n(8302)}])},1706:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(5893),o=n(6829),i=n(3813),a=n(9498);let l=o.Z.div(e=>{let{align:t,isRowOnMobile:n,noPaddingTop:r}=e;return{gap:15,width:"100%",display:"flex",flexWrap:"wrap",justifyContent:t===i.xM.Right?"flex-end":t===i.xM.Left?"flex-start":"center",marginTop:r?0:20,flexDirection:n?"row":"column",alignItems:t===i.xM.Center||n?"center":"flex-start",[a.mq[1]]:{alignItems:"center",flexDirection:"row"},[a.mq[2]]:{gap:20,marginTop:r?0:30},"a + a ":{marginLeft:n?15:0}}});var c=function(e){let{children:t,align:n=i.xM.Left,noPaddingTop:o=!1,isRowOnMobile:a=!1}=e;return(0,r.jsx)(l,{align:n,noPaddingTop:o,isRowOnMobile:a,children:t})}},5488:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var r=n(5944),o=n(5935),i=n(6829),a=n(1349),l=n(1176),c=n(9498),s=n(3813),d=n(7577);let u='url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="18px" viewBox="0 0 24 24" width="18px" fill="'.concat(a.aB.replace("#","%23"),'"><path d="').concat(l.Z.checked,"\"/></svg>')"),p=i.Z.label(e=>{let{type:t,withBorder:n,isReadOnly:r}=e;return{width:r?"auto":"100%",display:"flex",paddingBottom:10,flexDirection:"column",justifyContent:t===s.II.Text?"flex-end":"flex-start",position:"relative",[c.mq[1]]:{padding:"0 ".concat(15,"px")},a:{color:"inherit"},input:{color:a.R_,fontFamily:d.D,"&::placeholder":{fontSize:14,opacity:1,color:a.OB,[c.mq[2]]:{fontSize:15}},"&[type='checkbox']":{"&:before":{top:n?15:0,left:n?15:0,width:18,height:18,minWidth:18,content:'" "',borderRadius:5,marginRight:15,position:"relative",display:"inline-block",transition:"all 0.5s ease 0s",border:"1px solid ".concat(a.OB)}},"&:checked":{"&:before":{content:u,backgroundColor:a.rC,border:"1px solid ".concat(a.rC)}},"&[type='radio']":{"&:before":{top:n?15:0,left:n?15:0,width:18,height:18,minWidth:18,content:'" "',borderRadius:"50%",marginRight:15,position:"relative",display:"inline-block",transition:"all 0.5s ease 0s",border:"1px solid ".concat(a.OB)},"&:checked":{"&:before":{backgroundColor:a.rC,border:"1px solid ".concat(a.rC)}}}},"&[type='checkbox'] > span, &[type='radio'] > span":{paddingLeft:35,paddingBottom:0},"@media screen and (-webkit-min-device-pixel-ratio:0)":{"select, textarea, input":{fontSize:16}}}}),f=i.Z.span(e=>{let{withBorder:t}=e;return{opacity:1,fontSize:14,fontWeight:500,display:"block",cursor:"pointer",padding:t?"15px 15px 15px 50px !important ":"0 0 5px",alignItems:"center",color:a.lB,transition:"all 0.2s ease",borderRadius:10,border:t?"1px solid ".concat(a.OB):"","> strong, > span":{display:"block"},[c.mq[2]]:{fontSize:15}}});var x=e=>{let{label:t,htmlFor:n,children:i,isReadOnly:a=!1,withBorder:l=!1,type:c=s.II.Text}=e;return(0,r.BX)(p,{htmlFor:n,type:c,withBorder:l,isReadOnly:a,children:[t&&!a&&(0,r.tZ)(f,{withBorder:l,children:(0,o.ZP)(t)}),i&&i]})}},5941:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(5944),o=n(5935),i=n(6829),a=n(1349),l=n(7577);let c=i.Z.div(e=>{let{isError:t,isDetails:n,isValid:r,isSecondary:o,theme:i}=e;return{width:"100%",fontWeight:n?400:600,fontFamily:l.D,fontSize:n?"0.9em":"1em",marginTop:n?15:0,textAlign:n?"left":o?"center":"right",color:o?a.aB:t?a.Pk:r?a.rC:i.defaultTextColor,a:{color:"inherit"}}});var s=n(184),d=e=>
1{let{message:t,isDetails:n=!1,isError:i=!1,isValid:a=!1,isSecondary:l=!1}=e,{theme:d}=(0,s.F)();return(0,r.tZ)(c,{theme:d,isValid:a,isError:i,isDetails:n,isSecondary:l,children:(0,o.ZP)(t)})}},7709:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(5944),o=n(6829),i=n(9498),a=n(3813);let l=o.Z.div(e=>{let{align:t,noMarginTop:n}=e;return{display:"flex",flexWrap:"wrap",paddingTop:n?0:15,flexDirection:"row",justifyContent:t===a.xM.Center?"center":"flex-start",[i.mq[1]]:{margin:"0 -".concat(15,"px"),flexWrap:"nowrap",paddingTop:n?5:15},[i.mq[2]]:{paddingTop:n?5:20},[i.mq[3]]:{paddingTop:n?10:30}}});var c=e=>{let{children:t,noMarginTop:n=!1,align:o=a.xM.Left}=e;return(0,r.tZ)(l,{align:o,noMarginTop:n,children:t})}},519:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(5944),o=n(7294),i=n(6829),a=n(1349),l=n(9498),c=n(7577);let s=i.Z.form(e=>{let{isDark:t,isSmall:n,theme:r}=e;return{display:"flex",flexDirection:"column",fontFamily:c.D,margin:"30px auto 0px",width:"100%",[l.mq[1]]:{width:n?500:"100%"},[l.mq[2]]:{width:n?"50%":"100%"},"input[type='text'], input[type='email'], input[type='password'], textarea, select":{padding:15,paddingTop:10,width:"100%",borderRadius:5,fontSize:"inherit",lineHeight:"1.5em",color:r.input,fontFamily:c.D,paddingBottom:10,appearance:"none",border:"1px solid ".concat(r.borderInput),backgroundColor:r.backgroundInput,"@media screen and (-webkit-min-device-pixel-ratio:0)":{fontSize:16},"&:-webkit-autofill":{backgroundClip:"content-box",textFillColor:t?a.aB:a.hx,boxShadow:"0 0 0 1000px ".concat(t?a.Gr:a.aB," inset !important")},"&:focus":{outlineColor:a.Fz},"& + span":{color:t?a.aB:a.lB},"&[readOnly]":{border:0,padding:0,color:t?a.aB:a.hx}},"input[type='text'] + input[type='text']":{marginTop:15},"input[type='checkbox'], input[type='radio']":{width:0,height:0,position:"absolute"},"input:focus, textarea:focus":{outline:"none",border:"1px solid ".concat(t?a.R_:a.lB)},"input:not(:placeholder-shown):invalid":{border:"1px solid ".concat(a.Pk)},select:{flex:1,maxWidth:"100%",color:r.input,appearance:"none",textTransform:"none",fontFamily:c.D,backgroundColor:r.backgroundInput,border:"1px solid ".concat(r.borderInput),"&:required:invalid":{color:a.OB},'option[value=""][disabled]':{display:"none"},"&:focus":{outline:0,border:"1px solid ".concat(a.R_)}}}});var d=n(184),u=e=>{let{isReset:t,children:n,isDark:i=!1,isSmall:a=!1,setFormValid:l}=e,c=(0,o.useRef)(null),{theme:u}=(0,d.F)();return(0,o.useEffect)(()=>{t&&c.current.reset()},[t]),(0,r.tZ)(s,{ref:c,isDark:i,isSmall:a,onChange:()=>l&&l(c.current.checkValidity()),theme:u,children:n})}},8302:function(e,t,n){"use strict";n.r(t);var r=n(5893),o=n(7294),i=n(9119),a=n(519),l=n(1280),c=n(1706),s=n(7709),d=n(5488),u=n(5941),p=n(3813),f=n(3962),x=n(8189),h=n(3906);t.default=()=>{let{t:e}=(0,i.$G)("login"),[t,n]=(0,o.useState)(),[g,m]=(0,o.useState)(),[b,y]=(0,o.useState)(!1),[w,v]=(0,o.useState)(!1),[k,I]=(0,o.useState)(!1),[_,T]=(0,o.useState)(!1),{currentEventID:O}=(0,x.Z)(),{loginForEvent:S}=(0,h.a)(),C=async()=>{T(!0);let e=await fetch("".concat(f.QH.login,"?login=").concat(t,"&Pwd=").concat(g,"&EventId=").concat(O),{method:"POST",headers:{"Content-Type":"application/json"}});if(200===e.status)try{S(await e.text()),T(!1),v(!0)}catch(e){T(!1),I(!0)}else T(!1),I(!0)};return(0,r.jsxs)(a.Z,{isSmall:!0,setFormValid:y,isReset:w,children:[(0,r.jsx)(s.Z,{children:(0,r.jsx)(d.Z,{htmlFor:"username",children:(0,r.jsx)("input",{required:!0,type:"text",id:"username",placeholder:e("form.username.placeholder"),onChange:e=>{let{target:{value:t}}=e;return n(t)}})})}),(0,r.jsx)(s.Z,{children:(0,r.jsx)(d.Z,{htmlFor:"password",children:(0,r.jsx)("input",{required:!0,id:"password",type:"password",placeholder:e("form.password.placeholder"),onChange:e=>{let{target:{value:t}}=e;return m(t)}})})}),(0,r.jsxs)(c.Z,{align:p.xM.Center,children:[k&&(0,r.jsx)(u.Z,{message:e("form.error"),isError:!0,isSecondary:!0}),(0,r.jsx)(l.Z,{onClick:C,isDisabled:!b,isLoading:_,label:e("form.buttons.send"),trackingEvent:"button_click",trackingCategory:"authentication",trackingLabel:"login-form-submit"})]})]})}},3906:function(e,t,n){"use strict";n.d(t,{a:function(){return i}});var r=n(919),o=n(7294);let i=()=>{let{getUserForEvent:e,setUserForEvent:t}=(0,o.useContext)(r.V);return{isAuthenticatedForEvent:t=>!!e(t),getUserForEvent:e,loginForEvent:e=>{let n=JSON.parse(e)[0];if(n.LOG_EVTID<=-1||n.LOG_PARID<=-1||n.LOG_PROFID<=-1)throw Error("Authentication failed");let r={eventId:n.LOG_EVTID,eventType:n.LOG_EVTTYPE,firstname:n.LOG_FIRSTNAME,internalId:n.LOG_INTID,lastname:n.LOG_LASTNAME,participantId:n.LOG_PARID,professionalId:n.LOG_PROFID,profileName:n.LOG_PROFILENAME,status:n.LOG_STATUS,title:n.LOG_TITLE,hasAccessToSessions:1===n.LOG_VIEWPRES};t(r,r.eventId),localStorage.setItem("token-".concat(r.eventId),JSON.stringify(r))},logoutForEvent:e=>{t(void 0,e),localStorage.removeItem("token-".concat(e))}}}},8189:function(e,t,n){"use strict";var r=n(7294),o=n(6487);t.Z=()=>(0,r.useContext)(o.k)}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=6888)}),_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.