Semirational rogue waves for the three coupled variable-coefficient nonlinear Schrödinger equations in an inhomogeneous multicomponent optical fibre