1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7052],{30718:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});var r=n(27925),i=n(76746),o=n(14180);function s(e,t,n){var s=(0,i.x)(null==n?void 0:n.in,e,t),c=(0,r.A)(s,2),d=c[0],l=c[1],u=a(d,l),p=Math.abs((0,o.m)(d,l));d.setDate(d.getDate()-u*p);var f=Number(a(d,l)===-u),m=u*(p-f);return 0===m?0:m}function a(e,t){var n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}},36926:(e,t,n)=>{"use strict";n.d(t,{$i:()=>a,Sp:()=>s,Y9:()=>c,aH:()=>f,ab:()=>u,hE:()=>l,p:()=>d,rL:()=>p});var r=n(5646),i=n(82788),o=n(90316);r.Ay.div.withConfig({componentId:"sc-1ea2za-0"})(function(){return(0,r.AH)(["width:100%;height:100%;"])});var s=r.Ay.div.withConfig({componentId:"sc-1ea2za-1"})(function(e){var t=e.theme;return(0,r.AH)(["width:100%;display:flex;flex-direction:column;margin-top:",";"],t.sz.s8)}),a=r.Ay.div.withConfig({componentId:"sc-1ea2za-2"})(function(e){var t=e.theme;return(0,r.AH)(["display:grid;grid-gap:",";grid-template-columns:3fr 4fr;max-width:1509px;@media (max-width:","){grid-gap:",";grid-template-columns:1fr;}"],t.sz.s7,t.sz.ml,t.sz.s2)}),c=r.Ay.div.withConfig({componentId:"sc-1ea2za-3"})(function(e){var t=e.theme;return(0,r.AH)(["width:100%;display:flex;flex-direction:row;margin-bottom:",";gap:",";@media (max-width:","){flex-direction:column;}"],t.sz.s6,t.sz.s4,t.sz.xxl)}),d=r.Ay.div.withConfig({componentId:"sc-1ea2za-4"})(function(e){var t=e.theme;return(0,r.AH)(["width:100%;display:flex;flex-direction:row;align-items:center;margin-right:",";"],t.sz.s6)}),l=r.Ay.div.withConfig({componentId:"sc-1ea2za-5"})(function(e){var t=e.theme;return(0,r.AH)(["font-size:",";color:",";font-weight:",";margin-right:",";@media (min-width:","){flex:0 0 auto;}"],t.DEPRECATED_ty.larger,t.co.secondary0,t.DEPRECATED_ty.bold,t.sz.s4,t.sz.md)}),u=(0,r.Ay)(i.A).withConfig({componentId:"sc-1ea2za-6"})(function(e){var t=e.theme;return(0,r.AH)(["height:",";align-items:center;"],t.sz.s7)}),p=r.Ay.div.withConfig({componentId:"sc-1ea2za-7"})(function(){return(0,r.AH)(["width:100%;height:100%;display:flex;align-items:center;justify-content:center;"])}),f=(0,r.Ay)(o.A).withConfig({componentId:"sc-1ea2za-8"})(function(e){var t=e.theme;return(0,r.AH)(["width:",";"],t.sz.s32)})},37267:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A});var r=n(22613)},38791:(e,t,n)=>{"use strict";n.d(t,{n:()=>g});var r=n(14232),i=n(74359),o=n(41745),s=n(26900),a=n(17651),c=n(53403),d=n(86241),l=n(13706),u=n(49272),p=n(92991),f=n(36926),m=n(37876),g=function(e){var t,n,g,h,y,_=e.languagePairId,v=e.backPath,w=e.showReviewFirst,b=e.hideLearnButton,A=(0,r.useState)(null),x=A[0],z=A[1],C=(0,d.B)({tokenType:"review_classic"}),j=(0,d.B)({tokenType:"review_speed"}),k=(0,d.B)({tokenType:"review_difficult_words"}),P=(0,i.I)({queryKey:["practice",_],queryFn:function(){return s.fR.getPractice(_)},staleTime:0,gcTime:0}),O=P.data,I=P.isLoading;if(P.isError||C.isError||j.isError||k.isError)return(0,m.jsx)(a.H,{});if(I||C.isLoading||j.isLoading||k.isLoading)return(0,m.jsx)(f.rL,{children:(0,m.jsx)(f.aH,{})});var H=null==O||null==(t=O.review)?void 0:t.count,E=null==O||null==(n=O.difficultWords)?void 0:n.count,L=null==O?void 0:O.nothingLearnedYet,U=(0,p.J)(!!(null!=O&&null!=(g=O.review)&&g.enabled),c.b.aprender.review,_,v),T=(0,p.J)(!!(null!=O&&null!=(h=O.review)&&h.enabled),c.b.aprender.speed,_,v),M=(0,p.J)(!!(null!=O&&null!=(y=O.difficultWords)&&y.enabled),c.b.aprender.difficult,_,v),D=(0,m.jsx)(l.m,{count:E,difficultWordsReviewUrl:M,isLocked:k.isLocked,onLockedClick:function(){return z("review_difficult_words")}}),S=(0,m.jsx)(u.v,{count:H,reviewUrl:U,speedReviewUrl:T,nothingLearnedYet:L,isReviewLocked:C.isLocked,isSpeedReviewLocked:j.isLocked,onLockedClick:function(e){return z("review"===e?"review_classic":"review_speed")},hideLearnButton:b});return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(f.$i,{children:w?(0,m.jsxs)(m.Fragment,{children:[S,D]}):(0,m.jsxs)(m.Fragment,{children:[D,S]})}),x&&(0,m.jsx)(o.d,{tokenType:x,onClose:function(){return z(null)}})]})}},41745:(e,t,n)=>{"use strict";n.d(t,{d:()=>x});var r=n(42969),i=n(14232),o=n(5720),s=n(82742),a=n(25493),c=n(53403),d=n(99634),l=n(26900),u=n(48278),p=n(5646),f=n(2553),m=p.Ay.div.withConfig({componentId:"sc-p9il9z-0"})(function(e){var t=e.theme;return(0,p.AH)(["display:flex;flex-direction:column;align-items:center;padding:",";@media (max-width:","){padding:",";}
1"],t.sz.s8,t.sz.s,t.sz.s4)}),g=p.Ay.img.withConfig({componentId:"sc-p9il9z-1"})(function(e){var t=e.theme;return(0,p.AH)(["height:",";padding:",";width:auto;margin-bottom:",";@media (max-width:","){margin-bottom:",";}"],t.sz.s26,t.sz.s4,t.sz.s6,t.sz.s,t.sz.s3)}),h=p.Ay.h1.withConfig({componentId:"sc-p9il9z-2"})(function(e){var t=e.theme;return(0,p.AH)(["",";color:",";text-align:center;margin:"," "," ",";"],t.typography.heading.desktop.m,t.co.secondary0,t.sz.s0,t.sz.s0,t.sz.s3)}),y=p.Ay.p.withConfig({componentId:"sc-p9il9z-3"})(function(e){var t=e.theme;return(0,p.AH)(["",";color:",";text-align:center;margin:"," "," ",";"],t.typography.paragraph.base,t.co.secondary20,t.sz.s0,t.sz.s0,t.sz.s6)}),_=(0,p.Ay)(f.A).withConfig({componentId:"sc-p9il9z-4"})(function(e){var t=e.theme;return(0,p.AH)(["font-size:",";padding-bottom:",";margin-right:",";"],t.sz.s5,t.sz.s05,t.sz.s2)}),v=n(37876);function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}var b=(0,o.YK)({description:{id:"monetisation_Upsell_text_LimitReached"},cta:{id:"immerse_businessmodel_upsell_upgrade_cta"}}),A=(0,o.YK)({videos:{id:"monetisation_VideosUpsell_title"},conversations:{id:"monetisation_ConversationsUpsell_title"},review_classic:{id:"monetisation_ClassicReviewUpsell_title"},review_speed:{id:"monetisation_SpeedReviewUpsell_title"},review_difficult_words:{id:"monetisation_DifficultWordsUpsell_title"},pronunciation_from_my_words:{id:"monetisation_PronunciationUpsell_title"},presentation_screen_pronunciation:{id:"monetisation_PronunciationUpsell_title"},buddy_type_pronunciation:{id:"monetisation_PronunciationUpsell_title"},buddy_type_sentence_builder:{id:"monetisation_SentenceBuilderUpsell_title"},buddy_type_grammar:{id:"monetisation_GrammarUpsell_title"},buddy_type_roleplay:{id:"monetisation_RolePlayUpsell_title"},buddy_type_translator:{id:"monetisation_TranslatorUpsell_title"},buddy_type_culture:{id:"monetisation_CultureBuddyUpsell_title"},buddy_type_conjugation:{id:"monetisation_ConjugationUpsell_title"},wordlist_bulk_create_learnables_with_ai:{id:"monetisation_WordlistBulkCreateLearnablesWithAiUpsell_title"}}),x=function(e){var t=e.tokenType,n=e.buddyId,p=e.onClose,f=(0,o.tz)(),x=(0,d.u)().user,z=(0,u.S)(),C=A[t];(0,i.useEffect)(function(){l.mq.trackUserAction("screen_viewed","upsell_screen",z,!!(null!=x&&x.isPro),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach(function(t){(0,r.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({feature:t},n&&{buddy_id:n}))},[]);var j=(0,i.useCallback)(function(){l.mq.trackUserAction("clicked_upsell_upgrade_button","upsell_screen",z,!!(null!=x&&x.isPro),{feature:t})},[t,x,z]),k=(0,i.useCallback)(function(){l.mq.trackUserAction("paywall_dismissed","upsell_screen",z,!!(null!=x&&x.isPro),{feature:t}),p()},[t,x,z,p]);return(0,v.jsx)(s.a,{isOpen:!0,darkCloseIcon:!0,handleClose:k,children:(0,v.jsxs)(m,{"data-testid":"featureUpsellModal",children:[(0,v.jsx)(g,{src:"/_next/static/images/55b8f77cb5c155b2906f557d470068c2.png",alt:""}),C&&(0,v.jsx)(h,{children:f.formatMessage(C)}),(0,v.jsx)(y,{children:f.formatMessage(b.description)}),(0,v.jsxs)(a.z,{buttonType:"primary",buttonSize:"large",wide:!0,href:{pathname:c.b.payment.plans,query:{upsellTokenType:t}},onClick:j,children:[(0,v.jsx)(_,{name:"padlock"}),f.formatMessage(b.cta)]})]})})}},45188:(e,t,n)=>{"use strict";n.d(t,{z:()=>i});var r=n(5646),i=r.Ay.div.withConfig({componentId:"sc-1tpmh74-0"})(function(e){var t=e.theme;return(0,r.AH)(["margin:"," auto 0 auto;width:",";"],t.sz.s32,t.sz.s20)})},62296:(e,t,n)=>{"use strict";n.d(t,{b:()=>o});var r=n(53403),i=n(43526),o=function(e,t){var n="string"==typeof t?{source:t}:null!=t?t:{},o={language_pair_id:e};return n.source&&(o.source=n.source),void 0!==n.pathwayNodeId&&(o.pathway_node_id=n.pathwayNodeId),n.back&&(o.back=n.back),(0,i.f)(r.b.aprender.learn,o)}},63563:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/vocabulary",function(){return n(37267)}])}
1,73933:(e,t,n)=>{"use strict";n.d(t,{j:()=>m});var r=n(14232),i=n(53590),o=n(5720),s=n(14780),a=n(2553),c=n(5646),d=n(66185),l=c.Ay.button.withConfig({componentId:"sc-bt31n8-0"})(function(e){var t=e.theme;return(0,c.AH)(["margin-left:",";background:none;border:none;padding:0;cursor:pointer;font-size:",";display:inline-flex;align-items:center;gap:",";color:inherit;svg{transform:scaleX(",");}"],t.sz.s3,t.sz.s6,t.sz.s1,(0,d.g)(t))}),u=c.Ay.span.withConfig({componentId:"sc-bt31n8-1"})(function(e){var t=e.theme;return(0,c.AH)(["",";color:inherit;"],t.typography.paragraph.s)}),p=n(37876),f=(0,o.YK)({info:{id:"card_statistics_link_see_more"}}),m=function(e){var t=e.tooltip,n=e.label,c=(0,r.useState)(!1),d=c[0],m=c[1],g=(0,r.useRef)(null);(0,i.fy)("esc",function(){return m(!1)}),(0,i.c7)(g,function(){return m(!1)});var h=(0,o.tz)().formatMessage(f.info);return(0,p.jsx)("div",{ref:g,"aria-label":h,children:(0,p.jsx)(s.m,{tooltip:t,forceShow:d,tooltipStyle:"hint",children:(0,p.jsxs)(l,{title:h,onClick:function(){return m(!d)},children:[(0,p.jsx)(a.A,{name:"infoOutline"}),n&&(0,p.jsx)(u,{children:n})]})})})}},82788:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(42969),i=n(59860),o=n(5646),s=o.Ay.div.withConfig({componentId:"sc-psxg2y-0"})(function(e){var t=e.theme,n=e.color;return(0,o.AH)(["background-color:",";border-radius:"," / 50%;color:",";font-weight:",";padding:"," ",";text-align:center;text-transform:uppercase;display:flex;justify-content:center;"],"green"===n?t.co.success80:t.co.neutral90,t.sz.s4,"green"===n?t.co.success0:t.co.neutral20,t.DEPRECATED_ty.bold,t.sz.s2,t.sz.s4)}),a=n(37876),c=["children","color"];function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach(function(t){(0,r.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}let u=function(e){var t=e.children,n=e.color,r=(0,i.A)(e,c);return(0,a.jsx)(s,l(l({},r),{},{color:n,children:(0,a.jsx)("span",{children:t})}))}},86093:(e,t,n)=>{"use strict";n.d(t,{g:()=>b});var r=n(42969),i=n(14232),o=n(5720),s=n(90316),a=n(5646),c=n(2553),d=a.Ay.div.withConfig({componentId:"sc-20cvz0-0"})(function(e){var t=e.theme,n=e.$type;return(0,a.AH)(["display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:",";padding:",";width:100%;border-radius:",";background-color:",";"],t.sz.s1,t.sz.s4,t.bo.mediumSmall,"learned"===n?t.co.success98:"heard"===n?t.co.error98:t.co.information98)}),l=a.Ay.div.withConfig({componentId:"sc-20cvz0-1"})(function(){return(0,a.AH)(["display:flex;align-items:center;justify-content:center;"])}),u=(0,a.Ay)(c.A).withConfig({componentId:"sc-20cvz0-2"})(function(e){var t=e.theme,n=e.$type;return(0,a.AH)(["color:",";font-size:",";"],"learned"===n?t.co.success40:"heard"===n?t.co.error60:t.co.information50,t.sz.s6)}),p=a.Ay.div.withConfig({componentId:"sc-20cvz0-3"})(function(e){var t=e.theme;return(0,a.AH)(["display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;color:",";"],t.co.secondary20)}),f=a.Ay.div.withConfig({componentId:"sc-20cvz0-4"})(function(e){var t=e.theme;return(0,a.AH)(["",";color:",";@media (max-width:","){word-break:break-word;}"],t.typography.heading.desktop.xxs,t.co.secondary20,t.sz.maxMobileBreakpoint)}),m=a.Ay.div.withConfig({componentId:"sc-20cvz0-5"})(function(e){var t=e.theme;return(0,a.AH)(["",";color:",";"],t.typography.paragraph.m,t.co.secondary20)}),g=a.Ay.div.withConfig({componentId:"sc-20cvz0-6"})(function(e){var t=e.theme;return(0,a.AH)(["width:",";"],t.sz.s6)}),h=n(37876),y=(0,o.YK)({learned:{id:"mywords_marker_learned"},heard:{id:"mywords_marker_heard"},used:{id:"mywords_marker_used"},wordsCount:{id:"wordlists_viewlist_section1_subheader"},learnedCount:{id:"words_detail_learned_count"},heardCountPart1:{id:"words_detail_heard_count_part1"}
1,heardCountPart2:{id:"words_detail_heard_count_part2"},usedCountPart1:{id:"words_detail_used_count_part1"},usedCountPart2:{id:"words_detail_used_count_part2"}}),_="learned",v="heard",w=(0,r.A)((0,r.A)((0,r.A)({},_,{icon:"idea",messageKey:"learned"}),v,{icon:"headphones",messageKey:"heard"}),"used",{icon:"communicateOutline",messageKey:"used"}),b=function(e){var t=e.type,n=e.count,r=e.occurrences,a=e.sessions,c=e.isLoading,b=(0,o.tz)(),A=w[t],x=(0,i.useCallback)(function(){var e=t===v,n=e?y.heardCountPart1:y.usedCountPart1,i=e?y.heardCountPart2:y.usedCountPart2,o=e?{videosCount:a}:{convoCount:a},s=b.formatMessage(n,{timesCount:r}),c=b.formatMessage(i,o);return"".concat(s," ").concat(c)},[t,a,b,r]),z=(0,i.useMemo)(function(){return void 0===a?b.formatMessage(y.wordsCount,{n:n}):t===_?b.formatMessage(y.learnedCount,{n:n,testsCount:a}):x()},[a,n,t,b,x]);return(0,h.jsxs)(d,{$type:t,"data-testid":"mywords_counter_".concat(t),children:[(0,h.jsx)(l,{children:(0,h.jsx)(u,{name:A.icon,$type:t})}),(0,h.jsxs)(p,{children:[(0,h.jsx)(f,{children:b.formatMessage(y[A.messageKey])}),c?(0,h.jsx)(g,{children:(0,h.jsx)(s.A,{})}):(0,h.jsx)(m,{children:z})]})]})}},86241:(e,t,n)=>{"use strict";n.d(t,{B:()=>d});var r=n(14232),i=n(74359),o=n(26900),s=n(4285),a=n(99634),c=n(48278),d=function(e){var t=e.enabled||!("enabled"in e),n=e.tokenType,d=(0,a.u)().user,l=(0,c.S)(),u=(0,s.hF)().experienceType,p=(0,r.useRef)(!1),f=t&&"2025"===u&&!(null!=d&&d.isPro)&&!!n,m=!!l&&f,g=(0,i.I)({queryKey:["getFeaturesTokensAvailability",l],queryFn:function(){return o.lt.getFeaturesTokensAvailability(l)},enabled:m}),h=g.data,y=g.isError,_=(0,r.useMemo)(function(){if(!h)return null;var e=null==h?void 0:h.find(function(e){return e.type===n});return e?e.available?"available":"not-available":"not-found"},[h,n]),v=(0,r.useCallback)(function(){!p.current&&f&&"available"===_&&(p.current=!0,o.lt.consumeFeatureToken(l,n))},[l,f,_,n]),w=m&&y,b=!f||w||null!=_;return{isLoading:!!t&&"2024"!==u&&!b,isError:w,isLocked:"not-available"===_,isRationed:f,onActivityEngagement:v}}}},e=>{e.O(0,[5687,4202,2673,433,2683,7063,2613,6593,636,8792],()=>e(e.s=63563)),_N_E=e.O()}]); 2//# sourceMappingURL=vocabulary-c16e7a69895a19a6.js.map
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.