| 99 | },e.relevance=0,delete n.beforeMatch |
| 100 | },H=["of","and","for","in","not","or","if","then","parent","list","value"],C="keyword" |
| 101 | ;function $(e,t,n=C){const i=Object.create(null) |
| 102 | ;return"string"==typeof e?s(n,e.split(" ")):Array.isArray(e)?s(n,e):Object.keys(e).forEach((n=>{ |
| 103 | Object.assign(i,$(e[n],t,n))})),i;function s(e,n){ |
| 104 | t&&(n=n.map((e=>e.toLowerCase()))),n.forEach((t=>{const n=t.split("|") |
| 105 | ;i[n[0]]=[e,U(n[0],n[1])]}))}}function U(e,t){ |
| 106 | return t?Number(t):(e=>H.includes(e.toLowerCase()))(e)?0:1}const z={},W=e=>{ |
| 107 | console.error(e)},X=(e,...t)=>{console.log("WARN: "+e,...t)},G=(e,t)=>{ |
| 108 | z[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),z[`${e}/${t}`]=!0) |