当﹣2≤x≤1时,二次函数y=﹣(x﹣m)2+m2+1有最大值4,则实数m的值为( )
A:-74
B:3或- 3
C:2或- 3
D:2或3或-74
--- Do you know the Winter Olympic Games?
--- In 2022.