n,scope:u}){let c=`${this.#d||"search-item"}-result-${this.#y++}`;if("url"in r){let h="GENERAL"===u?`${o.o7[u]}`:`jump to this ${s.singularItemName}`,d=a?`, ${a}`:"",p=`${e?`${e} `:""}${t}${d}, ${h}`;this.#f.set(c,r.url);let m=null;return e&&(m=(0,l.qy)`
${e}
${this.#V(t)}
`),(0,l.qy)`
  • ${n?(0,l.qy)` ${this.getLeadingVisual(n)} `:null} ${m||this.#V(t)} ${a?(0,l.qy)`${a}`:null}
  • `}if("commandName"in r){let e=o.o7[u]||o.o7.COMMAND,i=a?`, ${a}`:"",s=`${t}${i}, ${e}`;return(0,l.qy)`
  • ${n?(0,l.qy)` ${this.getLeadingVisual(n)} `:null} ${this.#V(t)} ${a?(0,l.qy)`${a}`:null}
  • `}{let e="",i=0;"replaceQueryWith"in r&&(e=r.replaceQueryWith,i=r.moveCaretTo);let s="query"in r?o.o7[u]:o.k8;return(0,l.qy)`
  • ${n?(0,l.qy)` ${this.getLeadingVisual(n)} `:null} ${this.#V(t)} ${a?(0,l.qy)`${a}`:null} ${this.#l.size>0?(0,l.qy)``:(0,l.qy)``}
  • `}}#V(t){let e=this.parser.flatten(this.parser.parse(t,0)),i=!this.#L,s=[];for(let t of e)if("filter"===t.type)s.push((0,l.qy)`${t.filter}:${t.value}${i?" ":""}`);else{let e="";t.style===o.VJ.Constant?e="qb-constant":t.style==