No idea on doing such nested if else sequence diagram

I would appreciate if somebody help me for the sequence diagram. I have been using 2 days to think for this nested if else sequence diagram. Sorry for any poor grammer~~
Assign.png