PageSourceSearch

https://app.memrise.com/_next/static/chunks/7177-d4f4a97cacded0a1.js

js memrise.com collected 2026-09-24 08:29:53 UTC 36,080 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{12943:(e,t,n)=>{n.d(t,{X:()=>er});var o=n(63857),r=n(42969),a=n(60180),i=n.n(a),s=n(14232),c=n(5720),d=n(82742),l=n(2553),u=n(61542),h=n(13857),f=n(67768),p=n(74359),g=n(40097),m=n(77808),b=n(26900),y=n(53403),v=n(68567),w=n(81523),_=n(48278),x=n(15343),k=n(5646),z=(0,k.Ay)(m.V).withConfig({componentId:"sc-1fgonlu-0"})(["position:relative;display:block;width:100%;"]),j=k.Ay.span.withConfig({componentId:"sc-1fgonlu-1"})(function(e){var t=e.theme;return(0,k.AH)(["display:flex;flex:0 0 auto;align-items:center;justify-content:center;color:",";font-size:",";pointer-events:none;"],t.co.secondary40,t.sz.s6)}),M=k.Ay.button.withConfig({componentId:"sc-1fgonlu-2"})(function(e){var t=e.theme;return(0,k.AH)(["display:flex;align-items:center;gap:",";width:100%;padding:"," 0;border:none;border-bottom:"," solid ",";background:none;margin:0;font:inherit;color:inherit;text-align:left;cursor:pointer;&:hover:not(:disabled) ","{color:",";}&:focus-visible{outline:"," solid ",";outline-offset:2px;border-radius:",";}&:disabled{cursor:default;opacity:0.6;}"],t.sz.s4,t.sz.s4,t.bo.thinWidth,t.co.secondary95,j,t.co.secondary20,t.bo.thickWidth,t.co.secondary40,t.bo.small)}),A=k.Ay.div.withConfig({componentId:"sc-1fgonlu-3"})(function(e){var t=e.theme;return(0,k.AH)(["display:flex;flex:0 0 auto;align-items:center;justify-content:center;width:",";height:",";border-radius:",";font-size:",";color:",";background-color:",";"],t.sz.s12,t.sz.s12,t.bo.medium,t.sz.s6,t.co.secondary10,t.co.primary40)}),C=k.Ay.div.withConfig({componentId:"sc-1fgonlu-4"})(function(e){var t=e.theme;return(0,k.AH)(["display:flex;flex:1 1 auto;flex-direction:column;gap:",";min-width:0;"],t.sz.s1)}),I=k.Ay.span.withConfig({componentId:"sc-1fgonlu-5"})(function(e){var t=e.theme;return(0,k.AH)(["",";color:",";"],t.typography.paragraph.s,t.co.secondary50)}),H=k.Ay.span.withConfig({componentId:"sc-1fgonlu-6"})(function(e){var t=e.theme;return(0,k.AH)(["",";color:",";overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"],t.typography.heading.mobile.xs,t.co.secondary20)}),S=k.Ay.div.withConfig({componentId:"sc-1fgonlu-7"})(function(e){var t=e.theme;return(0,k.AH)(["min-width:",";max-width:",";padding:"," 0;background-color:",";border-radius:",";"],t.sz.s48,t.sz.s64,t.sz.s2,t.co.neutral99,t.bo.medium)}),O=k.Ay.ul.withConfig({componentId:"sc-1fgonlu-8"})(["margin:0;padding:0;list-style:none;max-height:",";overflow-y:auto;"],function(e){return e.theme.sz.s64}),P=k.Ay.button.withConfig({componentId:"sc-1fgonlu-9"})(function(e){var t=e.theme,n=e.$isSelected;return(0,k.AH)(["display:flex;align-items:center;justify-content:space-between;gap:",";width:100%;padding:"," ",";border:none;background:",";color:",";cursor:pointer;text-align:left;",";font-weight:",";&:hover{background-color:",";}&:disabled{cursor:default;opacity:0.6;}"],t.sz.s3,t.sz.s3,t.sz.s4,n?t.co.secondary99:"transparent",t.co.secondary10,t.typography.paragraph.s,n?700:600,t.co.secondary95)}),W=k.Ay.span.withConfig({componentId:"sc-1fgonlu-10"})(["overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"]),L=k.Ay.span.withConfig({componentId:"sc-1fgonlu-11"})(function(e){var t=e.theme;return(0,k.AH)(["display:inline-flex;flex-shrink:0;color:",";font-size:",";"],t.co.success40,t.sz.s5)}),T=k.Ay.div.withConfig({componentId:"sc-1fgonlu-12"})(function(e){var t=e.theme;return(0,k.AH)(["height:",";margin:"," 0;background-color:",";"],t.bo.mediumWidth,t.sz.s1,t.co.secondary90)}),E=k.Ay.button.withConfig({componentId:"sc-1fgonlu-13"})(function(e){var t=e.theme;return(0,k.AH)(["display:flex;align-items:center;justify-content:center;width:100%;padding:"," ",";border:none;background:transparent;color:",";cursor:pointer;",";font-weight:700;&:hover{background-color:",";}"],t.sz.s3,t.sz.s4,t.co.primary40,t.typography.paragraph.s,t.co.primary99)}),F=n(37876),K=(0,c.YK)({currentVocab:{id:"wordlist_selector_current_vocab_label",defaultMessage:"Current vocab"},loading:{id:"wordlist_selector_loading_label",defaultMessage:"Loading…"},addMore:{id:"path_wordlist_selector_add_more",defaultMessage:"Add more"},noWordlist:{id:"path_wordlist_selector_none",defaultMessage:"No wordl
1ist"}}),Y=function(e,t,n){var o=new Set(t);return n&&o.add(n),e.filter(function(e){return o.has(e.wordlistId)}).sort(function(e,o){return e.wordlistId===n?-1:o.wordlistId===n?1:t.indexOf(e.wordlistId)-t.indexOf(o.wordlistId)})},D=function(e){var t,n,r=e.onTriggerClick,a=(0,c.tz)(),d=(0,v.A)().safePush,u=(0,f.jE)(),h=(0,_.S)(),k=(0,w.h)(h).isEligibleForTracksAndThemes,D=(0,s.useState)(!1),B=D[0],N=D[1],V=(0,p.I)({queryKey:["getWordlistsWithProgress",h],queryFn:function(){return b.Uq.getWordlistsWithProgress(h)},enabled:!!h}),$=V.data,q=V.isLoading,R=(0,g.n)({mutationFn:function(e){return b.Uq.activateWordlist(h,e)},onSuccess:(t=(0,o.A)(i().mark(function e(){return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([u.invalidateQueries({queryKey:["getWordlistsWithProgress",h]}),u.invalidateQueries({queryKey:["getWordlists",h]})]);case 2:case"end":return e.stop()}},e)})),function(){return t.apply(this,arguments)})}),U=(0,s.useMemo)(function(){return $?Y($.wordlists,$.collectionWordlistIds,$.activeWordlistId):[]},[$]),Z=U.find(function(e){return e.wordlistId===(null==$?void 0:$.activeWordlistId)}),X=null!=(n=null==Z?void 0:Z.title)?n:q?a.formatMessage(K.loading):a.formatMessage(K.noWordlist),G=function(e){N(!1),e!==(null==$?void 0:$.activeWordlistId)&&h&&R.mutate(e)},Q=function(){N(!1),d(k?{pathname:y.b.wordlists.changeVocabTrack,query:{back:y.b.path}}:y.b.wordlists.main)};if(!h)return null;var J=a.formatMessage(x.T.changeVocabList),ee=(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(A,{"aria-hidden":"true",children:(0,F.jsx)(l.A,{name:"wordlists"})}),(0,F.jsxs)(C,{children:[(0,F.jsx)(I,{children:a.formatMessage(K.currentVocab)}),(0,F.jsx)(H,{"data-testid":"wordlist-selector-title",children:X})]})]}),et=(0,F.jsx)(j,{"aria-hidden":"true",children:(0,F.jsx)(l.A,{name:"chevronRight"})});return k?(0,F.jsx)(z,{children:(0,F.jsxs)(M,{type:"button",onClick:function(){null==r||r(),Q()},"aria-label":J,"data-testid":"wordlist-selector-trigger",children:[ee,et]})}):(0,F.jsxs)(z,{children:[(0,F.jsxs)(M,{type:"button",onClick:function(){null==r||r(),N(function(e){return!e})},"aria-expanded":B,"aria-haspopup":"listbox","aria-label":J,"data-testid":"wordlist-selector-trigger",disabled:R.isPending,children:[ee,et]}),(0,F.jsx)(m.Y,{show:B,positionX:"left",positionY:"bottom",limitHeight:!0,onClickBackdrop:function(){return N(!1)},children:(0,F.jsxs)(S,{"data-testid":"wordlist-selector-menu",role:"listbox",children:[(0,F.jsx)(O,{children:U.map(function(e){var t=e.wordlistId===(null==$?void 0:$.activeWordlistId);return(0,F.jsx)("li",{role:"presentation",children:(0,F.jsxs)(P,{type:"button",role:"option","aria-selected":t,$isSelected:t,"data-testid":"wordlist-selector-option-".concat(e.wordlistId),disabled:R.isPending,onClick:function(){return G(e.wordlistId)},children:[(0,F.jsx)(W,{children:e.title}),t&&(0,F.jsx)(L,{"aria-hidden":!0,children:(0,F.jsx)(l.A,{name:"check"})})]})},e.wordlistId)})}),(0,F.jsx)(T,{}),(0,F.jsx)(E,{type:"button",onClick:Q,"data-testid":"wordlist-selector-add-more",children:a.formatMessage(K.addMore)})]})})]})},B=n(84680),N=n(50223),V=n(21329),$=n(22818),q=n(58566),R=(0,c.YK)({less:{id:"path_tweak_less",defaultMessage:"Less"},more:{id:"path_tweak_more",defaultMessage:"More"},default:{id:"path_tweak_default",defaultMessage:"Default"}}),U=function(e){var t=e.label,n=e.value,o=e.onChange,r=e.testId,a=e.minValue,i=void 0===a?$.yc:a,s=(0,c.tz)(),d=Math.max(i,n),l=(0,$.FS)(d),u=(0,$.FS)(i),h=l/$.KF*100,f=u/$.KF*100,p=function(e){o(Math.max(i,(0,$.Xh)(e)))};return(0,F.jsxs)(q.Kc,{children:[(0,F.jsx)(q.KV,{children:t}),(0,F.jsxs)(q.hB,{children:[(0,F.jsx)(q.sq,{type:"range",min:0,max:$.KF,step:.01,value:l,onChange:function(e){return p(Number(e.target.value))},"aria-label":t,"aria-valuemin":i,"aria-valuetext":(0,$.hM)(d),"data-testid":r}),f>0&&(0,F.jsx)(q.ZJ,{$percent:f,"aria-hidden":"true"}),(0,F.jsx)(q.nv,{"aria-hidden":"true",children:Array.from({length:q.BR},function(e,t){return(0,F.jsx)(q.cL,{$disabled:$._P[t]<i},t)})}),(0,F.jsx)(q.zi,{$percent:h,"aria-hidden":"true"})]}),(0,F.jsxs)(q.bd,{children:[(0,F.jsx)("span",{children:s.formatMessage(R.less)}),(0,F.jsx)("span",{children:s.formatMessage(R.default)}),(0,F.jsx)("span",{children:s.formatMessage(R.more)})]})]})},Z=n(95886),X=n(58059),G=(0,c.YK)({done:{id:"path_tweak_confirmation_done",defaultMessage:"Done"}}),Q=function(e){var t=e.receipt,n=e.onDone,o=(0,c.tz)(),r=(0,X.P)(t),a=r.title,i=r.textLines,s=r.icon;return(0,F.jsxs)(q.Dz,{"data-testid":"tweak-path-confirmation",children:[(0,F.jsx)(q.GX,{"aria-hidden":"true",children:(0,F.jsx)(l.A,{name:s})}),(0,F.jsx)(q.hE,{children:a}),i.length>1?(0,F.jsx)(q.uy,{children:i.map(function(e){return(0,F.jsx)("li",{children:e},e)})}):(0,F.jsx)(q.WO,{children:i[0]}
1),(0,F.jsx)(u.$n,{buttonType:"primary",buttonSize:"large",wide:!0,onClick:n,"data-testid":"tweak-path-confirmation-done-button",children:o.formatMessage(G.done)})]})};function J(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function ee(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?J(Object(n),!0).forEach(function(t){(0,r.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var et=(0,c.YK)({title:{id:"path_tweak_title",defaultMessage:"Personalise my course"},updatePath:{id:"path_tweak_update_path",defaultMessage:"Update my course"},workingTowards:{id:"path_tweak_working_towards",defaultMessage:"Your goal"},changeGoal:{id:"path_tweak_change_goal",defaultMessage:"Change"},slidersHint:{id:"path_tweak_sliders_hint",defaultMessage:"Move each slider to get more or less practice in that area."}}),en=(0,c.YK)({vocab:{id:"path_tweak_focus_vocab",defaultMessage:"Learn and review vocabulary"},pronunciation:{id:"path_tweak_focus_pronunciation",defaultMessage:"Practice saying words out loud"},sentence:{id:"path_tweak_focus_sentence",defaultMessage:"Practice building sentences"},aiConversation:{id:"path_tweak_focus_ai_conversation",defaultMessage:"Practice short conversations"},immersion:{id:"path_tweak_focus_immersion",defaultMessage:"Watch native speaker videos"},grammar:{id:"path_tweak_focus_grammar",defaultMessage:"Learn grammar concepts"},conjugation:{id:"path_tweak_focus_conjugation",defaultMessage:"Practice verb conjugation"}}),eo={isPro:!1,skillLevelId:null},er=function(e){var t,n=e.isOpen,a=e.onClose,f=e.onDismiss,p=e.initialValues,g=void 0===p?B.x:p,m=e.onUpdate,b=e.confirmInModal,y=void 0!==b&&b,v=e.goalName,w=e.goalId,_=e.goals,x=void 0===_?[]:_,k=e.trackingContext,z=void 0===k?eo:k,j=(0,c.tz)(),M=(0,h.Z)().languagePair,A=(null==M?void 0:M.supportsPronunciation)!==!1,C=(0,s.useMemo)(function(){return A?B.U:B.U.filter(function(e){return"pronunciation"!==e})},[A]),I=(0,s.useRef)(null),H=(0,s.useState)(!1),S=H[0],O=H[1],P=(0,s.useState)(!1),W=P[0],L=P[1],T=(0,s.useState)({id:w,name:v}),E=T[0],K=T[1],Y=function(e){return ee(ee({},e),{},{vocab:Math.max($.Mp,e.vocab)})},R=(0,s.useState)(function(){return Y(g)}),X=R[0],G=R[1],J=(0,s.useState)(function(){return Y(g)}),er=J[0],ea=J[1],ei=(0,s.useState)(null),es=ei[0],ec=ei[1],ed=(0,s.useState)(!1),el=ed[0],eu=ed[1],eh=(0,s.useCallback)(function(){var e=I.current;e&&O(Math.ceil(e.scrollTop+e.clientHeight)<e.scrollHeight)},[]);(0,s.useLayoutEffect)(function(){if(n)return eh(),window.addEventListener("resize",eh),function(){return window.removeEventListener("resize",eh)}},[n,eh,C]);var ef=(0,s.useRef)(!1);(0,s.useEffect)(function(){if(n&&!ef.current){var e=ee(ee({},g),{},{vocab:Math.max($.Mp,g.vocab)});G(e),ea(e),K({id:w,name:v}),L(!1),ec(null),eu(!1)}ef.current=n},[n,g,w,v]);var ep=function(e,t){var n="vocab"===e?Math.max($.Mp,t):t;G(function(t){return ee(ee({},t),{},(0,r.A)({},e,n))})},eg=(t=(0,o.A)(i().mark(function e(){var t,n;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(y){e.next=4;break}return null==m||m(X,E.id),a(),e.abrupt("return");case 4:if(t=(0,V.Xu)(er,X),n=null!=E.id&&E.id!==w,!("unchanged"!==t.kind||n)){e.next=18;break}return eu(!0),e.prev=8,e.next=11,null==m?void 0:m(X,E.id);case 11:e.next=17;break;case 13:return e.prev=13,e.t0=e.catch(8),eu(!1),e.abrupt("return");case 17:eu(!1);case 18:ec(t);case 19:case"end":return e.stop()}},e,null,[[8,13]])})),function(){return t.apply(this,arguments)}),em=x.length>0;return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(d.a,{darkCloseIcon:!0,isOpen:n&&!W,handleClose:function(){null==f||f(),a()},children:(0,F.jsx)(q.$m,{"data-testid":"tweak-path-modal",children:es?(0,F.jsx)(Q,{receipt:es,onDone:a}):(0,F.jsxs)(F.Fragment,{children:[(0,F.jsxs)(q.Y9,{children:[(0,F.jsx)(q.hE,{children:j.formatMessage(et.title)}),(0,F.jsxs)(q.Vt,{"data-testid":"tweak-path-summary-card",children:[E.name&&(0,F.jsxs)(q.xo,{as:em?"button":"div",type:em?"button":void 0,$interactive:em,onClick:em?function(){(0,N.zo)("see_path_focus_list",z),L(!0)}:void 0,"aria-label":em?j.formatMessage(et.changeGoal):void 0,"data-testid":"tweak-path-goal-banner",children:[(0,F.jsx)(q.Rt,{"aria-hidden":"true",children:(0,F.jsx)(l.A,{name:"flag"})}),(0,F.jsxs)(q.hW,{children:[(0,F.jsx)(q.X,{children:j.formatMessage(et.workingTowards)}),(0,F.jsx)(q.Cw,{children:E.name})]}),em&&(0,F.jsx)(q.YC,{"aria-hidden":"true","data-testid":"tweak-path-change-goal-button",children:(0,F.jsx)(l.A,{name:"chevronRight"})})]}),(0,F.jsx)(D,{onTriggerClick:function(){return(0,N.zo)("change_vocab",z)}})]})]}),(0,F.jsx)(q.kj,{"data-testid":"tweak-path-sliders-hint",children:j.formatMessage(et.slidersHint)}),(0,F.jsxs)(q.sD,{children:[(0,F.jsx)(q.FK,{ref:I,onScroll:eh,"data-testid":"tweak-path-scroll-area",children:(0,F.jsx)(q.Zu,{children:C.map(function(e){return(0,F.jsx)(U,{label:j.formatMessage(en[e]),value:X[e],onChange:function(t){return ep(e,t)},testId:"tweak-path-slider-".concat(e),minValue:"vocab"===e?$.Mp:void 0},e)})})}),(0,F.jsx)(q.U,{$visible:S,"aria-hidden":"true","data-testid":"tweak-path-scroll-fade"})]}
1),(0,F.jsx)(q.wi,{children:(0,F.jsx)(u.$n,{buttonType:"primary",buttonSize:"large",wide:!0,disabled:el,onClick:function(){eg()},"data-testid":"tweak-path-update-button",children:j.formatMessage(et.updatePath)})})]})})}),(0,F.jsx)(Z.x,{isOpen:n&&W,goals:x,selectedGoalId:E.id,onClose:function(){return L(!1)},onConfirm:function(e){(0,N.zo)("change_path_focus",z),K({id:e.id,name:e.name}),L(!1)}})]})}},15343:(e,t,n)=>{n.d(t,{T:()=>o});var o=(0,n(5720).YK)({chooseTitle:{id:"vocab_tracks_choose_title",defaultMessage:"Choose the vocab"},chooseSubheader:{id:"vocab_tracks_choose_subheader",defaultMessage:"Choose the words that we'll build your Memrise course around."},chooseTitleEuropeanSpanish:{id:"vocab_tracks_choose_title_es",defaultMessage:"Choose your course vocab"},chooseSubheaderEuropeanSpanish:{id:"vocab_tracks_choose_subheader_es",defaultMessage:"You’ll build the same skills whatever vocab you learn, so pick what’s relevant to you"},changeLaterNote:{id:"vocab_tracks_change_later_note",defaultMessage:"You can always change this later"},startAnywhereNote:{id:"vocab_tracks_start_anywhere_note",defaultMessage:"Start with any theme or word list — you can always change this later"},schoolExams:{id:"vocab_tracks_school_exams",defaultMessage:"School & exams"},startHere:{id:"vocab_tracks_start_here",defaultMessage:"Start here"},previous:{id:"onboarding_nav_previous",defaultMessage:"Previous"},next:{id:"vocab_tracks_next",defaultMessage:"Next"},changeTitle:{id:"vocab_tracks_change_title",defaultMessage:"Change Vocab track"},changeSubheader:{id:"vocab_tracks_change_subheader",defaultMessage:"Choose the words that we'll build your Memrise course around. When you change vocab track we'll automatically update your course path."},currentBadge:{id:"wordlists_currentlylearning_label",defaultMessage:"Currently learning"},completedBadge:{id:"wordlist_completedscreen_label"},wordCount:{id:"wordlists_viewlist_section1_subheader"},changeVocabList:{id:"vocab_tracks_change_list",defaultMessage:"Change Vocab list"},themeCount:{id:"vocab_tracks_theme_count",defaultMessage:"{themeCount} themes"},viewDetails:{id:"vocab_tracks_view_details",defaultMessage:"View details"},communityCardTitle:{id:"vocab_tracks_community_card_title",defaultMessage:"Community Word lists"},communityCardDescription:{id:"vocab_tracks_community_card_description",defaultMessage:"Browse lists made by other learners, or create your own."},contentsTitle:{id:"vocab_tracks_contents_title",defaultMessage:"{trackTitle} contents"},contentsSubheader:{id:"vocab_tracks_contents_subheader",defaultMessage:"Learn the full list from the start, or jump straight to any theme or topic — nothing is locked."},learnWholeList:{id:"vocab_tracks_learn_whole_list",defaultMessage:"Learn the whole list from the start"},vocabByTheme:{id:"vocab_tracks_vocab_by_theme",defaultMessage:"Vocab by Theme"},pickTopic:{id:"vocab_tracks_pick_topic",defaultMessage:"Or pick a specific topic now. You can always change your vocab list at any time"},learnTopic:{id:"vocab_tracks_learn_topic",defaultMessage:"Learn {topicTitle}"},selectTrack:{id:"vocab_tracks_select_track",defaultMessage:"Select {trackTitle}"},selectThisWordlist:{id:"vocab_tracks_select_this_wordlist",defaultMessage:"Select this word list"},communitySearchPlaceholder:{id:"cwl_dashboard_search_bar_placeholder",defaultMessage:"Search by word list title or description"},communityNoResults:{id:"content_discovery_no_results",defaultMessage:"No results"},communityClearSearch:{id:"content_discovery_clear",defaultMessage:"Clear"},communityByAuthor:{id:"vocab_tracks_community_by_author",defaultMessage:"by {author}"},continueLearning:{id:"vocab_tracks_continue_learning",defaultMessage:"Continue learning"},backToVocab:{id:"vocab_tracks_back_to_vocab",defaultMessage:"Back to Vocab"}})},21329:(e,t,n)=>{n.d(t,{Xu:()=>l,jC:()=>d,z3:()=>i});var o=n(44478),r=n(84680),a=n(22818),i=["most","more","less","none"],s=function(e){return Math.round((0,a.FS)(e))},c=s(a.Zz),d=function(e,t){return r.U.some(function(n){return s(e[n])!==s(t[n])})},l=function(e,t){if(!d(e,t))return{kind:"unchanged"};if(r.U.map(function(e){return s(t[e])}).every(function(e){return e===c}))return{kind:"reset"};var n={};
1return r.U.forEach(function(r){var i,c,d,l=(i=s(e[r]),(c=s(t[r]))===i?null:0===c?"none":c===a.KF?"most":c>i?"more":"less");l&&(n[l]=[].concat((0,o.A)(null!=(d=n[l])?d:[]),[r]))}),{kind:"updated",buckets:n}}},35963:(e,t,n)=>{n.d(t,{AR:()=>i,QR:()=>o,XH:()=>r,iA:()=>a});var o=function(e){switch(e){case"pronunciation":return"microphoneOutline";case"aiConversation":return"communicateFilled";case"immersion":return"videoLibraryFilled";case"sentence":case"grammar":case"conjugation":return"keyboard";default:return"learnFilled"}},r=function(e,t){switch(t){case"pronunciation":return{fill:e.co.tertiary50,edge:e.co.tertiary30,paleFill:e.co.tertiary90,paleStroke:e.co.tertiary70};case"sentence":case"grammar":case"conjugation":return{fill:e.co.information60,edge:e.co.information30,paleFill:e.co.information95,paleStroke:e.co.information80};case"immersion":return{fill:e.co.error60,edge:e.co.error50,paleFill:e.co.error90,paleStroke:e.co.error80};case"aiConversation":return{fill:e.co.information40,edge:e.co.information20,paleFill:e.co.information80,paleStroke:e.co.information60};default:return{fill:e.co.success60,edge:e.co.success30,paleFill:e.co.success90,paleStroke:e.co.success80}}},a=function(e){return e.co.neutral10},i=function(e){return{band:e.co.neutral95,walked:e.co.success80,darkBand:e.co.secondary30,darkWalked:e.co.success20}}},50223:(e,t,n)=>{n.d(t,{D6:()=>h,pQ:()=>u,r5:()=>l,xG:()=>p,zo:()=>g});var o=n(42969),r=n(26900),a=n(48278);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){(0,o.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var c={vocabularyCheck:"vocabulary_check",quickReview:"quick_review",sentenceBuilding:"sentence_building",textComprehension:"text_comprehension",audioComprehension:"audio_comprehension",conversation:"conversation",pronunciation:"pronunciation"},d={vocab:"vocab",pronunciation:"pronunciation",sentence:"sentence",aiConversation:"ai_conversation",immersion:"immersion",grammar:"grammar",conjugation:"conjugation"},l=function(e){var t;return e?null!=(t=c[e])?t:e.replace(/[A-Z]/g,function(e){return"_".concat(e.toLowerCase())}):"unknown"},u=function(e){return d[e]},h=function(e){return"touch"===e||"pen"===e?"tap":"hover"},f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return s(s({},t),null!=e&&{skill_level_id:String(e)})},p=function(e,t){var n=t.isPro,o=t.skillLevelId,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};r.mq.trackUserAction(e,"path_screen",(0,a.S)(),n,f(o,i))},g=function(e,t){var n=t.isPro,o=t.skillLevelId;r.mq.trackUserAction(e,"path_screen_adjust_path_modal",(0,a.S)(),n,f(o))}},58059:(e,t,n)=>{n.d(t,{P:()=>c});var o=n(5720),r=n(21329),a=(0,o.YK)({unchangedTitle:{id:"path_re
1ceipt_unchanged_title",defaultMessage:"Nothing has changed"},unchangedBody:{id:"path_receipt_unchanged_body",defaultMessage:"Your course stays exactly as it was."},resetTitle:{id:"path_receipt_reset_title",defaultMessage:"Course reset"},resetBody:{id:"path_receipt_reset_body",defaultMessage:"Back to the standard mix for your goal."},updatedTitle:{id:"path_receipt_updated_title",defaultMessage:"Course updated"},listConjunction:{id:"path_receipt_list_conjunction",defaultMessage:"{items} and {lastItem}"}}),i=(0,o.YK)({vocab:{id:"path_receipt_name_vocab",defaultMessage:"vocabulary"},pronunciation:{id:"path_receipt_name_pronunciation",defaultMessage:"speaking out loud"},sentence:{id:"path_receipt_name_sentence",defaultMessage:"sentence building"},aiConversation:{id:"path_receipt_name_ai_conversation",defaultMessage:"conversations"},immersion:{id:"path_receipt_name_immersion",defaultMessage:"native speaker videos"},grammar:{id:"path_receipt_name_grammar",defaultMessage:"grammar"},conjugation:{id:"path_receipt_name_conjugation",defaultMessage:"verb conjugation"}}
1),s=(0,o.YK)({most:{id:"path_receipt_line_most",defaultMessage:"Lots more {items}."},more:{id:"path_receipt_line_more",defaultMessage:"More {items}."},less:{id:"path_receipt_line_less",defaultMessage:"Less {items}."},none:{id:"path_receipt_line_none",defaultMessage:"No {items} for now."}}),c=function(e){var t=(0,o.tz)();if("unchanged"===e.kind)return{title:t.formatMessage(a.unchangedTitle),textLines:[t.formatMessage(a.unchangedBody)],icon:"idea"};if("reset"===e.kind)return{title:t.formatMessage(a.resetTitle),textLines:[t.formatMessage(a.resetBody)],icon:"check"};var n=r.z3.flatMap(function(n){var o=e.buckets[n];if(!(null!=o&&o.length))return[];var r=o.map(function(e){return t.formatMessage(i[e])});return[t.formatMessage(s[n],{items:1===r.length?r[0]:t.formatMessage(a.listConjunction,{items:t.formatList(r.slice(0,-1),{type:"unit"}),lastItem:r[r.length-1]})})]});return{title:t.formatMessage(a.updatedTitle),textLines:n,icon:"check"}}},58566:(e,t,n)=>{n.d(t,{$m:()=>i,BR:()=>Y,Cw:()=>g,Dz:()=>m,FK:()=>A,GN:()=>x,GX:()=>b,KV:()=>O,Kc:()=>S,Lw:()=>_,Rt:()=>h,U:()=>C,Vt:()=>d,WO:()=>y,X:()=>p,Xq:()=>z,Y9:()=>s,YC:()=>l,ZJ:()=>W,Zu:()=>H,bd:()=>K,cL:()=>E,hB:()=>P,hE:()=>c,hW:()=>f,im:()=>k,kj:()=>j,ns:()=>w,nv:()=>T,sD:()=>M,sq:()=>F,uy:()=>v,wi:()=>I,xo:()=>u,zi:()=>L});var o=n(5646),r=n(22818),a="0.75rem",i=o.Ay.div.withConfig({componentId:"sc-12zc9cw-0"})(["display:flex;flex-direction:column;max-height:",";overflow:hidden;"],"90dvh"),s=o.Ay.div.withConfig({componentId:"sc-12zc9cw-1"})(function(e){var t=e.theme;return(0,o.AH)(["display:flex;flex:0 0 auto;flex-direction:column;gap:",";padding:"," "," ",";"],t.sz.s5,t.sz.s6,t.sz.s5,t.sz.s5)}),c=o.Ay.h2.withConfig({componentId:"sc-12zc9cw-2"})(function(e){var t=e.theme;return(0,o.AH)(["",";color:",";margin:0;text-align:left;"],t.typography.heading.mobile.s,t.co.secondary20)}),d=o.Ay.div.withConfig({componentId:"sc-12zc9cw-3"})(function(e){var t=e.theme;return(0,o.AH)(["display:flex;flex-direction:column;border-top:"," solid ",";"],t.bo.thinWidth,t.co.secondary95)}),l=o.Ay.span.withConfig({componentId:"sc-12zc9cw-4"})(function(e){var t=e.theme;return(0,o.AH)(["display:flex;flex:0 0 auto;align-items:center;justify-content:center;color:",";font-size:",";pointer-events:none;"],t.co.secondary40,t.sz.s6)}),u=o.Ay.div.withConfig({componentId:"sc-12zc9cw-5"})(function(e){var t=e.theme,n=e.$interactive;return(0,o.AH)(["display:flex;align-items:center;gap:",";width:100%;padding:"," 0;border:none;border-bottom:"," solid ",";background:none;margin:0;font:inherit;color:inherit;text-align:left;cursor:",";",""],t.sz.s4,t.sz.s4,t.bo.thinWidth,t.co.secondary95,n?"pointer":"default",n&&(0,o.AH)(["&:hover ","{color:",";}&:focus-visible{outline:"," solid ",";outline-offset:2px;border-radius:",";}"],l,t.co.secondary20,t.bo.thickWidth,t.co.secondary40,t.bo.small))}),h=o.Ay.div.withConfig({componentId:"sc-12zc9cw-6"})(function(e){var t=e.theme;return(0,o.AH)(["display:flex;flex:0 0 auto;align-items:center;justify-content:center;width:",";height:",";border-radius:",";font-size:",";color:",";background-color:",";"],t.sz.s12,t.sz.s12,t.bo.medium,t.sz.s6,t.co.secondary10,t.co.primary40)}),f=o.Ay.div.withConfig({componentId:"sc-12zc9cw-7"})(function(e){var t=e.theme;return(0,o.AH)(["display:flex;flex:1 1 auto;flex-direction:column;gap:",";min-width:0;"],t.sz.s1)}),p=o.Ay.span.withConfig({componentId:"sc-12zc9cw-8"})(function(e){var t=e.theme;return(0,o.AH)(["",";color:",";"],t.typography.paragraph.s,t.co.secondary50)}),g=o.Ay.span.withConfig({componentId:"sc-12zc9cw-9"})(function(e){var t=e.theme;return(0,o.AH)(["",";color:",";overflow-wrap:break-word;"],t.typography.heading.mobile.xs,t.co.secondary20)}),m=o.Ay.div.withConfig({componentId:"sc-12zc9cw-10"})(function(e){var t=e.theme;return(0,o.AH)(["display:flex;flex-direction:column;align-items:center;gap:",";padding:"," "," ",";text-align:center;"],t.sz.s4,t.sz.s8,t.sz.s5,t.sz.s5)}),b=o.Ay.div.withConfig({componentId:"sc-12zc9cw-11"})(function(e){var t=e.theme;return(0,o.AH)(["display:flex;align-items:center;justify-content:center;width:",";height:",";border-radius:",";font-size:",";color:",";background-color:",";"],t.sz.s14,t.sz.s14,t.bo.round,t.sz.s8,t.co.secondary20,t.co.primary40)}),y=o.Ay.p.withConfig({componentId:"sc-12zc9cw-12"})(function(e){var t=e.theme;return(0,o.AH)(["",";margin:0 0 ",";color:",";"],t.typography.paragraph.base,t.sz.s2,t.co.secondary50)}),v=o.Ay.ul.withConfig({componentId:"sc-12zc9cw-13"})(function(e){var t=e.theme;return(0,o.AH)(["",";margin:0 0 ",";padding-left:",";color:",";text-align:left;"],t.typography.paragraph.base,t.sz.s2,t.sz.s5,t.co.secondary50)}),w=o.Ay.div.withConfig({componentId:"sc-12zc9cw-14"})(function(e){var t=e.theme;return(0,o.AH)(["display:flex;flex-direction:column;gap:",";padding:"," "," ",";max-height:min(80vh,720px);overflow-y:auto;
1"],t.sz.s6,t.sz.s6,t.sz.s5,t.sz.s5)}),_=o.Ay.div.withConfig({componentId:"sc-12zc9cw-15"})(function(e){var t=e.theme;return(0,o.AH)(["display:flex;flex-direction:column;gap:",";"],t.sz.s2)}),x=o.Ay.p.withConfig({componentId:"sc-12zc9cw-16"})(function(e){var t=e.theme;return(0,o.AH)(["",";color:",";margin:0;"],t.typography.paragraph.base,t.co.secondary50)}),k=o.Ay.div.withConfig({componentId:"sc-12zc9cw-17"})(function(e){var t=e.theme;return(0,o.AH)(["display:flex;flex-direction:column;gap:",";"],t.sz.s3)}),z=o.Ay.button.withConfig({componentId:"sc-12zc9cw-18"})(function(e){var t=e.theme,n=e.$selected;return(0,o.AH)(["",";width:100%;padding:",";border-radius:",";border:"," solid ",";box-shadow:0 "," 0 0 ",";background:",";color:",";cursor:pointer;text-align:left;&:hover{background:",";}"],t.typography.heading.mobile.xxs,t.sz.s4,t.bo.small,t.bo.mediumWidth,n?t.co.success50:t.co.secondary90,t.sz.s1,n?t.co.success50:t.co.secondary90,n?t.co.success95:"none",t.co.secondary20,n?t.co.success95:t.co.neutral98)}),j=o.Ay.p.withConfig({componentId:"sc-12zc9cw-19"})(function(e){var t=e.theme;return(0,o.AH)(["",";flex:0 0 auto;margin:0;padding:0 "," ",";color:",";"],t.typography.paragraph.s,t.sz.s5,t.sz.s4,t.co.secondary50)}),M=o.Ay.div.withConfig({componentId:"sc-12zc9cw-20"})(["position:relative;display:flex;flex:1 1 auto;min-height:0;"]),A=o.Ay.div.withConfig({componentId:"sc-12zc9cw-21"})(function(e){var t=e.theme;return(0,o.AH)(["flex:1 1 auto;min-height:0;overflow-y:scroll;overscroll-behavior:contain;padding:0 calc("," - ",") "," ",";@supports selector(::-webkit-scrollbar){&::-webkit-scrollbar{width:",";}&::-webkit-scrollbar-track{margin:"," 0;border-radius:",";background:",";}&::-webkit-scrollbar-thumb{border:"," solid ",";border-radius:",";background:",";}&::-webkit-scrollbar-thumb:hover{background:",";}}@supports (scrollbar-width:auto) and (not selector(::-webkit-scrollbar)){scrollbar-width:auto;scrollbar-color:"," ",";}"],t.sz.s5,a,t.sz.s5,t.sz.s5,a,t.sz.s1,t.bo.round,t.co.secondary95,t.sz.s05,t.co.secondary95,t.bo.round,t.co.secondary50,t.co.secondary20,t.co.secondary50,t.co.secondary95)}),C=o.Ay.div.withConfig({componentId:"sc-12zc9cw-22"})(function(e){var t=e.theme,n=e.$visible;return(0,o.AH)(["position:absolute;bottom:0;left:0;right:",";height:",";pointer-events:none;opacity:",";transition:opacity 150ms ease-in-out;background:linear-gradient(to bottom,transparent,",");"],a,t.sz.s10,+!!n,t.co.neutral99)}),I=o.Ay.div.withConfig({componentId:"sc-12zc9cw-23"})(function(e){var t=e.theme;return(0,o.AH)(["flex:0 0 auto;padding:"," "," ",";background:",";border-top:"," solid ",";"],t.sz.s4,t.sz.s5,t.sz.s5,t.co.neutral99,t.bo.thinWidth,t.co.secondary95)}),H=o.Ay.div.withConfig({componentId:"sc-12zc9cw-24"})(function(e){var t=e.theme;return(0,o.AH)(["display:flex;flex-direction:column;gap:",";"],t.sz.s6)}),S=o.Ay.div.withConfig({componentId:"sc-12zc9cw-25"})(function(e){var t=e.theme;return(0,o.AH)(["display:flex;flex-direction:column;gap:",";"],t.sz.s2)}),O=o.Ay.h3.withConfig({componentId:"sc-12zc9cw-26"})(function(e){var t=e.theme;return(0,o.AH)(["",";color:",";font-weight:700;margin:0;"],t.typography.paragraph.m,t.co.secondary20)}),P=o.Ay.div.withConfig({componentId:"sc-12zc9cw-27"})(function(e){var t=e.theme;return(0,o.AH)(["position:relative;display:flex;align-items:center;min-height:",";"],t.sz.s11)}),W=o.Ay.div.withConfig({componentId:"sc-12zc9cw-28"})(function(e){var t=e.theme,n=e.$percent;return(0,o.AH)(["position:absolute;top:50%;left:0;width:calc((100% - ",") * "," + "," / 2);height:",";transform:translateY(-50%);border-radius:",";background-color:",";background-image:repeating-linear-gradient( -45deg,",","," ",","," ",","," "," );border:"," solid ",";box-sizing:border-box;pointer-events:none;z-index:1;"],t.sz.s10,n/100,t.sz.s10,t.sz.s8,t.bo.round,t.co.secondary95,t.co.secondary95,t.co.secondary95,t.sz.s1,t.co.secondary90,t.sz.s1,t.co.secondary90,t.sz.s2,t.bo.mediumWidth,t.co.secondary90)}),L=o.Ay.span.withConfig({componentId:"sc-12zc9cw-29"})(function(e){var t=e.theme,n=e.$percent;return(0,o.AH)(["position:absolute;top:50%;left:calc((100% - ",") * "," + "," / 2);transform:translate(-50%,-50%);z-index:3;pointer-events:none;width:",";height:",";border-radius:50%;background-color:",";border:"," solid ",";box-shadow:0 "," 0 ",";"],t.sz.s10,n/100,t.sz.s10,t.sz.s8,t.sz.s8,t.co.primary40,t.bo.mediumWidth,t.co.secondary20,t.sz.s05,t.co.secondary20)}),T=o.Ay.div.withConfig({componentId:"sc-12zc9cw-30"})(function(e){var t=e.theme;return(0,o.AH)(["position:absolute;top:50%;left:",";right:",";z-index:2;display:flex;justify-content:space-between;transform:translateY(-50%);pointer-events:none;"],t.sz.s4,t.sz.s4)}),E=o.Ay.div.withConfig({componentId:"sc-12zc9cw-31"})(function(e){var t=e.theme,n=e.$disabled;return(0,o.AH)(["width:",";height:",";border-radius:50%;background-color:",";opacity:",";"],t.sz.s2,t.sz.s2,t.co.secondary90,n?.45:1)}),F=o.Ay.input.withConfig({componentId:"sc-12zc9cw-32"})(function(e){var t=e.theme;return(0,o.AH)(["width:100%;height:",";margin:0;cursor:pointer;-webkit-appearance:none;appearance:none;background:transparent;position:relative;z-index:1;&::-webkit-slider-runnable-track{height:",";border-radius:",";background-color:transparent;background-image:linear-gradient(",",",");background-size:100% ",";background-position:center;background-repeat:no-repeat;}&::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:",";height:",";border-radius:",";background-color:transparent;border:none;margin-top:calc(("," - ",") / 2);box-shadow:none;}&::-moz-range-track{height:",";border-radius:",";background-color:transparent;background-image:linear-gradient(",",",");background-size:100% ",";background-position:center;background-repeat:no-repeat;}&::-moz-range-thumb{width:",";height:",";border-radius:",";background-color:transparent;border:none;box-shadow:none;}
1"],t.sz.s11,t.sz.s11,t.bo.round,t.co.secondary90,t.co.secondary90,t.sz.s1,t.sz.s10,t.sz.s8,t.bo.round,t.sz.s11,t.sz.s8,t.sz.s11,t.bo.round,t.co.secondary90,t.co.secondary90,t.sz.s1,t.sz.s10,t.sz.s8,t.bo.round)}),K=o.Ay.div.withConfig({componentId:"sc-12zc9cw-33"})(function(e){var t=e.theme;return(0,o.AH)(["display:grid;grid-template-columns:1fr auto 1fr;align-items:baseline;",";color:",";& > :last-child{text-align:right;}"],t.typography.paragraph.s,t.co.secondary50)}),Y=r.KF+1},84680:(e,t,n)=>{n.d(t,{U:()=>r,x:()=>a});var o=n(22818),r=["vocab","pronunciation","sentence","aiConversation","immersion","grammar","conjugation"],a={vocab:o.Zz,pronunciation:o.Zz,sentence:o.Zz,aiConversation:o.Zz,immersion:o.Zz,grammar:o.Zz,conjugation:o.Zz}},85289:(e,t,n)=>{n.d(t,{B_:()=>s,pz:()=>a,yO:()=>i});var o=n(4724),r=function(e){return"ONBOARDING_LEVEL_INDEX_".concat(e)},a=function(e,t){(0,o.lS)(r(e),String(t))},i=function(e){var t=(0,o.Rc)(r(e));if(null==t||""===t)return null;var n=parseInt(t,10);return Number.isNaN(n)?null:n},s=function(e){return 0===i(e)}},95886:(e,t,n)=>{n.d(t,{x:()=>u});var o=n(44478),r=n(14232),a=n(5720),i=n(82742),s=n(61542),c=n(58566),d=n(37876),l=(0,a.YK)({title:{id:"path_goal_focus_title",defaultMessage:"What do you want to focus on?"},subtitle:{id:"path_goal_focus_subtitle",defaultMessage:"We’ll tailor your lesson plan based on your choice."},confirm:{id:"path_goal_focus_confirm",defaultMessage:"Confirm"}}),u=function(e){var t=e.isOpen,n=e.goals,u=e.selectedGoalId,h=e.onClose,f=e.onConfirm,p=(0,a.tz)(),g=(0,r.useMemo)(function(){return(0,o.A)(n).sort(function(e,t){return e.ordering-t.ordering})},[n]),m=(0,r.useState)(u),b=m[0],y=m[1];(0,r.useEffect)(function(){t&&y(u)},[t,u]);var v=g.find(function(e){return e.id===b&&e.id!==u});return(0,d.jsx)(i.a,{darkCloseIcon:!0,isOpen:t,handleClose:h,children:(0,d.jsxs)(c.ns,{"data-testid":"path-goal-focus-modal",children:[(0,d.jsxs)(c.Lw,{children:[(0,d.jsx)(c.hE,{children:p.formatMessage(l.title)}),(0,d.jsx)(c.GN,{children:p.formatMessage(l.subtitle)})]}),(0,d.jsx)(c.im,{children:g.map(function(e){return(0,d.jsx)(c.Xq,{type:"button",$selected:b===e.id,"aria-pressed":b===e.id,onClick:function(){return y(e.id)},"data-testid":"path-goal-focus-option-".concat(e.id),children:e.name},e.id)})}),v&&(0,d.jsx)(s.$n,{buttonType:"primary",buttonSize:"large",wide:!0,onClick:function(){return f(v)},"data-testid":"path-goal-focus-confirm-button",children:p.formatMessage(l.confirm)})]})})}}}]);
2//# sourceMappingURL=7177-d4f4a97cacded0a1.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.