<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<context_menu
 layout="topleft"
 name="Nearby People Context Menu">
    <menu_item_call
     label="View Profile"
     layout="topleft"
     name="view_profile">
        <menu_item_call.on_click
         function="Avatar.Profile" />
    </menu_item_call>
    <menu_item_call
     label="IM"
     layout="topleft"
     name="im">
        <menu_item_call.on_click
         function="Avatar.IM" />
        <menu_item_call.on_enable
      	 function="Avatar.EnableItem"
         parameter="can_im"/> 
    </menu_item_call>
    <menu_item_call
    label="Offer Teleport"
    name="offer_teleport">
      <menu_item_call.on_click
       function="Avatar.OfferTeleport"/>
      <menu_item_call.on_enable
      function="Avatar.EnableItem"
      parameter="can_offer_teleport"/>
    </menu_item_call>
    <menu_item_call
    label="Request Teleport"
    name="request_teleport">
      <menu_item_call.on_click
       function="Avatar.TeleportRequest"/>
      <menu_item_call.on_enable
      function="Avatar.EnableItem"
      parameter="can_offer_teleport"/>
    </menu_item_call>
    <menu_item_call
     label="Voice call"
     layout="topleft"
     name="voice_call">
        <menu_item_call.on_click
         function="Avatar.Call" />
        <menu_item_call.on_enable
         function="Avatar.EnableItem"
         parameter="can_call" />
    </menu_item_call>
    <menu_item_separator />
    <menu_item_call
     label="View chat history..."
     layout="topleft"
     name="chat_history">
        <menu_item_call.on_click
         function="Avatar.Calllog" />
        <menu_item_call.on_enable
      	 function="Avatar.EnableItem"
         parameter="can_callog"/>
    </menu_item_call>
    <menu_item_separator name="separator_chat_history"/>
    <menu_item_call
     label="Add Friend"
     layout="topleft"
     name="add_friend">
        <menu_item_call.on_click
         function="Avatar.AddFriend" />
        <menu_item_call.on_visible
         function="Avatar.EnableItem"
         parameter="can_add" />
    </menu_item_call>
    <menu_item_call
     label="Remove Friend"
     layout="topleft"
     name="remove_friend">
        <menu_item_call.on_click
         function="Avatar.RemoveFriend" />
        <menu_item_call.on_enable
         function="Avatar.EnableItem"
         parameter="can_delete" />
    </menu_item_call>
    <menu_item_call
     label="Invite to group..."
     layout="topleft"
     name="invite_to_group">
        <menu_item_call.on_click
         function="Avatar.InviteToGroup" />
        <menu_item_call.on_enable
      	 function="Avatar.EnableItem"
         parameter="can_invite"/>
    </menu_item_call>
    <menu_item_separator name="separator_invite_to_group"/>
    <menu_item_call
     label="Teleport To"
     layout="topleft"
     name="teleport_to">
      <menu_item_call.on_click
       function="Avatar.TeleportTo" />
      <menu_item_call.on_enable
       function="Avatar.EnableItem"
       parameter="can_teleport_to"/>
    </menu_item_call>
    <menu_item_call
     label="Zoom In"
     layout="topleft"
     name="zoom_in">
      <menu_item_call.on_click
       function="Avatar.ZoomIn" />
      <menu_item_call.on_enable
       function="Avatar.EnableItem"
       parameter="can_zoom_in"/>
    </menu_item_call>
    <menu_item_call
     label="Map"
     layout="topleft"
     name="map">
        <menu_item_call.on_click
         function="Avatar.ShowOnMap" />
        <menu_item_call.on_enable
         function="Avatar.EnableItem"
         parameter="can_show_on_map" />
    </menu_item_call>
    <menu_item_call
     label="Share"
     layout="topleft"
     name="share">
        <menu_item_call.on_click
         function="Avatar.Share" />
        <menu_item_call.on_enable
      	 function="Avatar.EnableItem"
         parameter="can_share"/>
    </menu_item_call>
    <menu_item_call
     label="Pay"
     layout="topleft"
     name="pay">
        <menu_item_call.on_click
         function="Avatar.Pay" />
        <menu_item_call.on_enable
      	 function="Avatar.EnableItem"
         parameter="can_pay"/> 
    </menu_item_call>
    <menu_item_check
     label="Block/Unblock"
     layout="topleft"
     name="block_unblock">
        <menu_item_check.on_click
         function="Avatar.BlockUnblock" />
        <menu_item_check.on_check
         function="Avatar.CheckItem"
         parameter="is_blocked" />
        <menu_item_check.on_enable
         function="Avatar.EnableItem"
         parameter="can_block" />
    </menu_item_check>
    <menu_item_separator name="separator_utilities" />
    <menu
     label="Manage"
     name="manage_menu">
     <menu_item_call
         label="Freeze"
         name="freeze">
        <menu_item_call.on_click
         function="Avatar.Freeze" />
        <menu_item_call.on_visible
         function="Avatar.EnableFreezeEject"/>
     </menu_item_call>
     <menu_item_call
         label="Eject"
         name="eject">
        <menu_item_call.on_click
         function="Avatar.Eject" />
        <menu_item_call.on_visible
         function="Avatar.EnableFreezeEject"/>
     </menu_item_call>
     <menu_item_call
         label="Teleport Home"
         name="estate_tphome">
        <menu_item_call.on_click
         function="Avatar.EstateTPHome" />
        <menu_item_call.on_visible
         function="Avatar.EnableEstateManage"/>
     </menu_item_call>
     <menu_item_call
         label="Estate Kick"
         name="estate_kick">
        <menu_item_call.on_click
         function="Avatar.EstateKick" />
        <menu_item_call.on_visible
         function="Avatar.EnableEstateManage"/>
     </menu_item_call>
     <menu_item_call
         label="Estate Ban"
         name="estate_ban">
        <menu_item_call.on_click
         function="Avatar.EstateBan" />
        <menu_item_call.on_visible
         function="Avatar.EnableEstateManage"/>
     </menu_item_call>
     <menu_item_call
         label="God Freeze"
         name="god_freeze">
        <menu_item_call.on_click
         function="Avatar.GodFreeze" />
        <menu_item_call.on_visible
         function="IsGodCustomerService"/>
     </menu_item_call>
     <menu_item_call
           label="God Unfreeze"
           name="god_unfreeze">
        <menu_item_call.on_click
         function="Avatar.GodUnfreeze" />
        <menu_item_call.on_visible
         function="IsGodCustomerService"/>
     </menu_item_call>
     <menu_item_call
           label="Log Out"
           name="god_kick">
        <menu_item_call.on_click
         function="Avatar.GodKick" />
        <menu_item_call.on_visible
         function="IsGodCustomerService"/>
     </menu_item_call>
    </menu>
    <menu
    label="Tools"
    name="tools_menu">
    <menu_item_call
     label="Copy Name"
     layout="topleft"
     name="copy_name">
        <menu_item_call.on_click
         function="Avatar.CopyName" />
    </menu_item_call>
    <menu_item_call
     label="Copy SLURL"
     layout="topleft"
     name="copy_slurl">
        <menu_item_call.on_click
         function="Avatar.CopySLURL" />
    </menu_item_call>
    <menu_item_call
     label="Copy Key"
     layout="topleft"
     name="copy_uuid">
        <menu_item_call.on_click
         function="Avatar.CopyKey" />
    </menu_item_call>
    </menu>
  <menu
   label="Tag Color"
   name="tag_color">
    <menu_item_call
     label="Color 1"
     name="Color 1"
     enabled_color="AvatarCustomColor1">
      <menu_item_call.on_click
      function="Avatar.Colorize"
      parameter="color1" />
    </menu_item_call>
    <menu_item_call
     label="Color 2"
     name="Color 2"
     enabled_color="AvatarCustomColor2">
      <menu_item_call.on_click
      function="Avatar.Colorize"
      parameter="color2" />
    </menu_item_call>
    <menu_item_call
     label="Color 3"
     name="Color 3"
     enabled_color="AvatarCustomColor3">
      <menu_item_call.on_click
      function="Avatar.Colorize"
      parameter="color3" />
    </menu_item_call>
    <menu_item_call
     label="Color 4"
     name="Color 4"
     enabled_color="AvatarCustomColor4">
      <menu_item_call.on_click
      function="Avatar.Colorize"
      parameter="color4" />
    </menu_item_call>
    <menu_item_separator />
    <menu_item_call
     label="Clear Color"
     name="clear_color">
      <menu_item_call.on_click
      function="Avatar.Colorize"
      parameter="clear" />
    </menu_item_call>
  </menu>
</context_menu>
