PageSourceSearch

https://schoolhouse.world/_next/static/chunks/pages/parent-consent-9a683ff0db5d681e.js

js schoolhouse.world collected 2026-09-24 09:14:23 UTC 2,976 bytes, 3 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5613],{53946:(e,n,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/parent-consent",function(){return t(81131)}])},81131:(e,n,t)=>{"use strict";t.r(n),t.d(n,{__N_SSP:()=>v,default:()=>w});var r=t(18153),i=t(16425),a=t(76032),s=t(91921),o=t(82736),c=t(14232),l=t(74175),d=t(9496),h=t(91141),u=t(92418),p=t(49783),m=t(46860),b=t(41130),g=t(46862);function f(e){let{childUserId:n,childFirstName:t}=e,i=(0,b._)(),[u,p]=(0,c.useState)(!1),f=[{display:"display",type:"content",name:"consent_explanation",content:(0,r.FD)(a.B,{spacing:"16px",children:[(0,r.Y)(s.E,{children:"We regularly conduct research at Schoolhouse to better understand and improve tutoring. We use information your child provides—such as feedback, assessments, attendance, and Zoom audio or chat—for research. Some data may be shared with trusted research partners (e.g., Stanford University or College Board). Any research results shared publicly will be combined or de-identified so your child cannot be identified."}),(0,r.Y)(m.A,{href:(0,h.getArticleUrl)("research-study-details"),isExternal:!0,children:"Read more here"})]}),size:6},{type:"multi-checkbox",name:"consent_agreement",label:"Provide Consent",options:[{value:"agreed",label:`I agree to the use and sharing of my child’s data with trusted research
2            partners as described above`}],required:!0,size:6}],[_]=(0,l.A)(async e=>{let t=e.consent_agreement,r=t?.includes("agreed")??!1;await d.Ay.UNSAFE_submitParentConsent({childUserId:n,consented:r}),p(!0),i({title:"Parent consent completed",status:"success"})},[n,i],"Submit parent consent");return u?(0,r.FD)(a.B,{spacing:"24px",children:[(0,r.Y)(o.D,{size:"2xl",children:"Parent consent completed!"}),(0,r.FD)(s.E,{children:["Thank you for completing the parent consent form. ",t," can now participate in the program."]})]}):(0,r.FD)(a.B,{spacing:"24px",children:[(0,r.Y)(o.D,{size:"2xl",children:"Data Sharing for Research"}),(0,r.Y)(g.A,{name:"Parent Consent",blocks:f,onSubmit:_,submitButtonText:"Submit Consent"})]})}function _(e){return(0,r.Y)(p.A,{title:"Parent Consent",children:(0,r.Y)(u.A,{maxWidth:"800px",children:(0,r.Y)(f,{...e})})})}let y=(0,i.A)(function(e){return(0,r.Y)(_,{...e})},{onboardingUsers:"allowed"});var v=!0;let w=y},92418:(e,n,t)=>{"use strict";t.d(n,{A:()=>s});var r=t(18153),i=t(39955),a=t(42720);function s({children:e,bg:n,py:t,px:o,maxWidth:c,centerContent:l,borderRadius:d,coverViewport:h=!1,bgComponent:u=null}){return(0,r.FD)(i.a,{bg:n,py:t,px:o,width:"100%",minHeight:h?"100vh":void 0,borderRadius:d,position:"relative",children:[null!=u?(0,r.Y)(i.a,{width:`calc(100% - 2 * ${o??"0px"})`,height:`calc(100% - 2 * ${t??"0px"})`,position:"absolute",overflow:"visible",children:u}):null,(0,r.Y)(a.m,{maxWidth:c,centerContent:l,position:"relative",children:e})]})}}},e=>{e.O(0,[6425,636,6593,8792],()=>e(e.s=53946)),_N_E=e.O()}]);
3//# sourceMappingURL=parent-consent-9a683ff0db5d681e.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.