PageSourceSearch

https://test-paper.info/_expo/static/js/web/__common-6c3d01908902032d1306bd3d12d4500a.js

js test-paper.info collected 2026-10-07 03:17:22 UTC 9,544 bytes, 6 lines download raw bytes

1__d(function(g,r,_i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),_e.AuthScreenLayout=function({children:e,style:w,variant:j="login"}){const v=(0,s.useTheme)(),{select:P,isWeb:S,width:T}=(0,c.useResponsiveLayout)(),W=(0,y.useTenantStore)(e=>e.branding),A=P({mobile:v.spacing.md,tablet:v.spacing.lg,web:v.spacing.xl}),C=P({mobile:!1,tablet:!0}),k=S&&T>=960,F=W?.schoolName||'Test-paper.info',{eyebrow:M,tagline:_}=x[j],I=(0,p.jsx)(i.default,{behavior:'height',style:{flex:1},children:(0,p.jsx)(t.default,{contentContainerStyle:[{flexGrow:1,padding:A,justifyContent:C?'center':'flex-start'},w],showsVerticalScrollIndicator:!1,keyboardShouldPersistTaps:"handled",children:(0,p.jsx)(b.MaxWidthContainer,{maxWidth:480,children:e})})});if(!k)return(0,p.jsx)(h.SafeScreen,{children:I});return(0,p.jsx)(h.SafeScreen,{children:(0,p.jsxs)(o.default,{style:{flex:1,flexDirection:'row'},children:[(0,p.jsxs)(o.default,{style:{flex:1,backgroundColor:v.colors.primary,padding:v.spacing.xl,justifyContent:'space-between',overflow:'hidden'},children:[(0,p.jsx)(o.default,{style:{pointerEvents:'none',position:'absolute',top:0,left:0,right:0,bottom:0,opacity:.11},children:(0,p.jsx)(n.default,{width:"100%",height:"100%",preserveAspectRatio:"none",children:[1,2,3,4,5,6,7,8].map(e=>(0,p.jsx)(l.Line,{x1:"0",y1:100*e/9+"%",x2:"100%",y2:100*e/9+"%",stroke:"#FFFFFF",strokeWidth:1},`rule-${e}`))})}),(0,p.jsxs)(o.default,{style:{flexDirection:'row',alignItems:'center',gap:v.spacing.sm},children:[(0,p.jsx)(o.default,{style:{width:10,height:10,backgroundColor:v.colors.xpGold,borderRadius:1}}),(0,p.jsx)(u.Text,{variant:"h3",color:v.colors.onPrimary,children:F})]}),(0,p.jsxs)(o.default,{style:{gap:v.spacing.md,maxWidth:400},children:[(0,p.jsx)(u.Text,{variant:"caption",color:v.colors.onPrimary,style:{opacity:.7,letterSpacing:.6,textTransform:'uppercase'},children:M}),f[j].map(e=>(0,p.jsxs)(o.default,{style:{flexDirection:'row',gap:v.spacing.md,alignItems:'baseline'},children:[(0,p.jsx)(u.Text,{variant:"body1",color:v.colors.onPrimary,style:{fontWeight:'700',fontVariant:['tabular-nums'],minWidth:28},children:e.label}),(0,p.jsx)(u.Text,{variant:"body2",color:v.colors.onPrimary,style:{opacity:.85,flex:1,lineHeight:22},children:e.body})]},e.label))]}),(0,p.jsx)(u.Text,{variant:"h2",color:v.colors.onPrimary,style:{maxWidth:380,lineHeight:36},children:_})]}),(0,p.jsx)(o.default,{style:{flex:1},children:I})]})})},r(d[0]);var t=e(r(d[1])),i=e(r(d[2]));r(d[3]);var o=e(r(d[4])),l=r(d[5]),n=e(l),s=r(d[6]),c=r(d[7]),y=r(d[8]),u=r(d[9]),h=r(d[10]),b=r(d[11]),p=r(d[12]);const f={login:[{label:'P4',body:'Whole numbers \xb7 Fractions \xb7 Angles'},{label:'P5',body:'Decimals \xb7 Percentage \xb7 Ratio \xb7 Volume'},{label:'P6',body:'Algebra \xb7 Speed \xb7 Circle geometry'}],register:[{label:'01',body:'Name, grade, and school \u2014 so the mastery map matches your curriculum.'},{label:'02',body:'A 15-minute diagnostic to place the starting point.'},{label:'03',body:'Practice that adapts to what you already know.'}],verify:[{label:'\u2709',body:'Check your inbox for a six-digit code. It expires in 10 minutes.'},{label:'\u23f1',body:'If it hasn\u2019t arrived, request a resend below.'},{label:'\u2192',body:'Next: jump into your first quest and start earning points.'}],role:[{label:'S',body:'Students practise, see themselves improve, stay with it.'},{label:'P',body:'Parents verify effort converts to progress \u2014 with numbers.'},{label:'+',body:'Tutors manage one child\u2019s practice alongside a parent account.'}]},x={login:{eyebrow:'Aligned to the MOE Primary Maths syllabus',tagline:'Master Singapore Primary Maths with precision.'},register:{eyebrow:'Step 1 of 2 \xb7 Tell us who is practising',tagline:'A mastery map built around your child\u2019s curriculum.'},verify:{eyebrow:'Step 2 of 2 \xb7 Almost there',tagline:'One code away from your first practice.'},role:{eyebrow:'Built for two audiences',tagline:'Students practise. Parents verify \u2014 with numbers.'}}},682,[38,389,1306,121,147,562,511,512,361,510,558,595,207]);
2__d(function(g,r,i,a,m,_e,d){"use strict";
2function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),_e.Checkbox=function({checked:e,onToggle:c,label:h,labelNode:u,disabled:x=!1}){const y=(0,l.useTheme)();return(0,n.jsxs)(t.default,{onPress:()=>!x&&c(!e),accessibilityRole:"checkbox",accessibilityState:{checked:e,disabled:x},accessibilityLabel:h,style:b.container,disabled:x,children:[(0,n.jsx)(o.default,{style:[b.box,{borderColor:e?y.colors.primary:y.colors.border,backgroundColor:e?y.colors.primary:y.colors.surface,borderRadius:y.borderRadius.sm}],children:e&&(0,n.jsx)(s.Text,{color:y.colors.onPrimary,variant:"caption",style:b.checkmark,children:"\u2713"})}),u??(0,n.jsx)(s.Text,{variant:"body1",style:[x&&b.disabledText],children:h})]})},r(d[0]);var t=e(r(d[1])),o=e(r(d[2])),c=e(r(d[3])),l=r(d[4]),s=r(d[5]),n=r(d[6]);const b=c.default.create({container:{flexDirection:'row',alignItems:'center',minHeight:44,gap:10},box:{width:22,height:22,borderWidth:1.5,alignItems:'center',justifyContent:'center',flexShrink:0},checkmark:{fontWeight:'700',lineHeight:16},disabledText:{opacity:.5}})},683,[38,614,147,46,511,510,207]);
3__d(function(g,r,i,a,m,e,_d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.formatPoints=n,e.formatPointsExact=o,e.isPointsAbbreviated=function(t){return n(t)!==o(t)},e.formatStreak=function(t){return`${t} day${1!==t?'s':''}`},e.formatDate=function(t){return('string'==typeof t?new Date(t):t).toLocaleDateString('en-SG',{day:'numeric',month:'short',year:'numeric'})},e.formatDayMonth=function(t){return('string'==typeof t?new Date(t):t).toLocaleDateString('en-SG',{day:'numeric',month:'short'})},e.formatRelativeTime=function(t,n=new Date){const o='string'==typeof t?new Date(t):t;if(Number.isNaN(o.getTime()))return'';const u=n.getTime()-o.getTime(),f=Math.floor(u/6e4);if(f<1)return'Just now';if(f<60)return`${f}m ago`;const c=Math.floor(u/36e5);if(c<24)return`${c}h ago`;const s=t=>new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime(),l=Math.floor((s(n)-s(o))/864e5);if(1===l)return'Yesterday';if(l<7)return`${l}d ago`;const h=o.getFullYear()===n.getFullYear();return o.toLocaleDateString('en-SG',h?{day:'numeric',month:'short'}:{day:'numeric',month:'short',year:'numeric'})},e.formatPercentage=function(t,n){return 0===n?'0%':`${Math.round(t/n*100)}%`},e.stripReferralFormat=u,e.formatReferralCode=function(t){const n=u(t).slice(0,8);return n.length>4?`${n.slice(0,4)}-${n.slice(4)}`:n},e.formatCountdown=function(t){const n=Math.max(0,Math.floor(t)),o=Math.floor(n/1e3);if(n>=36e5)return`${f(Math.floor(o/3600))}:${f(Math.floor(o/60)%60)}`;if(n>=6e4)return`${f(Math.floor(o/60))}:${f(o%60)}`;return`${f(o)}.${f(Math.floor(n%1e3/10))}`};const t=[{scale:1,suffix:''},{scale:1e3,suffix:'K'},{scale:1e6,suffix:'M'},{scale:1e9,suffix:'B'}];
3function n(n){if(!Number.isFinite(n))return'0';const o=Math.trunc(n),u=o<0?'-':'',f=Math.abs(o);if(f<1e3)return`${u}${f}`;let c=0;for(;c+1<t.length&&f>=t[c+1].scale;)c+=1;const s=t=>{const n=f/t;return n<100?Math.round(10*n)/10:Math.round(n)};let l=s(t[c].scale);return l>=1e3&&c+1<t.length&&(c+=1,l=s(t[c].scale)),`${u}${l}${t[c].suffix}`}function o(t){return Number.isFinite(t)?Math.trunc(t).toLocaleString():'0'}function u(t){return t.replace(/[^A-Za-z0-9]/g,'').toUpperCase()}const f=t=>String(t).padStart(2,'0')},684,[]);
4__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.validateReferralCode=async function(s){return(0,t.apiRequest)('/api/v1/referrals/validate/',{method:'POST',body:JSON.stringify({code:s})})},e.generateReferralCode=async function(){return(0,t.apiRequest)('/api/v1/referrals/me/codes/',{method:'POST',body:JSON.stringify({})})},e.listReferralCodes=async function(){return(0,t.apiRequest)('/api/v1/referrals/me/codes/',{method:'GET'})},e.getWaitlistStatus=async function(){return(0,t.apiRequest)('/api/v1/referrals/me/waitlist-status/',{method:'GET'})},e.redeemWaitlistCode=async function(s){return(0,t.apiRequest)('/api/v1/referrals/me/waitlist-redeem/',{method:'POST',body:JSON.stringify({code:s})})};var t=r(d[0])},685,[530]);
5__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t}});var t=class{static alert(){}}},686,[]);
6__d(function(g,r,i,a,m,_e,_d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return c}});var t=e(r(_d[0])),n=e(r(_d[1])),o=(function(e){if(e&&e.__esModule)return e;var t={};return e&&Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),t.default=e,t})(r(_d[2])),u=e(r(_d[3])),f=["behavior","contentContainerStyle","keyboardVerticalOffset"];class s extends o.Component{constructor(){super(...arguments),this.frame=null,this.onLayout=e=>{this.frame=e.nativeEvent.layout}}relativeKeyboardHeight(e){var t=this.frame;if(!t||!e)return 0;var n=e.screenY-(this.props.keyboardVerticalOffset||0);return Math.max(t.y+t.height-n,0)}onKeyboardChange(e){}render(){var e=this.props,s=(e.behavior,e.contentContainerStyle,e.keyboardVerticalOffset,(0,n.default)(e,f));return o.createElement(u.default,(0,t.default)({onLayout:this.onLayout},s))}}var c=s},1306,[31,47,38,147]);

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.