1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6226],{16216:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>ef});var r=t(4285),i=t(14232),a=t(53403),o=t(80654),l=t(5720),s=t(62937),c=t(90316),d=t(26900),u=t(99634),f=t(48278),p=t(50433),g=t(42969),m=t(63857),h=t(60180),v=t.n(h),y=t(74359),w=t(96557),x=t(14284),j=t(25493),b=t(2553),_=t(5646),A=t(66185),z=_.Ay.div.withConfig({componentId:"sc-seynv-0"})(function(e){var n=e.theme;return(0,_.AH)(["width:fit-content;display:flex;align-items:center;font-size:",";overflow-wrap:anywhere;"],n.DEPRECATED_ty.small)}),C=_.Ay.div.withConfig({componentId:"sc-seynv-1"})(function(e){var n=e.theme;return(0,_.AH)(["margin-left:",";font-size:",";transform:scaleX(",");"],n.sz.s2,n.sz.s6,(0,A.g)(n))}),S=t(37876),R=function(e){var n=e.ctaText,t=e.href,r=e.a11yText,i=e.onClick;return(0,S.jsx)(j.z,{buttonType:"tertiary",buttonSize:"small",href:t,onClick:i,a11yText:r,children:(0,S.jsxs)(z,{children:[n,(0,S.jsx)(C,{children:(0,S.jsx)(b.A,{name:"forward"})})]})})},P=t(92453),O=t(58367),I=t(2624),E=t(85127),M=t(12210),T=t(55183),D=t(92120),L=t(66978),k=(0,_.Ay)(L.g).withConfig({componentId:"sc-1iz06mj-0"})(function(e){var n=e.theme;return(0,_.AH)(["text-align:center;width:",";border-radius:",";"],n.sz.s18,n.bo.mediumSmall)});function H(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function N(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?H(Object(t),!0).forEach(function(n){(0,g.A)(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):H(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}var B=function(e){return(0,S.jsxs)("svg",N(N({},e),{},{children:[(0,S.jsx)("path",{fill:"#fff",d:"M67 33.5C67 52.002 52.002 67 33.5 67 14.999 67 0 52.002 0 33.5 0 14.999 14.999 0 33.5 0 52.002 0 67 14.999 67 33.5"}),(0,S.jsx)("path",{fill:"#014135",fillRule:"evenodd",d:"M33.69 28.848h1.538s-1.397 7.185-1.538 10.81c-.14 3.626.769 9.01.769 9.01h-.945q.18.54.334 1.092l.141.506.003.01c.626.387 1.049 2.154 1.049 2.988 0 .938-1.106 3.357-2.055 2.574-.948-.783-1.18-1.653-1.017-2.761.092-.618.398-1.442.782-2.05l-2.083-1.177c-4.67-2.64-7.54-7.47-7.52-12.649.003-.73.887-1.115 1.471-.642l1.062.86a24.56 24.56 0 0 1 6.963 9.013c-.252-2.207-.574-5.55-.491-7.675.132-3.397 1.537-9.91 1.537-9.91",clipRule:"evenodd"}),(0,S.jsx)("path",{fill:"#007456",fillRule:"evenodd",d:"M32.668 50.112c-.203.637.495 1.182 1.105.864l2.239-1.167c4.757-2.48 7.796-7.202 7.964-12.375.024-.732-.85-1.15-1.452-.695l-1.097.828c-4.08 3.08-7.084 7.287-8.599 12.043z",clipRule:"evenodd"}),(0,S.jsx)("path",{fill:"#f6606a",fillRule:"evenodd",d:"M32.394 38.531c7.296.981 18.765-.975 18.765-10.793S46.15 11.231 35.873 11.231s-17.767 2.245-17.767 12.063S25.099 37.55 32.394 38.53",clipRule:"evenodd"}),(0,S.jsx)("path",{fill:"#fec0c3",fillRule:"evenodd",d:"M47.667 32.486c.907-1.181 1.492-2.711 1.492-4.748 0-4.594-1.172-8.193-3.294-10.619-2.086-2.383-5.311-3.889-9.992-3.889-5.083 0-9.074.573-11.752 2.09-1.293.733-2.263 1.677-2.926 2.9-.67 1.236-1.09 2.873-1.09 5.074 0 4.383 1.539 7.404 3.767 9.464 2.278 2.106 5.426 3.339 8.789 3.791 3.406.458 7.715.209 11.074-1.208 1.66-.7 3.005-1.648 3.932-2.855m3.492-4.748c0 9.818-11.47 11.774-18.765 10.793s-14.288-5.42-14.288-15.237 7.49-12.064 17.767-12.064 15.286 6.69 15.286 16.508",clipRule:"evenodd"}),(0,S.jsx)("path",{fill:"#fb0",fillRule:"evenodd",d:"M35.29 31.91c1.935 0 3.35-2.25 3.35-4.118s-2.33-3.235-4.264-3.235-3.655 2.25-3.655 4.117c0 1.869 2.634 3.236 4.569 3.236",clipRule:"evenodd"}),(0,S.jsx)("circle",{cx:"61",cy:"56",r:"10",fill:"#ffca58"}),(0,S.jsx)("path",{fill:"#fff",d:"M67.184 51.548c.27.282.27.725 0 1.007l-7.367 7.691a1 1 0 0 1-1.445 0l-2.724-2.844a.728.728 0 0 1 1.05-1.008l1.675 1.744a1 1 0 0 0 1.443 0l6.317-6.59a.73.73 0 0 1 1.051 0"})]}))};B.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"71",height:"67",fill:"none",viewBox:"0 0 71 67"};var F=(0,l.YK)({title:{id:"scenario_learn_page_completed_all",defaultMessage:"Congratulations! You completed our {language} course"},description:{id:"scenario_learn_page_completed_all_filler",defaultMessage:"Learning is a lifelong journey. Choose another language, or come back here to practice the one you've learned."},practiceVocabulary:{id:"scenario_learn_page_completed_practice_cta",defaultMessage:"Practice your vocabulary"},selectDifferentLanguage:{id:"scenario_learn_page_completed_choose_new_cta",defaultMessage:"Learn a new language"}}),U=function(e){var n=e.targetLanguageName,t=(0,l.tz)(),r=a.b.scenarios.practice,i=a.b.languages;return(0,S.jsx)(D.G,{icon:(0,S.jsx)(k,{Svg:B}),header:t.formatMessage(F.title,{language:n}),description:t.formatMessage(F.description),primaryBtnText:t.formatMessage(F.practiceVocabulary),primaryBtnLink:r,secondaryBtnText:t.formatMessage(F.selectDifferentLanguage),secondaryBtnLink:i})},X=t(81840),$=_.Ay.div.withConfig({componentId:"sc-npcw0d-0"})(function(e){var n=e.theme,t=e.$hasMarginBottom;return(0,_.AH)(["display:flex;align-items:center;margin-bottom:",";gap:",";> div:first-child{flex:1;}> div:last-child{flex:2;}@media (max-width:","){display:grid;grid-template-columns:1fr;}"],t&&n.sz.s6,n.sz.s4,n.sz.xxl)}),q=_.Ay.div.withConfig({componentId:"sc-npcw0d-1"})(function(e){var n=e.theme;return(0,_.AH)(["width:100%;display:flex;flex-direction:column;margin-top:",";"],n.sz.s2)}),V=_.Ay.div.withConfig({componentId:"sc-npcw0d-2"})(function(e){var n=e.theme;return(0,_.AH)(["width:100%;margin-top:",";"],n.sz.s8)}),K=_.Ay.div.withConfig({componentId:"sc-npcw0d-3"})(function(e){var n=e.theme;return(0,_.AH)(["margin:"," 0;"],n.sz.s4)}),Y=_.Ay.div.withConfig({componentId:"sc-npcw0d-4"})(function(e){var n=e.theme;return(0,_.AH)(["width:100%;display:flex;flex-direction:row;align-items:center;justify-content:space-between;font-size:",";color:",";font-weight:",";line-height:",";"],n.DEPRECATED_ty.larger,n.co.secondary0,n.DEPRECATED_ty.bold,n.sz.s4)}),G=_.Ay.div.withConfig({componentId:"sc-npcw0d-5"})(function(e){var n=e.theme;return(0,_.AH)(["margin-top:",";"],n.sz.s6)}),Q=_.Ay.div.withConfig({componentId:"sc-npcw0d-6"})(function(){return(0,_.AH)(["flex:0 0 auto;"])});_.Ay.div.withConfig({componentId:"sc-npcw0d-7"})(function(e){var n=e.theme;return(0,_.AH)(["margin-left:",";font-size:",";"],n.sz.s2,n.DEPRECATED_ty.mediumLarge)}),(0,_.Ay)(X.A).withConfig({componentId:"sc-npcw0d-8"})(function(e){var n=e.theme;return(0,_.AH)(["margin-top:",";margin-bottom:",";"],n.sz.s5,n.sz.s2)});var W=_.Ay.div.withConfig({componentId:"sc-npcw0d-9"})(function(){return(0,_.AH)(["width:100%;height:100%;display:flex;align-items:center;justify-content:center;"])}),J=(0,_.Ay)(c.A).withConfig({componentId:"sc-npcw0d-10"})(function(e){var n=e.theme;return(0,_.AH)(["width:",";"],n.sz.s32)});_.Ay.div.withConfig({componentId:"sc-npcw0d-11"})(function(e){var n=e.theme;return(0,_.AH)(["font-size:",";font-weight:",";"],n.DEPRECATED_ty.medium,n.DEPRECATED_ty.bold)}),_.Ay.img.withConfig({componentId:"sc-npcw0d-12"})(function(e){var n=e.theme;return(0,_.AH)(["width:",";"],n.sz.s6)});var Z=(0,_.Ay)(L.g).withConfig({componentId:"sc-npcw0d-13"})(function(e){var n=e.theme;return(0,_.AH)(["position:absolute;top:",";left:0;width:",";border-radius:",";"],n.sz.s1,n.sz.s14,n.bo.mediumSmall)}),ee=(0,_.Ay)(L.g).withConfig({componentId:"sc-npcw0d-14"})(function(e){var n=e.theme;return(0,_.AH)(["position:absolute;top:",";right:",";width:",";border-radius:",";@media (max-width:","){display:none;}
1"],n.sz.s2,n.sz.s1,n.sz.s48,n.bo.mediumSmall,n.sz.maxMobileBreakpoint)}),en=_.Ay.div.withConfig({componentId:"sc-npcw0d-15"})(function(e){var n=e.theme;return(0,_.AH)(["margin:"," 0 "," -",";"],n.sz.s2,n.sz.s4,n.sz.s2)});function et(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function er(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?et(Object(t),!0).forEach(function(n){(0,g.A)(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):et(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}var ei=function(e){return(0,S.jsxs)("svg",er(er({},e),{},{children:[(0,S.jsx)("path",{fill:"#00a778",fillRule:"evenodd",d:"M154.256 37.744 152.5 33l-1.756 4.744L146 39.5l4.744 1.756L152.5 46l1.756-4.744L159 39.5zm1.862 1.756-2.641-.977-.977-2.642-.977 2.642-2.641.977 2.641.977.977 2.642.977-2.642z",clipRule:"evenodd"}),(0,S.jsx)("path",{fill:"#f6606a",fillRule:"evenodd",d:"M47.256 23.744 45.5 19l-1.756 4.744L39 25.5l4.744 1.756L45.5 32l1.756-4.744L52 25.5zm1.862 1.756-2.64-.977-.978-2.642-.977 2.642-2.642.977 2.642.977.977 2.642.977-2.642z",clipRule:"evenodd"}),(0,S.jsx)("path",{fill:"#fb0",fillRule:"evenodd",d:"M176.985 12.015 175.5 8l-1.485 4.015L170 13.5l4.015 1.486L175.5 19l1.485-4.014L181 13.5zm1.133 1.485-1.911-.707-.707-1.911-.707 1.91-1.911.708 1.911.707.707 1.912.707-1.912z",clipRule:"evenodd"}),(0,S.jsx)("path",{fill:"#ffca58",fillRule:"evenodd",d:"m24.878 36.293-2.171-2.172a1 1 0 0 0-1.414 0l-2.172 2.172a1 1 0 0 0 0 1.414l2.172 2.171a1 1 0 0 0 1.414 0l2.171-2.171a1 1 0 0 0 0-1.414m-1.464-2.88a2 2 0 0 0-2.829 0l-2.171 2.173a2 2 0 0 0 0 2.828l2.171 2.172a2 2 0 0 0 2.829 0l2.171-2.172a2 2 0 0 0 0-2.828z",clipRule:"evenodd"}),(0,S.jsx)("path",{fill:"#f6606a",fillRule:"evenodd",d:"M127 9a3 3 0 1 0 0-6 3 3 0 0 0 0 6m0 1a4 4 0 1 0 0-8 4 4 0 0 0 0 8",clipRule:"evenodd"}),(0,S.jsx)("path",{fill:"#00a778",fillRule:"evenodd",d:"m185.878 43.793-.671-.672a1 1 0 0 0-1.414 0l-.672.672a1 1 0 0 0 0 1.414l.672.671a1 1 0 0 0 1.414 0l.671-.671a1 1 0 0 0 0-1.414m.036-1.38a2 2 0 0 0-2.829 0l-.671.673a2 2 0 0 0 0 2.828l.671.672a2 2 0 0 0 2.829 0l.671-.672a2 2 0 0 0 0-2.828zM3.878 20.293l-.171-.172a1 1 0 0 0-1.414 0l-.172.172a1 1 0 0 0 0 1.414l.172.171a1 1 0 0 0 1.414 0l.171-.171a1 1 0 0 0 0-1.414m.536-.88a2 2 0 0 0-2.829 0l-.171.172a2 2 0 0 0 0 2.829l.171.171a2 2 0 0 0 2.829 0l.171-.171a2 2 0 0 0 0-2.829z",clipRule:"evenodd"}),(0,S.jsx)("path",{fill:"#014135",fillRule:"evenodd",d:"M103.69 22.848h1.538s-1.397 7.185-1.538 10.81c-.14 3.626.769 9.01.769 9.01h-.945q.18.54.334 1.092l.141.506.003.01c.626.387 1.049 2.154 1.049 2.988 0 .938-1.106 3.357-2.055 2.574-.948-.783-1.181-1.653-1.017-2.761.092-.618.398-1.442.782-2.05l-2.083-1.177c-4.67-2.64-7.54-7.47-7.52-12.649.004-.73.887-1.115 1.471-.642l1.062.86a24.6 24.6 0 0 1 6.963 9.013c-.252-2.207-.574-5.55-.491-7.675.132-3.397 1.537-9.91 1.537-9.91",clipRule:"evenodd"}),(0,S.jsx)("path",{fill:"#007456",fillRule:"evenodd",d:"M102.668 44.112c-.203.637.495 1.182 1.105.864l2.239-1.167c4.757-2.48 7.796-7.202 7.964-12.375.024-.732-.849-1.15-1.452-.695l-1.097.828c-4.08 3.08-7.084 7.287-8.599 12.043z",clipRule:"evenodd"}),(0,S.jsx)("path",{fill:"#f6606a",fillRule:"evenodd",d:"M102.394 32.531c7.295.981 18.765-.975 18.765-10.793S116.15 5.23 105.873 5.23 88.106 7.476 88.106 17.294s6.993 14.256 14.288 15.237",clipRule:"evenodd"}),(0,S.jsx)("path",{fill:"#fec0c3",fillRule:"evenodd",d:"M117.666 26.486c.908-1.181 1.493-2.711 1.493-4.748 0-4.594-1.172-8.193-3.294-10.619-2.085-2.383-5.311-3.889-9.992-3.889-5.083 0-9.074.573-11.752 2.09-1.293.733-2.263 1.677-2.926 2.9-.67 1.236-1.09 2.872-1.09 5.074 0 4.383 1.539 7.404 3.767 9.464 2.278 2.106 5.426 3.339 8.789 3.791 3.406.458 7.715.209 11.074-1.208 1.66-.7 3.005-1.649 3.931-2.855m3.493-4.748c0 9.818-11.47 11.774-18.765 10.793s-14.288-5.42-14.288-15.237S95.596 5.23 105.873 5.23s15.286 6.69 15.286 16.508",clipRule:"evenodd"}),(0,S.jsx)("path",{fill:"#fb0",fillRule:"evenodd",d:"M105.29 25.91c1.935 0 3.351-2.25 3.351-4.118s-2.33-3.235-4.265-3.235-3.655 2.25-3.655 4.117c0 1.869 2.634 3.236 4.569 3.236",clipRule:"evenodd"}),(0,S.jsx)("path",{fill:"#ffca58",fillRule:"evenodd",d:"M63.878 7.793 61.207 5.12a1 1 0 0 0-1.414 0L57.12 7.793a1 1 0 0 0 0 1.414l2.672 2.671a1 1 0 0 0 1.414 0l2.671-2.671a1 1 0 0 0 0-1.414m-1.964-3.38a2 2 0 0 0-2.828 0l-2.672 2.672a2 2 0 0 0 0 2.829l2.672 2.672a2 2 0 0 0 2.828 0l2.671-2.672a2 2 0 0 0 0-2.829z",clipRule:"evenodd"})]}))};ei.defaultProps={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 188 52"};var ea=function(e){return(0,S.jsxs)("svg",er(er({},e),{},{children:[(0,S.jsx)("path",{stroke:"#ffc933",d:"M50.94 1.768a1.5 1.5 0 0 1 2.12 0l4.172 4.171a1.5 1.5 0 0 1 0 2.122l-4.171 4.171a1.5 1.5 0 0 1-2.122 0l-4.171-4.171a1.5 1.5 0 0 1 0-2.122z"}),(0,S.jsx)("path",{stroke:"#fb0",d:"m8 6.44 1.692 4.573.08.215.215.08L14.56 13l-4.572 1.692-.215.08-.08.215L8 19.56l-1.692-4.572-.08-.215-.215-.08L1.44 13l4.572-1.692.215-.08.08-.215z"}),(0,S.jsx)("path",{stroke:"#00a778",d:"M27.94 5.768a1.5 1.5 0 0 1 2.12 0l.172.171a1.5 1.5 0 0 1 0 2.122l-.171.171a1.5 1.5 0 0 1-2.122 0l-.171-.171a1.5 1.5 0 0 1 0-2.122z"})]}))};ea.defaultProps={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 59 21"};var eo=(0,l.YK)({scenariosInProgress:{id:"scenario_learn_page_in_progress"},noScenariosInProgress:{id:"scenario_learn_page_none_in_progress",defaultMessage:'You have no scenarios in progress! Choose one from the "Up next" section below.'},noFutureScenarios1:{id:"scenario_learn_page_no_new_1",defaultMessage:"You're almost there!"},noFutureScenarios2:{id:"scenario_learn_page_no_new_2",defaultMessage:"Looks like all your remaining scenarios are already in progress"},seeCompleted:{id:"scenario_learn_page_view_completed",defaultMessage:"View completed"},scenariosUpNext:{id:"scenario_learn_page_up_next",defaultMessage:"Up next"},recommendedPath:{id:"scenario_learn_page_recommended_path",defaultMessage:"Recommended path"}});let el=function(e){var n,t=e.languagePairId,r=e.targetLanguageName,s=e.sourceLanguageName,c=(0,l.tz)(),u=(0,i.useState)(!1),f=u[0],p=u[1],g=(0,i.useState)(null),h=g[0],j=g[1],b=(0,i.useState)(null),_=b[0],z=b[1],C=(0,i.useState)(void 0),D=C[0],L=C[1],k=(0,i.useState)(""),H=k[0],N=k[1],B=(0,i.useState)(void 0),F=B[0],X=B[1],et=(0,i.useState)(!0),er=et[0],el=et[1],es=(0,i.useState)(!1),ec=es[0],ed=es[1],eu=(0,y.I)({queryKey:["scenarioCounts",t],queryFn:function(){return t?d._Q.getScenarioCounts(t):null},gcTime:0,staleTime:0}),ef=eu.data,ep=eu.isFetching,eg=eu.isRefetching,em=eu.refetch,eh=(0,y.I)({queryKey:["topics",t,H],queryFn:function(){return t?d.fR.getTopicsAndTags(t,{filters:"uncompleted_scenarios",search_term:H}):null},staleTime:E.iW}),ev=eh.data,ey=eh.isLoading,ew=eh.isFetching,ex=eh.isRefetching,ej=(0,y.I)({queryKey:["topics",t],queryFn:function(){return t?d.fR.getTopicsAndTags(t,{filters:"uncompleted_scenarios"}):null}});(0,i.useEffect)(function(){D||el(!0)},[D]);var eb=(0,i.useMemo)(function(){return null==ev?void 0:ev.topics.find(function(e){return e.name===D})},[D,null==ev?void 0:ev.topics]),e_=function(e,n){ed(!0),j(n),z(e)},eA=(0,w.Ub)({maxWidth:A.A.sz.lg}),ez=(0,S.jsx)(R,{ctaText:c.formatMessage(eo.seeCompleted),href:a.b.scenarios.practice});return t?ep&&!eg?(0,S.jsx)(W,{children:(0,S.jsx)(J,{})}):!ef||ef.scenariosInProgressCount||ef.futureScenariosCount?(0,S.jsxs)(S.Fragment,{children:[_&&h&&ec&&(0,S.jsx)(M.A,{languagePairId:t,userSce
1nario:_,scenarioType:h,onClose:(0,m.A)(v().mark(function e(){return v().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return ed(!1),e.next=3,em();case 3:case"end":return e.stop()}},e)})),activitySource:o.j.SCENARIOS_TAB,backPage:a.b.scenarios.learn,targetLanguageName:r,sourceLanguageName:s}),(0,S.jsxs)($,{$hasMarginBottom:er,children:[(0,S.jsx)(P.u,{options:["learn","practice"],selectedOption:"learn"}),(0,S.jsx)(T.e,{languagePairId:t,onlyShowFreeScenarios:f,setOnlyShowFreeScenarios:p,setTagTopicValue:N,setSearchValue:L,topics:null==ev?void 0:ev.topics,tags:null==ev?void 0:ev.tags,disabled:!(null!=ef&&ef.futureScenariosCount),isLoading:ey||ew||ex,setTagTopicId:X,searchValue:D})]}),er&&(0,S.jsxs)(Y,{children:[(0,S.jsx)(Q,{children:c.formatMessage(eo.scenariosInProgress)}),!eA&&ez]}),!ef||ef.scenariosInProgressCount||D?(0,S.jsx)(q,{children:(0,S.jsx)(I.H,{languagePairId:t,scenarioType:x.X.IN_PROGRESS,onClickDetails:e_,arrangement:"horizontal",onlyShowFreeScenarios:f,onClickClear:function(){L(void 0),N(""),X(void 0)},tagId:null!=D&&D.includes("#")?F:void 0,topicId:null!=D&&D.includes("#")?void 0:F,setHasInProgressSection:el})}):(0,S.jsx)(K,{children:(0,S.jsx)(O.Q,{$padding:A.A.sz.s4,$backgroundColor:A.A.co.neutral98,$borderRadius:A.A.bo.mediumSmall,children:c.formatMessage(eo.noScenariosInProgress)})}),eA&&er&&(0,S.jsx)(en,{children:ez}),!ef||ef.futureScenariosCount||D?(0,S.jsxs)(q,{children:[(0,S.jsx)(G,{children:(0,S.jsx)(Y,{children:(0,S.jsx)(Q,{children:c.formatMessage(eo.scenariosUpNext)})})}),D&&(0,S.jsx)(I.H,{languagePairId:t,heading:D,headingImageSrc:null==eb?void 0:eb.iconUrl,scenarioType:x.X.UP_NEXT,onClickDetails:e_,onlyShowFreeScenarios:f,onClickClear:function(){L(void 0),N(""),X(void 0)},tagId:null!=D&&D.includes("#")?F:void 0,topicId:null!=D&&D.includes("#")?void 0:F,isSearch:!0}),!D&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(I.H,{languagePairId:t,scenarioType:x.X.UP_NEXT,onClickDetails:e_,onlyShowFreeScenarios:f,heading:c.formatMessage(eo.recommendedPath),arrangement:"horizontal",enabledInView:!0}),null==(n=ej.data)?void 0:n.topics.map(function(e){return(0,S.jsx)(I.H,{languagePairId:t,heading:e.name,headingImageSrc:e.iconUrl,topicId:e.topicId,scenarioType:x.X.UP_NEXT,onClickDetails:e_,onlyShowFreeScenarios:f,arrangement:"horizontal",enabledInView:!0},e.name)})]})]}):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(G,{children:(0,S.jsx)(Y,{children:(0,S.jsx)(Q,{children:c.formatMessage(eo.scenariosUpNext)})})}),(0,S.jsx)(V,{children:(0,S.jsxs)(O.Q,{$padding:A.A.sz.s6,$backgroundColor:A.A.co.primary99,$borderRadius:A.A.bo.mediumSmall,children:[(0,S.jsx)(Z,{Svg:ea}),c.formatMessage(eo.noFutureScenarios1)," ",c.formatMessage(eo.noFutureScenarios2),(0,S.jsx)(ee,{Svg:ei})]})})]})]}):(0,S.jsx)(U,{targetLanguageName:r}):null};var es=_.Ay.div.withConfig({componentId:"sc-i26kcp-0"})(function(e){var n=e.theme;return(0,_.AH)(["margin:"," auto 0 auto;width:",";"],n.sz.s32,n.sz.s20)}),ec=(0,l.YK)({title:{id:"core_loop_tab_names_scenarios"}});let ed=function(){var e=(0,l.tz)(),n=(0,u.u)().user,t=(0,s.t)().shouldBlock;return((0,i.useEffect)(function(){d.mq.trackUserAction("screen_viewed","dashboard_lessons_tab",(0,f.S)(),!!(null!=n&&n.isPro),{})},[]),t)?(0,S.jsx)(es,{"data-testid":"scenarios-loader",children:(0,S.jsx)(c.A,{})}):(0,S.jsx)(p.A,{sidebarUrl:a.b.scenarios.learn,pageScreenName:o.J.SCENARIOS,pageTitle:e.formatMessage(ec.title),children:(0,S.jsx)(el,{})})};var eu=t(22613);let ef=function(){return"2025"===(0,r.hF)().experienceType?(0,S.jsx)(eu.A,{}):(0,S.jsx)(ed,{})}},27745:(e,n,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/learn",function(){return t(16216)}])},92120:(e,n,t)=>{"use strict";t.d(n,{G:()=>y});var r=t(42969);t(14232);var i=t(25493),a=t(61542),o=t(5646),l=t(66978),s=o.Ay.div.withConfig({componentId:"sc-1uj557w-0"})(function(e){var n=e.theme;return(0,o.AH)(["width:100%;background-color:",";border-radius:",";padding:",";font-size:",";position:relative;align-items:center;justify-content:center;text-align:center;"],n.co.primary99,n.bo.mediumSmall,n.sz.s6,n.DEPRECATED_ty.medium)}),c=o.Ay.div.withConfig({componentId:"sc-1uj557w-1"})(function(e){var n=e.theme;return(0,o.AH)(["width:100%;flex-direction:row;margin-top:",";margin-bottom:",";align-items:center;font-size:",";color:",";font-weight:",";"],n.sz.s4,n.sz.s4,n.DEPRECATED_ty.larger,n.co.secondary0,n.DEPRECATED_ty.bold)}),d=o.Ay.div.withConfig({componentId:"sc-1uj557w-2"})(function(e){var n=e.theme;return(0,o.AH)(["justify-content:center;grid-template-columns:1fr 1fr;grid-gap:",";margin-top:",";display:flex;@media (max-width:","){display:grid;grid-template-columns:1fr;grid-gap:",";}"],n.sz.s1,n.sz.s8,n.sz.md,n.sz.s10)}),u=o.Ay.div.withConfig({componentId:"sc-1uj557w-3"})(function(e){var n=e.theme;return(0,o.AH)(["a{font-size:",";padding:"," ",";}margin:0 ",";"],n.DEPRECATED_ty.mediumLarge,n.DEPRECATED_ty.smallest,n.DEPRECATED_ty.larger,n.sz.s4)}),f=(0,o.Ay)(l.g).withConfig({componentId:"sc-1uj557w-4"})(function(e){var n=e.theme;return(0,o.AH)(["position:absolute;
1transform:scaleX(-1);top:",";left:0;width:",";"],n.sz.s1,n.sz.s32)}),p=(0,o.Ay)(l.g).withConfig({componentId:"sc-1uj557w-5"})(function(e){var n=e.theme;return(0,o.AH)(["position:absolute;top:",";right:0;width:",";"],n.sz.s1,n.sz.s32)}),g=t(37876);function m(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function h(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?m(Object(t),!0).forEach(function(n){(0,r.A)(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):m(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}var v=function(e){return(0,g.jsxs)("svg",h(h({},e),{},{children:[(0,g.jsx)("path",{fill:"#00a778",fillRule:"evenodd",d:"M154.256 34.744 152.5 30l-1.756 4.744L146 36.5l4.744 1.756L152.5 43l1.756-4.744L159 36.5zm1.862 1.756-2.641-.977-.977-2.642-.977 2.642-2.641.977 2.641.977.977 2.642.977-2.642z",clipRule:"evenodd"}),(0,g.jsx)("path",{fill:"#fb0",fillRule:"evenodd",d:"M176.985 9.015 175.5 5l-1.485 4.015L170 10.5l4.015 1.486L175.5 16l1.485-4.014L181 10.5zm1.133 1.485-1.911-.707-.707-1.911-.707 1.91-1.911.708 1.911.707.707 1.911.707-1.91z",clipRule:"evenodd"}),(0,g.jsx)("path",{fill:"#ffca58",fillRule:"evenodd",d:"m24.878 33.293-2.171-2.172a1 1 0 0 0-1.414 0l-2.172 2.172a1 1 0 0 0 0 1.414l2.172 2.171a1 1 0 0 0 1.414 0l2.171-2.171a1 1 0 0 0 0-1.414m-1.464-2.88a2 2 0 0 0-2.829 0l-2.171 2.173a2 2 0 0 0 0 2.828l2.171 2.172a2 2 0 0 0 2.829 0l2.171-2.172a2 2 0 0 0 0-2.828z",clipRule:"evenodd"}),(0,g.jsx)("path",{fill:"#f6606a",fillRule:"evenodd",d:"M95.5 20a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3m0 1a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5",clipRule:"evenodd"}),(0,g.jsx)("path",{fill:"#00a778",fillRule:"evenodd",d:"m185.878 40.793-.671-.672a1 1 0 0 0-1.414 0l-.672.672a1 1 0 0 0 0 1.414l.672.671a1 1 0 0 0 1.414 0l.671-.671a1 1 0 0 0 0-1.414m.036-1.38a2 2 0 0 0-2.829 0l-.671.673a2 2 0 0 0 0 2.828l.671.672a2 2 0 0 0 2.829 0l.671-.672a2 2 0 0 0 0-2.828zM3.878 17.293l-.171-.172a1 1 0 0 0-1.414 0l-.172.172a1 1 0 0 0 0 1.414l.172.171a1 1 0 0 0 1.414 0l.171-.171a1 1 0 0 0 0-1.414m.536-.88a2 2 0 0 0-2.829 0l-.171.172a2 2 0 0 0 0 2.829l.171.171a2 2 0 0 0 2.829 0l.171-.171a2 2 0 0 0 0-2.829z",clipRule:"evenodd"}),(0,g.jsx)("path",{fill:"#ffca58",fillRule:"evenodd",d:"M63.878 4.793 61.207 2.12a1 1 0 0 0-1.414 0L57.12 4.793a1 1 0 0 0 0 1.414l2.672 2.671a1 1 0 0 0 1.414 0l2.671-2.671a1 1 0 0 0 0-1.414m-1.964-3.38a2 2 0 0 0-2.828 0l-2.672 2.672a2 2 0 0 0 0 2.829l2.672 2.671a2 2 0 0 0 2.828 0l2.671-2.671a2 2 0 0 0 0-2.829z",clipRule:"evenodd"})]}))};v.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"188",height:"45",fill:"none",viewBox:"0 0 188 45"};var y=function(e){var n=e.icon,t=e.header,r=e.description,o=e.primaryBtnText,l=e.primaryBtnLink,m=e.primaryBtnAction,h=e.secondaryBtnText,y=e.secondaryBtnLink,w=e.secondaryBtnAction;return(0,g.jsxs)(s,{"data-testid":"Completed-card",children:[(0,g.jsx)(f,{Svg:v}),n,(0,g.jsx)(p,{Svg:v}),(0,g.jsx)(c,{children:t}),r,(0,g.jsxs)(d,{children:[(0,g.jsx)(u,{children:l?(0,g.jsx)(i.z,{buttonType:"primary",buttonSize:"large",href:l,children:o}):(0,g.jsx)(a.$n,{buttonType:"primary",buttonSize:"large",onClick:m,children:o})}),(0,g.jsx)(u,{children:y?(0,g.jsx)(i.z,{buttonType:"secondary",buttonSize:"large",href:y,children:h}):(0,g.jsx)(a.$n,{buttonType:"secondary",buttonSize:"large",onClick:w,children:h})})]})]})}}},e=>{e.O(0,[5687,4202,663,4194,7767,2673,433,2093,1949,1799,9280,1253,7760,9782,2683,276,7063,2539,2613,6593,636,8792],()=>e(e.s=27745)),_N_E=e.O()}]); 2//# sourceMappingURL=learn-2283ed11b372d10e.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.