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