package Ġtechnology . main thread . apps . gate keeper . model . event Ċ Ċ fun Ġget Gate keeper State ( state : ĠString ?): ĠGate keeper State Ġ{ ĊĠĠĠ Ġif Ġ( state Ġ!= Ġnull ) Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġgate keeper State Ġ= Ġstate . toUpperCase () ĊĠĠĠĠĠĠĠ Ġwhen Ġ( gate keeper State ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠGate keeper State . OFF LINE . label Ġ-> Ġreturn ĠGate keeper State . OFF LINE ĊĠĠĠĠĠĠĠĠĠĠĠ ĠGate keeper State . ON LINE . label Ġ-> Ġreturn ĠGate keeper State . ON LINE ĊĠĠĠĠĠĠĠĠĠĠĠ ĠGate keeper State . DO OR _ OPEN . label Ġ-> Ġreturn ĠGate keeper State . DO OR _ OPEN ĊĠĠĠĠĠĠĠĠĠĠĠ ĠGate keeper State . PR IME D . label Ġ-> Ġreturn ĠGate keeper State . PR IME D ĊĠĠĠĠĠĠĠĠĠĠĠ Ġelse Ġ-> Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĠĠĠ Ġreturn ĠGate keeper State . UNKNOWN Ċ } Ċ