PageSourceSearch

https://mindway.app/_next/static/chunks/8377.613a94cfdec4582d.js

js mindway.app collected 2026-09-24 13:58:04 UTC 2,999 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a3eae421-fc6a-4ec2-ada5-808bb1d780d8",e._sentryDebugIdIdentifier="sentry-dbid-a3eae421-fc6a-4ec2-ada5-808bb1d780d8")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8377],{98377:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return g}});var i=n(35944),r=n(67294),a=n(71955),l=n(89508),d=n(31041),o=n(54919),u=n.n(o),s=n(90512),c=e=>{let{children:t,className:n}=e;return(0,i.tZ)(d.E.div,{className:(0,s.Z)(u().container,n),initial:{opacity:0},animate:{opacity:1},transition:{duration:.5,ease:"easeInOut",forward:!0,delay:.3},children:t})},f=n(4289),h=n(37337);let p={hidden:{opacity:0,maxHeight:0,y:20,transition:{duration:.1}},visible:{opacity:1,maxHeight:200,y:0,transition:{duration:.1}}};var g=e=>{var t;let{question:n,onClick:o}=e,{theme:u,hasDarkText:s,quiz_answers:h}=(0,a.d)(),[g,v]=(0,r.useState)((null==h?void 0:null===(t=h.age)||void 0===t?void 0:t.year)?null==h?void 0:h.age:""),Z=(0,r.useRef)(null),[_,w]=(0,r.useState)(null);return(0,r.useEffect)(()=>{let e=Number(g);if(e&&(e<18||e>89)){let e=setTimeout(()=>{w(n.errorMessage)},1300);return()=>{clearTimeout(e)}}w(null)},[_,g]),(0,i.BX)(c,{children:[(0,i.tZ)(f.h4i,{theme:u,label:n.label}),(0,i.tZ)(y,{children:(0,i.BX)(m,{onSubmit:e=>{if(e.preventDefault(),!g||!0==!!_){setTimeout(()=>{var e;null===(e=Z.current)||void 0===e||e.focus()},600);return}o(parseInt(g))},children:[(0,i.tZ)(f.tB9,{theme:u,ref:Z,onChange:e=>{if(w(null),!e){v("");return}e.length<=2&&""!==e&&v(Math.abs(parseInt(e)).toString())},placeholder:n.placeholder,type:"number",value:g,min:"0",maxLength:2,inputMode:"numeric",dataTestId:"input-age"}),_&&(0,i.tZ)(b,{theme:u,"data-testid":"message-error",children:_}),(0,i.tZ)(l.M,{children:!_&&(0,i.tZ)(d.E.div,{variants:p,initial:"hidden",animate:"visible",exit:"hidden",style:{overflow:"hidden"},children:(0,i.tZ)(f.bZj,{theme:u,title:n.infoTitle,description:n.infoText,variant:"grey"})})}),(0,i.tZ)(f.KMU,{theme:u,type:"submit",disabled:!1==!!g||!0==!!_||g<18||g>89,hasDarkText:s,children:n.buttonTitle})]})})]})};let y=(0,h.Z)("div",{target:"e8yp79y0"})("display:flex;flex-direction:column;align-items:center;padding-top:1rem;width:100%;"),m=(0,h.Z)("form",{target:"e8yp79y1"})("display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1rem;padding-top:1rem;width:100%;"),b=(0,h.Z)("p",{target:"e8yp79y2"})("margin-top:-0.25rem;color:",e=>{let{theme:t}=e;return t.colors.fg.error},";text-align:center;font-size:",e=>{let{theme:t}=e;return t.typography.bm400.fontSize},";line-height:",e=>{let{theme:t}=e;return t.typography.bm400.lineHeight},";font-weight:",e=>{let{theme:t}=e;return t.typography.bm400.fontWeight},";")},54919:function(e){e.exports={container:"AnimatedQuestionFadeInContainer_container__a_J_k"}}}]);

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.