PageSourceSearch

https://fossilsketch.org/_next/static/chunks/pages/register_instructor-57a871be8bd5bab1.js

js fossilsketch.org collected 2026-10-09 00:41:48 UTC 10,197 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6903],{7207:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/register_instructor",function(){return t(4058)}])},780:function(e,r,t){"use strict";var o=t(2322),s=(t(2784),t(9094)),n=t(5117),a=t(2040),l=t.n(a);r.Z=function(e){var r=e.links;return(0,o.jsx)(s.M,{children:(0,o.jsx)("div",{className:l().footer_links_container,children:r.map((function(e,r){return(0,o.jsxs)(n.x,{className:l().footer_link,children:[e.text,(0,o.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",children:e.linkText})]},r)}))})})}},7903:function(e,r,t){"use strict";var o=t(2322),s=(t(2784),t(9094)),n=t(5117),a=t(2040),l=t.n(a),i=t(6577),f=t.n(i);r.Z=function(){return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.M,{className:l().footer_logo,children:(0,o.jsxs)("div",{className:l().footer_logo_rows,children:[(0,o.jsxs)("div",{className:l().footer_logo_row,children:[(0,o.jsx)("a",{href:"https://srltamu.com/",target:"_blank",rel:"noopener noreferrer",children:(0,o.jsx)(f(),{src:"/logos/srl-logo.png",alt:"SRL logo",width:300,height:75})}),(0,o.jsx)("a",{href:"https://www.nsf.gov/",target:"_blank",rel:"noopener noreferrer",children:(0,o.jsx)(f(),{src:"/logos/nsf-logo.png",alt:"NSF logo",width:75,height:75})}),(0,o.jsx)("a",{href:"https://lead-lab.engr.tamu.edu/",target:"_blank",rel:"noopener noreferrer",children:(0,o.jsx)(f(),{src:"/logos/lead.png",alt:"LEAD Lab logo",width:355,height:250})})]}),(0,o.jsx)("div",{className:l().footer_logo_row,children:(0,o.jsx)("a",{href:"https://artsci.tamu.edu/geology-geophysics/index.html",target:"_blank",rel:"noopener noreferrer",children:(0,o.jsx)(f(),{src:"/logos/geology.png",alt:"Department of Geology and Geophysics logo",width:300,height:75})})})]})}),(0,o.jsx)(s.M,{children:(0,o.jsxs)(n.x,{className:l().footer_text,children:["This work was supported by the U.S. National Science Foundation under grant"," ",(0,o.jsx)("span",{style:{fontStyle:"italic"},children:"\u201cImproving undergraduate student critical thinking and ability to solve environmental problems with fossil records through FossilSketch application\u201d"})," ","(Award # 2337105)"]})})]})}},7444:function(e,r,t){"use strict";var o=t(2322),s=(t(2784),t(9094)),n=t(6577),a=t.n(n);r.Z=function(e){var r=e.width,t=void 0===r?400:r,n=e.height,l=void 0===n?140:n,i=e.link,f=void 0===i?"/":i;return(0,o.jsx)(s.M,{children:(0,o.jsx)("a",{href:f,children:(0,o.jsx)(a(),{src:"/logos/logo.png",alt:"FossilSketch logo",width:t,height:l})})})}},4058:function(e,r,t){"use strict";t.r(r);var o=t(865),s=t(6670),n=t(2322),a=t(9094),l=t(1017),i=t(9236),f=t(50),c=t(5117),d=t(3193),u=t(6720),_=t(7841),m=t(1019),g=t(3575),h=t(7444),p=t(780),x=t(7903),w=t(2040),y=t.n(w),b=t(2589),j=[{label:"First Name",type:"text",name:"firstName"},{label:"Last Name",type:"text",name:"lastName"},{label:"Email",type:"email",name:"email"},{label:"Password",type:"password",name:"password"},{label:"Confirm Password",type:"password",name:"confirmPassword"}],v=[{text:"Already have an account? ",href:"/",linkText:"LOGIN"}];r.default=function(){var e=(0,m.c)({initialValues:{firstName:"",lastName:"",email:"",password:"",confirmPassword:""},validate:{confirmPassword:function(e,r){return e!==r.password?"Passwords do not match":null}}}),r=b.S.useMutation("register.instructorRegistration").mutate;return(0,n.jsxs)("div",{className:y().background,children:[(0,n.jsx)(h.Z,{}),(0,n.jsx)(a.M,{children:(0,n.jsxs)(l.Z,{sx:{width:"50%"},withBorder:!0,className:y().card,children:[(0,n.jsx)(i.D,{className:y().card_title,children:"Register as Instructor"}),(0,n.jsxs)("form",{onSubmit:e.onSubmit((function(){r((0,o.Z)({},e.values),{onSuccess:function(){(0,g.c0)({id:"registrationSuccessful",title:"Success",message:"Successfully registered as instructor. You can login now",color:"green",autoClose:5e3}),e.reset()},onError:function(e){var r=e.message||"An error occurred while creating your instructor account";(0,g.c0)({id:"registrationUnSuccessful",title:"Error",message:r,color:"red",autoClose:5e3})}})})),children:[(0,n.jsx)(f.r,{children:j.map((function(r,t){return(0,n.jsxs)(f.r.Col,{span:6,style:{margin:"0",padding:"0 .3rem"},children:[(0,n.jsx)(c.x,{className:y().input_label,children:r.label}),"password"===r.type?(0,n.jsx)(d.W,(0,s.Z)((0,o.Z)({name:r.name},e.getInputProps(r.name)),{required:!0,variant:"unstyled",className:y().input_text})):(0,n.jsx)(u.I,(0,s.Z)((0,o.Z)({type:r.type,name:r.name},e.getInputProps(r.name)),{required:!0,variant:"unstyled",className:y().input_text}))]},t)}))}),(0,n.jsx)(a.M,{children:(0,n.jsx)(_.z,{type:"submit",size:"md",mt:"md",radius:"md",variant:"filled",children:"REGISTER"})})]})]})}),(0,n.jsx)(p.Z,{links:v}),(0,n.jsx)(x.Z,{})]})}},2040:function(e){e.exports={background:"auth_forms_background__y7wEf",logo_top:"auth_forms_logo_top__gjdxt",login_center:"auth_forms_login_center__1jCVW",card:"auth_forms_card__0fJjg",preview_cta:"auth_forms_preview_cta__wGRhX",card_title:"auth_forms_card_title__6cTxp",input_label:"auth_forms_input_label__g0tpL",input_text:"auth_forms_input_text__233zB",button_container:"auth_forms_button_container__yDDc6",footer_links_container:"auth_forms_footer_links_container__Uyw_H",footer_link:"auth_forms_footer_link__mY0k6",footer_logo:"auth_forms_footer_logo__SkI9P",footer_logo_rows:"auth_forms_footer_logo_rows__MAr5_",footer_logo_row:"auth_forms_footer_logo_row__TDqXw",footer_text:"auth_forms_footer_text__59aka",registration_drawer:"auth_forms_registration_drawer__9nD7U",forgot_password_drawer:"auth_forms_forgot_password_drawer__s3p0o",emailButton:"auth_forms_emailButton__ykzC0",hero_row:"auth_forms_hero_row__FpP1s",spin:"auth_forms_spin__zj9Sb",pulse:"auth_forms_pulse__S7qv4",float:"auth_forms_float__JcG9U"}},50:function(e,r,t){"use strict";t.d(r,{r:function(){return I}});var o=t(2784),s=t(4761);const n=(0,o.createContext)(null),a=n.Provider;var l=t(7447),i=t(6817),f=Object.defineProperty,c=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,_=(e,r,t)=>r in e?f(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,m=(e,r)=>{for(var t in r||(r={}))d.call(r,t)&&_(e,t,r[t]);if(c)for(var t of c(r))u.call(r,t)&&_(e,t,r[t]);return e};const g=(e,r)=>"content"===e?"auto":"auto"===e?"0px":e?100/(r/e)+"%":void 0,h=(e,r,t)=>t||"auto"===e||"content"===e?"unset":g(e,r),p=(e,r)=>{if(e)return"auto"===e||r?1:0},x=(e,r)=>e?100/(r/e)+"%":void 0;
1function w({sizes:e,offsets:r,orders:t,theme:o,columns:s,grow:n}){return l.j1.reduce(((a,l)=>(a[`@media (min-width: ${o.breakpoints[l]+1}px)`]={order:t[l],flexBasis:g(e[l],s),flexShrink:0,width:"content"===e[l]?"auto":void 0,maxWidth:h(e[l],s,n),marginLeft:x(r[l],s),flexGrow:p(e[l],n)},a)),{})}var y=(0,i.k)(((e,{gutter:r,grow:t,offset:o,offsetXs:s,offsetSm:n,offsetMd:a,offsetLg:l,offsetXl:i,columns:f,span:c,xs:d,sm:u,md:_,lg:y,xl:b,order:j,orderXs:v,orderSm:N,orderMd:k,orderLg:S,orderXl:O})=>({root:m({boxSizing:"border-box",flexGrow:p(c,t),order:j,padding:e.fn.size({size:r,sizes:e.spacing})/2,marginLeft:x(o,f),flexBasis:g(c,f),flexShrink:0,width:"content"===c?"auto":void 0,maxWidth:h(c,f,t)},w({sizes:{xs:d,sm:u,md:_,lg:y,xl:b},offsets:{xs:s,sm:n,md:a,lg:l,xl:i},orders:{xs:v,sm:N,md:k,lg:S,xl:O},theme:e,columns:f,grow:t}))}))),b=t(4459),j=Object.defineProperty,v=Object.getOwnPropertySymbols,N=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable,S=(e,r,t)=>r in e?j(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;const O={offset:0,offsetXs:0,offsetSm:0,offsetMd:0,offsetLg:0,offsetXl:0};const P=(0,o.forwardRef)(((e,r)=>{const t=(0,s.N4)("Grid.Col",O,e),{children:a,span:l,offset:i,offsetXs:f,offsetSm:c,offsetMd:d,offsetLg:u,offsetXl:_,xs:m,sm:g,md:h,lg:p,xl:x,order:w,orderXs:j,orderSm:P,orderMd:X,orderLg:E,orderXl:L,className:M,id:C,unstyled:z}=t,G=((e,r)=>{var t={};for(var o in e)N.call(e,o)&&r.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&v)for(var o of v(e))r.indexOf(o)<0&&k.call(e,o)&&(t[o]=e[o]);return t})(t,["children","span","offset","offsetXs","offsetSm","offsetMd","offsetLg","offsetXl","xs","sm","md","lg","xl","order","orderXs","orderSm","orderMd","orderLg","orderXl","className","id","unstyled"]),I=(0,o.useContext)(n);if(!I)throw new Error("[@mantine/core] Grid.Col was used outside of Grid context");const Z=l||I.columns,{classes:R,cx:T}=y({gutter:I.gutter,offset:i,offsetXs:f,offsetSm:c,offsetMd:d,offsetLg:u,offsetXl:_,xs:m,sm:g,md:h,lg:p,xl:x,order:w,orderXs:j,orderSm:P,orderMd:X,orderLg:E,orderXl:L,grow:I.grow,columns:I.columns,span:Z},{unstyled:z,name:"Col"});return!function(e){return"auto"===e||"content"===e||"number"===typeof e&&e>0&&e%1===0}(Z)||Z>I.columns?null:o.createElement(b.x,((e,r)=>{for(var t in r||(r={}))N.call(r,t)&&S(e,t,r[t]);if(v)for(var t of v(r))k.call(r,t)&&S(e,t,r[t]);return e})({className:T(R.root,M),ref:r},G),a)}));P.displayName="@mantine/core/Col";var X=(0,i.k)(((e,{justify:r,align:t,gutter:o})=>({root:{margin:-e.fn.size({size:o,sizes:e.spacing})/2,display:"flex",flexWrap:"wrap",justifyContent:r,alignItems:t}}))),E=Object.defineProperty,L=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,z=(e,r,t)=>r in e?E(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;const G={gutter:"md",justify:"flex-start",align:"stretch",columns:12},I=(0,o.forwardRef)(((e,r)=>{const t=(0,s.N4)("Grid",G,e),{gutter:n,children:l,grow:i,justify:f,align:c,columns:d,className:u,id:_,unstyled:m}=t,g=((e,r)=>{var t={};for(var o in e)M.call(e,o)&&r.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&L)for(var o of L(e))r.indexOf(o)<0&&C.call(e,o)&&(t[o]=e[o]);return t}
1)(t,["gutter","children","grow","justify","align","columns","className","id","unstyled"]),{classes:h,cx:p}=X({gutter:n,justify:f,align:c},{unstyled:m,name:"Grid"});return o.createElement(a,{value:{gutter:n,grow:i,columns:d}},o.createElement(b.x,((e,r)=>{for(var t in r||(r={}))M.call(r,t)&&z(e,t,r[t]);if(L)for(var t of L(r))C.call(r,t)&&z(e,t,r[t]);return e})({className:p(h.root,u),ref:r},g),l))}));I.Col=P,I.displayName="@mantine/core/Grid"}},function(e){e.O(0,[6577,7216,4103,9774,2888,179],(function(){return r=7207,e(e.s=r);var r}));var r=e.O();_N_E=r}]);

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.