1import{t as e}from"./CDivx7hb.js";import{t}from"./DuuXFmAW2.js";var n=`/${e}`;function r(e=`en`){return e===`en`?n:`/${e}${n}`}function i(e,t=`en`){return`${r(t)}/${e}`}function a(e){let t=`${e.subject}-`;return e.slug.startsWith(t)?e.slug.slice(t.length):e.slug}function o(e,t=`en`){return`${i(e.subject,t)}/${a(e)}`}function s(e){let t=`${e.subject}-${e.category}-`;return e.slug.startsWith(t)?e.slug.slice(t.length):e.slug}function c(e,t=`en`){return`${i(e.subject,t)}/${e.category}/${s(e)}`}function l(e,t=`en`){let n=[];for(let t of[e.subject,e.category,e.topic]){if(!t)break;n.push(t)}return[r(t),...n].join(`/`)}function u(e){return e.cardFormat===`pair`}function d(e,n=`recognition`){let r=n===`production`?`&reversed=1`:``,i=`learning-hub:${e.subject}:${e.language}:${e.level}`;return`${t.FRONTEND_URL}/learner?template=${e.slug}${r}&start=session&ref=${encodeURIComponent(i)}`}export{l as a,r as i,d as n,i as o,o as r,c as s,u as t};
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.