1import{as as f,ce as c,ah as s,bR as l,ak as n,cn as r,aj as o,g as u,c4 as y,bz as m}from"./C9Z41gEb.js";const p={key:0,class:"text-body-2 text-base-color2"},k={class:"d-sr-only"},b=f({__name:"recipe-difficulty",props:{difficulty:{},text:{}},setup(e){const d={easy:1,medium:2,advanced:3};return(t,i)=>i[0]||(c(-1,!0),(i[0]=s("div",{class:"ws-recipe-difficulty","data-test":"recipe-difficulty",title:t.$t("recipes.difficultyinfo",[t.$t(`recipes.difficultylevels.${e.difficulty}`)])},[e.text?(l(),n("div",p,r(e.text),1)):o("",!0),s("span",k,r(t.$t(`recipes.difficultylevels.${e.difficulty}`)),1),(l(),n(u,null,y(3,a=>s("span",{key:a,class:m(["ws-recipe-difficulty__icon ws-icon notranslate",a>d[e.difficulty]?"ws-recipe-difficulty__icon--disabled":"ws-recipe-difficulty__icon--active"]),"aria-hidden":"true"}," restaurant_menu ",2)),64))],8,["title"])).cacheIndex=0,c(1),i[0])}});export{b 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.