<?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>
	
	<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="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>
	
	<!--<context_menu
	label="Block / Mute"
	layout="topleft"
	name="BlockMute">-->
		<menu_item_check
		label="Block All"
		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_check
		label="Block Text"
		layout="topleft"
		name="block_text">
		<menu_item_check.on_click
		function="Avatar.BlockUnblockText"/>
		<menu_item_check.on_check
		function="Avatar.CheckItem"
		parameter="is_text_blocked" />
		<menu_item_check.on_enable
		function="Avatar.EnableItem"
		parameter="can_block" />
		</menu_item_check>
		<menu_item_check
		label="Mute Voice"
		layout="topleft"
		name="mute_voice">
		<menu_item_check.on_click
		function="Avatar.MuteUnmute"/>
		<menu_item_check.on_check
		function="Avatar.CheckItem"
		parameter="is_muted" />
		<menu_item_check.on_enable
		function="Avatar.EnableItem"
		parameter="can_block" />
		</menu_item_check>
	<!--</context_menu>-->
	
	<menu_item_call
	label="Report"
	name="report">
	<menu_item_call.on_click
	function="Avatar.AbuseReport" />
	<menu_item_call.on_enable
	function="Avatar.EnableItem"
	parameter="can_report"/> 
	</menu_item_call>
	<menu_item_call
	enabled="true"
	label="Derender"
	name="derender">
	<menu_item_call.on_click
	function="Avatar.Derender" />
	</menu_item_call>
	
	<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_separator name="copy_avatar_separator"/>
	
	<menu_item_call
	label="Copy Avatar UUID"
	layout="topleft"
	name="CopyUUID">
	<menu_item_call.on_click
	function="Avatar.GetUUID" />
	</menu_item_call>
	<menu_item_call
	label="Copy Avatar SLURL"
	layout="topleft"
	name="CopySLURL">
	<menu_item_call.on_click
	function="Avatar.GetSLURL" />
	</menu_item_call>
	
	<menu_item_separator name="reset_skeleton_separator"/>
	
	<menu_item_call
	label="Reset Skeleton"
	layout="topleft"
	name="reset_skeleton">
	<menu_item_call.on_click
	function="Avatar.ResetSkeleton" />
	</menu_item_call>
	<menu_item_call
	label="Reset Skeleton And Animations"
	layout="topleft"
	name="reset_skeleton_animations">
	<menu_item_call.on_click
	function="Avatar.ResetSkeletonAndAnimations" />
	</menu_item_call>
	
	<menu_item_separator name="render_separator"/>
	
	<context_menu
	label="Render Avatar"
	layout="topleft"
	name="render_avatar">
		<menu_item_check
		name="render_normal"
		label="Default">
		<menu_item_check.on_check
		function="Avatar.CheckImpostorMode"
		parameter="0" />
		<menu_item_check.on_click
		function="Avatar.SetImpostorMode"
		parameter="0" />
		</menu_item_check>
		<menu_item_check
		name="always_render"
		label="Always">
		<menu_item_check.on_check
		function="Avatar.CheckImpostorMode"
		parameter="2" />
		<menu_item_check.on_click
		function="Avatar.SetImpostorMode"
		parameter="2" />
		</menu_item_check>
		<menu_item_check
		name="dont_render"
		label="Never">
		<menu_item_check.on_check
		function="Avatar.CheckImpostorMode"
		parameter="1" />
		<menu_item_check.on_click
		function="Avatar.SetImpostorMode"
		parameter="1" />
		</menu_item_check>
		
		<menu_item_separator />
		
		<menu_item_call
		label="Exceptions..."
		name="render_exceptions">
		<menu_item_call.on_click
		function="Floater.ToggleOrBringToFront"
		parameter="avatar_render_settings" />
		</menu_item_call>
	</context_menu>
	
	<context_menu
	label="Grant Permissions"
	layout="topleft"
	name="permissions">
		<menu_item_check
		name="grant_online"
		label="Online Visibility">
		<menu_item_check.on_check
		function="Avatar.CheckPermissions"
		parameter="1" />
		<menu_item_check.on_enable
		function="Avatar.EnableItem"
		parameter="can_delete" />        
		<menu_item_check.on_click
		function="Avatar.GrantPermissions"
		parameter="1" />
		</menu_item_check>
		<menu_item_check
		name="grant_map"
		label="Map Tracking">
		<menu_item_check.on_check
		function="Avatar.CheckPermissions"
		parameter="2" />
		<menu_item_check.on_enable
		function="Avatar.EnableItem"
		parameter="can_delete" />      
		<menu_item_check.on_click
		function="Avatar.GrantPermissions"
		parameter="2" />
		</menu_item_check>
		<menu_item_check
		name="grant_modify"
		label="Modify My Objects">
		<menu_item_check.on_check
		function="Avatar.CheckPermissions"
		parameter="4" />
		<menu_item_check.on_enable
		function="Avatar.EnableItem"
		parameter="can_delete" />      
		<menu_item_check.on_click
		function="Avatar.GrantPermissions"
		parameter="4" />
		</menu_item_check>
	</context_menu>
</context_menu>
