
# line 1 "lib/uri_scanner/uri_scanner.rl"
#
# @LANG: ruby
# Scan text and extracts URI(s)
# 

=begin

# line 18 "lib/uri_scanner/uri_scanner.rl"

=end

class MachineURIScanner
  attr_accessor :collection

  def initialize(data)
    @collection = []
    eof = data.length
    
# line 22 "lib/uri_scanner/uri_scanner.rb"
class << self
	attr_accessor :_uri_scanner_actions
	private :_uri_scanner_actions, :_uri_scanner_actions=
end
self._uri_scanner_actions = [
	0, 1, 0, 1, 1, 1, 2, 1, 
	8, 1, 9, 1, 10, 1, 13, 1, 
	14, 1, 15, 1, 16, 1, 17, 1, 
	18, 2, 0, 2, 2, 5, 14, 2, 
	6, 14, 2, 7, 14, 2, 10, 0, 
	2, 10, 2, 2, 10, 3, 2, 10, 
	5, 2, 10, 6, 2, 10, 11, 2, 
	10, 12, 3, 0, 6, 14, 3, 0, 
	7, 14, 3, 10, 0, 2, 3, 10, 
	0, 3, 3, 10, 0, 4, 3, 10, 
	0, 6, 3, 10, 0, 11, 3, 10, 
	2, 0, 3, 10, 4, 0, 4, 0, 
	2, 5, 14, 4, 0, 4, 5, 14, 
	4, 2, 0, 5, 14, 4, 4, 0, 
	5, 14, 4, 10, 0, 2, 5, 4, 
	10, 0, 4, 5, 4, 10, 2, 0, 
	5, 4, 10, 4, 0, 5
]

class << self
	attr_accessor :_uri_scanner_key_offsets
	private :_uri_scanner_key_offsets, :_uri_scanner_key_offsets=
end
self._uri_scanner_key_offsets = [
	0, 10, 23, 29, 35, 41, 47, 53, 
	59, 65, 71, 77, 83, 97, 103, 109, 
	115, 121, 129, 136, 143, 150, 151, 158, 
	165, 172, 179, 180, 187, 194, 201, 208, 
	209, 216, 223, 230, 237, 238, 245, 252, 
	259, 266, 267, 274, 281, 288, 295, 296, 
	306, 314, 319, 322, 327, 330, 335, 338, 
	341, 342, 348, 351, 354, 355, 361, 364, 
	367, 368, 374, 377, 385, 393, 394, 401, 
	408, 415, 422, 429, 436, 447, 457, 465, 
	473, 480, 487, 497, 506, 515, 524, 526, 
	532, 540, 548, 560, 571, 580, 589, 597, 
	607, 616, 625, 634, 636, 645, 653, 661, 
	673, 684, 693, 702, 710, 720, 729, 738, 
	747, 749, 758, 766, 774, 786, 797, 806, 
	815, 823, 833, 842, 851, 860, 862, 871, 
	879, 887, 899, 910, 919, 928, 936, 946, 
	955, 964, 973, 975, 984, 992, 1000, 1012, 
	1023, 1032, 1041, 1049, 1050, 1056, 1064, 1072, 
	1080, 1082, 1088, 1095, 1102, 1109, 1110, 1116, 
	1123, 1130, 1137, 1138, 1144, 1151, 1158, 1165, 
	1166, 1172, 1179, 1186, 1193, 1194, 1203, 1211, 
	1219, 1227, 1228, 1235, 1242, 1253, 1263, 1271, 
	1279, 1286, 1292, 1299, 1312, 1326, 1330, 1340, 
	1342, 1353, 1364, 1376, 1388, 1401, 1415, 1428, 
	1445, 1461, 1480, 1496, 1511, 1516, 1521, 1525
]

class << self
	attr_accessor :_uri_scanner_trans_keys
	private :_uri_scanner_trans_keys, :_uri_scanner_trans_keys=
end
self._uri_scanner_trans_keys = [
	43, 58, 45, 46, 48, 57, 65, 90, 
	97, 122, 0, 33, 37, 47, 61, 95, 
	126, 36, 59, 64, 90, 97, 122, 48, 
	57, 65, 70, 97, 102, 48, 57, 65, 
	70, 97, 102, 48, 57, 65, 70, 97, 
	102, 48, 57, 65, 70, 97, 102, 48, 
	57, 65, 70, 97, 102, 48, 57, 65, 
	70, 97, 102, 48, 57, 65, 70, 97, 
	102, 48, 57, 65, 70, 97, 102, 48, 
	57, 65, 70, 97, 102, 48, 57, 65, 
	70, 97, 102, 33, 37, 61, 64, 95, 
	126, 36, 46, 48, 59, 65, 90, 97, 
	122, 48, 57, 65, 70, 97, 102, 48, 
	57, 65, 70, 97, 102, 48, 57, 65, 
	70, 97, 102, 48, 57, 65, 70, 97, 
	102, 58, 118, 48, 57, 65, 70, 97, 
	102, 58, 48, 57, 65, 70, 97, 102, 
	58, 48, 57, 65, 70, 97, 102, 58, 
	48, 57, 65, 70, 97, 102, 58, 58, 
	48, 57, 65, 70, 97, 102, 58, 48, 
	57, 65, 70, 97, 102, 58, 48, 57, 
	65, 70, 97, 102, 58, 48, 57, 65, 
	70, 97, 102, 58, 58, 48, 57, 65, 
	70, 97, 102, 58, 48, 57, 65, 70, 
	97, 102, 58, 48, 57, 65, 70, 97, 
	102, 58, 48, 57, 65, 70, 97, 102, 
	58, 58, 48, 57, 65, 70, 97, 102, 
	58, 48, 57, 65, 70, 97, 102, 58, 
	48, 57, 65, 70, 97, 102, 58, 48, 
	57, 65, 70, 97, 102, 58, 58, 48, 
	57, 65, 70, 97, 102, 58, 48, 57, 
	65, 70, 97, 102, 58, 48, 57, 65, 
	70, 97, 102, 58, 48, 57, 65, 70, 
	97, 102, 58, 58, 48, 57, 65, 70, 
	97, 102, 58, 48, 57, 65, 70, 97, 
	102, 58, 48, 57, 65, 70, 97, 102, 
	58, 48, 57, 65, 70, 97, 102, 58, 
	50, 58, 48, 49, 51, 57, 65, 70, 
	97, 102, 46, 58, 48, 57, 65, 70, 
	97, 102, 50, 48, 49, 51, 57, 46, 
	48, 57, 50, 48, 49, 51, 57, 46, 
	48, 57, 50, 48, 49, 51, 57, 93, 
	48, 57, 93, 48, 57, 93, 53, 93, 
	48, 52, 54, 57, 93, 48, 53, 46, 
	48, 57, 46, 46, 53, 48, 52, 54, 
	57, 46, 48, 53, 46, 48, 57, 46, 
	46, 53, 48, 52, 54, 57, 46, 48, 
	53, 46, 58, 48, 57, 65, 70, 97, 
	102, 46, 58, 48, 57, 65, 70, 97, 
	102, 58, 58, 48, 57, 65, 70, 97, 
	102, 93, 48, 57, 65, 70, 97, 102, 
	93, 48, 57, 65, 70, 97, 102, 93, 
	48, 57, 65, 70, 97, 102, 58, 48, 
	57, 65, 70, 97, 102, 58, 48, 57, 
	65, 70, 97, 102, 46, 53, 58, 48, 
	52, 54, 57, 65, 70, 97, 102, 46, 
	58, 48, 53, 54, 57, 65, 70, 97, 
	102, 46, 58, 48, 57, 65, 70, 97, 
	102, 46, 58, 48, 57, 65, 70, 97, 
	102, 93, 48, 57, 65, 70, 97, 102, 
	58, 48, 57, 65, 70, 97, 102, 50, 
	93, 48, 49, 51, 57, 65, 70, 97, 
	102, 46, 58, 93, 48, 57, 65, 70, 
	97, 102, 46, 58, 93, 48, 57, 65, 
	70, 97, 102, 46, 58, 93, 48, 57, 
	65, 70, 97, 102, 58, 93, 48, 57, 
	65, 70, 97, 102, 58, 93, 48, 57, 
	65, 70, 97, 102, 58, 93, 48, 57, 
	65, 70, 97, 102, 46, 53, 58, 93, 
	48, 52, 54, 57, 65, 70, 97, 102, 
	46, 58, 93, 48, 53, 54, 57, 65, 
	70, 97, 102, 46, 58, 93, 48, 57, 
	65, 70, 97, 102, 46, 58, 93, 48, 
	57, 65, 70, 97, 102, 58, 93, 48, 
	57, 65, 70, 97, 102, 50, 93, 48, 
	49, 51, 57, 65, 70, 97, 102, 46, 
	58, 93, 48, 57, 65, 70, 97, 102, 
	46, 58, 93, 48, 57, 65, 70, 97, 
	102, 46, 58, 93, 48, 57, 65, 70, 
	97, 102, 58, 93, 50, 48, 49, 51, 
	57, 65, 70, 97, 102, 58, 93, 48, 
	57, 65, 70, 97, 102, 58, 93, 48, 
	57, 65, 70, 97, 102, 46, 53, 58, 
	93, 48, 52, 54, 57, 65, 70, 97, 
	102, 46, 58, 93, 48, 53, 54, 57, 
	65, 70, 97, 102, 46, 58, 93, 48, 
	57, 65, 70, 97, 102, 46, 58, 93, 
	48, 57, 65, 70, 97, 102, 58, 93, 
	48, 57, 65, 70, 97, 102, 50, 93, 
	48, 49, 51, 57, 65, 70, 97, 102, 
	46, 58, 93, 48, 57, 65, 70, 97, 
	102, 46, 58, 93, 48, 57, 65, 70, 
	97, 102, 46, 58, 93, 48, 57, 65, 
	70, 97, 102, 58, 93, 50, 48, 49, 
	51, 57, 65, 70, 97, 102, 58, 93, 
	48, 57, 65, 70, 97, 102, 58, 93, 
	48, 57, 65, 70, 97, 102, 46, 53, 
	58, 93, 48, 52, 54, 57, 65, 70, 
	97, 102, 46, 58, 93, 48, 53, 54, 
	57, 65, 70, 97, 102, 46, 58, 93, 
	48, 57, 65, 70, 97, 102, 46, 58, 
	93, 48, 57, 65, 70, 97, 102, 58, 
	93, 48, 57, 65, 70, 97, 102, 50, 
	93, 48, 49, 51, 57, 65, 70, 97, 
	102, 46, 58, 93, 48, 57, 65, 70, 
	97, 102, 46, 58, 93, 48, 57, 65, 
	70, 97, 102, 46, 58, 93, 48, 57, 
	65, 70, 97, 102, 58, 93, 50, 48, 
	49, 51, 57, 65, 70, 97, 102, 58, 
	93, 48, 57, 65, 70, 97, 102, 58, 
	93, 48, 57, 65, 70, 97, 102, 46, 
	53, 58, 93, 48, 52, 54, 57, 65, 
	70, 97, 102, 46, 58, 93, 48, 53, 
	54, 57, 65, 70, 97, 102, 46, 58, 
	93, 48, 57, 65, 70, 97, 102, 46, 
	58, 93, 48, 57, 65, 70, 97, 102, 
	58, 93, 48, 57, 65, 70, 97, 102, 
	50, 93, 48, 49, 51, 57, 65, 70, 
	97, 102, 46, 58, 93, 48, 57, 65, 
	70, 97, 102, 46, 58, 93, 48, 57, 
	65, 70, 97, 102, 46, 58, 93, 48, 
	57, 65, 70, 97, 102, 58, 93, 50, 
	48, 49, 51, 57, 65, 70, 97, 102, 
	58, 93, 48, 57, 65, 70, 97, 102, 
	58, 93, 48, 57, 65, 70, 97, 102, 
	46, 53, 58, 93, 48, 52, 54, 57, 
	65, 70, 97, 102, 46, 58, 93, 48, 
	53, 54, 57, 65, 70, 97, 102, 46, 
	58, 93, 48, 57, 65, 70, 97, 102, 
	46, 58, 93, 48, 57, 65, 70, 97, 
	102, 58, 93, 48, 57, 65, 70, 97, 
	102, 58, 48, 57, 65, 70, 97, 102, 
	58, 93, 48, 57, 65, 70, 97, 102, 
	58, 93, 48, 57, 65, 70, 97, 102, 
	58, 93, 48, 57, 65, 70, 97, 102, 
	58, 93, 48, 57, 65, 70, 97, 102, 
	58, 48, 57, 65, 70, 97, 102, 58, 
	48, 57, 65, 70, 97, 102, 58, 48, 
	57, 65, 70, 97, 102, 58, 48, 57, 
	65, 70, 97, 102, 58, 48, 57, 65, 
	70, 97, 102, 58, 48, 57, 65, 70, 
	97, 102, 58, 48, 57, 65, 70, 97, 
	102, 58, 48, 57, 65, 70, 97, 102, 
	58, 48, 57, 65, 70, 97, 102, 58, 
	48, 57, 65, 70, 97, 102, 58, 48, 
	57, 65, 70, 97, 102, 58, 48, 57, 
	65, 70, 97, 102, 58, 48, 57, 65, 
	70, 97, 102, 58, 48, 57, 65, 70, 
	97, 102, 58, 48, 57, 65, 70, 97, 
	102, 58, 50, 48, 49, 51, 57, 65, 
	70, 97, 102, 46, 58, 48, 57, 65, 
	70, 97, 102, 46, 58, 48, 57, 65, 
	70, 97, 102, 46, 58, 48, 57, 65, 
	70, 97, 102, 58, 58, 48, 57, 65, 
	70, 97, 102, 58, 48, 57, 65, 70, 
	97, 102, 46, 53, 58, 48, 52, 54, 
	57, 65, 70, 97, 102, 46, 58, 48, 
	53, 54, 57, 65, 70, 97, 102, 46, 
	58, 48, 57, 65, 70, 97, 102, 46, 
	58, 48, 57, 65, 70, 97, 102, 58, 
	48, 57, 65, 70, 97, 102, 48, 57, 
	65, 70, 97, 102, 46, 48, 57, 65, 
	70, 97, 102, 33, 36, 61, 95, 126, 
	38, 46, 48, 59, 65, 90, 97, 122, 
	33, 36, 61, 93, 95, 126, 38, 46, 
	48, 59, 65, 90, 97, 122, 65, 90, 
	97, 122, 43, 58, 45, 46, 48, 57, 
	65, 90, 97, 122, 35, 63, 33, 37, 
	61, 95, 126, 36, 59, 63, 90, 97, 
	122, 33, 37, 61, 95, 126, 36, 59, 
	63, 90, 97, 122, 33, 35, 37, 61, 
	95, 126, 36, 59, 63, 90, 97, 122, 
	33, 35, 37, 61, 95, 126, 36, 59, 
	63, 90, 97, 122, 33, 35, 37, 61, 
	63, 95, 126, 36, 59, 64, 90, 97, 
	122, 33, 35, 37, 47, 61, 63, 95, 
	126, 36, 59, 64, 90, 97, 122, 33, 
	35, 37, 61, 63, 95, 126, 36, 59, 
	64, 90, 97, 122, 33, 35, 37, 47, 
	58, 61, 63, 64, 91, 95, 126, 36, 
	59, 65, 90, 97, 122, 33, 35, 37, 
	47, 58, 61, 63, 64, 95, 126, 36, 
	59, 65, 90, 97, 122, 33, 35, 37, 
	47, 61, 63, 64, 95, 126, 36, 46, 
	48, 57, 58, 59, 65, 90, 97, 122, 
	33, 35, 37, 47, 58, 61, 63, 91, 
	95, 126, 36, 59, 65, 90, 97, 122, 
	33, 35, 37, 47, 58, 61, 63, 95, 
	126, 36, 59, 65, 90, 97, 122, 35, 
	47, 63, 48, 57, 35, 47, 63, 48, 
	57, 35, 47, 58, 63, 33, 35, 37, 
	47, 61, 63, 64, 95, 126, 36, 46, 
	48, 57, 58, 59, 65, 90, 97, 122, 
	0
]

class << self
	attr_accessor :_uri_scanner_single_lengths
	private :_uri_scanner_single_lengths, :_uri_scanner_single_lengths=
end
self._uri_scanner_single_lengths = [
	2, 7, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 6, 0, 0, 0, 
	0, 2, 1, 1, 1, 1, 1, 1, 
	1, 1, 1, 1, 1, 1, 1, 1, 
	1, 1, 1, 1, 1, 1, 1, 1, 
	1, 1, 1, 1, 1, 1, 1, 2, 
	2, 1, 1, 1, 1, 1, 1, 1, 
	1, 2, 1, 1, 1, 2, 1, 1, 
	1, 2, 1, 2, 2, 1, 1, 1, 
	1, 1, 1, 1, 3, 2, 2, 2, 
	1, 1, 2, 3, 3, 3, 2, 0, 
	2, 2, 4, 3, 3, 3, 2, 2, 
	3, 3, 3, 2, 1, 2, 2, 4, 
	3, 3, 3, 2, 2, 3, 3, 3, 
	2, 1, 2, 2, 4, 3, 3, 3, 
	2, 2, 3, 3, 3, 2, 1, 2, 
	2, 4, 3, 3, 3, 2, 2, 3, 
	3, 3, 2, 1, 2, 2, 4, 3, 
	3, 3, 2, 1, 0, 2, 2, 2, 
	2, 0, 1, 1, 1, 1, 0, 1, 
	1, 1, 1, 0, 1, 1, 1, 1, 
	0, 1, 1, 1, 1, 1, 2, 2, 
	2, 1, 1, 1, 3, 2, 2, 2, 
	1, 0, 1, 5, 6, 0, 2, 2, 
	5, 5, 6, 6, 7, 8, 7, 11, 
	10, 9, 10, 9, 3, 3, 4, 9
]

class << self
	attr_accessor :_uri_scanner_range_lengths
	private :_uri_scanner_range_lengths, :_uri_scanner_range_lengths=
end
self._uri_scanner_range_lengths = [
	4, 3, 3, 3, 3, 3, 3, 3, 
	3, 3, 3, 3, 4, 3, 3, 3, 
	3, 3, 3, 3, 3, 0, 3, 3, 
	3, 3, 0, 3, 3, 3, 3, 0, 
	3, 3, 3, 3, 0, 3, 3, 3, 
	3, 0, 3, 3, 3, 3, 0, 4, 
	3, 2, 1, 2, 1, 2, 1, 1, 
	0, 2, 1, 1, 0, 2, 1, 1, 
	0, 2, 1, 3, 3, 0, 3, 3, 
	3, 3, 3, 3, 4, 4, 3, 3, 
	3, 3, 4, 3, 3, 3, 0, 3, 
	3, 3, 4, 4, 3, 3, 3, 4, 
	3, 3, 3, 0, 4, 3, 3, 4, 
	4, 3, 3, 3, 4, 3, 3, 3, 
	0, 4, 3, 3, 4, 4, 3, 3, 
	3, 4, 3, 3, 3, 0, 4, 3, 
	3, 4, 4, 3, 3, 3, 4, 3, 
	3, 3, 0, 4, 3, 3, 4, 4, 
	3, 3, 3, 0, 3, 3, 3, 3, 
	0, 3, 3, 3, 3, 0, 3, 3, 
	3, 3, 0, 3, 3, 3, 3, 0, 
	3, 3, 3, 3, 0, 4, 3, 3, 
	3, 0, 3, 3, 4, 4, 3, 3, 
	3, 3, 3, 4, 4, 2, 4, 0, 
	3, 3, 3, 3, 3, 3, 3, 3, 
	3, 5, 3, 3, 1, 1, 0, 5
]

class << self
	attr_accessor :_uri_scanner_index_offsets
	private :_uri_scanner_index_offsets, :_uri_scanner_index_offsets=
end
self._uri_scanner_index_offsets = [
	0, 7, 18, 22, 26, 30, 34, 38, 
	42, 46, 50, 54, 58, 69, 73, 77, 
	81, 85, 91, 96, 101, 106, 108, 113, 
	118, 123, 128, 130, 135, 140, 145, 150, 
	152, 157, 162, 167, 172, 174, 179, 184, 
	189, 194, 196, 201, 206, 211, 216, 218, 
	225, 231, 235, 238, 242, 245, 249, 252, 
	255, 257, 262, 265, 268, 270, 275, 278, 
	281, 283, 288, 291, 297, 303, 305, 310, 
	315, 320, 325, 330, 335, 343, 350, 356, 
	362, 367, 372, 379, 386, 393, 400, 403, 
	407, 413, 419, 428, 436, 443, 450, 456, 
	463, 470, 477, 484, 487, 493, 499, 505, 
	514, 522, 529, 536, 542, 549, 556, 563, 
	570, 573, 579, 585, 591, 600, 608, 615, 
	622, 628, 635, 642, 649, 656, 659, 665, 
	671, 677, 686, 694, 701, 708, 714, 721, 
	728, 735, 742, 745, 751, 757, 763, 772, 
	780, 787, 794, 800, 802, 806, 812, 818, 
	824, 827, 831, 836, 841, 846, 848, 852, 
	857, 862, 867, 869, 873, 878, 883, 888, 
	890, 894, 899, 904, 909, 911, 917, 923, 
	929, 935, 937, 942, 947, 955, 962, 968, 
	974, 979, 983, 988, 998, 1009, 1012, 1019, 
	1022, 1031, 1040, 1050, 1060, 1071, 1083, 1094, 
	1109, 1123, 1138, 1152, 1165, 1170, 1175, 1180
]

class << self
	attr_accessor :_uri_scanner_indicies
	private :_uri_scanner_indicies, :_uri_scanner_indicies=
end
self._uri_scanner_indicies = [
	1, 2, 1, 1, 1, 1, 0, 3, 
	4, 5, 6, 4, 4, 4, 4, 4, 
	4, 0, 8, 8, 8, 7, 9, 9, 
	9, 7, 10, 10, 10, 7, 11, 11, 
	11, 7, 13, 13, 13, 12, 14, 14, 
	14, 12, 15, 15, 15, 7, 16, 16, 
	16, 7, 17, 17, 17, 7, 18, 18, 
	18, 7, 19, 20, 19, 21, 19, 19, 
	19, 19, 19, 19, 7, 22, 22, 22, 
	7, 19, 19, 19, 7, 23, 23, 23, 
	7, 24, 24, 24, 7, 26, 27, 25, 
	25, 25, 7, 29, 28, 28, 28, 7, 
	29, 30, 30, 30, 7, 29, 31, 31, 
	31, 7, 29, 7, 33, 32, 32, 32, 
	7, 35, 34, 34, 34, 7, 35, 36, 
	36, 36, 7, 35, 37, 37, 37, 7, 
	35, 7, 39, 38, 38, 38, 7, 41, 
	40, 40, 40, 7, 41, 42, 42, 42, 
	7, 41, 43, 43, 43, 7, 41, 7, 
	45, 44, 44, 44, 7, 47, 46, 46, 
	46, 7, 47, 48, 48, 48, 7, 47, 
	49, 49, 49, 7, 47, 7, 51, 50, 
	50, 50, 7, 53, 52, 52, 52, 7, 
	53, 54, 54, 54, 7, 53, 55, 55, 
	55, 7, 53, 7, 57, 56, 56, 56, 
	7, 59, 58, 58, 58, 7, 59, 60, 
	60, 60, 7, 59, 61, 61, 61, 7, 
	59, 7, 63, 65, 62, 64, 66, 66, 
	7, 67, 69, 68, 70, 70, 7, 72, 
	71, 73, 7, 74, 73, 7, 76, 75, 
	77, 7, 78, 77, 7, 80, 79, 81, 
	7, 82, 81, 7, 82, 83, 7, 82, 
	7, 84, 82, 81, 83, 7, 82, 83, 
	7, 78, 85, 7, 78, 7, 78, 86, 
	77, 85, 7, 78, 85, 7, 74, 87, 
	7, 74, 7, 74, 88, 73, 87, 7, 
	74, 87, 7, 67, 69, 89, 90, 90, 
	7, 67, 69, 91, 91, 91, 7, 69, 
	7, 83, 92, 92, 92, 7, 82, 93, 
	93, 93, 7, 82, 94, 94, 94, 7, 
	82, 83, 83, 83, 7, 69, 91, 91, 
	91, 7, 69, 90, 90, 90, 7, 67, 
	95, 69, 68, 96, 70, 70, 7, 67, 
	69, 89, 90, 90, 90, 7, 67, 69, 
	90, 90, 90, 7, 67, 69, 96, 70, 
	70, 7, 82, 92, 92, 92, 7, 69, 
	70, 70, 70, 7, 98, 82, 97, 99, 
	100, 100, 7, 67, 102, 82, 101, 103, 
	103, 7, 67, 102, 82, 104, 105, 105, 
	7, 67, 102, 82, 106, 106, 106, 7, 
	102, 82, 7, 92, 92, 92, 7, 102, 
	82, 106, 106, 106, 7, 102, 82, 105, 
	105, 105, 7, 67, 107, 102, 82, 101, 
	108, 103, 103, 7, 67, 102, 82, 104, 
	105, 105, 105, 7, 67, 102, 82, 105, 
	105, 105, 7, 67, 102, 82, 108, 103, 
	103, 7, 102, 82, 103, 103, 103, 7, 
	110, 82, 109, 111, 112, 112, 7, 67, 
	114, 82, 113, 115, 115, 7, 67, 114, 
	82, 116, 117, 117, 7, 67, 114, 82, 
	118, 118, 118, 7, 114, 82, 7, 98, 
	97, 99, 100, 100, 7, 114, 82, 118, 
	118, 118, 7, 114, 82, 117, 117, 117, 
	7, 67, 119, 114, 82, 113, 120, 115, 
	115, 7, 67, 114, 82, 116, 117, 117, 
	117, 7, 67, 114, 82, 117, 117, 117, 
	7, 67, 114, 82, 120, 115, 115, 7, 
	114, 82, 115, 115, 115, 7, 122, 82, 
	121, 123, 124, 124, 7, 67, 126, 82, 
	125, 127, 127, 7, 67, 126, 82, 128, 
	129, 129, 7, 67, 126, 82, 130, 130, 
	130, 7, 126, 82, 7, 110, 109, 111, 
	112, 112, 7, 126, 82, 130, 130, 130, 
	7, 126, 82, 129, 129, 129, 7, 67, 
	131, 126, 82, 125, 132, 127, 127, 7, 
	67, 126, 82, 128, 129, 129, 129, 7, 
	67, 126, 82, 129, 129, 129, 7, 67, 
	126, 82, 132, 127, 127, 7, 126, 82, 
	127, 127, 127, 7, 134, 82, 133, 135, 
	136, 136, 7, 67, 138, 82, 137, 139, 
	139, 7, 67, 138, 82, 140, 141, 141, 
	7, 67, 138, 82, 142, 142, 142, 7, 
	138, 82, 7, 122, 121, 123, 124, 124, 
	7, 138, 82, 142, 142, 142, 7, 138, 
	82, 141, 141, 141, 7, 67, 143, 138, 
	82, 137, 144, 139, 139, 7, 67, 138, 
	82, 140, 141, 141, 141, 7, 67, 138, 
	82, 141, 141, 141, 7, 67, 138, 82, 
	144, 139, 139, 7, 138, 82, 139, 139, 
	139, 7, 146, 82, 145, 147, 148, 148, 
	7, 67, 150, 82, 149, 151, 151, 7, 
	67, 150, 82, 152, 153, 153, 7, 67, 
	150, 82, 154, 154, 154, 7, 150, 82, 
	7, 134, 133, 135, 136, 136, 7, 150, 
	82, 154, 154, 154, 7, 150, 82, 153, 
	153, 153, 7, 67, 155, 150, 82, 149, 
	156, 151, 151, 7, 67, 150, 82, 152, 
	153, 153, 153, 7, 67, 150, 82, 153, 
	153, 153, 7, 67, 150, 82, 156, 151, 
	151, 7, 150, 82, 151, 151, 151, 7, 
	157, 7, 158, 158, 158, 7, 160, 82, 
	159, 159, 159, 7, 160, 82, 161, 161, 
	161, 7, 160, 82, 162, 162, 162, 7, 
	160, 82, 7, 163, 163, 163, 7, 165, 
	164, 164, 164, 7, 165, 166, 166, 166, 
	7, 165, 167, 167, 167, 7, 165, 7, 
	168, 168, 168, 7, 170, 169, 169, 169, 
	7, 170, 171, 171, 171, 7, 170, 172, 
	172, 172, 7, 170, 7, 173, 173, 173, 
	7, 175, 174, 174, 174, 7, 175, 176, 
	176, 176, 7, 175, 177, 177, 177, 7, 
	175, 7, 178, 178, 178, 7, 180, 179, 
	179, 179, 7, 180, 181, 181, 181, 7, 
	180, 182, 182, 182, 7, 180, 7, 184, 
	183, 185, 186, 186, 7, 67, 102, 187, 
	188, 188, 7, 67, 102, 189, 190, 190, 
	7, 67, 102, 191, 191, 191, 7, 102, 
	7, 102, 191, 191, 191, 7, 102, 190, 
	190, 190, 7, 67, 192, 102, 187, 193, 
	188, 188, 7, 67, 102, 189, 190, 190, 
	190, 7, 67, 102, 190, 190, 190, 7, 
	67, 102, 193, 188, 188, 7, 102, 188, 
	188, 188, 7, 194, 194, 194, 7, 195, 
	194, 194, 194, 7, 196, 196, 196, 196, 
	196, 196, 196, 196, 196, 7, 196, 196, 
	196, 82, 196, 196, 196, 196, 196, 196, 
	7, 198, 198, 197, 1, 2, 1, 1, 
	1, 1, 199, 201, 202, 200, 204, 205, 
	204, 204, 204, 204, 204, 204, 203, 9, 
	207, 9, 9, 9, 9, 9, 9, 206, 
	209, 210, 211, 209, 209, 209, 209, 209, 
	209, 208, 11, 213, 214, 11, 11, 11, 
	11, 11, 11, 212, 14, 216, 217, 14, 
	218, 14, 14, 14, 14, 14, 215, 16, 
	216, 219, 220, 16, 218, 16, 16, 16, 
	16, 16, 215, 16, 216, 219, 16, 218, 
	16, 16, 16, 16, 16, 215, 222, 223, 
	224, 225, 226, 222, 227, 228, 229, 222, 
	222, 222, 222, 222, 221, 18, 231, 232, 
	233, 234, 18, 235, 21, 18, 18, 18, 
	18, 18, 230, 19, 237, 20, 238, 19, 
	240, 21, 19, 19, 19, 239, 19, 19, 
	19, 236, 241, 223, 242, 225, 243, 241, 
	227, 229, 241, 241, 241, 241, 241, 221, 
	24, 231, 244, 233, 245, 24, 235, 24, 
	24, 24, 24, 24, 230, 237, 238, 240, 
	246, 236, 248, 249, 251, 250, 247, 231, 
	233, 245, 235, 230, 19, 248, 20, 249, 
	19, 251, 21, 19, 19, 19, 252, 19, 
	19, 19, 247, 0
]

class << self
	attr_accessor :_uri_scanner_trans_targs
	private :_uri_scanner_trans_targs, :_uri_scanner_trans_targs=
end
self._uri_scanner_trans_targs = [
	189, 0, 1, 191, 196, 6, 197, 189, 
	3, 193, 5, 195, 189, 7, 196, 9, 
	198, 11, 200, 12, 13, 202, 14, 16, 
	203, 18, 147, 185, 19, 22, 20, 21, 
	23, 134, 24, 27, 25, 26, 28, 121, 
	29, 32, 30, 31, 33, 108, 34, 37, 
	35, 36, 38, 95, 39, 42, 40, 41, 
	43, 82, 44, 47, 45, 46, 48, 76, 
	79, 80, 81, 49, 67, 70, 75, 50, 
	65, 63, 51, 52, 61, 59, 53, 54, 
	57, 55, 206, 56, 58, 60, 62, 64, 
	66, 68, 74, 69, 71, 72, 73, 77, 
	78, 83, 90, 93, 94, 84, 87, 89, 
	85, 88, 86, 91, 92, 96, 103, 106, 
	107, 97, 100, 102, 98, 101, 99, 104, 
	105, 109, 116, 119, 120, 110, 113, 115, 
	111, 114, 112, 117, 118, 122, 129, 132, 
	133, 123, 126, 128, 124, 127, 125, 130, 
	131, 135, 142, 145, 146, 136, 139, 141, 
	137, 140, 138, 143, 144, 148, 149, 150, 
	153, 151, 152, 154, 155, 158, 156, 157, 
	159, 160, 163, 161, 162, 164, 165, 168, 
	166, 167, 169, 170, 173, 171, 172, 174, 
	180, 183, 184, 175, 179, 176, 178, 177, 
	181, 182, 186, 187, 188, 189, 190, 189, 
	189, 192, 194, 189, 193, 2, 189, 2, 
	189, 195, 192, 4, 189, 192, 4, 189, 
	192, 6, 194, 8, 199, 189, 200, 192, 
	10, 198, 201, 194, 202, 17, 189, 192, 
	10, 198, 201, 194, 189, 192, 198, 207, 
	194, 203, 15, 204, 15, 204, 205, 189, 
	192, 198, 205, 194, 207
]

class << self
	attr_accessor :_uri_scanner_trans_actions
	private :_uri_scanner_trans_actions, :_uri_scanner_trans_actions=
end
self._uri_scanner_trans_actions = [
	21, 0, 3, 0, 82, 1, 37, 19, 
	0, 11, 0, 11, 23, 0, 52, 0, 
	11, 0, 11, 0, 0, 43, 0, 0, 
	11, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 13, 55, 17, 
	15, 11, 11, 62, 37, 1, 34, 0, 
	58, 37, 78, 1, 31, 49, 0, 28, 
	46, 0, 46, 0, 11, 94, 37, 114, 
	1, 66, 66, 114, 70, 1, 104, 124, 
	0, 86, 40, 124, 99, 119, 74, 37, 
	119, 37, 1, 25, 0, 5, 1, 109, 
	129, 90, 0, 129, 11
]

class << self
	attr_accessor :_uri_scanner_to_state_actions
	private :_uri_scanner_to_state_actions, :_uri_scanner_to_state_actions=
end
self._uri_scanner_to_state_actions = [
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 7, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0
]

class << self
	attr_accessor :_uri_scanner_from_state_actions
	private :_uri_scanner_from_state_actions, :_uri_scanner_from_state_actions=
end
self._uri_scanner_from_state_actions = [
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 9, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0, 
	0, 0, 0, 0, 0, 0, 0, 0
]

class << self
	attr_accessor :_uri_scanner_eof_trans
	private :_uri_scanner_eof_trans, :_uri_scanner_eof_trans=
end
self._uri_scanner_eof_trans = [
	1, 1, 8, 8, 8, 8, 13, 13, 
	8, 8, 8, 8, 8, 8, 8, 8, 
	8, 8, 8, 8, 8, 8, 8, 8, 
	8, 8, 8, 8, 8, 8, 8, 8, 
	8, 8, 8, 8, 8, 8, 8, 8, 
	8, 8, 8, 8, 8, 8, 8, 8, 
	8, 8, 8, 8, 8, 8, 8, 8, 
	8, 8, 8, 8, 8, 8, 8, 8, 
	8, 8, 8, 8, 8, 8, 8, 8, 
	8, 8, 8, 8, 8, 8, 8, 8, 
	8, 8, 8, 8, 8, 8, 8, 8, 
	8, 8, 8, 8, 8, 8, 8, 8, 
	8, 8, 8, 8, 8, 8, 8, 8, 
	8, 8, 8, 8, 8, 8, 8, 8, 
	8, 8, 8, 8, 8, 8, 8, 8, 
	8, 8, 8, 8, 8, 8, 8, 8, 
	8, 8, 8, 8, 8, 8, 8, 8, 
	8, 8, 8, 8, 8, 8, 8, 8, 
	8, 8, 8, 8, 8, 8, 8, 8, 
	8, 8, 8, 8, 8, 8, 8, 8, 
	8, 8, 8, 8, 8, 8, 8, 8, 
	8, 8, 8, 8, 8, 8, 8, 8, 
	8, 8, 8, 8, 8, 8, 8, 8, 
	8, 8, 8, 8, 8, 0, 200, 201, 
	204, 207, 209, 213, 216, 216, 216, 222, 
	231, 237, 222, 231, 237, 248, 231, 248
]

class << self
	attr_accessor :uri_scanner_start
end
self.uri_scanner_start = 189;
class << self
	attr_accessor :uri_scanner_first_final
end
self.uri_scanner_first_final = 189;
class << self
	attr_accessor :uri_scanner_error
end
self.uri_scanner_error = -1;

class << self
	attr_accessor :uri_scanner_en_main
end
self.uri_scanner_en_main = 189;


# line 28 "lib/uri_scanner/uri_scanner.rl"
    
# line 735 "lib/uri_scanner/uri_scanner.rb"
begin
	p ||= 0
	pe ||= data.length
	cs = uri_scanner_start
	ts = nil
	te = nil
	act = 0
end

# line 29 "lib/uri_scanner/uri_scanner.rl"
    
# line 747 "lib/uri_scanner/uri_scanner.rb"
begin
	_klen, _trans, _keys, _acts, _nacts = nil
	_goto_level = 0
	_resume = 10
	_eof_trans = 15
	_again = 20
	_test_eof = 30
	_out = 40
	while true
	_trigger_goto = false
	if _goto_level <= 0
	if p == pe
		_goto_level = _test_eof
		next
	end
	end
	if _goto_level <= _resume
	_acts = _uri_scanner_from_state_actions[cs]
	_nacts = _uri_scanner_actions[_acts]
	_acts += 1
	while _nacts > 0
		_nacts -= 1
		_acts += 1
		case _uri_scanner_actions[_acts - 1]
			when 9 then
# line 1 "NONE"
		begin
ts = p
		end
# line 777 "lib/uri_scanner/uri_scanner.rb"
		end # from state action switch
	end
	if _trigger_goto
		next
	end
	_keys = _uri_scanner_key_offsets[cs]
	_trans = _uri_scanner_index_offsets[cs]
	_klen = _uri_scanner_single_lengths[cs]
	_break_match = false
	
	begin
	  if _klen > 0
	     _lower = _keys
	     _upper = _keys + _klen - 1

	     loop do
	        break if _upper < _lower
	        _mid = _lower + ( (_upper - _lower) >> 1 )

	        if data[p].ord < _uri_scanner_trans_keys[_mid]
	           _upper = _mid - 1
	        elsif data[p].ord > _uri_scanner_trans_keys[_mid]
	           _lower = _mid + 1
	        else
	           _trans += (_mid - _keys)
	           _break_match = true
	           break
	        end
	     end # loop
	     break if _break_match
	     _keys += _klen
	     _trans += _klen
	  end
	  _klen = _uri_scanner_range_lengths[cs]
	  if _klen > 0
	     _lower = _keys
	     _upper = _keys + (_klen << 1) - 2
	     loop do
	        break if _upper < _lower
	        _mid = _lower + (((_upper-_lower) >> 1) & ~1)
	        if data[p].ord < _uri_scanner_trans_keys[_mid]
	          _upper = _mid - 2
	        elsif data[p].ord > _uri_scanner_trans_keys[_mid+1]
	          _lower = _mid + 2
	        else
	          _trans += ((_mid - _keys) >> 1)
	          _break_match = true
	          break
	        end
	     end # loop
	     break if _break_match
	     _trans += _klen
	  end
	end while false
	_trans = _uri_scanner_indicies[_trans]
	end
	if _goto_level <= _eof_trans
	cs = _uri_scanner_trans_targs[_trans]
	if _uri_scanner_trans_actions[_trans] != 0
		_acts = _uri_scanner_trans_actions[_trans]
		_nacts = _uri_scanner_actions[_acts]
		_acts += 1
		while _nacts > 0
			_nacts -= 1
			_acts += 1
			case _uri_scanner_actions[_acts - 1]
when 0 then
# line 4 "lib/uri_scanner/../machines/ruby_actions.rl"
		begin

    mark = p
  		end
when 1 then
# line 8 "lib/uri_scanner/../machines/ruby_actions.rl"
		begin

    @scheme = data[0..p-1]
  		end
when 2 then
# line 12 "lib/uri_scanner/../machines/ruby_actions.rl"
		begin

    @host = data[mark..p-1]
  		end
when 3 then
# line 16 "lib/uri_scanner/../machines/ruby_actions.rl"
		begin

    @userinfo = data[mark..p-1]
    @username, @password = @userinfo.split(":")
  		end
when 4 then
# line 21 "lib/uri_scanner/../machines/ruby_actions.rl"
		begin

    @port = data[mark..p-1].to_i
  		end
when 5 then
# line 25 "lib/uri_scanner/../machines/ruby_actions.rl"
		begin

    @path = data[mark..p-1]
  		end
when 6 then
# line 29 "lib/uri_scanner/../machines/ruby_actions.rl"
		begin

    @query = data[mark..p-1]
  		end
when 7 then
# line 33 "lib/uri_scanner/../machines/ruby_actions.rl"
		begin

    @fragment = data[mark..p-1]
  		end
when 10 then
# line 1 "NONE"
		begin
te = p+1
		end
when 11 then
# line 15 "lib/uri_scanner/uri_scanner.rl"
		begin
act = 1;		end
when 12 then
# line 16 "lib/uri_scanner/uri_scanner.rl"
		begin
act = 2;		end
when 13 then
# line 16 "lib/uri_scanner/uri_scanner.rl"
		begin
te = p+1
		end
when 14 then
# line 15 "lib/uri_scanner/uri_scanner.rl"
		begin
te = p
p = p - 1; begin @collection << data[ts..te-1] end
		end
when 15 then
# line 16 "lib/uri_scanner/uri_scanner.rl"
		begin
te = p
p = p - 1;		end
when 16 then
# line 15 "lib/uri_scanner/uri_scanner.rl"
		begin
 begin p = ((te))-1; end
 begin @collection << data[ts..te-1] end
		end
when 17 then
# line 16 "lib/uri_scanner/uri_scanner.rl"
		begin
 begin p = ((te))-1; end
		end
when 18 then
# line 1 "NONE"
		begin
	case act
	when 1 then
	begin begin p = ((te))-1; end
@collection << data[ts..te-1]end
	else
	begin begin p = ((te))-1; end
end
end 
			end
# line 945 "lib/uri_scanner/uri_scanner.rb"
			end # action switch
		end
	end
	if _trigger_goto
		next
	end
	end
	if _goto_level <= _again
	_acts = _uri_scanner_to_state_actions[cs]
	_nacts = _uri_scanner_actions[_acts]
	_acts += 1
	while _nacts > 0
		_nacts -= 1
		_acts += 1
		case _uri_scanner_actions[_acts - 1]
when 8 then
# line 1 "NONE"
		begin
ts = nil;		end
# line 965 "lib/uri_scanner/uri_scanner.rb"
		end # to state action switch
	end
	if _trigger_goto
		next
	end
	p += 1
	if p != pe
		_goto_level = _resume
		next
	end
	end
	if _goto_level <= _test_eof
	if p == eof
	if _uri_scanner_eof_trans[cs] > 0
		_trans = _uri_scanner_eof_trans[cs] - 1;
		_goto_level = _eof_trans
		next;
	end
end
	end
	if _goto_level <= _out
		break
	end
	end
	end

# line 30 "lib/uri_scanner/uri_scanner.rl"
    #%
  end

  class << self
    def scan(data, to_objects=false)
      if to_objects
        self.new(data).collection.map do |url|
          MachineURI.new(url)
        end
      else
        self.new(data).collection
      end
    end
  end
end

