package ansi

import 

// SetHyperlink returns a sequence for starting a hyperlink.
//
//	OSC 8 ; Params ; Uri ST
//	OSC 8 ; Params ; Uri BEL
//
// To reset the hyperlink, omit the URI.
//
// See: https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda
func ( string,  ...string) string {
	var  string
	if len() > 0 {
		 = strings.Join(, ":")
	}
	return "\x1b]8;" +  + ";" +  + "\x07"
}

// ResetHyperlink returns a sequence for resetting the hyperlink.
//
// This is equivalent to SetHyperlink("", params...).
//
// See: https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda
func ( ...string) string {
	return SetHyperlink("", ...)
}