DB/wotlk/db.lua
local addonName, addon = ...
local faction = UnitFactionGroup("player")
print('1234w')
addon.skipPreReq = {
    [9573] = 1,
    [533] = 1,
    [5096] = 1,
    [5092] = 1,
    [1114] = 1,
    [10000] = 1,
    [10008] = 1
}

local _,class = UnitClass("player")

--[[
addon.defaultGuideList = {
    ["Elwynn Forest"] = "RestedXP Alliance 1-20\\01-11 Elwynn Forest",
    ["Teldrassil"] = "RestedXP Alliance 1-20\\01-06 Shadowglen",
    ["Dun Morogh"] = "RestedXP Alliance 1-20\\01-06 Coldridge Valley",
    ["Azuremyst Isle"] = "RestedXP Alliance 1-20\\01-12 Azuremyst Isle",
    ["Durotar"] = "RestedXP Horde 1-30\\01-10 Durotar",
    ["Mulgore"] = "RestedXP Horde 1-30\\01-10 Mulgore",
    ["Tirisfal Glades"] = "RestedXP Horde 1-30\\01-06 Tirisfal Glades",
    ["Eversong Woods"] = "RestedXP Horde 1-30\\01-06 Eversong Woods",
}
if class == "WARLOCK" then
    addon.defaultGuideList["Dun Morogh"] = "RestedXP Alliance 1-20\\1-12 Dun Morogh"
elseif class == "HUNTER" then
    addon.defaultGuideList["Dun Morogh"] = "RestedXP Alliance 1-20\\1-11 Dun Morogh"
end
]]

if faction == "Horde" then
    addon.defaultGroup = "RestedXP Horde 1-30"
elseif faction == "Alliance" then
    addon.defaultGroup = "RestedXP Alliance 1-20"
end


addon.mapId = {
    ["Dire Maul"] = 234,
    ["The Hinterlands"] = 1425,
    ["Northrend"] = 113,
    ["Cosmic"] = 946,
    ["Blackrock Spire"] = 250,
    ["Razorfen Downs"] = 300,
    ["Hrothgar's Landing"] = 170,
    ["Black Temple"] = 339,
    ["Westfall"] = 1436,
    ["Isle of Conquest"] = 169,
    ["The Eye of Eternity"] = 141,
    ["Eastern Kingdoms"] = 1415,
    ["Undercity"] = 1458,
    ["Zul'Aman"] = 333,
    ["The Blood Furnace"] = 261,
    ["Kalimdor"] = 1414,
    ["Karazhan"] = 350,
    ["Ahn'kahet: The Old Kingdom"] = 132,
    ["The Barrens"] = 1413,
    ["StormwindNew"] = 1453,
    ["Darnassus"] = 1457,
    ["Azuremyst Isle"] = 1943,
    ["Ruins of Ahn'Qiraj"] = 247,
    ["Gundrak"] = 153,
    ["Sethekk Halls"] = 258,
    ["Un'Goro Crater"] = 1449,
    ["Ironforge"] = 1455,
    ["Dalaran"] = 125,
    ["The Violet Hold"] = 168,
    ["Burning Steppes"] = 1428,
    ["Wetlands"] = 1437,
    ["SholazarBasin"] = 119,
    ["Halls of Stone"] = 140,
    ["Plaguelands: The Scarlet Enclave"] = 124,
    ["Howling Fjord"] = 117,
    ["CrystalsongForest"] = 127,
    ["Arathi Basin"] = 1461,
    ["BoreanTundra"] = 114,
    ["Dustwallow Marsh"] = 1445,
    ["Naxxramas"] = 162,
    ["Searing Gorge"] = 1427,
    ["Loch Modan"] = 1432,
    ["Blade's Edge Mountains"] = 1949,
    ["Hyjal Summit"] = 329,
    ["Hellfire Ramparts"] = 347,
    ["Vault of Archavon"] = 156,
    ["Wailing Caverns"] = 279,
    ["Onyxia's Lair"] = 248,
    ["Grizzly Hills"] = 116,
    ["Ashenvale"] = 1440,
    ["Pit of Saron"] = 184,
    ["Azeroth"] = 947,
    ["Blackfathom Deeps"] = 221,
    ["Serpentshrine Cavern"] = 332,
    ["EPLNew"] = 1423,
    ["HowlingFjord"] = 117,
    ["ScholomanceOLD"] = 306,
    ["Blackrock Depths"] = 242,
    ["Nagrand"] = 1951,
    ["Wintergrasp"] = 123,
    ["TheStormPeaks"] = 120,
    ["Terokkar Forest"] = 1952,
    ["Ahn'Qiraj"] = 319,
    ["Eversong Woods"] = 1941,
    ["The Underbog"] = 262,
    ["Utgarde Keep"] = 133,
    ["Maraudon"] = 280,
    ["Trial of the Crusader"] = 172,
    ["Tanaris"] = 1446,
    ["Stratholme"] = 317,
    ["Borean Tundra"] = 114,
    ["Utgarde Pinnacle"] = 136,
    ["The Temple of Atal'Hakkar"] = 220,
    ["EPLClassic"] = 1423,
    ["Swamp of Sorrows"] = 1435,
    ["StormwindClassic"] = 1453,
    ["Moonglade"] = 1450,
    ["The Culling of Stratholme"] = 130,
    ["ZulDrak"] = 121,
    ["Shadow Labyrinth"] = 260,
    ["Eastern Plaguelands"] = 1423,
    ["StormPeaks"] = 120,
    ["Arathi Highlands"] = 1417,
    ["ScarletEnclave"] = 124,
    ["Isle of Quel'Danas"] = 1957,
    ["Blasted Lands"] = 1419,
    ["Halls of Lightning"] = 138,
    ["Eye of the Storm"] = 1956,
    ["Mulgore"] = 1412,
    ["Shattrath City"] = 1955,
    ["Deadwind Pass"] = 1430,
    ["Silvermoon City"] = 1954,
    ["Halls of Reflection"] = 185,
    ["Bloodmyst Isle"] = 1950,
    ["Shadowmoon Valley"] = 1948,
    ["Shadowfang Keep"] = 310,
    ["The Exodar"] = 1947,
    ["The Shattered Halls"] = 246,
    ["Zangarmarsh"] = 1946,
    ["The Obsidian Sanctum"] = 155,
    ["Silverpine Forest"] = 1421,
    ["Hellfire Peninsula"] = 1944,
    ["Trial of the Champion"] = 171,
    ["Zul'Farrak"] = 219,
    ["Warsong Gulch"] = 1460,
    ["Thunder Bluff"] = 1456,
    ["Alterac Valley"] = 1459,
    ["Stonetalon Mountains"] = 1442,
    ["Orgrimmar"] = 1454,
    ["Stormwind City"] = 1453,
    ["Azjol-Nerub"] = 157,
    ["Ulduar"] = 147,
    ["Auchenai Crypts"] = 256,
    ["Drak'Tharon Keep"] = 160,
    ["Winterspring"] = 1452,
    ["Silithus"] = 1451,
    ["GrizzlyHills"] = 116,
    ["Scarlet Monastery"] = 302,
    ["The Ruby Sanctum"] = 200,
    ["Felwood"] = 1448,
    ["The Mechanar"] = 267,
    ["The Nexus"] = 129,
    ["The Black Morass"] = 273,
    ["Badlands"] = 1418,
    ["Thousand Needles"] = 1441,
    ["Dragonblight"] = 115,
    ["Old Hillsbrad Foothills"] = 274,
    ["Gnomeregan"] = 226,
    ["Desolace"] = 1443,
    ["Tirisfal Glades"] = 1420,
    ["Zul'Gurub"] = 233,
    ["Sunwell Plateau"] = 335,
    ["Azshara"] = 1447,
    ["Darkshore"] = 1439,
    ["The Botanica"] = 266,
    ["Teldrassil"] = 1438,
    ["Sholazar Basin"] = 119,
    ["Stranglethorn Vale"] = 1434,
    ["The Stockade"] = 225,
    ["Alterac Mountains"] = 1416,
    ["Icecrown"] = 118,
    ["Strand of the Ancients"] = 128,
    ["Netherstorm"] = 1953,
    ["The Steamvault"] = 263,
    ["Gruul's Lair"] = 330,
    ["Redridge Mountains"] = 1433,
    ["The Deadmines"] = 291,
    ["Uldaman"] = 230,
    ["Ghostlands"] = 1942,
    ["Magtheridon's Lair"] = 331,
    ["Duskwood"] = 1431,
    ["Elwynn Forest"] = 1429,
    ["Ragefire Chasm"] = 213,
    ["Western Plaguelands"] = 1422,
    ["Dun Morogh"] = 1426,
    ["Icecrown Citadel"] = 186,
    ["IcecrownGlacier"] = 118,
    ["The Storm Peaks"] = 120,
    ["The Forge of Souls"] = 183,
    ["Crystalsong Forest"] = 127,
    ["Durotar"] = 1411,
    ["Tempest Keep"] = 334,
    ["Razorfen Kraul"] = 301,
    ["The Slave Pens"] = 265,
    ["Zul'Drak"] = 121,
    ["Feralas"] = 1444,
    ["Molten Core"] = 232,
    ["Blackwing Lair"] = 287,
    ["Mana-Tombs"] = 272,
    ["The Oculus"] = 142,
    ["Hillsbrad Foothills"] = 1424,
    ["The Arcatraz"] = 269,
    ["Outland"] = 1945, --987?
}

addon.FPbyZone = {
    ["Horde"] = {
        [1448] = 48,
        [1418] = 21,
        [1450] = 69,
        [1451] = 72,
        [1452] = 53,
        [1454] = 23,
        [1425] = 76,
        [1458] = 11,
        [1428] = 70,
        [1456] = 22,
        [1444] = 42,
        [1442] = 29,
        [1435] = 56,
        [1421] = 10,
        [1449] = 79,
        [1423] = 68,
        [1427] = 75,
        [1441] = 30,
        [1411] = 23,
        [1443] = 38,
        [1445] = 55,
        [1446] = 40,
        [1447] = 44,
        [1412] = 22,
    },
    ["Alliance"] = {
        [1448] = 65,
        [1449] = 79,
        [1450] = 49,
        [1451] = 73,
        [1452] = 52,
        [1422] = 66,
        [1423] = 67,
        [1455] = 6,
        [1425] = 43,
        [1426] = 6,
        [1427] = 74,
        [1428] = 71,
        [1431] = 12,
        [1432] = 8,
        [1436] = 4,
        [1437] = 7,
        [1438] = 27,
        [1439] = 26,
        [1440] = 28,
        [1442] = 33,
        [1443] = 37,
        [1413] = 80,
        [1445] = 32,
        [1446] = 39,
        [1447] = 64,
        [1419] = 45,
        [1453] = 2,
    },
}

addon.mapId["ScarletEnclave"] = 124
addon.mapId["IcecrownGlacier"] = addon.mapId["Icecrown"]
addon.mapId["CrystalsongForest"] = addon.mapId["Crystalsong Forest"]
addon.mapId["StormPeaks"] = addon.mapId["The Storm Peaks"]
addon.mapId["TheStormPeaks"] = addon.mapId["The Storm Peaks"]
addon.mapId["SholazarBasin"] = addon.mapId["Sholazar Basin"]
addon.mapId["ZulDrak"] = addon.mapId["Zul'Drak"]
addon.mapId["GrizzlyHills"] = addon.mapId["Grizzly Hills"]
addon.mapId["HowlingFjord"] = addon.mapId["Howling Fjord"]
addon.mapId["BoreanTundra"] = addon.mapId["Borean Tundra"]


addon.professionID = {
    alchemy = {2259, 3101, 3464, 11611, 28596, 51304},
    blacksmithing = {2018, 3100, 3538, 9785, 29844, 51300},
    enchanting = {13920, 7411, 7412, 7413, 28029, 51313},
    engineering = {4036, 4037, 4038, 12656, 30350, 51306},
    herbalism = {2383},
    inscription = {45357, 45358, 45359, 45360, 45361, 45363},
    jewelcrafting = {25229, 25230, 28894, 28895, 28897, 51311},
    leatherworking = {2108, 3104, 3811, 10662, 32549, 51302},
    mining = {2656},
    skinning = {8613, 8617, 8618, 10768, 32678, 50305},
    tailoring = {3908, 3909, 3910, 12180, 26790, 51309},
    cooking = {2550, 3102, 3413, 18260, 33359, 51296},
    firstaid = {3273, 3274, 7924, 10846, 27028, 45542},
    fishing = {7620, 7731, 7732, 18248, 33095, 51294},
    lockpicking = {1804},
}

C_Spell.RequestLoadSpellData(2575) -- mining
C_Spell.RequestLoadSpellData(9134) -- herbalism
C_Spell.RequestLoadSpellData(33388) -- riding
C_Spell.RequestLoadSpellData(1809) -- lockpicking

addon.base = {66,78,71,101,116,73,110,102,111}

addon.mountIDs = {
	[75] = {
		67466, --Argent Warhorse
		58983, --Big Blizzard Bear
		35022, --Black Hawkstrider
		6896, --Black Ram
		64977, --Black Skeletal Horse
		470, --Black Stallion
		578, --Black Wolf
		64658, --Black Wolf
		35020, --Blue Hawkstrider
		10969, --Blue Mechanostrider
		33630, --Blue Mechanostrider
		17463, --Blue Skeletal Horse
		50869, --Brewfest Kodo
		43899, --Brewfest Ram
		50870, --Brewfest Ram
		17464, --Brown Skeletal Horse
		6654, --Brown Wolf
		34406, --Brown Elekk
		458, --Brown Horse
		18990, --Brown Kodo
		6899, --Brown Ram
		75614, --Celestial Steed
		6648, --Chestnut Mare
		6653, --Dire Wolf
		8395, --Emerald Raptor
		394209, --Festering Emerald Drake
		35710, --Gray Elekk
		18989, --Gray Kodo
		6777, --Gray Ram
		15780, --Green Mechanostrider
		17453, --Green Mechanostrider
		48025, --Headless Horseman's Mount
		72286, --Invincible
		10795, --Ivory Raptor
		372677, --Kalu'ak Whalebone Glider
		472, --Pinto
		35711, --Purple Elekk
		35018, --Purple Hawkstrider
		348459, --Reawakened Phase-Hunter
		34795, --Red Hawkstrider
		10873, --Red Mechanostrider
		17462, --Red Skeletal Horse
		579, --Red Wolf
		16080, --Red Wolf
		42776, --Spectral Tiger
		10789, --Spotted Frostsaber
		66847, --Striped Dawnsaber
		8394, --Striped Frostsaber
		10793, --Striped Nightsaber
		580, --Timber Wolf
		10796, --Turquoise Raptor
		17454, --Unpainted Mechanostrider
		10799, --Violet Raptor
		64657, --White Kodo
		6898, --White Ram
		468, --White Stallion
		581, --Winter Wolf
		74856, --Blazing Hippogryph
		387320, --Blazing Hippogryph
		54729, --Winged Steed of the Ebon Blade
		71342, --X-45 Heartbreaker
		75973, --X-53 Touring Rocket
        5784, --Felsteed
        13819, --Warhorse
	},

	[150] = {
		43688, --Amani War Bear
		16056, --Ancient Frostsaber
		66906, --Argent Charger
		60114, --Armored Brown Bear
		60116, --Armored Brown Bear
		51412, --Big Battle Bear
		387319, --Big Battle Bear
		58983, --Big Blizzard Bear
		22719, --Black Battlestrider
		16055, --Black Nightsaber
		26656, --Black Qiraji Battle Tank
		17461, --Black Ram
		60118, --Black War Bear
		60119, --Black War Bear
		48027, --Black War Elekk
		22718, --Black War Kodo
		59785, --Black War Mammoth
		59788, --Black War Mammoth
		22720, --Black War Ram
		22721, --Black War Raptor
		22717, --Black War Steed
		22723, --Black War Tiger
		22724, --Black War Wolf
		25953, --Blue Qiraji Battle Tank
		64656, --Blue Skeletal Warhorse
		75614, --Celestial Steed
		39315, --Cobalt Riding Talbuk
		34896, --Cobalt War Talbuk
		73313, --Crimson Deathcharger
		68188, --Crusader's Black Warhorse
		68187, --Crusader's White Warhorse
		39316, --Dark Riding Talbuk
		34790, --Dark War Talbuk
		63635, --Darkspear Raptor
		63637, --Darnassian Nightsaber
		63639, --Exodar Elekk
		394209, --Festering Emerald Drake
		36702, --Fiery Warhorse
		63643, --Forsaken Warhorse
		17460, --Frost Ram
		23509, --Frostwolf Howler
		63638, --Gnomeregan Mechanostrider
		61465, --Grand Black War Mammoth
		61467, --Grand Black War Mammoth
		59802, --Grand Ice Mammoth
		59804, --Grand Ice Mammoth
		61469, --Grand Ice Mammoth
		61470, --Grand Ice Mammoth
		35713, --Great Blue Elekk
		49379, --Great Brewfest Kodo
		23249, --Great Brown Kodo
		65641, --Great Golden Kodo
		23248, --Great Gray Kodo
		35712, --Great Green Elekk
		35714, --Great Purple Elekk
		65637, --Great Red Elekk
		23247, --Great White Kodo
		18991, --Green Kodo
		26056, --Green Qiraji Battle Tank
		17465, --Green Skeletal Warhorse
		48025, --Headless Horseman's Mount
		59797, --Ice Mammoth
		59799, --Ice Mammoth
		17459, --Icy Blue Mechanostrider Mod A
		72286, --Invincible
		63636, --Ironforge Ram
		17450, --Ivory Raptor
		372677, --Kalu'ak Whalebone Glider
		65917, --Magic Rooster
		387308, --Magic Rooster
		55531, --Mechano-hog
		60424, --Mekgineer's Chopper
		16084, --Mottled Red Raptor
		66846, --Ochre Skeletal Warhorse
		63640, --Orgrimmar Wolf
		16082, --Palomino
		23246, --Purple Skeletal Warhorse
		66090, --Quel'dorei Steed
		41252, --Raven Lord
		26054, --Red Qiraji Battle Tank
		22722, --Red Skeletal Warhorse
		17481, --Rivendare's Deathcharger
		39317, --Silver Riding Talbuk
		34898, --Silver War Talbuk
		63642, --Silvermoon Hawkstrider
		23510, --Stormpike Battle Charger
		63232, --Stormwind Steed
		66091, --Sunreaver Hawkstrider
		68057, --Swift Alliance Steed
		23241, --Swift Blue Raptor
		43900, --Swift Brewfest Ram
		23238, --Swift Brown Ram
		23229, --Swift Brown Steed
		23250, --Swift Brown Wolf
		65646, --Swift Burgundy Wolf
		23221, --Swift Frostsaber
		23239, --Swift Gray Ram
		65640, --Swift Gray Steed
		23252, --Swift Gray Wolf
		35025, --Swift Green Hawkstrider
		23225, --Swift Green Mechanostrider
		68056, --Swift Horde Wolf
		23219, --Swift Mistsaber
		65638, --Swift Moonsaber
		23242, --Swift Olive Raptor
		23243, --Swift Orange Raptor
		23227, --Swift Palomino
		33660, --Swift Pink Hawkstrider
		35027, --Swift Purple Hawkstrider
		65644, --Swift Purple Raptor
		42777, --Swift Spectral Tiger
		23338, --Swift Stormsaber
		23251, --Swift Timber Wolf
		65643, --Swift Violet Ram
		35028, --Swift Warstrider
		46628, --Swift White Hawkstrider
		23223, --Swift White Mechanostrider
		23240, --Swift White Ram
		23228, --Swift White Steed
		23222, --Swift Yellow Mechanostrider
		48954, --Swift Zhevra
		49322, --Swift Zhevra
		24252, --Swift Zulian Tiger
		39318, --Tan Riding Talbuk
		34899, --Tan War Talbuk
		18992, --Teal Kodo
		63641, --Thunder Bluff Kodo
		61425, --Traveler's Tundra Mammoth
		61447, --Traveler's Tundra Mammoth
		65642, --Turbostrider
		42781, --Upper Deck - Spectral Tiger Mount
		64659, --Venomhide Ravasaur
		15779, --White Mechanostrider Mod B
		54753, --White Polar Bear
		39319, --White Riding Talbuk
		65645, --White Skeletal Warhorse
		16083, --White Stallion
		34897, --White War Talbuk
		16081, --Winter Wolf
		17229, --Winterspring Frostsaber
		59791, --Wooly Mammoth
		59793, --Wooly Mammoth
		74918, --Wooly White Rhino
		387321, --Wooly White Rhino
		26055, --Yellow Qiraji Battle Tank
		74856, --Blazing Hippogryph
		387320, --Blazing Hippogryph
		54729, --Winged Steed of the Ebon Blade
		71342, --X-45 Heartbreaker
		75973, --X-53 Touring Rocket
        23161, --Dreadsteed
        23214, --Charger
	},

	[225] = {
		74856, --Blazing Hippogryph
		387320, --Blazing Hippogryph
		32244, --Blue Wind Rider
		75614, --Celestial Steed
		32239, --Ebon Gryphon
		394209, --Festering Emerald Drake
		61451, --Flying Carpet
		44153, --Flying Machine
		32235, --Golden Gryphon
		32245, --Green Wind Rider
		48025, --Headless Horseman's Mount
		72286, --Invincible
		372677, --Kalu'ak Whalebone Glider
		61309, --Magnificent Flying Carpet
		32240, --Snowy Gryphon
		32243, --Tawny Wind Rider
		54729, --Winged Steed of the Ebon Blade
		71342, --X-45 Heartbreaker
		46197, --X-51 Nether-Rocket
		387323, --X-51 Nether-Rocket
		75973, --X-53 Touring Rocket
	},

	[300] = {
		60025, --Albino Drake
		63844, --Argent Hippogryph
		61230, --Armored Blue Wind Rider
		61229, --Armored Snowy Gryphon
		59567, --Azure Drake
		41514, --Azure Netherwing Drake
		59650, --Black Drake
		59976, --Black Proto-Drake
		74856, --Blazing Hippogryph
		387320, --Blazing Hippogryph
		61996, --Blue Dragonhawk
		59568, --Blue Drake
		59996, --Blue Proto-Drake
		39803, --Blue Riding Nether Ray
		59569, --Bronze Drake
		75614, --Celestial Steed
		43927, --Cenarion War Hippogryph
		41515, --Cobalt Netherwing Drake
		394209, --Festering Emerald Drake
		75596, --Frosty Flying Carpet
		61294, --Green Proto Drake
		39798, --Green Riding Nether Ray
		48025, --Headless Horseman's Mount
		72286, --Invincible
		372677, --Kalu'ak Whalebone Glider
		41513, --Onyx Netherwing Drake
		41516, --Purple Netherwing Drake
		39801, --Purple Riding Nether Ray
		61997, --Red Dragonhawk
		59570, --Red Drake
		59961, --Red Proto-Drake
		39800, --Red Riding Nether Ray
		66087, --Silver Covenant Hippogryph
		39802, --Silver Riding Nether Ray
		66088, --Sunreaver Dragonhawk
		32242, --Swift Blue Gryphon
		32290, --Swift Green Gryphon
		32295, --Swift Green Wind Rider
		32292, --Swift Purple Gryphon
		32297, --Swift Purple Wind Rider
		32296, --Swift Yellow Wind Rider
		60002, --Time-Lost Proto-Drake
		44151, --Turbo-Charged Flying Machine
		59571, --Twilight Drake
		41517, --Veridian Netherwing Drake
		41518, --Violet Netherwing Drake
		54729, --Winged Steed of the Ebon Blade
		71342, --X-45 Heartbreaker
		46199, --X-51 Nether-Rocket X-TREME
		387311, --X-51 Nether-Rocket X-TREME
		75973, --X-53 Touring Rocket
	},


	[375] = {
		40192, --Ashes of Al'ar
		72808, --Bloodbathed Frostbrood Vanquisher
		58615, --Brutal Nether Drake
		75614, --Celestial Steed
		64927, --Deadly Gladiator's Frost Wyrm
		65439, --Furious Gladiator's Frost Wyrm
		72807, --Icebound Frostbrood Vanquisher
		48025, --Headless Horseman's Mount
		72286, --Invincible
		63956, --Ironbound Proto-Drake
		44317, --Merciless Nether Drake
		44744, --Merciless Nether Drake
		63796, --Mimiron's Head
		69395, --Onyxian Drake
		32345, --Peep the Phoenix Mount
		60021, --Plagued Proto Drake
		67336, --Relentless Gladiator's Frost Wyrm
		63963, --Rusted Proto Drake
		37015, --Swift Nether Drake
		49193, --Vengeful Nether Drake
		60024, --Violet Proto-Drake
		54729, --Winged Steed of the Ebon Blade
		71810, --Wrathful Gladiator's Frost Wyrm
		71342, --X-45 Heartbreaker
		75973, --X-53 Touring Rocket
	},

}

addon.taxiPos = {
  [0] = {
    [2] = {wx = -8840.55957, wy = 489.70001, flag = 1},
    [4] = {wx = -10629.29004, wy = 1036.94995, flag = 1},
    [5] = {wx = -9429.09961, wy = -2231.39990, flag = 1},
    [6] = {wx = -4821.77979, wy = -1155.43994, flag = 1},
    [7] = {wx = -3792.26001, wy = -783.28998, flag = 1},
    [8] = {wx = -5421.91016, wy = -2930.01001, flag = 1},
    [10] = {wx = 478.85999, wy = 1536.58997, flag = 2},
    [11] = {wx = 1568.62000, wy = 267.97000, flag = 2},
    [12] = {wx = -10515.45996, wy = -1261.65002, flag = 1},
    [13] = {wx = -0.06000, wy = -859.90997, flag = 2},
    [14] = {wx = -711.47998, wy = -515.47998, flag = 1},
    [16] = {wx = -1240.53003, wy = -2515.11011, flag = 1},
    [17] = {wx = -916.28998, wy = -3496.88989, flag = 2},
    [18] = {wx = -14444.29004, wy = 509.62000, flag = 2},
    [19] = {wx = -14473.04980, wy = 464.14999, flag = 1},
    [20] = {wx = -12414.17969, wy = 146.28999, flag = 2},
    [21] = {wx = -6633.99023, wy = -2180.05005, flag = 2},
    [36] = {wx = -8644.62012, wy = 433.28000, flag = 2},
    [43] = {wx = 283.73999, wy = -2002.76001, flag = 1},
    [45] = {wx = -11112.25000, wy = -3435.73999, flag = 1},
    [56] = {wx = -10456.96973, wy = -3279.25000, flag = 2},
    [66] = {wx = 931.32001, wy = -1430.10999, flag = 1},
    [67] = {wx = 2271.09009, wy = -5340.79980, flag = 1},
    [68] = {wx = 2327.40991, wy = -5286.89014, flag = 2},
    [70] = {wx = -7504.02979, wy = -2187.54004, flag = 2},
    [71] = {wx = -8364.61035, wy = -2738.35010, flag = 1},
    [74] = {wx = -6552.58984, wy = -1168.27002, flag = 1},
    [75] = {wx = -6554.93018, wy = -1100.05005, flag = 2},
    [76] = {wx = -635.26001, wy = -4720.50000, flag = 2},
    [84] = {wx = 2998.70996, wy = -3050.10010, flag = 3},
    [85] = {wx = 3109.31006, wy = -4285.12988, flag = 3},
    [86] = {wx = 2499.22998, wy = -4742.85010, flag = 3},
    [87] = {wx = 1857.56006, wy = -3658.46997, flag = 3},
    [195] = {wx = -11343.96973, wy = -216.83000, flag = 1},
    [394] = {wx = -5451.47998, wy = -667.72998, flag = 3},
    [168] = {wx = -9441.17969, wy = 65.05000, flag = 1},
    [393] = {wx = -5447.85010, wy = -665.59003, flag = 3},
    [292] = {wx = -8338.36035, wy = 1107.01001, flag = 1},
    [315] = {wx = 2352.37012, wy = -5666.91016, flag = 3},
    [384] = {wx = 1726.85999, wy = -740.76001, flag = 2},
    [383] = {wx = 1942.54004, wy = -2559.17993, flag = 3},
    [392] = {wx = -5448.50000, wy = -665.08002, flag = 3},
  },
  [1] = {
    [22] = {wx = -1197.20996, wy = 29.71000, flag = 2},
    [23] = {wx = 1677.58997, wy = -4315.70996, flag = 2},
    [25] = {wx = -441.79999, wy = -2596.08008, flag = 2},
    [26] = {wx = 6341.37988, wy = 557.67999, flag = 1},
    [27] = {wx = 8643.58984, wy = 841.04999, flag = 1},
    [28] = {wx = 2827.34009, wy = -289.23999, flag = 1},
    [29] = {wx = 966.57001, wy = 1040.31995, flag = 2},
    [30] = {wx = -5407.70996, wy = -2414.30005, flag = 2},
    [31] = {wx = -4491.87988, wy = -775.89001, flag = 1},
    [32] = {wx = -3825.37012, wy = -4516.58008, flag = 1},
    [33] = {wx = 2681.12988, wy = 1461.68005, flag = 1},
    [37] = {wx = 139.24001, wy = 1325.81995, flag = 1},
    [38] = {wx = -1767.64001, wy = 3263.88989, flag = 2},
    [39] = {wx = -7223.97021, wy = -3734.59009, flag = 1},
    [40] = {wx = -7048.89014, wy = -3780.36011, flag = 2},
    [41] = {wx = -4373.79980, wy = 3338.64990, flag = 1},
    [42] = {wx = -4419.85986, wy = 199.31000, flag = 2},
    [44] = {wx = 3661.52002, wy = -4390.37988, flag = 2},
    [48] = {wx = 5068.39990, wy = -337.22000, flag = 2},
    [49] = {wx = 7458.45020, wy = -2487.20996, flag = 1},
    [52] = {wx = 6796.79980, wy = -4742.39014, flag = 1},
    [53] = {wx = 6813.06006, wy = -4611.12012, flag = 2},
    [55] = {wx = -3147.38989, wy = -2842.17993, flag = 2},
    [58] = {wx = 3374.70996, wy = 996.96997, flag = 2},
    [61] = {wx = 2302.38989, wy = -2524.55005, flag = 2},
    [62] = {wx = 7793.60986, wy = -2403.46997, flag = 1},
    [63] = {wx = 7787.72021, wy = -2404.10010, flag = 2},
    [64] = {wx = 2721.98999, wy = -3880.63989, flag = 1},
    [65] = {wx = 6205.87988, wy = -1949.63000, flag = 1},
    [69] = {wx = 7470.39014, wy = -2123.37988, flag = 2},
    [72] = {wx = -6811.39014, wy = 836.73999, flag = 2},
    [73] = {wx = -6761.83008, wy = 772.03003, flag = 1},
    [77] = {wx = -2380.66992, wy = -1882.67004, flag = 2},
    [79] = {wx = -6113.81982, wy = -1142.69995, flag = 3},
    [80] = {wx = -894.59003, wy = -3773.01001, flag = 3},
    [404] = {wx = -839.64001, wy = -4985.35010, flag = 2},
    [405] = {wx = -838.01001, wy = -4986.27979, flag = 2},
    [143] = {wx = -8360.73047, wy = -4327.72998, flag = 3},
    [144] = {wx = -8162.00977, wy = -4796.22998, flag = 3},
    [166] = {wx = 3978.73999, wy = -1316.42004, flag = 3},
    [439] = {wx = 284.38000, wy = -4762.35986, flag = 2},
    [438] = {wx = -838.84998, wy = -4985.99023, flag = 2},
    [180] = {wx = -3822.65991, wy = -4511.33008, flag = 1},
    [167] = {wx = 3000.25000, wy = -3202.40991, flag = 1},
    [181] = {wx = -3822.70996, wy = -4509.64990, flag = 1},
    [179] = {wx = -4566.22998, wy = -3226.05005, flag = 3},
  },
  [571] = {
    [235] = {wx = 3575.56006, wy = 6651.83984, flag = 2},
    [234] = {wx = 4130.62012, wy = 7372.31006, flag = 2},
    [359] = {wx = 8501.53027, wy = 1064.02002, flag = 3},
    [244] = {wx = 3712.42993, wy = -694.85999, flag = 1},
    [245] = {wx = 2269.54004, wy = 5173.68994, flag = 1},
    [246] = {wx = 4127.22998, wy = 5313.06982, flag = 1},
    [247] = {wx = 3504.12988, wy = 1992.03003, flag = 1},
    [240] = {wx = 3614.30005, wy = 3670.12012, flag = 2},
    [242] = {wx = 2739.72998, wy = 882.37000, flag = 2},
    [176] = {wx = 245.36000, wy = -3309.19995, flag = 3},
    [252] = {wx = 3653.20996, wy = 247.58000, flag = 3},
    [253] = {wx = 3446.35010, wy = -2754.10010, flag = 1},
    [191] = {wx = 1918.59998, wy = -6175.89014, flag = 2},
    [188] = {wx = 1912.78003, wy = -6178.81006, flag = 2},
    [248] = {wx = 2108.11011, wy = -2970.62012, flag = 2},
    [186] = {wx = 1911.81995, wy = -6179.06982, flag = 2},
    [187] = {wx = 1652.82996, wy = -6512.10986, flag = 2},
    [184] = {wx = 2468.77002, wy = -5029.81982, flag = 1},
    [185] = {wx = 1342.83997, wy = -3287.89990, flag = 1},
    [267] = {wx = 4272.08984, wy = -3248.26001, flag = 2},
    [199] = {wx = 638.34003, wy = -5074.56982, flag = 3},
    [269] = {wx = 1341.67004, wy = -3288.73999, flag = 1},
    [270] = {wx = 3712.22998, wy = -693.84998, flag = 1},
    [271] = {wx = 4311.25000, wy = -2956.61011, flag = 2},
    [256] = {wx = 3865.87012, wy = 1525.63000, flag = 2},
    [257] = {wx = 2920.29004, wy = 6242.85010, flag = 2},
    [259] = {wx = 4474.79004, wy = 5712.12988, flag = 2},
    [260] = {wx = 4946.66992, wy = 1165.93994, flag = 2},
    [261] = {wx = 3711.31006, wy = -698.17999, flag = 1},
    [262] = {wx = 4267.39014, wy = -3050.92993, flag = 2},
    [192] = {wx = 2652.88989, wy = -4392.70996, flag = 2},
    [280] = {wx = 3545.62012, wy = 273.60001, flag = 3},
    [282] = {wx = 3545.61011, wy = 273.60001, flag = 3},
    [284] = {wx = 3548.14990, wy = 381.01001, flag = 3},
    [273] = {wx = 3547.21997, wy = 381.48999, flag = 3},
    [275] = {wx = 3587.64990, wy = 279.20999, flag = 3},
    [203] = {wx = 3505.30005, wy = 1990.82996, flag = 1},
    [277] = {wx = 3587.55005, wy = 279.14001, flag = 3},
    [200] = {wx = 483.92001, wy = -5913.10010, flag = 3},
    [295] = {wx = 785.27002, wy = -2887.70996, flag = 3},
    [294] = {wx = 2792.44995, wy = 908.96002, flag = 3},
    [290] = {wx = 5450.29980, wy = -2606.27002, flag = 2},
    [289] = {wx = 3587.84009, wy = 5973.29980, flag = 3},
    [303] = {wx = 5100.81006, wy = 2185.64990, flag = 1},
    [301] = {wx = 4125.50977, wy = 5310.99023, flag = 1},
    [358] = {wx = 8498.32031, wy = 1066.31995, flag = 3},
    [296] = {wx = 2919.18994, wy = 4046.09009, flag = 3},
    [311] = {wx = 3877.90991, wy = -4519.58984, flag = 2},
    [310] = {wx = 5813.89014, wy = 449.13000, flag = 3},
    [309] = {wx = 5596.10010, wy = 5824.37012, flag = 3},
    [221] = {wx = 3465.65991, wy = 5901.75977, flag = 2},
    [307] = {wx = 5777.39990, wy = -3594.93994, flag = 3},
    [306] = {wx = 5190.10986, wy = -2206.45996, flag = 3},
    [305] = {wx = 5218.89990, wy = -1302.21997, flag = 3},
    [304] = {wx = 5521.62988, wy = -2672.25000, flag = 3},
    [251] = {wx = 4612.20996, wy = 1406.59998, flag = 1},
    [222] = {wx = 3213.73999, wy = 6084.72021, flag = 2},
    [194] = {wx = 1341.07996, wy = -3288.37012, flag = 1},
    [336] = {wx = 5035.64990, wy = -519.96002, flag = 1},
    [332] = {wx = 5024.99023, wy = 3685.55005, flag = 2},
    [314] = {wx = 5779.12988, wy = -3596.41992, flag = 2},
    [313] = {wx = 4584.00977, wy = -4250.37988, flag = 1},
    [326] = {wx = 8864.74023, wy = -1324.32996, flag = 3},
    [327] = {wx = 8472.45996, wy = -335.95001, flag = 3},
    [324] = {wx = 7793.85010, wy = -2810.09009, flag = 2},
    [325] = {wx = 7427.31982, wy = 4224.16016, flag = 3},
    [322] = {wx = 7308.04004, wy = -2607.60010, flag = 3},
    [323] = {wx = 7857.29980, wy = -735.02002, flag = 2},
    [334] = {wx = 6164.49023, wy = -61.31000, flag = 3},
    [320] = {wx = 6186.75000, wy = -1052.91003, flag = 3},
    [321] = {wx = 6667.04004, wy = -258.70001, flag = 1},
    [335] = {wx = 6402.06006, wy = 467.85999, flag = 3},
    [225] = {wx = 3574.06006, wy = 5971.04004, flag = 2},
    [333] = {wx = 8408.08984, wy = 2702.65991, flag = 2},
    [308] = {wx = 5506.22998, wy = 4748.10010, flag = 3},
    [331] = {wx = 6897.64990, wy = -4118.22998, flag = 3},
    [177] = {wx = -147.47000, wy = -3587.36011, flag = 3},
    [249] = {wx = 3876.34009, wy = -4520.08008, flag = 2},
    [226] = {wx = 3575.43994, wy = 6661.64014, flag = 3},
    [250] = {wx = 3258.89990, wy = -2263.09009, flag = 2},
    [340] = {wx = 8475.79004, wy = 891.20001, flag = 3},
    [193] = {wx = 1341.43994, wy = -3288.57007, flag = 1},
    [236] = {wx = 4026.94995, wy = 7085.54004, flag = 2},
    [254] = {wx = 3242.95996, wy = -666.15997, flag = 2},
    [239] = {wx = 3109.00000, wy = 3819.54004, flag = 2},
    [337] = {wx = 5590.49023, wy = -693.22998, flag = 2},
    [258] = {wx = 3449.51001, wy = 4089.52002, flag = 2},
    [255] = {wx = 4584.97998, wy = -4254.68994, flag = 1},
    [183] = {wx = 567.40997, wy = -5010.97021, flag = 1},
    [190] = {wx = 401.12000, wy = -4544.29980, flag = 2},
    [232] = {wx = 2774.68994, wy = 6258.14014, flag = 2},
  },
  [530] = {
    [82] = {wx = 9375.24023, wy = -7165.89014, flag = 2},
    [83] = {wx = 7594.47021, wy = -6784.29004, flag = 2},
    [93] = {wx = -1933.27002, wy = -11954.61035, flag = 1},
    [94] = {wx = -4054.88989, wy = -11793.34961, flag = 1},
    [95] = {wx = -146.28999, wy = 5532.56006, flag = 2},
    [97] = {wx = -3968.37012, wy = -11929.15039, flag = 1},
    [99] = {wx = 228.50000, wy = 2633.57007, flag = 2},
    [100] = {wx = -673.41998, wy = 2717.27002, flag = 1},
    [101] = {wx = 199.16000, wy = 4241.56006, flag = 1},
    [102] = {wx = -587.40997, wy = 4101.00977, flag = 2},
    [103] = {wx = -1810.16003, wy = 8032.10986, flag = 3},
    [104] = {wx = -1824.18005, wy = 8049.29004, flag = 3},
    [105] = {wx = -1513.40002, wy = 8140.93018, flag = 3},
    [106] = {wx = -1511.26001, wy = 8149.70996, flag = 1},
    [107] = {wx = -1387.06995, wy = 7782.41016, flag = 3},
    [108] = {wx = -1376.71997, wy = 7771.16992, flag = 1},
    [109] = {wx = -1656.59998, wy = 7724.91016, flag = 3},
    [110] = {wx = -1658.90002, wy = 7724.70996, flag = 1},
    [111] = {wx = 9335.83008, wy = -7883.06982, flag = 3},
    [112] = {wx = 9335.66992, wy = -7809.70996, flag = 3},
    [113] = {wx = -1544.35999, wy = 8792.07031, flag = 3},
    [117] = {wx = 213.75000, wy = 6063.75000, flag = 1},
    [118] = {wx = 219.45000, wy = 7816.00000, flag = 2},
    [119] = {wx = -2729.00000, wy = 7305.29980, flag = 1},
    [120] = {wx = -1261.08997, wy = 7133.39014, flag = 2},
    [121] = {wx = -2987.23999, wy = 3872.78003, flag = 1},
    [122] = {wx = 3082.31006, wy = 3596.11011, flag = 3},
    [123] = {wx = -3018.62012, wy = 2557.09009, flag = 2},
    [124] = {wx = -3982.07007, wy = 2156.46997, flag = 1},
    [125] = {wx = 2183.64990, wy = 6794.45996, flag = 1},
    [126] = {wx = 2446.37012, wy = 6020.93018, flag = 2},
    [127] = {wx = -2567.33008, wy = 4423.83008, flag = 2},
    [128] = {wx = -1837.22998, wy = 5301.89990, flag = 3},
    [129] = {wx = -327.35001, wy = 1020.48999, flag = 1},
    [130] = {wx = -178.09000, wy = 1026.71997, flag = 2},
    [131] = {wx = -25.51000, wy = 2133.44995, flag = 3},
    [132] = {wx = -25.60000, wy = 2133.39990, flag = 2},
    [133] = {wx = -673.72998, wy = 1855.29004, flag = 3},
    [134] = {wx = -673.75000, wy = 1855.31995, flag = 3},
    [135] = {wx = -27.65000, wy = 2126.57007, flag = 3},
    [136] = {wx = -27.52000, wy = 2126.50000, flag = 3},
    [137] = {wx = 298.50000, wy = 1501.26001, flag = 3},
    [138] = {wx = 298.59000, wy = 1501.13000, flag = 3},
    [139] = {wx = 4157.58008, wy = 2959.68994, flag = 3},
    [140] = {wx = -3065.60010, wy = 749.41998, flag = 3},
    [141] = {wx = -1316.83997, wy = 2358.62012, flag = 2},
    [142] = {wx = -29.16000, wy = 2125.71997, flag = 2},
    [145] = {wx = 3079.01001, wy = 3599.08008, flag = 2},
    [147] = {wx = 509.17001, wy = 1988.68994, flag = 1},
    [148] = {wx = 298.45999, wy = 1501.18005, flag = 1},
    [149] = {wx = 276.20001, wy = 1486.91003, flag = 1},
    [150] = {wx = 2974.94995, wy = 1848.23999, flag = 3},
    [151] = {wx = 91.67000, wy = 5214.91992, flag = 2},
    [152] = {wx = 4262.39014, wy = 2136.91992, flag = 3},
    [153] = {wx = 4266.70020, wy = 2133.37988, flag = 3},
    [154] = {wx = 20047.88086, wy = 5200.68994, flag = 3},
    [156] = {wx = 1857.34998, wy = 5531.87012, flag = 1},
    [157] = {wx = 2277.73999, wy = 5983.35010, flag = 2},
    [159] = {wx = -4073.16992, wy = 1123.60999, flag = 3},
    [160] = {wx = 2976.01001, wy = 5501.12988, flag = 3},
    [163] = {wx = 2028.79004, wy = 4705.27002, flag = 2},
    [164] = {wx = 966.66998, wy = 7399.16016, flag = 1},
    [169] = {wx = -5224.52979, wy = 631.84998, flag = 3},
    [170] = {wx = -5185.70996, wy = 172.95000, flag = 3},
    [171] = {wx = -3364.67993, wy = 3650.17993, flag = 3},
    [172] = {wx = 2531.10010, wy = 7322.08984, flag = 3},
    [173] = {wx = -5141.35986, wy = 620.10999, flag = 3},
    [205] = {wx = 6789.79004, wy = -7747.58008, flag = 3},
    [209] = {wx = 13008.37988, wy = -6911.81006, flag = 2},
    [210] = {wx = 13008.50977, wy = -6912.20020, flag = 2},
    [211] = {wx = 13007.50000, wy = -6911.81006, flag = 2},
    [212] = {wx = 13188.04004, wy = -7047.04004, flag = 2},
    [213] = {wx = 13012.70020, wy = -6908.37012, flag = 11},
  },
}
