PageSourceSearch

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

js tappytoon.com collected 2026-10-01 11:41:08 UTC 15,289 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7126],{98197:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/continuous-login",function(){return n(16227)}])},57238:function(t,e,n){"use strict";n.d(e,{Z:function(){return ProviderIndicator}});var i=n(38839);n(32735);var o=n(68101),r=n(38240),a=n(60095),l=n(71193),s=n(31629),c=n(51222),u=n(21237);function ProviderIndicator(t){let{provider:e,size:n=24}=t;return e===r.yI.FACEBOOK?(0,i.tZ)(a.Z,{width:n,height:n}):e===r.yI.GOOGLE?(0,i.tZ)(l.Z,{width:n,height:n}):e===r.yI.TWITTER?(0,i.tZ)(s.Z,{width:n,height:n}):e===r.yI.APPLE?(0,i.tZ)(c.Z,{width:n,height:n}):e===r.yI.TAPPYTOON?(0,i.tZ)(o.Z,{source:u,style:{width:n,height:n}}):null}},94527:function(t,e,n){"use strict";n.d(e,{Z:function(){return SafeAreaSpacer}});var i=n(38839);n(32735);var o=n(37082),r=n(31219);function SafeAreaSpacer(t){let{edge:e="bottom"}=t,n=(0,o.HB)(),a=n[e];return(0,i.tZ)(r.LZ,{size:a/4})}},23055:function(t,e,n){"use strict";n.d(e,{Z:function(){return useAgeGate}});var i=n(43653),o=n.n(i),r=n(32735),a=n(11995),l=n(19499),s=n(75921),c=n(4112),u=n(14914);let fetchAgeGate=async()=>{try{return o().request({url:"https://privacy.tappytoon.com/here",headers:{Accept:"application/json"}})}catch(t){}};function useAgeGate(t){let e=(0,l.I0)();return(0,r.useCallback)(()=>fetchAgeGate().then(n=>{let i=(0,c.FVN)(n.data),o="web"===a.Z.OS||u.Z.getBoolean("IsAgeGateActivated");if(i&&o){let i=(0,c.A97)(n.data);e(s.kX.openDialog("AgeGate",{minimumAge:i,onSuccess:t}));return}t()}).catch(()=>{t()}),[t])}},14914:function(t,e){"use strict";e.Z=new class{setInstance(t){this.instance=t}getValue(t,e){if(this.instance)return this.instance.getValue(t,e)}ready(){return this.instance.loader}getBoolean(t){return"true"===this.getValue(t)}}},51222:function(t,e,n){"use strict";n.d(e,{Z:function(){return SNSAppleSvg}});var i=n(38839);n(32735);var o=n(47860);function SNSAppleSvg(t){let{height:e=32,width:n=32,viewBox:r="0 0 32 32"}=t;return(0,i.BX)(o.ny,{height:e,viewBox:r,width:n,children:[(0,i.tZ)(o.UL,{width:"32",height:"32",rx:"16",fill:"black"}),(0,i.tZ)(o.y$,{d:"M16.217 10.6512C17.0496 10.6512 18.1052 10.1023 18.7267 9.37039C19.2897 8.69568 19.6884 7.78081 19.6884 6.85451C19.6884 6.72872 19.6767 6.60292 19.6532 6.5C18.7385 6.53431 17.6126 7.09466 16.9441 7.86086C16.4281 8.44409 15.9355 9.37039 15.9355 10.2967C15.9355 10.4339 15.959 10.5826 15.9707 10.6283C16.0293 10.6398 16.1231 10.6512 16.217 10.6512ZM13.2967 24.5C14.4343 24.5 14.9386 23.7681 16.3577 23.7681C17.7885 23.7681 18.1169 24.4771 19.3718 24.4771C20.6267 24.4771 21.4593 23.3679 22.2451 22.27C23.113 21.0006 23.4883 19.7656 23.5 19.7084C23.4296 19.6855 21.0371 18.7363 21.0371 16.0604C21.0371 13.7503 22.9136 12.7211 23.0192 12.641C21.7877 10.8914 19.8995 10.8456 19.3718 10.8456C17.9762 10.8456 16.8503 11.669 16.1231 11.669C15.3608 11.669 14.3405 10.8914 13.1325 10.8914C10.8339 10.8914 8.5 12.7554 8.5 16.2433C8.5 18.4276 9.36787 20.7262 10.4351 22.2243C11.3382 23.4708 12.1474 24.5 13.2967 24.5Z",fill:"white"})]})}},60095:function(t,e,n){"use strict";n.d(e,{Z:function(){return SNSFacebookSvg}});var i=n(38839);n(32735);var o=n(47860);function SNSFacebookSvg(t){let{height:e=32,width:n=32,viewBox:r="0 0 32 32"}=t;return(0,i.BX)(o.ny,{height:e,viewBox:r,width:n,children:[(0,i.tZ)(o.UL,{width:"32",height:"32",rx:"16",fill:"#1877F2"}),(0,i.tZ)(o.y$,{d:"M16 5C22.0751 5 27 9.95512 27 16.0674C26.9999 21.5912 22.9774 26.1698 17.7188 27V19.2666H20.2822L20.7695 16.0674H17.7188V13.9912C17.7188 13.116 18.1453 12.2627 19.5117 12.2627H20.8984V9.53906C20.8905 9.5377 19.6361 9.32329 18.4365 9.32324C15.9239 9.32324 14.2813 10.8552 14.2812 13.6289V16.0674H11.4883V19.2666H14.2812V27C9.02257 26.1698 5.00008 21.5912 5 16.0674C5 9.95512 9.92486 5 16 5Z",fill:"white"})]})}},71193:function(t,e,n){"use strict";n.d(e,{Z:function(){return SNSGoogleSvg}});var i=n(38839);n(32735);var o=n(47860);function SNSGoogleSvg(t){let{height:e=32,width:n=32,viewBox:r="0 0 32 32"}=t;return(0,i.BX)(o.ny,{height:e,viewBox:r,width:n,children:[(0,i.tZ)(o.y$,{d:"M0 16C0 7.16344 7.16344 0 16 0C24.8366 0 32 7.16344 32 16C32 24.8366 24.8366 32 16 32C7.16344 32 0 24.8366 0 16Z",fill:"#F2F2F3"}),(0,i.tZ)(o.y$,{fillRule:"evenodd",clipRule:"evenodd",d:"M25.6 16.2271C25.6 15.518 25.5364 14.8362 25.4182 14.1816H16V18.0498H21.3818C21.15 19.2998 20.4455 20.3589 19.3864 21.068V23.5771H22.6182C24.5091 21.8362 25.6 19.2725 25.6 16.2271Z",fill:"#4285F4"}),(0,i.tZ)(o.y$,{fillRule:"evenodd",clipRule:"evenodd",d:"M15.9999 25.9999C18.6999 25.9999 20.9636 25.1044 22.6181 23.5772L19.3863 21.0681C18.4908 21.6681 17.3454 22.0226 15.9999 22.0226C13.3954 22.0226 11.1908 20.2635 10.4045 17.8999H7.06357V20.4908C8.70902 23.759 12.0908 25.9999 15.9999 25.9999Z",fill:"#34A853"}),(0,i.tZ)(o.y$,{fillRule:"evenodd",clipRule:"evenodd",d:"M10.4045 17.9002C10.2045 17.3002 10.0909 16.6593 10.0909 16.0002C10.0909 15.3411 10.2045 14.7002 10.4045 14.1002V11.5093H7.06364C6.38636 12.8593 6 14.3866 6 16.0002C6 17.6138 6.38636 19.1411 7.06364 20.4911L10.4045 17.9002Z",fill:"#FBBC05"}),(0,i.tZ)(o.y$,{fillRule:"evenodd",clipRule:"evenodd",d:"M15.9999 9.97727C17.4681 9.97727 18.7863 10.4818 19.8227 11.4727L22.6908 8.60455C20.959 6.99091 18.6954 6 15.9999 6C12.0908 6 8.70902 8.24091 7.06357 11.5091L10.4045 14.1C11.1908 11.7364 13.3954 9.97727 15.9999 9.97727Z",fill:"#EA4335"})]})}},31629:function(t,e,n){"use strict";n.d(e,{Z:function(){return SNSTwitterSvg}});var i=n(38839);n(32735);var o=n(47860);function SNSTwitterSvg(t){let{height:e=32,width:n=32,viewBox:r="0 0 32 32"}=t;return(0,i.BX)(o.ny,{height:e,viewBox:r,width:n,children:[(0,i.tZ)(o.y$,{d:"M0 16C0 7.16344 7.16344 0 16 0C24.8366 0 32 7.16344 32 16C32 24.8366 24.8366 32 16 32C7.16344 32 0 24.8366 0 16Z",fill:"black"}),(0,i.tZ)(o.y$,{d:"M20.6411 8.5H23.0936L17.7088 14.8653L24 23.5H19.063L15.1976 18.2528L10.7724 23.5H8.31989L14.0247 16.6919L8 8.5H13.0596L16.5518 13.2934L20.6411 8.5ZM19.7827 22.0055H21.1423L12.3452 9.93911H10.8844L19.7827 22.0055Z",fill:"white"})]})}},16623:function(t,e,n){"use strict";n.d(e,{Z:function(){return CommonAuthHeader}});var i=n(38839);n(32735);var o=n(87904),r=n(31219),a=n(16787),l=n(77826),s=n(7088),c=n(67490),u=n(49005),d=n(8554),g=n(64526);let h=r.mM.create({backgroundContainer:{width:"100%"},header:{backgroundColor:"transparent"},headerButton:{height:40,width:40},backButton:{position:"absolute",left:7},helpButton:{position:"absolute",right:10}});function CommonAuthHeader(t){let{backgroundColor:e,variant:n="default",isAbsolute:f=!1}=t,Z=(0,g.Z2)(),v=(0,g.fI)("/help/login"),C=(0,s.Z)(),y="inverse"===n,b=[h.backgroundContainer,e?{backgroundColor:e}:void 0],p=[h.header,f?{position:"absolute"}:void 0],L=y?l.Hk.static.strongInverse:l.Hk.static.strong,k=y?l.Hk.static.strongInverse:l.Hk.static.strong,m=y?l.Hk.static.baseOpacityInverse:l.Hk.static.baseOpacity,w=(0,i.tZ)(u.Z,{style:p,children:C?(0,i.tZ)(d.Z,{hasNavigationButton:!1,logoFill:L,RightComponent:(0,i.tZ)(r.hU,{children:(0,i.tZ)(a.kdS,{fill:m}),iconSize:"large",onPress:v,style:h.headerButton})}):(0,i.BX)(r.o8,{disableGutters:!0,justifyContent:"center",children:[(0,i.tZ)(r.hU,{children:(0,i.tZ)(a.XnY,{fill:k}),iconSize:"large",onPress:Z,style:[h.headerButton,h.backButton]}),(0,i.tZ)(c.Z,{fill:L,height:23,width:88}),(0,i.tZ)(r.hU,{children:(0,i.tZ)(a.kdS,{fill:m}),onPress:v,style:h.helpButton})]})});return e?(0,i.tZ)(o.Z,{style:b,children:w}):w}},16227:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return V}});var i=n(38839),o=n(32735),r=n(19499),a=n(75921),l=n(38286),s=n(2231),c=n(11995),u=n(43653),d=n.n(u),g=n(31219),h=n(16787),f=n(77826),Z=n(38240),v=n(48922),C=n(4112),y=n(76299),b=n(57238),p=n(94527),L=n(29995),
1k=n(57247),m=n(7088);let w=(0,g.zo)(g.Ee)({...g.mM.absoluteFillObject});function BackgroundImage(t){let{backgroundImageData:e}=t,{images:n=[]}=e,r=L.Z(n),a=(0,m.Z)(),l=(0,o.useMemo)(()=>Math.floor(Math.random()*r),[r]),s=n[l];if(k.Z(s))return null;if("string"==typeof s)return(0,i.tZ)(w,{disableOutline:!0,disablePlaceholder:!0,source:{uri:s},square:!0});let c=a?s.square:s.poster;return k.Z(c)?null:(0,i.tZ)(w,{disableOutline:!0,disablePlaceholder:!0,source:{uri:c},square:!0})}var I=n(87904),P=n(59098);let B=(0,g.zo)(I.Z)({...g.mM.absoluteFillObject,opacity:.9});function Dimmed(){let t=(0,m.Z)();return t?(0,i.tZ)("div",{style:{...g.mM.absoluteFillObject,backdropFilter:"blur(7px)",backgroundColor:f.Hk.opacity.black["90"]}}):(0,i.BX)(B,{children:[(0,i.tZ)(P.Z,{colors:["rgba(0, 0, 0, 0.5)","rgba(0, 0, 0, 0.5)"],start:{x:.5,y:1},end:{x:.5,y:0},style:g.mM.absoluteFill}),(0,i.tZ)(P.Z,{colors:["rgba(0, 0, 0, 0.0)","rgba(0, 0, 0, 0.8)","rgba(0, 0, 0, 1.0)","rgba(0, 0, 0, 1.0)"],locations:[.4013,.6517,.8503,1],start:{x:.5,y:0},end:{x:.5,y:1},style:g.mM.absoluteFill})]})}let S=(0,g.zo)(g.sg)({flex:1}),O=(0,g.zo)(g.zx)({minWidth:160}),T=(0,g.zo)(g.Xd)({alignItems:"center",flexDirection:"row"}),A=g.mM.create({fullWidth:{width:"100%"}}),{authorized:H}=Z.OAuth2Actions,{authorizeByRefreshToken:N}=Z.oauth2Spec,fetchAccessTokenByRefreshToken=async t=>{let e=N({refreshToken:t}),{data:n}=await d().request(e);return n};function ContinuousLoginMain(t){let{credential:e,fetchCredential:n,navigateToLastLogin:o,navigateToLogin:a,onRemovePress:l}=t,{local:{backgroundImageData:u,boundary:d,continuousLoginUsername:L,provider:k}={},server:{refreshToken:m}={}}=(0,C.yZQ)(e),w=(0,r.I0)(),I=(0,r.v9)(y.s),{height:P}=(0,s.Z)(),B=(0,g._m)("lg",!0,!1),N=B&&"web"===c.Z.OS,[M]=(0,v.T_)("page-dependent-ui"),onLoginPress=async()=>{try{if(!m){o(k);return}let t=await fetchAccessTokenByRefreshToken(m);w(H({provider:k,continuousLoginUsername:L,boundary:d,response:{data:t}}))}catch(r){let{server:t,...i}=e;await y.Z.setContinuousLoginInfo(i,I),await n(),o(k)}},X=k===Z.yI.APPLE?(0,C.kC2)(k):L;return(0,i.BX)(S,{style:N?{justifyContent:"center",paddingBottom:Math.round(.08*P)}:{justifyContent:"flex-end"},children:[(0,C.UEx)(u)?(0,i.tZ)(BackgroundImage,{backgroundImageData:u}):null,(0,i.tZ)(Dimmed,{}),(0,i.BX)(g.sg,{alignItems:"center",insets:g.rN.fromLTRB(0,8,0,7),style:N?{alignSelf:"center",maxWidth:512,width:"100%"}:{},children:[(0,i.BX)(g.sg,{alignItems:"center",insets:g.rN.horizontal(6),style:A.fullWidth,children:[(0,i.tZ)(g.ZT,{children:M("continuous-login.continue-as"),style:{color:f.Hk.static.baseOpacityInverse},variant:"header4"}),(0,i.tZ)(g.LZ,{size:2.5}),(0,i.BX)(g.X2,{alignItems:"center",insets:g.rN.right(2),justifyContent:"center",style:A.fullWidth,children:[(0,i.tZ)(b.Z,{provider:k}),(0,i.tZ)(g.LZ,{size:2}),(0,i.tZ)(g.ZT,{children:X,numberOfLines:1,style:{color:f.Hk.static.strongInverse},variant:k===Z.yI.TAPPYTOON?"header3":"header1",weight:"semiBold"})]})]}),(0,i.tZ)(g.LZ,{size:8}),(0,i.tZ)(O,{children:M("continuous-login.buttons.login"),color:"accent",onPress:onLoginPress,size:"large",variant:"capsuleSolid"}),(0,i.tZ)(g.LZ,{size:N||P<700?20:30}),(0,i.BX)(g.sg,{alignItems:"center",insets:g.rN.horizontal(4),children:[(0,i.BX)(T,{onPress:a,children:[(0,i.tZ)(g.ZT,{children:M("continuous-login.buttons.different-account"),style:{color:f.Hk.static.strongInverse},variant:"body3"}),(0,i.tZ)(g.LZ,{size:1.5}),(0,i.tZ)(h.MGN,{fill:f.Hk.static.baseOpacityInverse,height:15,width:14})]}),(0,i.tZ)(g.LZ,{size:4}),(0,i.tZ)(g.Xd,{onPress:l,children:(0,i.tZ)(g.ZT,{children:M("continuous-login.buttons.forget-account"),style:{color:f.Hk.static.strongInverse,textDecorationLine:"underline"},variant:"caption1",weight:"regular"})}),(0,i.tZ)(p.Z,{})]})]})]})}var M=n(16623),X=n(28611),E=n(97178),z=n(75186);let x=(0,g.zo)(g.cZ)({marginTop:12});var R=n(84168);let F=(0,a.sm)("ContinuousLogin",{...R.Z,ContinuousLoginRemove:function(t){let{navigateToLogin:e,onClose:n,visible:o}=t,a=(0,r.I0)(),[l]=(0,v.T_)("one-dialog"),onOk=async()=>{try{await y.Z.removeContinuousLoginInfo(),a(E.eX.showSnackbar({key:"one-toast:continuous-login-cleared"})),null==n||n(),e()}catch(t){}};return(0,i.BX)(z.Z,{visible:o,onClose:n,children:[(0,i.tZ)(g.$N,{children:l("remove-alert.title")}),(0,i.tZ)(x,{children:l("remove-alert.body"),textAlign:"center"}),(0,i.tZ)(g.kX,{children:(0,i.BX)(g.uV,{color:"warning",variant:"vertical",children:[(0,i.tZ)(g.zx,{children:l("remove-alert.buttons.ok"),onPress:n}),(0,i.tZ)(g.zx,{children:l("remove-alert.buttons.cancel"),onPress:onOk,size:"small"})]})})]})}});function dialogs_ContinuousLoginDialogContainer(){return(0,X.Z)("ContinuousLogin"),(0,i.tZ)(F,{})}var G=n(90748),_=n(16010);let Page=()=>{let t=(0,r.I0)(),{credential:e,fetchCredential:n}=(0,G.default)(),s=(0,_.default)(e),onLoginPress=()=>t(l.Actions.navigateToLogin());return(0,i.BX)(o.Fragment,{children:[(0,i.tZ)(M.Z,{variant:"inverse",isAbsolute:!0}),(0,i.tZ)(ContinuousLoginMain,{credential:e,fetchCredential:n,navigateToLastLogin:s,navigateToLogin:onLoginPress,onRemovePress:()=>
1t(a.kX.openDialog("ContinuousLoginRemove",{navigateToLogin:onLoginPress}))}),(0,i.tZ)(dialogs_ContinuousLoginDialogContainer,{})]})};Page.navigationOptions={bottomNavigationHidden:!0};var V=Page},90748:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return useCredential}});var i=n(35837),o=n(32735),r=n(19499),a=n(4112),l=n(76299);function useCredential(){let t=(0,r.v9)(l.s),e=(0,i.useRouter)(),[n,s]=(0,o.useState)(null),c=(0,o.useCallback)(async()=>{let n=await l.Z.getContinuousLoginInfo(t);if((0,a.KN3)(n)){await e.replace("/");return}s(n)},[t]);return(0,o.useEffect)(()=>{c().catch(a.dG4)},[]),{credential:n,fetchCredential:c}}},16010:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return useNavigateToLastLogin}});var i=n(32735),o=n(35837),r=n(72124),a=n(38240),l=n(64526),s=n(25657);function useNavigateToLastLogin(t){var e;let{query:n}=(0,o.useRouter)(),c=null==t?void 0:null===(e=t.local)||void 0===e?void 0:e.continuousLoginUsername,u=r.stringify({...n,...c&&{continuousLoginUsername:c}}),d=(0,l.kd)("/email-login?".concat(u)),g=(0,s.kh)(a.yI.APPLE),h=(0,s.kh)(a.yI.FACEBOOK),f=(0,s.kh)(a.yI.GOOGLE),Z=(0,s.kh)(a.yI.TWITTER);return(0,i.useCallback)(t=>{switch(t){default:case a.yI.TAPPYTOON:return d();case a.yI.APPLE:return g();case a.yI.FACEBOOK:return h();case a.yI.GOOGLE:return f();case a.yI.TWITTER:return Z()}},[d])}},25657:function(t,e,n){"use strict";n.d(e,{kh:function(){return useSocialLoginPress}});var i=n(72124),o=n(23055),r=n(90442),a=n(70660);let createProviderConfig=t=>({redirectUrl:"/oauth/".concat(t,"/redirect"),callbackUrl:"/oauth/".concat(t,"/callback")}),l={facebook:createProviderConfig("facebook"),google:createProviderConfig("google"),twitter:createProviderConfig("twitter"),apple:createProviderConfig("apple")},useSocialLoginPress=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,r.Z)(),s=n?n.query:void 0;return(0,o.Z)(()=>{let n=l[t],{redirectUrl:o}=n,r=i.stringify({...(0,a.W)(s),...e}),c="".concat(o,"?").concat(r);window.location.replace(c)})}},70660:function(t,e,n){"use strict";n.d(e,{W:function(){return omitDuplicateAccountQuery}});let i=["duplicate","attempted","registered","email","duplicateReturnPath","allowDuplicateEmail"],omitDuplicateAccountQuery=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(t).reduce((e,n)=>i.includes(n)?e:{...e,[n]:t[n]},{})}}},function(t){t.O(0,[1545,2130,2238,2710,5143,8554,1706,1321,5531,9774,2888,179],function(){return t(t.s=98197)}),_N_E=t.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.