PageSourceSearch

https://official-web-asset.tappytoon.com/_next/static/chunks/pages/email-login-ec725ff6979c9029.js

js tappytoon.com collected 2026-09-24 09:29:42 UTC 3,536 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5181],{22663:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/email-login",function(){return n(55456)}])},55456:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return L}});var a=n(38839),o=n(32735),i=n(19499),r=n(82070),l=n.n(r),s=n(35837),u=n(57247),d=n(75921),c=n(35677),g=n(31219),Z=n(302),h=n(40772),p=n(48922),m=n(4112),v=n(10564),f=n(97674),y=n(7088);let P={text:"",valid:!1},BottomActionButtons=e=>{let{isDesktop:t,forgotPasswordButton:n,primaryButton:o}=e;return t?(0,a.BX)(g.sg,{gap:32,children:[(0,a.tZ)(g.zx,{...n,style:{alignSelf:"flex-start",...n.style}}),(0,a.tZ)(g.zx,{...o,style:{alignSelf:"center",...o.style}})]}):(0,a.BX)(g.X2,{alignItems:"center",children:[(0,a.tZ)(g.zx,{...n}),(0,a.tZ)(g.LZ,{flex:1}),(0,a.tZ)(g.zx,{...o})]})};function EmailLoginMain(e){let{continuousLoginUsername:t,recaptcha:n,onForgotPasswordPress:r,onScroll:l,ScrollViewComponent:s}=e,[u]=(0,p.T_)("page-dependent-ui"),d=(0,y.Z)(),b=(0,g.t4)({maxWidth:720}),w=o.useRef(null),x=o.useRef(null),[B,S]=o.useState({text:t||"",valid:!!t&&(0,m.vV6)(t)}),[_,E]=o.useState(P),L=(0,i.I0)(),{api:k}=(0,Z.h_)(()=>h.GB.loginByPassword()),T=B.valid&&_.valid,z=k.status===Z.br,onLoginPress=async()=>{if(T)try{let e=n&&await n.executeAsync(),{createAction:t}=h.GB.loginByPassword({provider:h.yI.TAPPYTOON,boundary:h.vj.USER,username:B.text,password:_.text,continuousLoginUsername:B.text,recaptchaToken:e});c.Z.dismiss(),L(t())}finally{n&&n.reset()}else!B.valid&&w.current?w.current.focus():x.current&&x.current.focus()};return(0,a.BX)(s,{contentContainerStyle:b,keyboardShouldPersistTaps:"handled",onScroll:l,scrollEventThrottle:1,children:[(0,a.tZ)(g.sg,{insets:g.rN.vertical(4),children:(0,a.tZ)(g.ZT,{children:u("email-login.title"),color:"strong",variant:"header4",weight:"medium"})}),(0,a.tZ)(g.LZ,{size:2}),(0,a.tZ)(v.Z,{keyboardType:"email-address",placeholder:u("email-login.email-address.label"),onChangeValue:S,onSubmitEditing:onLoginPress,ref:w,validator:m.vV6,value:B,autoFocus:!0,autoCapitalize:"none"}),(0,a.tZ)(g.LZ,{size:2}),(0,a.tZ)(v.Z,{placeholder:u("email-login.password.label"),onChangeValue:E,onSubmitEditing:onLoginPress,ref:x,secureTextEntry:!0,validator:m.eWp,value:_,autoCapitalize:"none"}),(0,a.tZ)(g.LZ,{size:6}),(0,a.tZ)(BottomActionButtons,{isDesktop:d,forgotPasswordButton:{children:u("email-login.buttons.forgot-password"),onPress:r,variant:"text",color:"secondary",disablePadding:!0},primaryButton:{children:u("email-login.buttons.login"),size:"medium",color:"accent",disabled:z,onPress:onLoginPress,variant:"capsuleSolid"}}),k.status===Z.br&&(0,a.tZ)(f.Z,{overlay:!0})]})}var b=n(53262),w=n(9398),x=n(84478),B=n(99706),S=n(16623);let _=l()(()=>n.e(7466).then(n.bind(n,47466)),{loadableGenerated:{webpack:()=>[47466]}}),{recaptchaSiteKey:E}=w.Env;function Page(){let{query:{continuousLoginUsername:e}}=(0,s.useRouter)(),[t,n]=(0,o.useState)(null),r=(0,i.I0)();return(0,a.BX)(o.Fragment,{children:[(0,a.tZ)(B.Z,{url:"https://insight.adsrvr.org/track/pxl/?adv=emhpas6&ct=0:jnohrmv&fmt=3"}),(0,a.tZ)(S.Z,{}),u.Z(t)?null:(0,a.tZ)(EmailLoginMain,{continuousLoginUsername:e,recaptcha:t,onForgotPasswordPress:()=>{r(d.kX.openDialog("ForgotPassword"))},ScrollViewComponent:b.Z}),(0,a.tZ)(_,{recaptchaSiteKey:E,onReCaptchaReady:n}),(0,a.tZ)(x.Z,{})]})}Page.navigationOptions={bottomNavigationHidden:!0};var L=Page}},function(e){e.O(0,[1545,9218,7963,9515,3487,5143,5690,1706,5800,5531,404,9774,2888,179],function(){return e(e.s=22663)}),_N_E=e.O()}]);

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.