Apple HiFi audio input jack almost non-functional - how to replace?

My speaker is still producing high quality sound - when the audio input jack works. I’ve used replacement cords of every variety and quality level with no difference, so I’ve determined it is the jack itself. I have to twist the input and say a prayer and cross my heart and (you get the idea) most of the time eventually have success in making a connection. Can I replace the jack? I haven’t been able to find a replacement part yet, nor any guides on how to do the fix. Thank you!

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0