PageSourceSearch

https://englishapps.app/_nuxt/Br1I3Ntb.js

js englishapps.app collected 2026-10-02 15:51:19 UTC 2,990 bytes, 1 lines download raw bytes

1import{_ as p}from"./P7Y1IjxR.js";import{d as z,f as y,G as o,R as c,M as n,ad as v,K as r,L as m,N as l,I as d,H as u,a4 as f,P as k,ae as b,aa as B,Q as C,k as N,_ as V}from"./DXiYrPJ4.js";const $={class:"course-card-top d-flex align-start"},I={class:"course-card-tile","aria-hidden":"true"},K={class:"course-card-side ms-auto text-right"},L={key:2},T={class:"course-card-stats demo-tabular"},j={key:0,class:"course-card-subtitle"},D={key:1,class:"course-card-notes"},R={key:2,class:"course-card-arrow","aria-hidden":"true"},_=z({__name:"Card",props:{to:{type:String,default:""},level:{type:String,default:""},color:{type:String,default:""},icon:{type:String,default:"mdi-school"},title:{type:String,default:""},subtitle:{type:String,default:""},percentage:{type:Number,default:0},ring:{type:String,default:"percent"},notes:{type:Boolean,default:!1},locked:{type:Boolean,default:!1},dense:{type:Boolean,default:!1},arrow:{type:Boolean,default:!0},titleLines:{type:Number,default:1}},setup(e){const i=e,h=a=>{const t=a.replace("#","").slice(0,6);return t.length!==6?"126,87,194":[0,2,4].map(s=>parseInt(t.slice(s,s+2),16)).join(",")},g=a=>{i.to||(a.preventDefault(),a.currentTarget.click())},x=N(()=>{const a={"--ea-card-radius":"20px","--ea-card-glow":"0.40"};return i.color?{...a,"--lvl-rgb":h(i.color),background:i.color}:{...a,"--lvl-rgb":`var(--v-theme-${i.level||"primary"})`}});return(a,t)=>{const s=y("v-icon"),w=y("v-progress-circular"),S=p;return o(),c(S,{to:e.to||void 0,role:e.to?void 0:"button",tabindex:e.to?void 0:0,class:k(["ea-card course-card link-no-decoration",[e.level?`${e.level}-gradient`:"",{"is-locked":e.locked,"course-card--dense":e.dense}]]),style:B(C(x)),onKeydown:[b(g,["enter"]),b(g,["space"])]},{default:n(()=>[v(a.$slots,"default",{},()=>[r("div",$,[r("span",I,[m(s,{size:e.dense?26:30},{default:n(()=>[l(d(e.icon),1)]),_:1},8,["size"])]),r("div",K,[e.ring!=="none"?(o(),c(w,{key:0,color:"white","model-value":e.percentage,width:"7",size:e.dense?52:60,class:"course-card-ring"},{default:n(()=>[r("strong",null,[e.ring==="infinity"?(o(),c(s,{key:0,size:"20"},{default:n(()=>[...t[0]||(t[0]=[l("mdi-infinity",-1)])]),_:1})):e.ring==="lock"?(o(),c(s,{key:1,size:"18",class:"course-card-lock"},{default:n(()=>[...t[1]||(t[1]=[l("mdi-lock",-1)])]),_:1})):(o(),u("small",L,d(e.percentage)+"%",1))])]),_:1},8,["model-value","size"])):f("",!0),r("div",T,[v(a.$slots,"stats",{},void 0,!0)])])]),r("h3",{class:k(["course-card-title tahoma",{"course-card-title--two":e.titleLines===2}])},d(e.title),3),e.subtitle?(o(),u("p",j,d(e.subtitle),1)):f("",!0),e.notes?(o(),u("span",D,[m(s,{size:"14"},{default:n(()=>[...t[2]||(t[2]=[l("mdi-pencil",-1)])]),_:1}),t[3]||(t[3]=l(" (1)",-1))])):f("",!0),e.arrow?(o(),u("span",R,[m(s,{size:"18"},{default:n(()=>[...t[4]||(t[4]=[l("mdi-arrow-right",-1)])]),_:1})])):f("",!0)],!0)]),_:3},8,["to","role","tabindex","class","style"])}}}),G=Object.assign(V(_,[["__scopeId","data-v-4a0168fc"]]),{__name:"CoursesCard"});export{G as _};

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.