Spectrally tailored and polarimetric shortwave infrared detection with narrowband response via quasi-BIC enhanced third harmonic generation | Synapse