This is an LED driver labeled as ED-SC 50W1200 (on the plastic housing) and no data is written on the back side of the PCB.
The other side of the PCB is immersed in a black resin that is now locked as a solid and bound to all the components on the top side so I can not remove it without damaging the plastic housing, but if that's the option I'll definitely do it.
The right side of the image is the bottom cover of the plastic housing that I have opened and in this side-by-side view, I also marked the mirrored area of the excessive heat of the component also burnt the plastic cover, so that's obviously one burnet out component if not the only one.
The LED Panel that was consuming the power of this unit started to go on/off a couple of days ago like 10 times a day until it stopped turning on, The LED strips of the luminaire are healthy and I'm not sure if this is the only failed component.
if you are 100% sure that finding and replacing this item won't fix the device or in general you advise me not to pursue this repair then please enlighten me, otherwise help me find and replace this component. here's a closer image:
It's probably the same as the other one nearby, readable as "IR00" or "1R00", but not sure and I don't know what's that.