package Ġme . ag gel los 2 0 0 1 . ks ur viv ale up l ugin . utils Ċ Ċ import Ġnet . ky ori . ad venture . text . Component Ċ import Ġnet . ky ori . ad venture . text . Text Component Ċ import Ġnet . ky ori . ad venture . text . event . Click Event Ċ import Ġnet . ky ori . ad venture . text . event . Hover Event Ċ import Ġnet . ky ori . ad venture . text . format . Style Ċ import Ġnet . ky ori . ad venture . text . format . TextColor Ċ import Ġnet . ky ori . ad venture . text . format . Text Decoration Ċ import Ġnet . ky ori . ad venture . text . serializer . legacy . Legacy Component Serializer Ċ Ċ private Ġval Ġlegacy Component Serializer Ġ= ĊĠĠĠ ĠLegacy Component Serializer . legacy Section (). to Builder (). extract Urls (). build () Ċ Ċ fun ĠComponent . serialize ToString (): ĠString Ġ= Ġlegacy Component Serializer . serialize ( this ) Ċ Ċ fun ĠString . deserialize To Component (): ĠComponent Ġ= Ġlegacy Component Serializer . deserialize ( this ) Ċ Ċ fun Ġlegacy Text Of ( text : ĠString ): ĠText Component Ġ= Ġtext . color ize ToText Component () Ċ Ċ fun Ġtext Of ( text : ĠString , Ġcolor : ĠText Color ? Ġ= Ġnull , Ġvar arg Ġstyle : ĠText Decoration Ġ= Ġempty Array ()): ĠText Component Ġ= ĊĠĠĠ ĠComponent . text ( text ). style ( Style . style (* style )). color ( color ) Ċ Ċ fun Ġinteractive Text Of ( ĊĠĠĠ Ġtext : ĠString , ĊĠĠĠ Ġclick Event : ĠClick Event ? Ġ= Ġnull , ĊĠĠĠ Ġhover Event : ĠHover Event < *> ? Ġ= Ġnull , ĊĠĠĠ Ġcolor : ĠText Color ? Ġ= Ġnull , ĊĠĠĠ Ġvar arg Ġstyle : ĠText Decoration Ġ= Ġempty Array () Ċ ): ĠText Component Ġ= ĊĠĠĠ ĠComponent . text ( text ). style ( Style . style (* style )). color ( color ). hover Event ( hover Event ). click Event ( click Event ) ĊĊ Ċ fun ĠComponent . color ize (): ĠComponent Ġ= Ġthis . serialize ToString (). color ize To Component () Ċ fun ĠText Component . color ize (): ĠText Component Ġ= Ġthis . serialize ToString (). color ize ToText Component () Ċ Ċ fun ĠComponent . strip Colors (): ĠComponent Ġ= Ġthis . serialize ToString (). strip Colors (). deserialize To Component () Ċ Ċ operator Ġfun ĠText Component . Builder . plus ( a : ĠText Component ): ĠText Component . Builder Ġ{ ĊĠĠĠ Ġreturn Ġthis . append ( a ) Ċ } Ċ Ċ operator Ġfun ĠText Component . plus ( a : ĠText Component ): ĠText Component Ġ{ ĊĠĠĠ Ġreturn Ġthis . append ( a ) Ċ } Ċ Ċ operator Ġfun ĠText Component . div ( a : ĠText Component ): ĠText Component Ġ{ ĊĠĠĠ Ġreturn Ġthis . append ( Component . text ("\ n ")). append ( a ) Ċ }