1import{R as f}from"./Reviews-BqSxzcvB.js";import{L as y}from"./Loader-l3cSYZQu.js";import{L as k}from"./LevelNutshellInfo-DjRb3ygr.js";import{L as b}from"./LevelInfo-BUkYJ-vg.js";import{P as w}from"./PriceDisplay-CqRtbCYR.js";import{r as n,o as s,c as o,a as i,t as c,f as l,F as p,e as d,b as a,g as L,h as S}from"./vue-router-Cc0Ijf1R.js";import{_ as D}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./_commonjsHelpers-_d1bhYXs.js";const O={components:{LevelInfo:b,LevelNutshellInfo:k,Reviews:f,Loader:y,PriceDisplay:w},data(){return{auth:!1,ready:!1,pricingOptionDeal:null,pricingOption:null,previewSlug:null}},mounted(){this.addTitleAndDescription(this.$t("titleLevelPicker"),this.$t("descriptionLevelPicker")),this.auth=this.getAuthToken(),axios.get("/pricing-options/courses?currency="+this.getCurrency()).then(e=>{this.pricingOptionDeal=e.data.data[0],this.pricingOption=e.data.data[1],this.$root.levels?this.ready=!0:this.getLevels(()=>this.ready=!0)}),this.previewSlug=window.localStorage.getItem("bergesPreviewSlug")}},P={class:"p-4 border-bottom"},C={class:"h3"},N={class:"text-muted"},$={class:"border-bottom h-100"},V={class:"p-4"},B={key:0,class:"mb-3"},I={key:0},T={class:"mb-1"},x={key:1,class:"mb-5"};function A(e,E,F,R,t,W){const u=n("loader"),h=n("level-info"),m=n("price-display"),_=n("router-link");return s(),o("div",null,[i("div",P,[i("h1",C,c(e.$t("levelsSchedule")),1),i("div",N,c(e.$t("flagship")),1)]),l(u,{show:!t.ready},null,8,["show"]),i("div",null,[t.ready?(s(!0),o(p,{key:0},d(this.$root.levels,(v,g)=>(s(),o("div",{key:g},[(s(!0),o(p,null,d(v,r=>(s(),o("div",{key:r.id},[i("div",$,[i("div",V,[l(h,{level:r,"show-textbook-link":!0},null,8,["level"]),!t.auth||t.previewSlug?(s(),o("div",B,[t.pricingOption?(s(),o("div",I,[l(m,{option:r.slug===e.$t("dealLevelSlug")&&!e.isEnglishClassesWebsite?t.pricingOptionDeal:t.pricingOption},null,8,["option"])])):a("",!0)])):a("",!0),i("div",T,[l(_,{to:e.$path("browse-courses")+"/"+r.slug,class:"btn btn-lg btn-secondary"},{default:L(()=>[S(c(e.$t("startDates")),1)]),_:1},8,["to"])])])])]))),128))]))),128)):a("",!0),t.ready?(s(),o("div",x)):a("",!0)])])}const Q=D(O,[["render",A]]);export{Q as default};
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.