PageSourceSearch

https://www.talkdrill.com/_next/static/chunks/99244-79f612b705497ad9.js

js talkdrill.com collected 2026-09-24 13:42:53 UTC 23,578 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="b080718c-d686-4569-93ec-07046c7c95ad",e._sentryDebugIdIdentifier="sentry-dbid-b080718c-d686-4569-93ec-07046c7c95ad")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[99244],{14516:(e,a,t)=>{t.d(a,{BJ:()=>u,EP:()=>r,NI:()=>f,Q:()=>g,_$:()=>p,_l:()=>s,g2:()=>l,oO:()=>o,tH:()=>i,tn:()=>d,tp:()=>h,uG:()=>c});var n=t(18835);async function l(){var e,a;let t=await n.Ay.get("/api/v1/coin/balance");if((null==(e=t.data)?void 0:e.variant)==="success")return t.data.myData;throw Error((null==(a=t.data)?void 0:a.message)||"Failed to get coin balance")}async function r(){var e,a;let t=await n.Ay.get("/api/v1/coin/session-license-balance");if((null==(e=t.data)?void 0:e.variant)==="success")return t.data.myData;throw Error((null==(a=t.data)?void 0:a.message)||"Failed to get session license balance")}async function o(){var e,a;let{page:t=1,limit:l=20,type:r,dateFrom:o,dateTo:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s={page:t,limit:l};r&&(s.type=r),o&&(s.dateFrom=o),i&&(s.dateTo=i);let d=await n.Ay.get("/api/v1/coin/history",{params:s});if((null==(e=d.data)?void 0:e.variant)==="success")return d.data.myData;throw Error((null==(a=d.data)?void 0:a.message)||"Failed to get transaction history")}async function i(){var e,a,t;let l=await n.Ay.get("/api/v1/coin/packages");if((null==(e=l.data)?void 0:e.variant)==="success")return null==(a=l.data.myData)?void 0:a.packages;throw Error((null==(t=l.data)?void 0:t.message)||"Failed to get coin packages")}async function s(){var e,a,t;let l=await n.Ay.get("/api/v1/combo-packages");if((null==(e=l.data)?void 0:e.variant)==="success")return null==(a=l.data.myData)?void 0:a.packages;throw Error((null==(t=l.data)?void 0:t.message)||"Failed to get combo packages")}async function d(e){var a,t;let{packageId:l,billingStateCode:r,isIndia:o,promoCode:i,platform:s="web"}=e,d=await n.Ay.post("/api/v1/coin/create-order",{packageId:l,billingStateCode:r,isIndia:o,promoCode:i,platform:s});if((null==(a=d.data)?void 0:a.variant)==="success")return d.data.myData;throw Error((null==(t=d.data)?void 0:t.message)||"Failed to create payment order")}async function c(e){var a,t;let l=await n.Ay.post("/api/v1/coin/verify-payment",e);if((null==(a=l.data)?void 0:a.variant)==="success")return l.data.myData;throw Error((null==(t=l.data)?void 0:t.message)||"Failed to verify payment")}async function u(e){var a,t;let{packageId:l,billingStateCode:r,isIndia:o,promoCode:i,platform:s="web"}=e,d=await n.Ay.post("/api/v1/combo-packages/create-order",{packageId:l,billingStateCode:r,isIndia:o,promoCode:i,platform:s});if((null==(a=d.data)?void 0:a.variant)==="success")return d.data.myData;throw Error((null==(t=d.data)?void 0:t.message)||"Failed to create combo payment order")}async function p(e){var a,t;let l=await n.Ay.post("/api/v1/combo-packages/verify-payment",e);if((null==(a=l.data)?void 0:a.variant)==="success")return l.data.myData;throw Error((null==(t=l.data)?void 0:t.message)||"Failed to verify combo payment")}async function h(e){try{await n.Ay.post("/api/v1/payment-events/log",{...e,platform:"web"})}catch(e){console.log("Failed to log payment event:",e)}}async function f(){var e,a,t;let l=await n.Ay.post("/api/v1/coin/daily-checkin",{});if((null==(e=l.data)?void 0:e.variant)==="success"||(null==(a=l.data)?void 0:a.variant)==="info")return l.data.myData;throw Error((null==(t=l.data)?void 0:t.message)||"Failed to process daily check-in")}async function g(e){try{var a,t;return null!=(t=null==(a=(await n.Ay.post("/api/v1/coin/service-checkin",{serviceType:e})).data)?void 0:a.myData)?t:null}catch(e){return console.log("Auto check-in skipped:",null==e?void 0:e.message),null}}},25065:(e,a,t)=>{t.d(a,{n:()=>l});var n=t(12115);function l(){let{enabled:e=!0,delay:a=3500}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[t,l]=(0,n.useState)(!0),r=(0,n.useRef)(null),o=(0,n.useCallback)(()=>{r.current&&(clearTimeout(r.current),r.current=null)},[]),i=(0,n.useCallback)(()=>{o(),r.current=setTimeout(()=>l(!1),a)},[o,a]),s=(0,n.useCallback)(()=>l(!0),[]);return(0,n.useEffect)(()=>
1{if(!e){l(!0),o();return}if(!t)return;i();let a=()=>{l(!1),o()};return window.addEventListener("scroll",a,{passive:!0,once:!0}),()=>{window.removeEventListener("scroll",a),o()}},[e,t,i,o]),{expanded:t,expand:s}}},34480:(e,a,t)=>{t.d(a,{Ei:()=>v,Z4:()=>y,sk:()=>m});var n=t(95155),l=t(80476),r=t(53267),o=t(99596),i=t(98106),s=t(83729),d=t(16324),c=t(25466),u=t(51095),p=t(91681),h=t(25065),f=t(85127),g=t(67550);let b={ai_call_error:"Hi, I'm facing an error while trying to start an AI call on TalkDrill. Can you help?",payment_error:"Hi, I'm facing an error while making a payment on TalkDrill. Can you help?",login_error:"Hi, I'm facing an issue during login/OTP verification on TalkDrill. Can you help?",otp_not_received:"Hi TalkDrill Support, I'm not receiving the verification code (OTP) to sign in. Please help me.",account_setup:"Hi TalkDrill Support, I'm stuck on the account setup step and can't continue. Please help.",onboarding_save:"Hi TalkDrill Support, I can't finish onboarding — my answers won't save. Please help.",payment_failed:"Hi TalkDrill Support, my payment failed. Please help me complete it.",payment_not_activated:"Hi TalkDrill Support, I paid but my plan / tokens haven't been activated yet. Please help.",tokens_exhausted:"Hi TalkDrill Support, I've run out of tokens / coins and need help continuing.",web_feature_error:"Hi, I tried using an AI feature on the TalkDrill website but got a connection error. Can you help?",game_error:"Hi TalkDrill Support, I hit a problem while playing a game on TalkDrill. Can you help?",subscription_help:"Hi, I need help with my TalkDrill subscription.",plan_selection_help:"Hi, I need help choosing a subscription plan on TalkDrill.",low_rating_feedback:"Hi TalkDrill, I just left a low rating and want to share what went wrong so you can help me out...",general:"Hi, I need help with TalkDrill."};function m(){var e,a;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"general",n=b[t]||b.general;return"https://wa.me/".concat((null==(a=(0,f.bU)())||null==(e=a.support)?void 0:e.whatsappNumber)||f.z_.support.whatsappNumber,"?text=").concat(encodeURIComponent(n))}function v(e){let{context:a="general",label:t="WhatsApp Support",size:l="small",sx:r,...o}=e;return(0,n.jsx)(i.default,{variant:"outlined",size:l,startIcon:(0,n.jsx)(g.WL,{icon:"mdi:whatsapp"}),onClick:()=>window.open(m(a),"_blank","noopener,noreferrer"),sx:{borderColor:"#25D366",color:"#25D366",textTransform:"none",fontWeight:600,"&:hover":{borderColor:"#1DA851",bgcolor:"rgba(37, 211, 102, 0.08)"},...r},...o,children:t})}function w(e){try{var a,t;null==(a=(t=window).gtag)||a.call(t,"event","whatsapp_help_".concat(e),{event_category:"support"})}catch(e){}}function y(e){let{context:a="general",desktopAnchor:t="right",sx:i}=e,f=(0,d.default)(),b=(0,u.A)(f.breakpoints.down("sm")),v=(0,p.S)(),{expanded:y,expand:E}=(0,h.n)({enabled:b});if(v)return null;let x=m(a);return b?(0,n.jsx)(r.default,{component:l.m.div,initial:{x:-48,opacity:0}
1,animate:{x:0,opacity:1},transition:{type:"spring",stiffness:260,damping:26,delay:.6},sx:{position:"fixed",left:y?6:2,top:"52%",transform:"translateY(-50%)",zIndex:1200,transition:"left 200ms ease"},children:(0,n.jsx)(c.A,{component:"a",href:x,target:"_blank",rel:"noopener noreferrer",onClick:e=>{if(!y){e.preventDefault(),E();return}w(a)},"aria-label":y?"Chat with us on WhatsApp":"Show WhatsApp help","aria-expanded":y,sx:{display:"flex",flexDirection:"column",alignItems:"center",gap:.75,py:1.5,px:.75*!!y,width:y?"auto":14,minWidth:14*!y,minHeight:y?76:88,borderRadius:"0 12px 12px 0",color:"common.white",background:"linear-gradient(200deg, #25D366 0%, #1DA851 100%)",boxShadow:"2px 4px 16px rgba(37, 211, 102, 0.35)",WebkitTapHighlightColor:"transparent",transition:"padding-left 180ms ease, min-height 200ms ease, width 200ms ease","&:active":{pl:1.25*!!y}},children:y&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(g.WL,{icon:"mdi:whatsapp",width:17}),(0,n.jsx)(r.default,{component:"span",sx:{writingMode:"vertical-rl",fontSize:"0.7rem",fontWeight:700,letterSpacing:.4,lineHeight:1},children:"Help"})]})})}):(0,n.jsx)(r.default,{sx:{position:"fixed",bottom:28,..."left"===t?{left:28}:{right:28},zIndex:1200,...i},children:(0,n.jsx)(s.default,{title:"Chat with us on WhatsApp",placement:"left"===t?"right":"left",arrow:!0,children:(0,n.jsx)(o.default,{component:"a",href:x,target:"_blank",rel:"noopener noreferrer",onClick:()=>w(a),"aria-label":"Chat with us on WhatsApp",sx:{width:56,height:56,bgcolor:"#25D366",color:"#fff",boxShadow:"0 4px 14px rgba(37, 211, 102, 0.4)","&:hover":{bgcolor:"#1DA851",boxShadow:"0 6px 20px rgba(37, 211, 102, 0.5)",transform:"scale(1.05)"},transition:"all 0.2s ease-in-out"},children:(0,n.jsx)(g.WL,{icon:"mdi:whatsapp",width:28})})})})}},38386:(e,a,t)=>{t.d(a,{A:()=>p});var n=t(95155),l=t(11654),r=t(53267),o=t(7068),i=t(78449),s=t(700),d=t(85127),c=t(67550),u=t(34480);let p=function(e){var a,t;let{stars:p,surface:h,reviewText:f="",onChangeReviewText:g}=e,b=(0,d.bU)(),m=(null==b||null==(a=b.lowRatingFeedback)?void 0:a.whatsappContext)||"low_rating_feedback",v=(null==b||null==(t=b.lowRatingFeedback)?void 0:t.enabled)!==!1;return(0,n.jsx)(r.default,{"data-surface":h,sx:e=>({p:2.5,borderRadius:2,border:"1px solid",borderColor:"divider",bgcolor:(0,l.IG)(e.vars.palette.warning.mainChannel,.06)}),children:(0,n.jsxs)(o.default,{spacing:2,children:[(0,n.jsxs)(o.default,{direction:"row",spacing:1.5,alignItems:"flex-start",children:[(0,n.jsx)(r.default,{sx:{width:36,height:36,mt:.25,flexShrink:0,display:"flex",borderRadius:"50%",alignItems:"center",justifyContent:"center",color:"warning.main",bgcolor:e=>(0,l.IG)(e.vars.palette.warning.mainChannel,.12)},children:(0,n.jsx)(c.WL,{icon:"solar:heart-broken-bold",width:20})}),(0,n.jsxs)(r.default,{children:[(0,n.jsx)(s.default,{variant:"subtitle2",sx:{color:"text.primary"},children:"We're sorry it fell short"}),(0,n.jsxs)(s.default,{variant:"body2",sx:{color:"text.secondary",mt:.5},children:["Thanks for the honest",p?" ".concat(p,"-star"):""," rating. Tell us what went wrong and we'll do our best to make it right."]})]})]}),(0,n.jsx)(i.default,{label:"What could we do better? (optional)",placeholder:"Share what went wrong with your experience",value:f,onChange:e=>null==g?void 0:g(e.target.value.slice(0,1e3)),multiline:!0,minRows:3,fullWidth:!0,helperText:"".concat((f||"").trim().length,"/").concat(1e3),inputProps:{maxLength:1e3}}),v&&(0,n.jsxs)(o.default,{spacing:1,children:[(0,n.jsx)(s.default,{variant:"caption",sx:{color:"text.secondary"},children:"Prefer to chat? Reach us directly:"}),(0,n.jsx)(u.Ei,{context:m,label:"Tell us on WhatsApp",size:"medium"})]})]})})}},45505:(e,a,t)=>{t.d(a,{Toast:()=>w});var n=t(95155),l=t(80476),r=t(11654),o=t(53267),i=t(98106),s=t(86220),d=t(700),c=t(67550),u=t(12115),p=t(49742),h=t(695),f=t(97402),g=t(85258),b=t(30681);function m(e){let{errorClass:a,surface:t="toast",onDismiss:l}=e,r=(0,h.rd)(),o=(0,g.Y)(null,{surface:t,errorClass:a}),{source:s}=o.ctaTarget;(0,u.useEffect)(()=>{o.showOffer&&(0,f.Oe)({slot:s,variant:o.analyticsId})},[o.showOffer,o.analyticsId,s]);let c=(0,u.useCallback)(()=>{"signup"===o.ctaTarget.kind?r.push("".concat(p.f.authCustom.login,"?returnTo=").concat(encodeURIComponent(o.support.route||"/"),"&source=").concat(encodeURIComponent(s))):(b.M.clickUpgradeCTA(s),r.push("".concat(p.f.dashboard.subscription,"?source=").concat(encodeURIComponent(s)))),null==l||l()},[o.ctaTarget.kind,o.support.route,s,l,r]);return o.showOffer?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(d.default,{variant:"caption",sx:{dis
1play:"block",mt:.5,color:"text.secondary",lineHeight:1.4},children:o.headline}),(0,n.jsx)(i.default,{size:"small",variant:"contained",onClick:c,sx:{mt:.75,borderRadius:1.5,textTransform:"none",fontWeight:700},children:o.ctaLabel})]}):null}let v={success:{icon:"solar:check-circle-bold",color:"success"},error:{icon:"solar:close-circle-bold",color:"error"},warning:{icon:"solar:danger-triangle-bold",color:"warning"},info:{icon:"solar:info-circle-bold",color:"info"}};function w(e){let{id:a,variant:t="info",title:u,message:p,duration:h,action:f,offerClass:g,surface:b,onClose:w,reducedMotion:y}=e,E=v[t]||v.info;return(0,n.jsxs)(o.default,{component:y?"div":l.m.div,...y?{}:{initial:{opacity:0,x:60,scale:.95},animate:{opacity:1,x:0,scale:1},exit:{opacity:0,y:-12,scale:.95},transition:{type:"spring",stiffness:400,damping:30}},layout:!y,sx:e=>({position:"relative",display:"flex",alignItems:"flex-start",gap:1.5,p:1.5,pr:1,minWidth:300,maxWidth:400,borderRadius:"14px",overflow:"hidden",bgcolor:"background.paper",boxShadow:"0 8px 32px 0 ".concat((0,r.IG)(e.vars.palette.grey["500Channel"],.2)),border:"1px solid ".concat((0,r.IG)(e.vars.palette[E.color].mainChannel,.2))}),children:[(0,n.jsx)(o.default,{sx:e=>({width:36,height:36,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,borderRadius:"10px",bgcolor:(0,r.IG)(e.vars.palette[E.color].mainChannel,.1)}),children:(0,n.jsx)(c.WL,{icon:E.icon,width:22,sx:{color:"".concat(E.color,".main")}})}),(0,n.jsxs)(o.default,{sx:{flex:1,minWidth:0,py:.25},children:[u&&(0,n.jsx)(d.default,{variant:"subtitle2",sx:{fontWeight:600,lineHeight:1.4},children:u}),p&&(0,n.jsx)(d.default,{variant:"body2",sx:{color:"text.secondary",lineHeight:1.5,mt:.25*!!u},children:p}),!!g&&(0,n.jsx)(m,{errorClass:g,surface:b,onDismiss:()=>w(a)}),f&&(0,n.jsx)(i.default,{size:"small",color:E.color,onClick:()=>{var e;null==(e=f.onClick)||e.call(f),w(a)},sx:{mt:.5,textTransform:"none",fontWeight:600,p:0,minWidth:0},children:f.label})]}),(0,n.jsx)(s.default,{size:"small","aria-label":"Dismiss notification",onClick:()=>w(a),sx:{mt:-.25,mr:-.25},children:(0,n.jsx)(c.WL,{icon:"mingcute:close-line",width:18})}),(0,n.jsx)("style",{children:"\n@keyframes td-toast-progress {\n  from { width: 100%; }\n  to { width: 0%; }\n}\n"}),(0,n.jsx)(o.default,{sx:e=>({position:"absolute",bottom:0,left:0,height:3,bgcolor:(0,r.IG)(e.vars.palette[E.color].mainChannel,.4),borderRadius:"0 0 14px 14px",animation:"td-toast-progress ".concat(h,"ms linear forwards")})})]})}},47947:(e,a,t)=>{t.d(a,{I:()=>l});var n=t(12115);function l(){let[e,a]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let e=window.matchMedia("(prefers-reduced-motion: reduce)");a(e.matches);let t=e=>{a(e.matches)};return e.addEventListener("change",t),()=>{e.removeEventListener("change",t)}},[]),e}},60688:(e,a,t)=>{t.d(a,{dj:()=>n.useToast}),t(45505);var n=t(68936)},65038:(e,a,t)=>{t.d(a,{A:()=>s,B:()=>i});var n=t(12115),l=t(85127);let r="storePrompt.v1";function o(){try{let e=window.localStorage.getItem(r);if(!e)return{};let a=JSON.parse(e);return a&&"object"==typeof a?a:{}}catch(e){return{}}}function i(){let[e,a]=(0,n.useState)(()=>(0,l.bU)());(0,n.useEffect)(()=>{let e=!1;return(0,l.li)().then(t=>{!e&&t&&a(t)}).catch(()=>{}),()=>{e=!0}},[]);let t=(0,n.useCallback)(a=>{var t,n,l,r;let o=Number(a)||0,i=null!=(l=null==e||null==(t=e.ratingPrompt)?void 0:t.lowMaxStars)?l:2;return{isLow:o>0&&o<=i,isHigh:o>=(null!=(r=null==e||null==(n=e.ratingPrompt)?void 0:n.highMinStars)?r:5)}},[e]),i=(0,n.useCallback)(()=>!1,[]),s=(0,n.useCallback)(()=>{var a,t,n;if(!(null==e||null==(a=e.ratingPrompt)?void 0:a.enabled))return!1;let l=null!=(n=null==e||null==(t=e.ratingPrompt)?void 0:t.minDaysBetweenPrompts)?n:7,{lastStorePromptAt:r}=o();if(!r)return!0;let i=new Date(r).getTime();return!!Number.isNaN(i)||Date.now()-i>=864e5*l},[e]);return{config:e,classify:t,canShowStorePrompt:i,withinStorePromptCooldown:s,markStorePrompted:(0,n.useCallback)(()=>{var e={...o(),lastStorePromptAt:new Date().toISOString()};try{window.localStorage.setItem(r,JSON.stringify(e))}catch(e){}},[])}}let s=i},68764:(e,a,t)=>{t.d(a,{T:()=>n});let n={position:"relative","&::after":{content:'""',position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"max(100%, 44px)",height:"max(100%, 44px)"}}},68936:(e,a,t)=>{t.d(a,{ToastProvider:()=>m,useToast:()=>v});var n=t(95155),l=t(19114),r=t(12115),o=t(53267),i=t(4722),s=t(51095),d=t(47947),c=t(28937),u=t(91202),p=t(60034),h=t(32883),f=t(45505);let g=(0,r.createContext)(null),b=0;function m(e){let{children:a}=e,[t,m]=(0,r.useState)([]),v=(0,r.useRef)({}),w=(0,d.I)(),y=(0,s.A)("(max-width:600px)"),{tier:E}=(0,p.R)(),x=(0,r.useRef)(E);(0,r.useEffect)(()=>{x.current=E},[E]);let k=(0,r.useCallback)(e=>{clearTimeout(v.current[e]),delete v.current[e],m(a=>a.filter(a=>a.id!==e))},[]),I=(0,r.useCallback)(e=>{var a;let{variant:t="info",title:n,message:l,duration:r,action:o,report:i,error:s,errorClass:d,surface:p}=e,f=b+=1,g="error"===t&&!1!==i,w=void 0!==d,y=g&&(w||s)?w?d:(0,c.fe)(s):null,E=!g||w||s?y||(g&&w&&null===d&&s?(0,c.fe)(s):null):(0,c.fe)(l),I=o;"error"!==t||o||!1===i||(I={label:"Send this to our founder",onClick:()=>(0,h.b8)({errorTitle:n||l||"Something went wrong",errorMessage:l,source:"toast"})});let C=(null==s||null==(a=s.errorDescriptor)?void 0:a.subscriptionHandled)===!0,D=o||C?null:y,T=!!D&&"pro_plus"!==x.current,S=null!=r?r:D?12e3:"error"===t?1e4:5e3,j={id:f,variant:t,title:n,message:l,duration:S,action:I,offerClass:D,surface:p};return m(e=>{let a=[...e,j];if(a.length>3){let e=a.shift();clearTimeout(v.current[e.id]),delete v.current[e.id]}return a}),v.current[f]=setTimeout(()=>k(f),S),E&&(0,u.reportClientError)({error:s,message:l||n,surface:p||"toast",errorClass:E,offerShown:T}),f},[k]),C=(0,r.useCallback)(()=>{Object.values(v.current).forEach(clearTimeout),v.current={},m([])},[]);(0,r.useEffect)(()=>()=>{Object.values(v.current).forEach(clearTimeout)},[]);let D=(0,r.useMemo)(()=>({success:function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return I({variant:"success",message:e,...a})},error:function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return I({variant:"error",message:e,...a})},warning:function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return I({variant:"warning",message:e,...a})},info:function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return I({variant:"info",message:e,...a})},promise:async function(e){let{loading:a,success:t,error:n,...l}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=I({variant:"info",message:a||"Loading...",duration:6e4,...l});try{let a=await e;return k(r),I({variant:"success",message:t||"Done!",...l}),a}catch(e){throw k(r),I({variant:"error",message:n||(null==e?void 0:e.message)||"Something went wrong",error:e,...l}),e}},dismiss:C}),[I,k,C]),T=(0,r.useMemo)(()=>({toast:D}),[D]);return(0,n.jsxs)(g.Provider,{value:T,children:[a,(0,n.jsx)(i.A,{children:(0,n.jsx)(o.default,{role:"alert","aria-live":"assertive",sx:{position:"fixed",top:16,...y?{left:"50%",transform:"translateX(-50%)"}:{right:16},zIndex:2100,display:"flex",flexDirection:"column",gap:1,pointerEvents:"none","& > *":{pointerEvents:"auto"}},children:(0,n.jsx)(l.N,{children:t.map(e=>(0,n.jsx)(f.Toast,{...e,onClose:k,reducedMotion:w},e.id))})})})]})}function v(){let e=(0,r.useContext)(g);if(!e)throw Error("useToast must be used within a <ToastProvider>");return e}},76392:(e,a,t)=>{t.d(a,{Et:()=>n,h$:()=>r,lN:()=>l,ui:()=>i,v:()=>s,y_:()=>d,zh:()=>o});let n=["Couldn't hear me","Cut me off","Repeated itself","Too slow","Session dropped","Confusing","Too hard","Helpful","Realistic","Fun"],l=5,r=3,o=["My mic did not work","I could not hear them","It never responded","It ended too early","I did not know when to speak","Something else"],i=5,s=3,d={roleplay:"roleplay",interview:"interview",ielts:"IELTS practice",reading:"reading drill",writing:"writing task",gd:"group discussion"}},83938:(e,a,t)=>{t.d(a,{Q:()=>u});var n=t(12115),l=t(18835);let r="td_learn_practice_flags_v10",o=Object.freeze({learnPracticeV2:!1,learnModuleEnabled:!1,practiceModuleEnabled:!1,wordBankEnabled:!1,practiceVoiceEnabled:!1,roomsEnabled:!1,customTutorEnabled:!1,chatUpsellEnabled:!1,phonelessSignupEnabled:!0,livePeersEnabled:!1,wordOfDayEnabled:!1,gamesDashboardEnabled:!1,booksFullReadEnabled:!1,appEmbedEnabled:!1,readerInteractionsEnabled:!1,gameReviewsEnabled:!1,dispatchV2Enabled:!1,inAppOptInRingsEnabled:!1,peerChatEnabled:!1,peerScheduleEnabled:!1,nativeRingEnabled:!1}),i=null,s=null;async function d(){if(s)return s;s=(async()=>{try{var e,a;let t=await l.Ay.get(l.vZ.config.learnPracticeFlags),n=(null==t||null==(e=t.data)?void 0:e.data)||(null==t||null==(a=t.data)?void 0:a.myData)||{},o={learnPracticeV2:!!n.learnPracticeV2,learnModuleEnabled:!!n.learnModuleEnabled,practiceModuleEnabled:!!n.practiceModuleEnabled,wordBankEnabled:!!n.wordBankEnabled,practiceVoiceEnabled:!!n.practiceVoiceEnabled,roomsEnabled:!!n.roomsEnabled,customTutorEnabled:!!n.customTutorEnabled,chatUpsellEnabled:!!n.chatUpsellEnabled,phonelessSignupEnabled:!!n.phonelessSignupEnabled,livePeersEnabled:!!n.livePeersEnabled,wordOfDayEnabled:!!n.wordOfDayEnabled,gamesDashboardEnabled:!!n.gamesDashboardEnabled,booksFullReadEnabled:!!n.booksFullReadEnabled,appEmbedEnabled:!!n.appEmbedEnabled,readerInteractionsEnabled:!!n.readerInteractionsEnabled,gameReviewsEnabled:!!n.gameReviewsEnabled,dispatchV2Enabled:!0===n.dispatchV2Enabled,inAppOptInRingsEnabled:!0===n.inAppOptInRingsEnabled,peerChatEnabled:!0===n.peerChatEnabled,peerScheduleEnabled:!0===n.peerScheduleEnabled,nativeRingEnabled:!0===n.nativeRingEnabled},s={flags:o,fetchedAt:Date.now()};i=s;try{sessionStorage.setItem(r,JSON.stringify(s))}catch(e){}return o}catch(e){return{...o}}})();try{return await s}finally{s=null}}function c(){if(i&&Date.now()-i.fetchedAt<=3e5)return i.flags;let e=function(){try{let e=sessionStorage.getItem(r);if(!e)return null;let a=JSON.parse(e);if(!(null==a?void 0:a.flags)||!(null==a?void 0:a.fetchedAt)||Date.now()-a.fetchedAt>3e5)return null;return a}catch(e){return null}}();return e?(i=e,e.flags):null}
1function u(){let e=c(),[a,t]=(0,n.useState)(()=>({loading:!e,flags:e||{...o}}));return(0,n.useEffect)(()=>{let e=!0;return c()||d().then(a=>{e&&t({loading:!1,flags:a})}),()=>{e=!1}},[]),{loading:a.loading,learnEnabled:!!a.flags.learnModuleEnabled,practiceEnabled:!!a.flags.practiceModuleEnabled,wordBankEnabled:!!a.flags.wordBankEnabled,practiceVoiceEnabled:!!a.flags.practiceVoiceEnabled,roomsEnabled:!!a.flags.roomsEnabled,customTutorEnabled:!!a.flags.customTutorEnabled,chatUpsellEnabled:!!a.flags.chatUpsellEnabled,phonelessSignupEnabled:!!a.flags.phonelessSignupEnabled,livePeersEnabled:!!a.flags.livePeersEnabled,wordOfDayEnabled:!!a.flags.wordOfDayEnabled,gamesDashboardEnabled:!!a.flags.gamesDashboardEnabled,booksFullReadEnabled:!!a.flags.booksFullReadEnabled,appEmbedEnabled:!!a.flags.appEmbedEnabled,readerInteractionsEnabled:!!a.flags.readerInteractionsEnabled,gameReviewsEnabled:!!a.flags.gameReviewsEnabled,dispatchV2Enabled:!0===a.flags.dispatchV2Enabled,inAppOptInRingsEnabled:!0===a.flags.inAppOptInRingsEnabled,peerChatEnabled:!0===a.flags.peerChatEnabled,peerScheduleEnabled:!0===a.flags.peerScheduleEnabled,nativeRingEnabled:!0===a.flags.nativeRingEnabled,flags:a.flags}}},89820:(e,a,t)=>{t.d(a,{p:()=>o});var n=t(12115),l=t(14516),r=t(20948);function o(){let{updateUser:e,refreshUserData:a}=(0,r.Z)();return(0,n.useCallback)(async t=>{let n=await (0,l.Q)(t);return n&&(null==e||e({dailyStreak:n.dailyStreak,coins:n.newBalance}),null==a||a().catch(()=>{})),n},[e,a])}}}]);

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.