pronoun + particle (sandhi form yampi = yaṃ + api)
Analysis. yaṃ (relative pronoun, accusative singular neuter) + api (emphatic particle 'indeed, even'). The combination yampi emphasizes the indefinite or concessive sense: 'whatever it may be', 'even whatever'.
Etymology. ya- is the Indo-European relative pronoun stem, cognate with Sanskrit ya-, Greek ho (via *yo-), Latin qu- (as in quis 'who'), and English wh- (who, what). The particle api 'even, also' is cognate with Sanskrit api and likely related to Indo-European *h₂ep- 'to seize, to reach' (English able, Latin apex), but in Pali it functions as an emphatic postpositive.
Meanings from the Digital Pāḷi Dictionary; morphology and etymology by Claude.
Lite mode — plain HTML for e-readers and old browsers. Full version