PageSourceSearch

https://app.memrise.com/_next/static/chunks/2226-ebc1a87ada78f447.js

js memrise.com collected 2026-09-24 08:29:25 UTC 11,789 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2226],{20715:(e,t,i)=>{i.d(t,{Ay:()=>B,ON:()=>Q,Wd:()=>G});var n=i(27925),r=i(44478),s=i(63857),o=i(42969),a=i(60180),d=i.n(a),l=i(14232),c=i(5720),u=i(74359),m=i(19596),h=i(90316),g=i(61542),p=i(25493),f=i(48038),y=i(80654),w=i(50433),v=i(26900),x=i(82097),b=i(63521),_=i(4724),W=i(99634),j=i(94215),z=i(53403),C=i(68567),A=i(43526),P=i(71823),k=i(27182),I=i(5646),M=I.Ay.div.withConfig({componentId:"sc-19z6t8l-0"})(function(e){var t=e.theme;return(0,I.AH)(["margin:"," auto 0 auto;width:",";min-height:100vh;"],t.sz.s32,t.sz.s20)}),S=I.Ay.div.withConfig({componentId:"sc-19z6t8l-1"})(function(e){var t=e.theme;return(0,I.AH)(["width:100%;min-height:100vh;background:",";"],t.co.primary99)}),O=I.Ay.div.withConfig({componentId:"sc-19z6t8l-2"})(function(e){var t=e.theme,i=e.$hasFixedMobileCreateCta;return(0,I.AH)(["max-width:",";margin:0 auto;padding:",";@media (max-width:","){padding:"," 0;","}"],t.sz.xxl,t.sz.s4,t.sz.sm,t.sz.s4,i&&(0,I.AH)(["padding-bottom:",";"],t.sz.s44))}),L=I.Ay.div.withConfig({componentId:"sc-19z6t8l-3"})(function(e){var t=e.theme;return(0,I.AH)(["display:flex;justify-content:space-between;align-items:center;gap:",";margin:"," 0 ",";@media (max-width:","){flex-direction:column;align-items:flex-start;gap:",";margin:0 0 ",";}"],t.sz.s4,t.sz.s8,t.sz.s6,t.sz.sm,t.sz.s2,t.sz.s4)}),H=I.Ay.h1.withConfig({componentId:"sc-19z6t8l-4"})(function(e){var t=e.theme;return(0,I.AH)(["",";color:",";margin:0;@media (max-width:","){",";padding:0 ",";}"],t.typography.heading.desktop.m,t.co.secondary20,t.sz.sm,t.typography.heading.desktop.s,t.sz.s4)}),N=I.Ay.div.withConfig({componentId:"sc-19z6t8l-5"})(function(e){var t=e.theme;return(0,I.AH)(["@media (max-width:","){display:none;}"],t.sz.sm)}),q=I.Ay.div.withConfig({componentId:"sc-19z6t8l-6"})(function(e){var t=e.theme;return(0,I.AH)(["display:none;@media (max-width:","){position:fixed;bottom:0;left:0;width:100%;padding:",";background:",";display:flex;justify-content:center;box-shadow:0 -"," "," rgba(0,0,0,0.08);@media (max-width:","){display:block;}button{width:100%;justify-content:center;}div{flex-grow:0;}span{",";}}"],t.sz.sm,t.sz.s4,t.co.primary98,t.bo.thinWidth,t.sz.s10,t.sz.m,t.typography.paragraph.l)}),F=I.Ay.div.withConfig({componentId:"sc-19z6t8l-7"})(function(e){var t=e.theme;return(0,I.AH)(["display:flex;flex-direction:column;align-items:start;gap:",";width:100%;"],t.sz.s5)}),T=I.Ay.div.withConfig({componentId:"sc-19z6t8l-8"})(function(){return(0,I.AH)(["width:100%;"])}),E=I.Ay.h2.withConfig({componentId:"sc-19z6t8l-9"})(function(e){var t=e.theme;return(0,I.AH)(["",";color:",";margin:0 0 ",";@media (max-width:","){",";padding:0 ",";}"],t.typography.heading.desktop.s,t.co.secondary20,t.sz.s4,t.sz.sm,t.typography.heading.mobile.s,t.sz.s4)}),D=I.Ay.div.withConfig({componentId:"sc-19z6t8l-10"})(function(e){var t=e.theme;return(0,I.AH)(["margin-bottom:",";","{margin-bottom:0;}"],t.sz.s4,E)}),K=I.Ay.p.withConfig({componentId:"sc-19z6t8l-11"})(function(e){var t=e.theme;return(0,I.AH)(["max-width:none;",";color:",";margin:"," 0 0;@media (max-width:","){padding:0 ",";}"],t.typography.paragraph.m,t.co.secondary30,t.sz.s2,t.sz.sm,t.sz.s4)}),R=I.Ay.div.withConfig({componentId:"sc-19z6t8l-12"})(function(e){var t=e.theme;return(0,I.AH)(["display:flex;justify-content:space-between;align-items:center;@media (max-width:","){padding:0 "," 0 0;}"],t.sz.sm,t.sz.s4)}),U=i(37876);function $(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,n)}return i}function J(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?$(Object(i),!0).forEach(function(t){(0,o.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):$(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}var V=(0,c.YK)({title:{id:"wordlists_viewscreen_title"},createWordList:{id:"create_cwl_title",defaultMessage:"Create a Word List"},yourWordlists:{id:"wordlist_WLC_title"},curatedWordlists:{id:"wordlists_viewscreen_curated_title",defaultMessage:"Memrise Curated Word lists"},curatedWordlistsSubtitle:{id:"wordlists_viewscreen_curated_subtitle",defaultMessage:"The
1se lists have the most native speaker videos and are designed by our language experts to teach words in helpful groupings."},completedWordlists:{id:"wordlist_completedWordlists_title"},communityWordlists:{id:"wordlists_viewscreen_community_title",defaultMessage:"Community Word lists"},communityWordlistsSubtitle:{id:"wordlists_viewscreen_community_subtitle",defaultMessage:"Made by other Memrise users, these lists aim to cover every possible need. They don't always have perfect coverage of videos and audio, but we work with the community to improve these lists to the same level as the curated word lists"},myCommunityWordlists:{id:"wordlists_cwl_title2"},ok:{id:"wordlists_coming_soon_ok",defaultMessage:"OK"},seeAll:{id:"wordlists_viewscreen_cwl_see_all"}}),Y=function(e){var t,i,n=e.languagePairId,r=(0,c.tz)(),o=(0,W.u)().user,a=(0,C.A)().safePush;(0,l.useEffect)(function(){n&&v.mq.trackUserAction("screen_viewed","wordlist_screen",n,!!(null!=o&&o.isPro),{})},[n]);var y=(0,u.I)({queryKey:["getWordlistsWithProgress",n],queryFn:function(){return n?v.Uq.getWordlistsWithProgress(n):null},enabled:!!n}),w=y.data,x=y.isLoading,I=(0,l.useMemo)(function(){return G(w,null==o?void 0:o.id)},[w,null==o?void 0:o.id]),$=I.activeWordlist,Y=I.yourWordlists,B=I.completedWordlists,X=I.proWordlists,Z=I.moreWordlists,ee=(0,l.useMemo)(function(){return Q(X,Z)},[X,Z]),et=function(){a(z.b.wordlists.create)},ei=(0,_.Rc)(b.Vd),en=(0,j.r)(ei),er=(0,m.q)({queryKey:["getCommunityWordlists",n,null==o?void 0:o.id],queryFn:(t=(0,s.A)(d().mark(function e(t){var i;return d().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(i=t.pageParam,!(!n||!(null!=o&&o.id))){e.next=3;break}return e.abrupt("return",{totalCount:0,communityWordlists:[]});case 3:return e.abrupt("return",v.Uq.getCommunityWordlists(n,i));case 4:case"end":return e.stop()}},e)})),function(e){return t.apply(this,arguments)}),initialPageParam:0,getNextPageParam:function(e,t){if(t.reduce(function(e,t){return e+t.communityWordlists.length},0)<e.totalCount)return t.length},enabled:!!n&&!!(null!=o&&o.id)&&en}),es=er.data,eo=er.fetchNextPage,ea=er.hasNextPage,ed=er.isFetchingNextPage,el=er.isLoading,ec=(0,l.useMemo)(function(){return(null==es?void 0:es.pages.flatMap(function(e){return e.communityWordlists}))||[]},[es]),eu=(0,m.q)({queryKey:["getMyCommunityWordlists",n,null==o?void 0:o.id],queryFn:(i=(0,s.A)(d().mark(function e(t){var i;return d().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(i=t.pageParam,!(!n||!(null!=o&&o.id))){e.next=3;break}return e.abrupt("return",{totalCount:0,communityWordlists:[]});case 3:return e.abrupt("return",v.Uq.getCommunityWordlists(n,i,10,!0));case 4:case"end":return e.stop()}},e)})),function(e){return i.apply(this,arguments)}),initialPageParam:0,getNextPageParam:function(e,t){if(t.reduce(function(e,t){return e+t.communityWordlists.length},0)<e.totalCount)return t.length},enabled:!!n&&!!(null!=o&&o.id)&&en}),em=eu.data,eh=eu.fetchNextPage,eg=eu.hasNextPage,ep=eu.isFetchingNextPage,ef=eu.isLoading,ey=(0,l.useMemo)(function(){return(null==em?void 0:em.pages.flatMap(function(e){return e.communityWordlists}))||[]},[em]);return w&&!x&&n?(0,U.jsx)(S,{children:(0,U.jsxs)(O,{$hasFixedMobileCreateCta:en,children:[(0,U.jsxs)(L,{children:[(0,U.jsx)(H,{children:r.formatMessage(V.title)}),en&&(0,U.jsx)(N,{children:(0,U.jsx)(g.$n,{buttonType:"primary",buttonSize:"medium",icon:"plus",onClick:et,children:r.formatMessage(V.createWordList)})})]}),(0,U.jsxs)(F,{children:[Y.length>0&&(0,U.jsxs)(T,{children:[(0,U.jsx)(E,{children:r.formatMessage(V.yourWordlists)}),(0,U.jsx)(f.x,{wordlists:Y,activeWordlist:$,languagePairId:n})]}),ey.length>0&&en&&(0,U.jsxs)(T,{children:[(0,U.jsx)(E,{children:r.formatMessage(V.myCommunityWordlists)}),(0,U.jsx)(f.x,{wordlists:ey,isLoading:ef,isCommunity:!0,isSmall:!0,visibleCards:5,languagePairId:n,onEndReached:function(){eg&&!ep&&eh()}})]}),ee.length>0&&(0,U.jsxs)(T,{children:[(0,U.jsxs)(D,{children:[(0,U.jsxs)(R,{children:[(0,U.jsx)(E,{children:r.formatMessage(V.curatedWordlists)}),n&&(0,U.jsx)(p.z,{buttonType:"secondary",buttonSize:"small",href:(0,A.f)(z.b.wordlists.curatedWordlists,{languagePairId:String(n)}),icon:"forward",onClick:function(){window.dataLayer.push(J(J({event:"click_cta",action:"20260729_curated_wordlists_click",page_screen_type:window.location.pathname,page_screen_name:window.location.pathname,click_area:"curated_wordlists_section",click_path:"See all button"},(0,P.F)(r)),(0,k.C)(o)))},children:r.formatMessage(V.seeAll)})]}),(0,U.jsx)(K,{children:r.formatMessage(V.curatedWordlistsSubtitle)})]}),(0,U.jsx)(f.x,{visibleCards:5,wordlists:ee,isSmall:!0,languagePairId:n})]}),ec.length>0&&en&&n&&(0,U.jsxs)(T,{children:[(0,U.jsxs)(D,{children:[(0,U.jsxs)(R,{children:[(0,U.jsx)(E,{children:r.formatMessage(V.communityWordlists)}),(0,U.jsx)(p.z,{buttonType:"secondary",buttonSize:"small",href:(0,A.f)(z.b.wordlists.communityWordlists,{languagePairId:String(n)}),icon:"forward",onClick:function(){window.dataLayer.push(J(J({event:"click_cta",action:"20251229_community_wordlists_click",page_screen_type:window.location.pathname,page_screen_name:window.location.pathname,click_area:"community_wordlists_section",click_path:"See all button"},(0,P.F)(r)),(0,k.C)(o)))},children:r.formatMessage(V.seeAll)})]}),(0,U.jsx)(K,{children:r.formatMessage(V.communityWordlistsSubtitle)})]}),(0,U.jsx)(f.x,{wordlists:ec,isLoading:el,isCommunity:!0,isSmall:!0,visibleCards:5,languagePairId:n,onEndReached:function(){ea&&!ed&&eo()}})]}),B.length>0&&(0,U.jsxs)(T,{children:[(0,U.jsx)(E,{children:r.formatMessage(V.completedWordlists)}),(0,U.jsx)(f.x,{wordlists:B,isSmall:!0,visibleCards:5,languagePairId:n})]})]}),en&&(0,U.jsx)(q,{children:(0,U.jsx)(g.$n,{buttonType:"primary",buttonSize:"medium",icon:"plus",onClick:et,wide:!0,children:r.formatMessage(V.createWordList)})})]})}):(0,U.jsx)(M,{children:(0,U.jsx)(h.A,{})})};let B=function(){var e=(0,c.tz)();return(0,U.jsx)(w.A,{pageScreenName:y.J.WORDLISTS,pageTitle:e.formatMessage(V.title),children:(0,U.jsx)(Y,{})})};function G(e,t){var i=(null==e?void 0:e.wordlists)||[],s=(null==e?void 0:e.collectionWordlistIds)||[],o=(0,r.A)(i),a=(0,x.L)(o,function(t){return t.wordlistId===(null==e?void 0:e.activeWordlistId)}),d=(0,n.A)(a,2),l=d[0];o=d[1];var c=(0,x.L)(o,function(e){return"user"!==e.creator&&e.isCompleted}),u=(0,n.A)(c,2),m=u[0];o=u[1];var h=(0,x.L)(o,function(e){return s.includes(e.wordlistId)}),g=(0,n.A)(h,2),p=g[0];o=g[1],p.sort(function(e,t){return s.findIndex(function(t){return t===e.wordlistId})-s.findIndex(function(e){return e===t.wordlistId})});var f=(0,x.L)(o,function(e){return e.isPremium}),y=(0,n.A)(f,2),w=y[0],v=(o=y[1]).filter(function(e){return e.creatorId===t||!e.creatorId});return{activeWordlist:l[0],yourWordlists:[].concat((0,r.A)(l),(0,r.A)(p)),proWordlists:w,moreWordlists:v,completedWordlists:m}}function Q(e,t){for(var i=[],n=0,r=0;n<e.length||r<t.length;){n<e.length&&(i.push(e[n]),n+=1);for(var s=0;s<3&&r<t.length;)i.push(t[r]),r+=1,s+=1;if(n>=e.length)for(;r<t.length;)i.push(t[r]),r+=1}return i}},62296:(e,t,i)=>{i.d(t,{b:()=>s});var n=i(53403),r=i(43526),s=function(e,t){var i="string"==typeof t?{source:t}:null!=t?t:{},s={language_pair_id:e};return i.source&&(s.source=i.source),void 0!==i.pathwayNodeId&&(s.pathway_node_id=i.pathwayNodeId),i.back&&(s.back=i.back),(0,r.f)(n.b.aprender.learn,s)}}}]);
2//# sourceMappingURL=2226-ebc1a87ada78f447.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.