This part is a kind of semiconductor called AN78M05.
Function of this product has 3-pin Positive Output Voltage Regulators 500mA Type.
Manufacturers : Panasonic Semiconductor
Image and pinout :

Some of the text within the PDF file :
AN78M00/AN78M00F Series 3-pin Positive Output Voltage Regulators (500mA Type) s Overview The AN78M00 and the AN78M00F series are 3-pin fixed positive output voltage regulators. Stabilized fixed output voltage is obtained from unstable DC input voltage without using any external components. 11 types of fixed output voltage are available;5V, 6V, 7V, 8V, 9V, 10V, 12V, 15V, 18V, 20V and 24V. They can be used widely in power circuits with current capacitance up to 500mA. AN78M00 Series 10.5±0.5 10.4±0.5 Unit:mm 1.4±0.1 ø3.7 8.7±0.3 6.7±0.25 2.9±0.1 +0.1 4.5 1.4±0.25 0.8±0.2 2.54 13.6±0.25 s Features • No external components • Output voltage:5V, 6V, 7V, 8V, 9V, 10V, 12V, 15V, 18V, 20V, 24V • Short-circuit current limiting built-in • Thermal overload protection built-in • [ ... ]
AN78M05 PDF Datasheet Download
