1"use strict"; 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="51613dd7-41a1-506c-a077-e56341bbc727")}catch(e){}}(); 3(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8545],{1097:(e,t,n)=>{n.d(t,{b:()=>r});var i=n(45023),a=n(7528);let r=e=>{let{invalid:t,style:n,type:r,...s}=e;return(0,i.Y)(a.A_,{type:r||"text",style:{...n,display:"block"},error:t,fullWidth:!0,inputProps:{"data-cy":"labeled-text-input"},...s})}},9223:(e,t,n)=>{n.d(t,{W:()=>l});var i=n(45023),a=n(2004),r=n.n(a),s=n(36439);class l extends s.Component{render(){return(0,i.FD)("div",{className:r().dynamic([["c952b8f945b68b08",[this.props.width?this.props.width:"360",this.props.center?"0":"-10%",this.props.height]]])+" sharedContainer",children:[this.props.children,(0,i.Y)(r(),{id:"c952b8f945b68b08",dynamic:[this.props.width?this.props.width:"360",this.props.center?"0":"-10%",this.props.height],children:`.sharedContainer.__jsx-style-dynamic-selector{width:90%;max-width:${this.props.width?this.props.width:"360"}px;margin:auto;position:absolute;top:${this.props.center?"0":"-10%"};bottom:0;left:0;right:0;height:${this.props.height}px}`})]})}}},14162:(e,t,n)=>{n.d(t,{B:()=>o});var i=n(45023),a=n(2004),r=n.n(a);n(36439);var s=n(9223),l=n(80328),d=n(88075);function o({disableSiteDesign:e,headerText:t,headerImage:n,children:a,...c}){let h=(0,d.R)();return e?(0,i.FD)(s.W,{...c,children:[n,(0,i.Y)("section",{children:(0,i.Y)(l.n,{text:t})}),a]}):(0,i.FD)("div",{className:"jsx-bafd874e9de19258 siteDesignBackground",children:[(0,i.FD)("div",{className:"jsx-bafd874e9de19258 siteDesignCard",children:[(0,i.FD)("div",{className:"jsx-bafd874e9de19258",children:[n,(0,i.Y)("section",{className:"jsx-bafd874e9de19258",children:(0,i.Y)(l.n,{text:t,color:h.headingColor})})]}),(0,i.Y)("div",{className:"jsx-bafd874e9de19258 siteDesignCardContent",children:a})]}),(0,i.Y)(r(),{id:"bafd874e9de19258",children:".siteDesignBackground.jsx-bafd874e9de19258{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding-block:16px}.siteDesignCard.jsx-bafd874e9de19258{width:min(408px,90%);min-height:514px;display:grid;grid-template-rows:auto 1fr;align-items:center;margin:0 auto;background-color:#fff;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.06);padding:32px 24px}.siteDesignCardContent.jsx-bafd874e9de19258{min-width:0}.siteDesignCard.jsx-bafd874e9de19258 button:disabled{opacity:.25}"})]})}},25310:(e,t,n)=>{n.d(t,{RP:()=>g,a0:()=>Y,hi:()=>m,hz:()=>b,kp:()=>j,tX:()=>y});var i=n(45023),a=n(2004),r=n.n(a),s=n(36439),l=n(90524),d=n(15316),o=n(97363),c=n(7528),h=n(1097),p=n(70674),u=n(35999);let m={isEuChild:!1,parentEmail:""},f=(e,t)=>!!t&&""!==e.parentEmail.trim()&&(0,o.zf)(t,e.parentEmail),g=(e,t={})=>{if(!e.isEuChild)return!0;let n=e.parentEmail.trim();return""===n?!0===t.parentEmailOptional:(0,o.B9)(n)&&!f(e,t.childEmail)},b=e=>{if(!e.isEuChild)return{isEuChild:!1};let t=e.parentEmail.trim();return""===t?{isEuChild:!0}:{isEuChild:!0,parentEmail:t}},x={},y=()=>{let[e,t]=(0,s.useState)(m);return{value:e,setValue:t}},v=({value:e,onChange:t,ctaColor:n,rules:a=x,parentEmailError:s,consentGranted:u=!1})=>{let{t:m}=(0,l.B)(["components/organisms/signup"]),g=e.parentEmail,b=f(e,a.childEmail),y=g.length>0&&!(0,o.B9)(g.trim())||b,v=b||"same-as-child"===s?m("The parent or guardian's email address must be different from your own email address"):"required"===s?m("We could not find a consent for this sign-up. Please enter your parent or guardian's email address."):a.parentEmailOptional?m("You can leave this blank if your parent or guardian has already given consent"):void 0;return(0,i.FD)("section",{"data-testid":"parental-consent-form",className:"jsx-19e17d63d8607846",children:[(0,i.FD)("div",{className:"jsx-19e17d63d8607846 consent-checkbox",children:[(0,i.Y)(c.Sc,{checked:e.isEuChild,onChange:n=>t({...e,isEuChild:n.target.checked}),value:"isEuChild",color:"primary",style:(0,p.x5)(e.isEuChild,n),inputProps:{"aria-label":m("I live in the EU and am under {{age}} years old",{age:d.J4})}}),(0,i.Y)("span",{className:"jsx-19e17d63d8607846 consent-text",children:m("I live in the EU and am under {{age}} years old",{age:d.J4})})]}),e.isEuChild&&u&&(0,i.Y)("div",{"data-testid":"parental-consent-granted-note",className:"jsx-19e17d63d8607846 consent-info",children:m("Your parent or guardian has already given consent. You can sign up right away.")}),e.isEuChild&&!u&&(0,i.FD)("div",{className:"jsx-19e17d63d8607846 consent-parent",children:[(0,i.Y)("div",{className:"jsx-19e17d63d8607846 consent-info",children:m("Under the GDPR, we need consent from your parent or guardian before creating your account. We will send them an email with a consent link. Your account is created only after they consent.")}),(0,i.Y)("div",{className:"jsx-19e17d63d8607846 form-group",children:(0,i.Y)(h.b,{type:"email",label:m("Parent or guardian's email address"),value:g,onChange:n=>t({...e,parentEmail:n.target.value}),invalid:y||void 0!==s,helperText:v,required:!a.parentEmailOptional,"data-cy":"parental-consent-parent-email-input"})})]}),(0,i.Y)(r(),{id:"19e17d63d8607846",children:".consent-checkbox.jsx-19e17d63d8607846{margin-top:16px}.consent-text.jsx-19e17d63d8607846{vertical-align:middle;font-size:12px}.consent-info.jsx-19e17d63d8607846{color:#909090;font-size:12px;margin:8px 0 12px}"})]})},Y=e=>{let{brand:t}=(0,u.P)();return t?.featureFlags?.gdprParentalConsent?(0,i.Y)(v,{...e}):null},j=({resume:e})=>{let{t}=(0,l.B)(["components/organisms/signup"]);return(0,i.FD)("section",{"data-testid":"parental-consent-sent-notice",className:"jsx-f06266846e34e62e text-center",children:[(0,i.Y)("p",{className:"jsx-f06266846e34e62e sent-title",children:t("We have sent a consent request to your parent or guardian")}),(0,i.Y)("p",{className:"jsx-f06266846e34e62e sent-body",children:t("sso-login"===e?"Your account will be created after they consent. Once they have consented, log in again from the community URL to continue signing up.":"Your account will be created after they consent. Once they have consented, open the link in the notification email (or this sign-up page) to sign up again.")}),(0,i.Y)(r(),{id:"f06266846e34e62e",children:".sent-title.jsx-f06266846e34e62e{font-weight:bold;margin-top:24px}.sent-body.jsx-f06266846e34e62e{font-size:12px;color:#909090}"})]})}},32657:(e,t,n)=>{n.d(t,{J:()=>s});var i=n(45023),a=n(36439),r=n(35064);function s(){return(0,i.Y)(a.Fragment,{children:"ja"===r.Ay.language?(0,i.FD)(i.FK,{children:["ä¸ã®ç»é²ãã¿ã³ãæ¼ããã¨ã«ããã",(0,i.Y)("br",{}),(0,i.Y)("a",{href:"/view/settings/membership_agreement",target:"_blank",children:"å©ç¨è¦ç´"}),"ããã³",(0,i.Y)("a",{href:"/view/settings/cookie_policy",target:"_blank",children:"Cookieã®ä½¿ç¨"}),"ãå«ã",(0,i.Y)("a",{href:"/view/settings/privacy_policy",target:"_blank",children:"ãã©ã¤ãã·ã¼ããªã·ã¼"}),"ã«",(0,i.Y)("br",{}),"åæãããã¨ã«ãªãã¾ãã"]}):(0,i.FD)(i.FK,{children:['By clicking "Sign up", you agree to ',(0,i.Y)("br",{}),(0,i.Y)("a",{href:"/view/settings/membership_agreement",target:"_blank",children:"the Terms of Service"}),"and acknowledge you have read ",(0,i.Y)("br",{}),(0,i.Y)("a",{href:"/view/settings/privacy_policy",target:"_blank",children:"the Privacy Policy, including our Cookie Use"}),"."]})})}},51207:(e,t)=>
3{Object.defineProperty(t,"__esModule",{value:!0}),t.INVALID_EMAIL_DOMAINS=t.DUMMY_EMAIL_DOMAIN=void 0,t.DUMMY_EMAIL_DOMAIN="example.com",t.INVALID_EMAIL_DOMAINS=[t.DUMMY_EMAIL_DOMAIN]},70674:(e,t,n)=>{n.d(t,{il:()=>o,x5:()=>c,zb:()=>h});var i=n(45023),a=n(2004),r=n.n(a),s=n(36439),l=n(90524),d=n(7528);let o=()=>{let[e,t]=(0,s.useState)(!0),[n,i]=(0,s.useState)(!0),[a,r]=(0,s.useState)(!0);return{isNotifyReactions:e,isNotifyDigestMail:n,isNotifyPosts:a,setIsNotifyReactions:t,setIsNotifyDigestMail:i,setIsNotifyPosts:r}},c=(e,t)=>e&&t?{padding:0,color:t}:{padding:0};function h(e){let{t}=(0,l.B)(["components/organisms/signup"]),{setIsNotifyReactions:n,setIsNotifyDigestMail:a,setIsNotifyPosts:s,ctaColor:o}=e,{isNotifyReactions:h,isNotifyDigestMail:p,isNotifyPosts:u}=e;return(0,i.FD)("section",{className:"jsx-714f11d4ef76125b",children:[(0,i.Y)("div",{className:"jsx-714f11d4ef76125b mail-info",children:t("We will use your email to send you updates and notifications. Email settings can be managed at any time on My page.")}),(0,i.FD)("div",{className:"jsx-714f11d4ef76125b mail-checkbox",children:[(0,i.Y)(d.Sc,{checked:h,onChange:e=>n(e.target.checked),value:"isNotifyReactions",color:"primary",style:c(h,o)}),(0,i.Y)("span",{className:"jsx-714f11d4ef76125b mail-text",children:t("Receive notification for replies, comments, DMs")})]}),(0,i.FD)("div",{className:"jsx-714f11d4ef76125b mail-checkbox",children:[(0,i.Y)(d.Sc,{checked:p,onChange:e=>a(e.target.checked),value:"isNotifyDigestMail",color:"primary",style:c(p,o)}),(0,i.Y)("span",{className:"jsx-714f11d4ef76125b mail-text",children:t("Receive community weekly digest")})]}),(0,i.FD)("div",{className:"jsx-714f11d4ef76125b mail-checkbox",children:[(0,i.Y)(d.Sc,{checked:u,onChange:e=>s(e.target.checked),value:"isNotifyPosts",color:"primary",style:c(u,o)}),(0,i.Y)("span",{className:"jsx-714f11d4ef76125b mail-text",children:t("Receive updates and announcements")})]}),(0,i.Y)(r(),{id:"714f11d4ef76125b",children:".mail-info.jsx-714f11d4ef76125b{color:#909090;margin-top:24px}.mail-checkbox.jsx-714f11d4ef76125b{margin-top:8px}.mail-text.jsx-714f11d4ef76125b{vertical-align:middle}"})]})}},80328:(e,t,n)=>{n.d(t,{n:()=>d});var i=n(45023),a=n(2004),r=n.n(a),s=n(63669),l=n(7528);let d=e=>(0,i.FD)(i.FK,{children:[(0,i.FD)("section",{className:r().dynamic([["b0a4e6c0d54c39ad",[e.color||"#254860"]]])+" header",children:[e.route&&(0,i.Y)(s.N,{route:e.route,children:(0,i.Y)(l.K0,{style:{position:"absolute",top:-5,left:0},children:(0,i.Y)("i",{className:r().dynamic([["b0a4e6c0d54c39ad",[e.color||"#254860"]]])+" fas fa-chevron-left"})})}),(0,i.Y)("span",{className:r().dynamic([["b0a4e6c0d54c39ad",[e.color||"#254860"]]]),children:e.text})]}),(0,i.Y)(r(),{id:"b0a4e6c0d54c39ad",dynamic:[e.color||"#254860"],children:`.header.__jsx-style-dynamic-selector{font-size:24px;font-weight:bold;text-align:center}.header.__jsx-style-dynamic-selector span.__jsx-style-dynamic-selector{color:${e.color||"#254860"}}.iconButton.__jsx-style-dynamic-selector{position:absolute;top:7px;left:15px}`})]})},88075:(e,t,n)=>{n.d(t,{R:()=>r});var i=n(41471),a=n(84284);let r=()=>(0,i.useSelector)(a.$f)},94624:(e,t)=>{var n=/^[-!#$%&'*+\/0-9=?A-Z^_a-z{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/;t.validate=function(e){if(!e||e.length>254||!n.test(e))return!1;var t=e.split("@");return!(t[0].length>64||t[1].split(".").some(function(e){return e.length>63}))}},97363:(e,t,n)=>{var i,a=Object.create?function(e,t,n,i){void 0===i&&(i=n);var a=Object.getOwnPropertyDescriptor(t,n);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,a)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},s=(i=function(e){return(i=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t})(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=i(e),s=0;s<n.length;s++)"default"!==n[s]&&a(t,e,n[s]);return r(t,e),t});t.hg=void 0,t.cF=function(e){let t=e.toLowerCase();return d.INVALID_EMAIL_DOMAINS.some(e=>t.endsWith(`@${e}`))},t.B9=function(e){return l.validate(e)},t.zf=function(e,t){return c(e)===c(t)};let l=s(n(94624)),d=n(51207),o=new Set(["gmail.com","googlemail.com"]);function c(e){let t=e.trim().toLowerCase(),n=t.lastIndexOf("@");if(n<0)return t;let i=t.slice(0,n),a=t.slice(n+1),r=i.indexOf("+");return r>=0&&(i=i.slice(0,r)),o.has(a)&&(i=i.replaceAll(".",""),a="gmail.com"),`${i}@${a}`}t.hg="*"}}]); 4//# sourceMappingURL=8545-778998b01d6d2ce4.js.map
5//# debugId=51613dd7-41a1-506c-a077-e56341bbc727
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.