MediaWiki:Outfiter.js

/*global $ */ /*jslint devel: true, browser: true, indent: 2, white: true, plusplus: true, bitwise: true, vars: true, ass: true */ $('div.outfiter').each(function {  'use strict';  var    $this_main = $(this),    outfiter_mount_names = [      /*0*/      'None', 'Widow_Queen', 'Racing_Bird', 'War_Bear', 'Black_Sheep',      /*5*/      'Midnight_Panther', 'Draptor', 'Titanica', 'Tin_Lizzard', 'Blazebringer',      /*10*/      'Rapid_Boar', 'Stampor', 'Undead_Cavebear', 'Crystal_Wolf', 'Dromedary',      /*15*/      'Kingly_Deer', 'Donkey', 'King_Scorpion', 'Tamed_Panda', 'Tiger_Slug',      /*20*/      'Uniwheel', 'Rented_Horse_(A)', 'Rented_Horse_(B)', 'Rented_Horse_(C)', 'Armoured_War_Horse',      /*25*/      'War_Horse', 'Lady_Bug', 'Manta_Ray', 'Shadow_Draptor', 'Gnarlhound',      /*30*/      'Dragonling', 'Magma_Crawler', 'Ironblight', 'Crimson_Ray', 'Steelbeak',      /*35*/      'Water_Buffalo', 'Tombstinger', 'Platesaurian', 'Ursagrodon', 'Hellgrip',      /*40*/      'Noble_Lion', 'Desert_King', 'Shock_Head', 'Walker', 'Azudocus', /*45*/     'Carpacosaurus', 'Death_Crawler', 'Flamesteed', 'Jade_Lion', 'Jade_Pincer', /*50*/     'Nethersteed', 'Tempest', 'Winter_King', 'Blackpelt', 'Shadow_Hart', /*55*/     'Black_Stag', 'Emperor_Deer', 'Flying_Divan', 'Magic_Carpet', 'Floating_Kashmir', /*60*/     'Doombringer', 'Tundra_Rambler', 'Highland_Yak', 'Glacier_Vagabond', 'Golden_Dragonfly', /*65*/     'Steel_Bee', 'Copper_Fly', 'Hailstorm_Fury', 'Poisonbane', 'Siegebreaker', /*70*/     'Woodland_Prince', 'Glooth_Glider', 'Ringtail_Wacoon', 'Night_Wacoon', 'Emerald_Wacoon', /*75*/     'Flitterkatzen', 'Venompaw', 'Batcat', 'Sea Devil', 'Coralripper', /*80*/     'Plumfish', 'Gorongra', 'Noctungra', 'Silverneck', 'Rented_Horse_(Recruiter)', /*85*/     'Slagsnare', 'Nightstinger', 'Razorcreep‎', '848', '849', /*90*/     '850', '851'    ],    outfiter_mount_names_extra = [], //mounts not on the main list outfiter_mount_names_sorted = [], //list will be auto populated alphabetically outfiter_names = [ /*0*/     'Citizen', 'Hunter', 'Mage', 'Knight', 'Nobleman', /*5*/     'Summoner', 'Warrior', 'Barbarian', 'Druid', 'Wizard', /*10*/     'Oriental', 'Pirate', 'Assassin', 'Beggar', 'Shaman', /*15*/     'Norseman', 'Jester', 'Brotherhood', 'Nightmare', 'Demon_Hunter', /*20*/     'Yalaharian', 'Newly_Wed', 'Warmaster', 'Wayfarer', 'Afflicted', /*25*/     'Elementalist', 'Deepling', 'Insectoid', 'Entrepreneur', 'Crystal_Warlord', /*30*/     'Soil_Guardian', 'Demon', 'Cave_Explorer', 'Dream_Warden', 'Jersey', /*35*/     'Glooth_Engineer', 'Beastmaster', 'Champion', 'Conjurer', 'Chaos_Acolyte', /*40*/     'Ranger', 'Death_Herald', 'Ceremonial_Garb', 'Puppeteer', 'Spirit_Caller', /*45*/     'Evoker', 'Seaweaver', 'Recruiter', 'Sea_Dog', 'Royal_Pumpkin', /*50*/     '845', '852'    ];  outfiter_names[100] = 'Frog'; outfiter_names[101] = 'Elf'; outfiter_names[102] = 'Dwarf'; outfiter_names[103] = 'Archdemon'; outfiter_names[104] = 'CM'; outfiter_names[105] = 'None'; outfiter_names[106] = 'Barbarian_(A)'; outfiter_names[107] = 'Barbarian_(B)'; outfiter_names[108] = 'Barbarian_(C)'; outfiter_names[109] = 'Barbarian_(D)'; outfiter_names[110] = 'Gnome'; outfiter_names[111] = 'Corym_(A)'; outfiter_names[112] = 'Corym_(B)'; outfiter_names[113] = 'Corym_(C)'; outfiter_names[114] = 'Cultist'; outfiter_names[115] = '862'; var outfiter_names_extra = [115, 105, 103, 106, 107, 108, 109, 104, 111, 112, 113, 114, 102, 101, 100, 110,], //outfits not on the main list outfiter_names_sorted = [], //list will be auto populated alphabetically //outfits with irregular amount of sprites, regular is 1 standing, 8 walking outfiter_sprites_standing = { 'Chaos_Acolyte': 8, 'Evoker': 8 },   outfiter_sprites_walking = { 'CM': 2, //     'None': 2, 'Barbarian_(B)': 2, 'Barbarian_(C)': 2, 'Barbarian_(D)': 2, 'Gnome': 2, 'Corym_(C)': 2, 'Cultist': 2 },   //mounts with irregular amount of sprites, regular is 1 standing, 8 walking outfiter_sprites_mount_standing = { 'Flying_Divan': 8, 'Magic_Carpet': 8, 'Floating_Kashmir': 8, 'Copper_Fly': 10, 'Flamesteed': 8, 'Glooth_Glider': 10, 'Golden_Dragonfly': 10, 'Nethersteed': 8, 'Steel_Bee': 10, 'Tempest': 8, 'Flitterkatzen': 8, 'Venompaw': 8, 'Batcat': 8, 'Sea Devil': 8, 'Coralripper': 8, 'Plumfish': 8, '849': 8,     '850': 8,      '851': 8    },    //outfits limited to height 4096 outfiter_4096h = { 'Chaos_Acolyte': true, 'Evoker': true },   outfiter_sprites_mount_walking = { },   //outfits and mounts with separator on list outfiter_separator = { None: true }, /*outfits with separator on list*/ outfiter_mount_separator = { }, /*mounts with separator on list*/ outfiter_f_names = { Nobleman: 'Noblewoman', Norseman: 'Norsewoman' }, /*names for female*/ outfiter_u_names = { Archdemon: true, 'Barbarian_(A)': true, 'Barbarian_(B)': true, 'Barbarian_(C)': true, 'Barbarian_(D)': true, CM: true, 'Corym_(A)': true, 'Corym_(B)': true, 'Corym_(C)': true, Cultist: true, Dwarf: true, Elf: true, Frog: true, 862: true, None: true }, /*no female*/ outfiter_m_names = { Archdemon: true, 'Barbarian_(A)': true, 'Barbarian_(B)': true, 'Barbarian_(C)': true, 'Barbarian_(D)': true, CM: true, 'Corym_(A)': true, 'Corym_(B)': true, 'Corym_(C)': true, Cultist: true, Dwarf: true, Elf: true, Frog: true, Gnome: true, 862: true }, /*no mount*/ outfiter_a_names = { Archdemon: true, 'Barbarian_(A)': true, 'Barbarian_(B)': true, 'Barbarian_(C)': true, 'Barbarian_(D)': true, CM: true, 'Corym_(A)': true, 'Corym_(B)': true, 'Corym_(C)': true, Cultist: true, Elf: true, Dwarf: true, Frog: true, Gnome: true, Jersey: true, Newly_Wed: true, None: true }, /*no addon*/ outfiter_o_names = { Yalaharian: true }, /*one addon*/ outfiter_no_ride_names = { 862: true },/* no ride frame */ outfiter_color_t = [ [255, 255, 255], [255, 212, 191], [255, 233, 191], [255, 255, 191], [233, 255, 191], [212, 255, 191], [191, 255, 191], [191, 255, 212], [191, 255, 233], [191, 255, 255], [191, 233, 255], [191, 212, 255], [191, 191, 255], [212, 191, 255], [233, 191, 255], [255, 191, 255], [255, 191, 233], [255, 191, 212], [255, 191, 191],     [218, 218, 218], [191, 159, 143], [191, 175, 143], [191, 191, 143], [175, 191, 143], [159, 191, 143], [143, 191, 143], [143, 191, 159], [143, 191, 175], [143, 191, 191], [143, 175, 191], [143, 159, 191], [143, 143, 191], [159, 143, 191], [175, 143, 191], [191, 143, 191], [191, 143, 175], [191, 143, 159], [191, 143, 143],      [182, 182, 181], [191, 127, 95], [191, 159, 95], [191, 191, 95], [159, 191, 95], [127, 191, 95], [95, 191, 95], [95, 191, 127], [95, 191, 159], [95, 191, 191], [95, 159, 191], [95, 127, 191], [95, 95, 191], [127, 95, 191], [159, 95, 191], [191, 95, 191], [191, 95, 159], [191, 95, 127], [191, 95, 95],      [145, 145, 144], [191, 106, 63], [191, 148, 63], [191, 191, 63], [148, 191, 63], [106, 191, 63], [63, 191, 63], [63, 191, 106], [63, 191, 148], [63, 191, 191], [63, 148, 191], [63, 106, 191], [63, 63, 191], [106, 63, 191], [148, 63, 191], [191, 63, 191], [191, 63, 148], [191, 63, 106], [191, 63, 63],      [109, 109, 109], [255, 85, 0], [255, 170, 0], [255, 255, 0], [170, 255, 0], [84, 255, 0], [0, 255, 0], [0, 255, 84], [0, 255, 170], [0, 255, 255], [0, 169, 255], [0, 85, 255], [0, 0, 255], [85, 0, 255], [169, 0, 255], [254, 0, 255], [255, 0, 170], [255, 0, 85], [255, 0, 0],      [72, 72, 68], [191, 63, 0], [191, 127, 0], [191, 191, 0], [127, 191, 0], [63, 191, 0], [0, 191, 0], [0, 191, 63], [0, 191, 127], [0, 191, 191], [0, 127, 191], [0, 63, 191], [0, 0, 191], [63, 0, 191], [127, 0, 191], [191, 0, 191], [191, 0, 127], [191, 0, 63], [191, 0, 0],      [36, 36, 36], [127, 42, 0], [127, 85, 0], [127, 127, 0], [85, 127, 0], [42, 127, 0], [0, 127, 0], [0, 127, 42], [0, 127, 85], [0, 127, 127], [0, 84, 127], [0, 42, 127], [0, 0, 127], [42, 0, 127], [84, 0, 127], [127, 0, 127], [127, 0, 85], [127, 0, 42], [127, 0, 0]    ],

outfiter_GET = {}, outfiter_aframes, outfiter_images_loaded = [false, false], outfiter_atime, outfiter_acurrent = 0, //default outfiter options outfiter_def = {outfit: 0, addon1: false, addon2: false, female: false, facing: 1, c1: 0, c2: 0, c3: 0, c4: 0, soft: true, animate: false, sanim: false, hpbar: false, charn: '', mount: 0}, outfiter_def_template = {outfit: 0, addon1: false, addon2: false, female: false, facing: 2, c1: 0, c2: 0, c3: 0, c4: 0, soft: false, animate: false, sanim: false, hpbar: false, charn: '', mount: 0}, //long name and short name options that can be used outfiter_opt_names = {outfit: 'o', addon1: 'a1', addon2: 'a2', female: 'fm', facing: 'f', c1: 'c1', c2: 'c2', c3: 'c3', c4: 'c4', soft: 's', animate: 'a', sanim: 'sa', hpbar: 'h', charn: 'n', mount: 'm'}, outfiter_opt_namesr = {o: 'outfit', a1: 'addon1', a2: 'addon2', fm: 'female', f: 'facing', c1: 'c1', c2: 'c2', c3: 'c3', c4: 'c4', s: 'soft', a: 'animate', sa: 'sanim', h: 'hpbar', n: 'charn', m: 'mount'},

outfiter_title = '',/*fix for wikia*/ /*APNG support*/ outfiter_apng_supported,

ogebi = function (classname, all) { return $this_main.find(all === 1 ? classname : '.' + classname); },

/* canvases */ $canvas_main = ogebi('canvas_main'), $canvas_mount = ogebi('canvas_mount'), $canvas_work = ogebi('canvas_work'), $canvas_zoom = ogebi('canvas_zoom'),

//get options from url "search" outfiter_get_get = function { var i, key, assign, array = window.location.search.substring(1).split(/&|;/); /*URLs can be like either "sample.html?test1=hi&test2=bye" or "sample.html?test1=hi;test2=bye"*/ for (i = 0; i < array.length; i++) { if (array[i] !== '') {/*if no data, keep going*/ assign = array[i].indexOf('='); if (array[i].substr(0, 5) === 'title') { outfiter_title = array[i].substring(assign + 1); }/*fix for wikia*/ else { key = assign === -1 ? array[i] : array[i].substring(0, assign); if (outfiter_opt_namesr[key] !== undefined || outfiter_def[key] === undefined) { if (outfiter_opt_namesr[key] !== 'undefined') { key = outfiter_opt_namesr[key]; } if (assign === -1) { outfiter_GET[key] = true; }/*if no value, treat as true*/ else { outfiter_GET[key] = decodeURIComponent(decodeURI(array[i].substring(assign + 1))); if (outfiter_GET[key] === 'true') { outfiter_GET[key] = true; } else if (outfiter_GET[key] === 'false' || outfiter_GET[key] === '!') { outfiter_GET[key] = false; } }           }          }        }      }    },    //generate url for current options outfiter_gen_url = function { var l = location.protocol + '//' + location.host + location.pathname + '?', basea = l.split('?'), base = basea[0], params = '?', opt; if (outfiter_title !== '') { params += 'title=' + outfiter_title + '&'; }/*fix for wikia*/ for (opt in outfiter_def) { if (outfiter_def.hasOwnProperty(opt)) { if (outfiter_GET[opt] !== outfiter_def[opt]) { params += outfiter_opt_names[opt] + (typeof outfiter_GET[opt] === 'boolean' ? (outfiter_GET[opt] === true ? '' : '=!') : '=' + outfiter_GET[opt]) + '&'; } } }     while (params.substr(-1) === '&') { params = params.substr(0, params.length - 1); } ogebi('url_input').val(encodeURI(base + (params.length > 1 ? params : ''))); },   //generate template code for current options outfiter_gen_template = function { var params = [], opt; for (opt in outfiter_def_template) { if (outfiter_def_template.hasOwnProperty(opt)) { if (outfiter_GET[opt] !== outfiter_def_template[opt]) { params.push(opt + '=' + outfiter_GET[opt]); } } }     params.push('height=' + (outfiter_GET.soft ? 128 : 64));     params.push('width=' + $canvas_zoom.attr('width')); return params.join('|'); },   //get options from currently selected options outfiter_options_to_get = function { var opt; for (opt in outfiter_GET) { if (outfiter_GET.hasOwnProperty(opt)) { if (typeof outfiter_GET[opt] === 'boolean') { outfiter_GET[opt] = ogebi(opt).is(':checked'); } else if (typeof outfiter_def[opt] === 'number') { outfiter_GET[opt] = parseInt(encodeURIComponent(ogebi(opt).val), 10); } else { outfiter_GET[opt] = encodeURIComponent(ogebi(opt).val); } } }    },    //help other functions to handle default parameters outfiter_parameters_get = function (defp, par) { var attrname; if ((typeof par) !== 'object') { par = defp; } else { for (attrname in defp) { if (defp.hasOwnProperty(attrname)) { if (!par.hasOwnProperty(attrname)) { par[attrname] = defp[attrname]; } } } } return par; },   //get pixel data from canvases outfiter_pixels_get_sub = function (par) { par = outfiter_parameters_get({x: 0, y: 0, w: 64, h: 64, src: 'main', pink: true}, par); var big_canvas, context, r, p, m,       is_4096h = outfiter_4096h[outfiter_names[outfiter_GET.outfit]] === true; big_canvas = ogebi('canvas_' + par.src)[0]; context = big_canvas.getContext('2d'); r = context.getImageData(       (is_4096h && par.y >= 64 ? (Math.floor(par.y / 64) * 8) + par.x : par.x) * par.w,       (is_4096h && par.y >= 64 ? par.y - 64 : par.y) * par.h,       par.w,        par.h      ); if (par.pink) { p = 0; m = r.width * r.height * 4; while (p < m) { if (r.data[p] === 255 && r.data[p + 1] === 0 && r.data[p + 2] === 255) { r.data[p + 3] = 0; } p += 4; } }     return r;    }, //merge pixel data outfiter_pixels_merge = function (bottom, top) { if (bottom === false) { return top; } if (top === false) { return bottom; } var i,       bpix = bottom.data, tpix = top.data, p = bottom.width * bottom.height, pixr = p * 4, pixg, pixb, pixa, r1, g1, b1, a1, res = $canvas_work[0].getContext('2d').createImageData(bottom.width, bottom.height), rpix; rpix = res.data; if (rpix.set) { rpix.set(bpix); } else { for (i = 0; i < bpix.length; i++) { rpix[i] = bpix[i];} } while (p--) { r1 = tpix[pixr -= 4]; g1 = tpix[pixg = pixr + 1]; b1 = tpix[pixb = pixr + 2]; a1 = tpix[pixa = pixr + 3]; if (a1 !== 0) { rpix[pixr] = r1; rpix[pixg] = g1; rpix[pixb] = b1; rpix[pixa] = a1; }     }      return res; },   //apply colors to pixel data outfiter_pixels_blend = function (main, blend) { var color_t = outfiter_color_t, c1 = outfiter_GET.c1, c2 = outfiter_GET.c2, c3 = outfiter_GET.c3, c4 = outfiter_GET.c4, bpix = blend.data, mpix = main.data, p = blend.width * blend.height, pixr = p * 4, pixg, pixb, r1, g1, b1; while (p--) { r1 = bpix[pixr -= 4]; g1 = bpix[pixg = pixr + 1]; b1 = bpix[pixb = pixr + 2]; /*change blend colors*/ if (r1 === 255 && g1 === 255 && b1 === 0) { r1 = color_t[c1][0]; g1 = color_t[c1][1]; b1 = color_t[c1][2]; } else if (r1 === 255 && g1 === 0 && b1 === 0) { r1 = color_t[c2][0]; g1 = color_t[c2][1]; b1 = color_t[c2][2]; } else if (r1 === 0 && g1 === 255 && b1 === 0) { r1 = color_t[c3][0]; g1 = color_t[c3][1]; b1 = color_t[c3][2]; } else if (r1 === 0 && g1 === 0 && b1 === 255) { r1 = color_t[c4][0]; g1 = color_t[c4][1]; b1 = color_t[c4][2]; } if (mpix[pixr] === 255 && mpix[pixg] === 0 && mpix[pixb] === 255) { mpix[pixb + 1] = 0; } if (!(r1 === 255 && g1 === 0 && b1 === 255)) { /*Multiply*/ mpix[pixr] = r1 * mpix[pixr] / 255; mpix[pixg] = g1 * mpix[pixg] / 255; mpix[pixb] = b1 * mpix[pixb] / 255; }     }      return main; },   //get outfit pixel data merged and colored outfiter_pixels_get_out = function (anim) { var pixel_data = false, noaddons = outfiter_a_names[outfiter_names[outfiter_GET.outfit]] === true, noride = outfiter_no_ride_names[outfiter_names[outfiter_GET.outfit]] === true, // Don't treat "other" outfits differently //mult_y = outfiter_GET.outfit >= 100 ? 1 : (noaddons ? 2 : 6), mult_y = (noaddons ? 1 : 3) * (noride ? 1 : 2), base_y = (outfiter_GET.mount ? (noaddons ? 1 : 3) : 0) + (anim * mult_y); base_y += (outfiter_GET.animate ?         (!outfiter_GET.sanim && outfiter_sprites_standing.hasOwnProperty(outfiter_names[outfiter_GET.outfit]) ? outfiter_sprites_standing[outfiter_names[outfiter_GET.outfit]] : 0 ) : 0) * mult_y; $.each([true, outfiter_GET.addon1, outfiter_GET.addon2], function (i, v) {       if (v) {          pixel_data = outfiter_pixels_merge( pixel_data, outfiter_pixels_blend(             outfiter_pixels_get_sub({x: outfiter_GET.facing * 2, y: base_y + i}),              outfiter_pixels_get_sub({x: outfiter_GET.facing * 2 + 1, y: base_y + i})            ) );       }      });      return pixel_data; },   //get mount pixel data merged and colored outfiter_pixels_get_mount = function (anim) { if (anim === undefined) { anim = 0; } var pixel_data = false, base_y_m; if (outfiter_GET.mount) { base_y_m = anim + (outfiter_GET.animate ?         (!outfiter_GET.sanim && outfiter_sprites_mount_standing.hasOwnProperty(outfiter_mount_names[outfiter_GET.mount]) ? outfiter_sprites_mount_standing[outfiter_mount_names[outfiter_GET.mount]] : 0 ) : 0       );        pixel_data = outfiter_pixels_get_sub({x: outfiter_GET.facing, y: base_y_m, src: 'mount'}); }     return pixel_data; },   //draw pixel data to a canvas outfiter_pixels_draw = function (par) { par = outfiter_parameters_get({$canvas: $canvas_work, pixels: false, x: 0, y: 0, clear: false, resize: false}, par); if (par.pixels === false) { return; } if (par.resize) { par.$canvas.attr({width: par.pixels.width, height: par.pixels.height}); } if (par.clear) { par.$canvas.attr({width: par.$canvas.attr('width'), height: par.$canvas.attr('height')}); } par.$canvas[0].getContext('2d').putImageData(par.pixels, par.x, par.y); },   //get the limits to horizontally crop pixel data outfiter_pixels_hlimits = function (pixels) { var ppix = pixels.data, x, y,       pixr, startx = false, endx = false; for (x = 0; x < pixels.width; x++) { for (y = 0; y < pixels.height; y++) { pixr = (y * pixels.width + x) * 4; if (ppix[pixr + 3] !== 0) { startx = x;           x = pixels.width; break; }       }        if (startx !== false) { break; } }     for (x = pixels.width; x >= 0; x--) { for (y = pixels.height; y >= 0; y--) { pixr = (y * pixels.width + x) * 4; if (ppix[pixr + 3] !== 0) { endx = x;           break; }       }        if (endx !== false) { break; } }     return (startx === false || endx === false) ? [0, pixels.width] : [startx, endx]; },   //horizontally crops or extends area of pixel data outfiter_pixels_hcrop_expand = function (pixels, left, right, min_width) { if (min_width === undefined) { min_width = false; } var ppix = pixels.data, npix, x, y,       pixr, npixr, new_pixels, neww = right - left, x_extra = min_width === false ? 0 : neww < min_width ? Math.floor((min_width - neww) / 2) : 0; new_pixels = $canvas_work[0].getContext('2d').createImageData(neww, pixels.height); npix = new_pixels.data; for (x = 0; x < neww; x++) { for (y = 0; y < pixels.height; y++) { pixr = (y * pixels.width + x + left) * 4; npixr = (y * neww + x) * 4; npix[npixr] = ppix[pixr]; npix[npixr + 1] = ppix[pixr + 1]; npix[npixr + 2] = ppix[pixr + 2]; npix[npixr + 3] = ppix[pixr + 3]; }     }      if (x_extra > 0) { $canvas_work.attr({width: min_width, height: pixels.height}); $canvas_work[0].getContext('2d').putImageData(new_pixels, x_extra, 0); new_pixels = $canvas_work[0].getContext('2d').getImageData(0, 0, min_width, pixels.height); }     return new_pixels; },   //toggle loading and some controls usability outfiter_hide_body = function (h) { if (h === true) { try { clearInterval(outfiter_atime); } catch (ignore) { } var i = ogebi('.body_main_div .body_main', 1), s = 'https://images.wikia.nocookie.net/tibia/en/images/8/81/Outfiter_Loading.gif'; if (i.attr('src') !== s) { ogebi('input', 1).filter(':button, :checkbox, :radio').attr('disabled', 'disabled'); i           .attr('src', '')/*Firefox fix*/ .attr('src', s); }       return; }     ogebi('input:disabled', 1).filter(':button, :checkbox, :radio').prop('disabled', false); },   //get mount or outfit images outfiter_get_ajax = function (name, type) { var rname = name, utype = type.substr(0, 1).toUpperCase + type.substr(1), t;     if (name === 'Gnome') { rname = name + (outfiter_GET.female ? '_Female' : ''); } t = window.location.host.match(/(tibia|dantest)\.wikia\.com/) ? /*For wikia*/ '/index.php?title=Outfiter/' + utype + '/' + rname + '&action=raw' : /*For local*/ 'base64/' + utype + '/' + rname + '.txt'; $.ajax({url: t, dataType: 'text', success: function (text) {       var          r = text.match(new RegExp('id="' + (rname.replace(/\(/, '\\(').replace(/\)/, '\\)')) + '">' + '([\\w\\W]*)' + '', 'i'));        if (r !== null) {          text = r[1].replace(/\s+/g, );          if (type === 'mount') { ogebi('mount_image').attr('src', ).attr('src', text); }          else { ogebi('main_image').attr('src', '').attr('src', text); }        }      }}); },   outfiter_load_outfit = function (param) { outfiter_options_to_get; var outfit = outfiter_GET.outfit, mount = outfiter_GET.mount, outfiter_n = outfiter_names[outfit], mount_n = outfiter_mount_names[mount], has_standing_animation_any = outfiter_sprites_standing.hasOwnProperty(outfiter_names[outfiter_GET.outfit]) || outfiter_sprites_mount_standing.hasOwnProperty(outfiter_mount_names[outfiter_GET.mount]);

if (outfiter_m_names[outfiter_n] === true || outfiter_mount_names[mount] === undefined) { mount = 0; ogebi('mount').val(0); mount_n = outfiter_mount_names[mount]; ogebi('radio_mounts_0').click; if (param === 'mount') { return; } outfiter_options_to_get; }     if (outfiter_u_names[outfiter_n] === true) { ogebi('female').prop('checked', false); if (param === 'female') { return; } outfiter_options_to_get; }     if (!has_standing_animation_any) { ogebi('sanim').prop('checked', false); outfiter_options_to_get; }     ogebi('radio_outfits_' + outfit).click; outfiter_hide_body(true); ogebi('outfit_name').html(       ((outfiter_GET.female && outfiter_f_names[outfiter_n]) ? outfiter_f_names[outfiter_n] : outfiter_n).replace(/_/g, ' ')); outfiter_images_loaded[1] = (mount === 0 ? true : false); outfiter_images_loaded[0] = false; if (mount !== 0) { outfiter_get_ajax(mount_n, 'mount'); } outfiter_get_ajax(outfiter_n, outfit >= 100 ? 'other' : (outfiter_GET.female ? 'female' : 'male')); },   outfiter_do_outfit = function (i, absolute) { outfiter_options_to_get; var get_outfit_pos = function (outfit) { var x;         for (x = 0; x < outfiter_names_sorted.length; x++) { if (outfit === outfiter_names_sorted[x]) { break; } } if (outfiter_names_sorted[x] !== undefined) { return x; } return -1; },       get_mount_pos = function (mount) { var x;         for (x = 0; x < outfiter_mount_names_sorted.length; x++) { if (mount === outfiter_mount_names_sorted[x]) { break; } } if (outfiter_mount_names_sorted[x] !== undefined) { return x; } return -1; },       mount = outfiter_GET.mount, mount_pos = get_mount_pos(outfiter_GET.mount), outfit = parseInt(ogebi('outfit').val, 10), outfit_pos = (absolute ? get_outfit_pos(i) : get_outfit_pos(outfit) + i), has_standing_animation; if (absolute === undefined) { absolute = false; } outfit = outfiter_names[outfiter_names_sorted[outfit_pos]]; mount = outfiter_mount_names[outfiter_mount_names_sorted[mount_pos]]; if (outfiter_names_sorted[outfit_pos] === undefined) { if (outfit_pos < 0) { outfit_pos = outfiter_names_sorted.length - 1; } else if (outfit_pos >= outfiter_names_sorted.length) { outfit_pos = 0; } }     ogebi('outfit').val(outfiter_names_sorted[outfit_pos]); if (outfiter_a_names[outfit] === true) { ogebi('addon1').prop('checked', false); ogebi('addon2').prop('checked', false); }     else if (outfiter_o_names[outfit] === true) { if (ogebi('addon1').is(':checked')) { ogebi('addon2').prop('checked', false); } else if (ogebi('addon2').is(':checked')) { ogebi('addon1').prop('checked', false); } }     if (outfiter_m_names[outfit] === true || outfiter_mount_names[mount_pos] === undefined) { ogebi('radio_mounts_0').click; outfiter_options_to_get; mount = outfiter_GET.mount; mount_pos = get_mount_pos(mount); }     if (ogebi('sanim').is(':checked')) { has_standing_animation = outfiter_sprites_standing.hasOwnProperty(outfit) || outfiter_sprites_mount_standing.hasOwnProperty(mount); if (!has_standing_animation) { ogebi('sanim').prop('checked', false); } }     outfiter_load_outfit; },   outfiter_animate_char = function  { outfiter_acurrent++; if (       outfiter_acurrent >= outfiter_aframes.length      ) { outfiter_acurrent = 0; } if (!ogebi('animate').is(':checked')) { return; } ogebi('.body_main_div .body_main', 1).attr('src', '').attr('src', outfiter_aframes[outfiter_acurrent]); },   greatest_common_factor = function (x, y) { var a = Math.max(x, y), b = Math.min(x, y), c = 1, res; do { c = a % b;       // capture last value of $b as the potential last GCF result res = b;       // if $c did not = 0 we need to repeat with the values held in $b and $c // at this point $b is higher than $c so we set up for the next iteration // set $a to the higher number and $b to the lower number a = b;       b = c;      } while (c !== 0); return res; },   least_common_multiple = function (x, y) { return (x * y) / greatest_common_factor(x, y); },   outfiter_outfit_speed = function  { var res = 504 / (outfiter_sprites_walking.hasOwnProperty(outfiter_names[outfiter_GET.outfit]) ?         outfiter_sprites_walking[outfiter_names[outfiter_GET.outfit]] :          8        ); return res; },   outfiter_do_display2 = function  { var outfiter_readCookie = function (name) { var i, c, cl = document.cookie.split(';'); for (i = 0; i < cl.length; i++) { c = $.trim(cl[i]); if (c.indexOf(name + '=') === 0) { return c.substring(name.length + 1); } } return null; }, outfiter_letters = { 'À': [0, 5, 9], 'Á': [1, 5, 9], 'Â': [2, 5, 9], 'Ã': [3, 5, 9], 'Ä': [4, 5, 9], 'Å': [5, 5, 9], 'Æ': [6, 5, 10], 'Ç': [7, 5, 8], 'È': [8, 5, 8], 'É': [9, 5, 8], 'Ê': [10, 5, 8], 'Ë': [11, 5, 8], 'Ì': [12, 5, 6], 'Í': [13, 5, 6], 'Î': [14, 5, 6], 'Ï': [15, 5, 6], 'Ð': [16, 5, 10], 'Ñ': [17, 5, 9], 'Ò': [18, 5, 9], 'Ó': [19, 5, 9], 'Ô': [20, 5, 9], 'Õ': [21, 5, 9], 'Ö': [22, 5, 9], '×': [23, 5, 7], 'Ø': [24, 5, 9], 'Ù': [25, 5, 9], 'Ú': [26, 5, 9], 'Û': [27, 5, 9], 'Ü': [28, 5, 9], 'Ý': [29, 5, 8], 'Þ' : [30, 5, 8], 'ß': [31, 5, 8], 'à': [0, 6, 8], 'á': [1, 6, 8], 'â': [2, 6, 8], 'ã': [3, 6, 8], 'ä': [4, 6, 8], 'å': [5, 6, 8], 'æ': [6, 6, 9], 'ç': [7, 6, 7], 'è': [8, 6, 8], 'é': [9, 6, 8], 'ê': [10, 6, 8], 'ë': [11, 6, 8], 'ì': [12, 6, 5], 'í': [13, 6, 5], 'î': [14, 6, 6], 'ï': [15, 6, 6], 'ð': [16, 6, 8], 'ñ': [17, 6, 8], 'ò': [18, 6, 8], 'ó': [19, 6, 8], 'ô': [20, 6, 8], 'õ': [21, 6, 8], 'ö': [22, 6, 8], '÷': [23, 6, 8], 'ø': [24, 6, 8], 'ù': [25, 6, 8], 'ú': [26, 6, 8], 'û': [27, 6, 8], 'ü': [28, 6, 8], 'ý': [29, 6, 8], 'þ': [30, 6, 8], 'ÿ': [31, 6, 8], ' ': [0, 0, 4],         '@': [0, 1, 9], 'A': [1, 1, 9], 'B': [2, 1, 8], 'C': [3, 1, 8], 'D': [4, 1, 9], 'E': [5, 1, 8], 'F': [6, 1, 8], 'G': [7, 1, 9], 'H': [8, 1, 9], 'I': [9, 1, 6], 'J': [10, 1, 7], 'K': [11, 1, 8], 'L': [12, 1, 8], 'M': [13, 1, 10], 'N': [14, 1, 9], 'O': [15, 1, 9], 'P': [16, 1, 8], 'Q': [17, 1, 9], 'R': [18, 1, 9], 'S': [19, 1, 8], 'T': [20, 1, 10], 'U': [21, 1, 9], 'V': [22, 1, 8], 'W': [23, 1, 10], 'X': [24, 1, 8], 'Y': [25, 1, 8], 'Z': [26, 1, 8], "'": [0, 2, 4], 'a': [1, 2, 8], 'b': [2, 2, 8], 'c': [3, 2, 7], 'd': [4, 2, 8], 'e': [5, 2, 8], 'f': [6, 2, 7], 'g': [7, 2, 8], 'h': [8, 2, 8], 'i': [9, 2, 4], 'j': [10, 2, 6], 'k': [11, 2, 8], 'l': [12, 2, 4], 'm': [13, 2, 10], 'n': [14, 2, 8], 'o': [15, 2, 8], 'p': [16, 2, 8], 'q': [17, 2, 8], 'r': [18, 2, 7], 's': [19, 2, 7], 't': [20, 2, 7], 'u': [21, 2, 8], 'v': [22, 2, 8], 'w': [23, 2, 10], 'x': [24, 2, 8], 'y': [25, 2, 8], 'z': [26, 2, 7] },       af_o = outfiter_GET.animate ? (outfiter_GET.sanim ?           (outfiter_sprites_standing.hasOwnProperty(outfiter_names[outfiter_GET.outfit]) ? outfiter_sprites_standing[outfiter_names[outfiter_GET.outfit]] : 1 ) :           (outfiter_sprites_walking.hasOwnProperty(outfiter_names[outfiter_GET.outfit]) ? outfiter_sprites_walking[outfiter_names[outfiter_GET.outfit]] : 8 )         ) : 0,        af_m = outfiter_GET.mount ? (outfiter_GET.animate ?           (outfiter_GET.sanim ? (outfiter_sprites_mount_standing.hasOwnProperty(outfiter_mount_names[outfiter_GET.mount]) ?               outfiter_sprites_mount_standing[outfiter_mount_names[outfiter_GET.mount]] : 1              ) : (outfiter_sprites_mount_walking.hasOwnProperty(outfiter_mount_names[outfiter_GET.mount]) ?               outfiter_sprites_mount_walking[outfiter_mount_names[outfiter_GET.mount]] : 8              ) ) : 0         ) : af_o, done = false, af = (af_o === 0 || af_m === 0) ? 0 : least_common_multiple(af_o, af_m), afi, frames = [], frames_o = [], frames_m = [], pos_o, pos_m, limit_left = false, limit_right = false, pixel_data, ctx_zoom, neww, output_image, //name vars bar_xpos = outfiter_GET.soft ? (outfiter_GET.outfit === 103 ? 44 : 82) : (outfiter_GET.outfit === 103 ? 16 : 34), namew, name_center = bar_xpos + 13, name_left, name_right, char_name = decodeURI(outfiter_GET.charn).split(''), lastpos, has_standing_animation_o = outfiter_GET.animate && outfiter_sprites_standing.hasOwnProperty(outfiter_names[outfiter_GET.outfit]), has_standing_animation_m = outfiter_GET.animate && outfiter_sprites_mount_standing.hasOwnProperty(outfiter_mount_names[outfiter_GET.mount]), has_standing_animation_any = outfiter_sprites_standing.hasOwnProperty(outfiter_names[outfiter_GET.outfit]) || outfiter_sprites_mount_standing.hasOwnProperty(outfiter_mount_names[outfiter_GET.mount]), draw_text_char = function (i) { var v = char_name[i]; if (outfiter_letters.hasOwnProperty(v)) { ctx_zoom.drawImage(             ogebi('letters_image')[0],              outfiter_letters[v][0] * 16, outfiter_letters[v][1] * 16, outfiter_letters[v][2], 15,              lastpos, (outfiter_GET.soft ? 48 : 16), outfiter_letters[v][2], 15           ); lastpos += outfiter_letters[v][2] - 1; }       },        namew_add = function (i) { if (outfiter_letters.hasOwnProperty(char_name[i])) { namew += outfiter_letters[char_name[i]][2] - 1; } }; //clean saved image frames outfiter_aframes = []; //clear canvases $canvas_main.attr({width: $canvas_main.attr('width'), height: $canvas_main.attr('height')}); $canvas_mount.attr({width: $canvas_mount.attr('width'), height: $canvas_mount.attr('height')}); //fill canvases with images try { $canvas_main[0].getContext('2d').drawImage(ogebi('main_image')[0], 0, 0); } catch (ignore) {/*Firefox fix*/} try { $canvas_mount[0].getContext('2d').drawImage(ogebi('mount_image')[0], 0, 0); } catch (ignore) {/*Firefox fix*/} ctx_zoom = $canvas_zoom[0].getContext('2d'); //getting animation frames for (afi = 0; afi < af || (af === 0 && done === false); afi++) { //get basic data if (af === 0) { pixel_data = outfiter_pixels_merge(outfiter_pixels_get_mount(0), outfiter_pixels_get_out(0)); done = true; }       else { pos_o = (afi % af_o) + (has_standing_animation_o ? 0 : (outfiter_GET.sanim ? 0 : 1));        pos_m = (afi % af_m) + (has_standing_animation_m ? 0 : (outfiter_GET.sanim ? 0 : 1)); //console.log({afi: afi, pos_o: pos_o, pos_m: pos_m}); if (!frames_m[pos_m]) { frames_m[pos_m] = outfiter_pixels_get_mount(pos_m); } if (!frames_o[pos_o]) { frames_o[pos_o] = outfiter_pixels_get_out(pos_o); } pixel_data = outfiter_pixels_merge(frames_m[pos_m], frames_o[pos_o]); }       //draw normal outfiter_pixels_draw({pixels: pixel_data, clear: true}); //draw zoomed $canvas_zoom.attr({width: outfiter_GET.soft ? 128 : 64, height: outfiter_GET.soft ? 128 : 64}); ctx_zoom.drawImage(         $canvas_work[0],          0, 0, 64, 64,          0, 0, outfiter_GET.soft ? 128 : 64, outfiter_GET.soft ? 128 : 64        ); pixel_data = ctx_zoom.getImageData(0, 0, parseInt($canvas_zoom.attr('width'), 10), parseInt($canvas_zoom.attr('height'), 10)); //hp bar if (outfiter_GET.hpbar) { ctx_zoom.drawImage(           ogebi('hp_bar')[0],            0, 0, 64, 64,            bar_xpos, outfiter_GET.soft ? 60 : 28, 64, 64          ); pixel_data = ctx_zoom.getImageData(0, 0, parseInt($canvas_zoom.attr('width'), 10), parseInt($canvas_zoom.attr('height'), 10)); }       //name if (outfiter_GET.charn !== '') { namew = 0; name_left = 0; name_right = 0; //get total length $.each(char_name, namew_add); namew += 1; //resize canvas if needed and set start position if (parseInt($canvas_zoom.attr('width'), 10) - name_center < namew / 2) { name_right = Math.ceil((namew / 2) - (parseInt($canvas_zoom.attr('width'), 10) - name_center)); } if (name_center < namew / 2) { name_left = Math.ceil((namew / 2) - name_center); } $canvas_zoom.attr('width', parseInt($canvas_zoom.attr('width'), 10) + name_left + name_right); outfiter_pixels_draw({$canvas: $canvas_zoom, pixels: pixel_data, x: name_left, clear: false}); lastpos = name_center + name_left - Math.floor(namew / 2); //draw the text $.each(char_name, draw_text_char); pixel_data = ctx_zoom.getImageData(0, 0, parseInt($canvas_zoom.attr('width'), 10), parseInt($canvas_zoom.attr('height'), 10)); }

//save frame pixel_data frames[afi] = pixel_data; }

//get limits $.each(frames, function (i) {       var          limits = outfiter_pixels_hlimits(frames[i]);        limit_left = limit_left === false ? limits[0] : Math.min(limits[0], limit_left);        limit_right = limit_right === false ? limits[1] : Math.max(limits[1], limit_right);      }); //crop/expand to limits (frames & outfiter_aframes) $.each(frames, function (i) {       frames[i] = outfiter_pixels_hcrop_expand(frames[i], limit_left, limit_right, outfiter_GET.soft ? 128 : 64);       outfiter_pixels_draw({$canvas: $canvas_zoom, pixels: frames[i], resize: true});        outfiter_aframes[i] = $canvas_zoom[0].toDataURL;      }); //output the image output_image = outfiter_aframes[0]; if (outfiter_GET.animate) { if (outfiter_readCookie('outfiter_apng_warn') !== 'done') { if (outfiter_apng_supported) { alert("APNG has been enabled, you can save the animated image, but you can only see it animated on updated versions of Firefox and Opera(pre 15.0)"); } else { alert("APNG not supported, you can't save animated image, you need to use updated Firefox or Opera(pre 15.0) to be able to save animated image"); } var date = new Date; date.setTime(date.getTime + (10 * 24 * 60 * 60 * 1000)); date = date.toGMTString; document.cookie = 'outfiter_apng_warn=done; expires=' + date + '; path=/'; }       if (outfiter_apng_supported) { /*APNG support functions*/ var keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", encode64 = function (b) { var c = []; var a, d, f; var e, j, h, i; var g = 0; do { a = b[g++]; d = b[g++]; f = b[g++]; e = a >> 2; j = ((a & 3) << 4) | (d >> 4); h = ((d & 15) << 2) | (f >> 6); i = f & 63; if (isNaN(d)) { h = i = 64; } else if (isNaN(f)) { i = 64; } c = c + keyStr.charAt(e) + keyStr.charAt(j) + keyStr.charAt(h) + keyStr.charAt(i); } while (g < b.length); return c; }, decode64 = function (b) { var c = []; var a, d, f; var e, j, h, i; var g = 0; do {e = keyStr.indexOf(b[g++]); j = keyStr.indexOf(b[g++]); h = keyStr.indexOf(b[g++]); i = keyStr.indexOf(b[g++]); a = (e << 2) | (j >> 4); d = ((j & 15) << 4) | (h >> 2); f = ((h & 3) << 6) | i; c[c.length] = a; if (h !== 64) {c[c.length] = d; } if (i !== 64) { c[c.length] = f; } } while (g < b.length); return c; }, bin2int = function (b) { var c, a, d = 0; for (a = c = b.length - 1; a >= 0; a--) {d += b[a] * Math.pow(256, c - a); } return d; }, int2bin = function (b, c) { if (c === undefined) { c = 4; } var a = b, d = [], f = 0, e; while (a > 255) { a = Math.floor(a / 256); f++; } for (e = f; e >= 0; e--) { a = Math.floor(b / Math.pow(256, e)); d[d.length] = a; b = b - (a * Math.pow(256, e)); } while (d.length < c) { d = [0].concat(d); } return d; }, crc32 = function (g) { var a, d = "00000000 77073096 EE0E612C 990951BA 076DC419 706AF48F E963A535 9E6495A3 0EDB8832 79DCB8A4 E0D5E91E 97D2D988 09B64C2B 7EB17CBD E7B82D07 90BF1D91 1DB71064 6AB020F2 F3B97148 84BE41DE 1ADAD47D 6DDDE4EB F4D4B551 83D385C7 136C9856 646BA8C0 FD62F97A 8A65C9EC 14015C4F 63066CD9 FA0F3D63 8D080DF5 3B6E20C8 4C69105E D56041E4 A2677172 3C03E4D1 4B04D447 D20D85FD A50AB56B 35B5A8FA 42B2986C DBBBC9D6 ACBCF940 32D86CE3 45DF5C75 DCD60DCF ABD13D59 26D930AC 51DE003A C8D75180 BFD06116 21B4F4B5 56B3C423 CFBA9599 B8BDA50F 2802B89E 5F058808 C60CD9B2 B10BE924 2F6F7C87 58684C11 C1611DAB B6662D3D 76DC4190 01DB7106 98D220BC EFD5102A 71B18589 06B6B51F 9FBFE4A5 E8B8D433 7807C9A2 0F00F934 9609A88E E10E9818 7F6A0DBB 086D3D2D 91646C97 E6635C01 6B6B51F4 1C6C6162 856530D8 F262004E 6C0695ED 1B01A57B 8208F4C1 F50FC457 65B0D9C6 12B7E950 8BBEB8EA FCB9887C 62DD1DDF 15DA2D49 8CD37CF3 FBD44C65 4DB26158 3AB551CE A3BC0074 D4BB30E2 4ADFA541 3DD895D7 A4D1C46D D3D6F4FB 4369E96A 346ED9FC AD678846 DA60B8D0 44042D73 33031DE5 AA0A4C5F DD0D7CC9 5005713C 270241AA BE0B1010 C90C2086 5768B525 206F85B3 B966D409 CE61E49F 5EDEF90E 29D9C998 B0D09822 C7D7A8B4 59B33D17 2EB40D81 B7BD5C3B C0BA6CAD EDB88320 9ABFB3B6 03B6E20C 74B1D29A EAD54739 9DD277AF 04DB2615 73DC1683 E3630B12 94643B84 0D6D6A3E 7A6A5AA8 E40ECF0B 9309FF9D 0A00AE27 7D079EB1 F00F9344 8708A3D2 1E01F268 6906C2FE F762575D 806567CB 196C3671 6E6B06E7 FED41B76 89D32BE0 10DA7A5A 67DD4ACC F9B9DF6F 8EBEEFF9 17B7BE43 60B08ED5 D6D6A3E8 A1D1937E 38D8C2C4 4FDFF252 D1BB67F1 A6BC5767 3FB506DD 48B2364B D80D2BDA AF0A1B4C 36034AF6 41047A60 DF60EFC3 A867DF55 316E8EEF 4669BE79 CB61B38C BC66831A 256FD2A0 5268E236 CC0C7795 BB0B4703 220216B9 5505262F C5BA3BBE B2BD0B28 2BB45A92 5CB36A04 C2D7FFA7 B5D0CF31 2CD99E8B 5BDEAE1D 9B64C2B0 EC63F226 756AA39C 026D930A 9C0906A9 EB0E363F 72076785 05005713 95BF4A82 E2B87A14 7BB12BAE 0CB61B38 92D28E9B E5D5BE0D 7CDCEFB7 0BDBDF21 86D3D2D4 F1D4E242 68DDB3F8 1FDA836E 81BE16CD F6B9265B 6FB077E1 18B74777 88085AE6 FF0F6A70 66063BCA 11010B5C 8F659EFF F862AE69 616BFFD3 166CCF45 A00AE278 D70DD2EE 4E048354 3903B3C2 A7672661 D06016F7 4969474D 3E6E77DB AED16A4A D9D65ADC 40DF0B66 37D83BF0 A9BCAE53 DEBB9EC5 47B2CF7F 30B5FFE9 BDBDF21C CABAC28A 53B39330 24B4A3A6 BAD03605 CDD70693 54DE5729 23D967BF B3667A2E C4614AB8 5D681B02 2A6F2B94 B40BBE37 C30C8EA1 5A05DF1B 2D02EF8D", c, e = 0, b = 0, h = 0; e = e ^ (-1); for (c = 0, a = g.length; c < a; c++) { h = (e ^ g[c]) & 255; b = "0x" + d.substr(h * 9, 8); e = (e >>> 8) ^ b; } e = e ^ (-1); return e < 0 ? 4294967296 + e : e; }, chunks = { sign1: int2bin(2303741511), sign2: int2bin(218765834), ihdr1: int2bin(1229472850), actl: int2bin(1633899596), fctl: int2bin(1717785676), idat: int2bin(1229209940), fdat: int2bin(1717846356), iend: int2bin(1229278788) },           head, ihdr, actl, pre_sprites, sprites = [], iend; head = chunks.sign1.concat(chunks.sign2); ihdr = chunks.ihdr1.concat(           int2bin(frames[0].width),//width            int2bin(frames[0].height),//height            int2bin(8, 1),//8 bit depth            int2bin(6, 1),//Truecolour with alpha            int2bin(0, 1),//Compression method            int2bin(0, 1),//Filter method            int2bin(0, 1)//Interlace method, 0 = no interlace          ); ihdr = int2bin(13).concat(ihdr, int2bin(crc32(ihdr))); actl = chunks.actl.concat(           int2bin(frames.length),//Number of frames            int2bin(0)//Number of times to loop this APNG.  0 indicates infinite looping.          ); actl = int2bin(8).concat(actl, int2bin(crc32(actl))); pre_sprites = head.concat(ihdr, actl); $.each(outfiter_aframes, function (i, v) {           var              bytes_array = decode64(v.replace('data:image/png;base64,', '')),              idat_positions = [],              fctl,              data,              idat_fdat,              is_idat = i === 0;            //find IDATs and add position            $.each(bytes_array, function (j, this_byte) { if (this_byte === 73 && bytes_array[j + 1] === 68 && bytes_array[j + 2] === 65 && bytes_array[j + 3] === 84) { idat_positions.push(j); } });           //frame control chunk            fctl = chunks.fctl.concat( int2bin(Math.max(0, i * 2 - 1)),//Sequence number of the animation chunk int2bin(frames[0].width),//width int2bin(frames[0].height),//height int2bin(0),//x_offset int2bin(0),//_offset int2bin(outfiter_outfit_speed, 2),//Frame delay fraction numerator int2bin(1000, 2),//Frame delay fraction denominator int2bin(1, 1),//dispose_op: 1 = APNG_DISPOSE_OP_BACKGROUND int2bin(1, 1)//blend_op: 1 = APNG_BLEND_OP_OVER );           fctl = int2bin(26).concat(fctl, int2bin(crc32(fctl)));            //reading and merging IDATs            data = [];            $.each(idat_positions, function (k) { var size = bin2int(bytes_array.slice(idat_positions[k] - 4, idat_positions[k])); data = data.concat(bytes_array.slice(idat_positions[k] + 4, size + idat_positions[k] + 4)); });           //idat or fdat            if (is_idat) { idat_fdat = chunks.idat.concat(data); }            else {              idat_fdat = chunks.fdat.concat( int2bin(i * 2),//Sequence number of the animation chunk data );           }            idat_fdat = int2bin(data.length + (is_idat ? 0 : 4)).concat(idat_fdat, int2bin(crc32(idat_fdat)));            sprites = sprites.concat(fctl, idat_fdat);          });

iend = chunks.iend; iend = int2bin(0).concat(iend, int2bin(crc32(iend)));

output_image = 'data:image/png;base64,' + encode64(pre_sprites.concat(sprites, iend)); }       else { //console.log('running at interval: ' + outfiter_outfit_speed); outfiter_atime = setInterval(outfiter_animate_char, outfiter_outfit_speed); }     }      neww = frames[0].width * (outfiter_GET.soft ? 1 : 2); ogebi('body_main_div').css({width: neww + 10}); ogebi('.body_main_div .body_main', 1) .attr('src', '')/*Firefox fix*/ .attr({         src: output_image,          width: neww        }) .css({width: neww}); //template_code ogebi('template_code_code').remove; if (ogebi('template_code').is(':checked')) { ogebi('div0').append(         $(' ', {'class': 'div4 pushed template_code_code', rows: 3, cols: 40}).text( ''         )        );      }      //animation steps ogebi('anistep_step').remove; if (ogebi('anistep').is(':checked')) { $.each(outfiter_aframes, function (i, v) {         ogebi('div0').append( $(' ', {'class': 'div4 pushed body_main anistep_step'}).append(             $(' ', {alt: 'Animation step ' + i, title: 'Animation step ' + i, width: 128, height: 128, src: v})            ) );       });      }      //hide loading outfiter_hide_body(false); //update checkboxes ogebi('female').parent.toggleClass('disabled', outfiter_u_names[outfiter_names[outfiter_GET.outfit]] === true); ogebi('.addon1, .addon2', 1).parent.toggleClass('disabled', outfiter_a_names[outfiter_names[outfiter_GET.outfit]] === true); ogebi('sanim').parent.toggleClass('disabled', !has_standing_animation_any); //update url outfiter_gen_url; },   outfiter_do_display = function  { outfiter_options_to_get; outfiter_hide_body(true); try { clearInterval(outfiter_atime); } catch (ignore) { } setTimeout(function {        //try {          outfiter_do_display2;        //} catch (e) { alert('Browser not compatible, try latest Firefox/Opera/Chrome'); }      }, 1); },   outfiter_do_addon = function (id) { var tmp, has_standing_animation; if (outfiter_a_names[outfiter_names[outfiter_GET.outfit]] === true) { ogebi('addon1').prop('checked', false); ogebi('addon2').prop('checked', false); if (id > 0) { return; } }     else if (outfiter_o_names[outfiter_names[outfiter_GET.outfit]] === true) { tmp = false; if (id > 0) { tmp = ogebi('addon' + id).is(':checked'); } ogebi('addon1').prop('checked', false); ogebi('addon2').prop('checked', false); if (tmp) { ogebi('addon' + id).attr('checked', 'checked'); } }     if (ogebi('sanim').is(':checked')) { has_standing_animation = outfiter_sprites_standing.hasOwnProperty(outfiter_names[outfiter_GET.outfit]) || outfiter_sprites_mount_standing.hasOwnProperty(outfiter_mount_names[outfiter_GET.mount]); if (!has_standing_animation) { ogebi('sanim').prop('checked', false); } if (!ogebi('animate').is(':checked')) { if ($(this).hasClass('animate')) { ogebi('sanim').prop('checked', false); } else if ($(this).hasClass('sanim')) { ogebi('animate').prop('checked', true); } }     }      if (outfiter_m_names[outfiter_names[outfiter_GET.outfit]] === true) { ogebi('mount').val(0); ogebi('radio_mounts_0').click; } outfiter_do_display; },   outfiter_do_facing = function (i) { var facing = parseInt(ogebi('facing').val, 10) + parseInt(i, 10); if (facing < 0) { facing = 3; } else if (facing > 3) { facing = 0; } ogebi('facing').val(facing); outfiter_do_display; },   outfiter_init = function  { /* Populating mounts list */ $.each(outfiter_mount_names, function (i, v) { if ($.inArray(i, outfiter_mount_names_extra) === -1) { outfiter_mount_names_sorted.push([i, v]); } }); outfiter_mount_names_sorted.sort(function (a, b) { if (a[1] < b[1] || a[0] === 0) { return -1; } if (a[1] > b[1] || b[0] === 0) { return 1; } return 0; }); $.each(outfiter_mount_names_sorted, function (i, v) { outfiter_mount_names_sorted[i] = v[0]; }); outfiter_mount_names_sorted = outfiter_mount_names_sorted.concat(outfiter_mount_names_extra); /* Populating outfits list */ $.each(outfiter_names, function (i, v) {       if (v !== undefined && $.inArray(i, outfiter_names_extra) === -1) { outfiter_names_sorted.push([i, v]); } }); outfiter_names_sorted.sort(function (a, b) { if (a[1] < b[1]) { return -1; } if (a[1] > b[1]) { return 1; } return 0; }); $.each(outfiter_names_sorted, function (i, v) { outfiter_names_sorted[i] = v[0]; }); outfiter_names_sorted = outfiter_names_sorted.concat(outfiter_names_extra);

/*Get options from url*/ outfiter_get_get; var opt; for (opt in outfiter_def) { if (outfiter_def.hasOwnProperty(opt)) { if (!outfiter_GET.hasOwnProperty(opt)) { outfiter_GET[opt] = outfiter_def[opt]; } if (typeof outfiter_GET[opt] === 'boolean' && outfiter_GET[opt]) { ogebi(opt).attr('checked', 'checked'); } else { ogebi(opt).val(outfiter_GET[opt]); } } }   /*Prepare color table*/ var d2h = function (d) { d = d.toString(16); return d.length === 1 ? '0' + d : d; }; // var h2d = function (h) { return parseInt(h, 16); }; ogebi('dcolor_table div').removeClass('color_table_d_inv').addClass('color_table_d') .each(function (i) {       $(this).css('background-color', '#' + d2h(outfiter_color_t[i][0]) + d2h(outfiter_color_t[i][1]) + d2h(outfiter_color_t[i][2]));      }); ogebi('.cb_1, .cb_2, .cb_3, .cb_4', 1).click(function {        ogebi('.cb_1, .cb_2, .cb_3, .cb_4', 1).removeClass('pushed').addClass('unpushed');        $(this).removeClass('unpushed').addClass('pushed');        var          id = $(this).hasClass('cb_1') ? 1 : ($(this).hasClass('cb_2') ? 2 : ($(this).hasClass('cb_3') ? 3 : 4));       ogebi('.dcolor_table div', 1).removeClass('color_table_d_inv').addClass('color_table_d')          .filter(':eq(' + ogebi('.c' + id, 1).val + ')').removeClass('color_table_d').addClass('color_table_d_inv');      }); ogebi('cb_1').click; /*Check browser support*/ var comp = true, big_canvas = ogebi('canvas_main')[0], context; if (!big_canvas || !big_canvas.getContext) { comp = false; } else { context = big_canvas.getContext('2d'); if (!context || !context.getImageData || !context.putImageData || !context.drawImage) { comp = false; } }     if (!comp) { outfiter_hide_body(true); alert('Browser not compatible, try latest version of Firefox/Opera/Chrome');/*For wikia*/ return false; }     /*Prepare color table events*/ ogebi('.dcolor_table div', 1).click(function {        var          i = ogebi('cb_1').hasClass('pushed') ? 1 : (ogebi('cb_2').hasClass('pushed') ? 2 : (ogebi('cb_3').hasClass('pushed') ? 3 : 4));       ogebi('.dcolor_table div', 1).removeClass('color_table_d_inv').addClass('color_table_d');        $(this).removeClass('color_table_d').addClass('color_table_d_inv');        ogebi('c' + i).val($(this).index);        outfiter_do_addon;      });

/*APNG support*/ outfiter_apng_supported = false; var ua = navigator.userAgent; if (ua.search('Opera/') !== -1) { if (parseFloat(ua.slice(ua.search('Opera/') + 6)) > 9.5 && parseFloat(ua.slice(ua.search('Opera/') + 6)) < 15) { outfiter_apng_supported = true; } } else if (ua.search('Firefox/') !== -1) { if (parseFloat(ua.slice(ua.search('Firefox/') + 8)) > 3) { outfiter_apng_supported = true; } }

/*Images event*/ ogebi('.mount_image, .main_image', 1).each(function (i) {       $(this).load(function  { outfiter_images_loaded[i] = true; //resize canvases ogebi(i === 0 ? 'canvas_main' : 'canvas_mount').attr({height: $(this).height, width: $(this).width}); //process canvases if (outfiter_images_loaded[0] && outfiter_images_loaded[1]) { outfiter_do_display; } return true; });     });      /*Prepare radio lists*/ var x, t = $, toggle = true, border_top = false; for (x = 0; x < outfiter_names_sorted.length; x++) { if (outfiter_separator[outfiter_names[outfiter_names_sorted[x]]]) { border_top = true; } toggle = !toggle; if (border_top) { t = t.add($(' ', {'class': 'border_top'})); } t = t.add(         $(' ', {'class': 'list_el'}).append( $(' ').attr({name: 'radio_outfits', 'class': 'darkchk radio_outfits_' + outfiter_names_sorted[x]}), $(' ', {'class': 't'}).text(outfiter_names[outfiter_names_sorted[x]].replace(/_/g, ' ')) ).css({color: (toggle ? '#8F8F8F' : '#bfbfbf')})       ); border_top = false; }     ogebi('radio_outfits').append(t).find('[name=radio_outfits]').click(function  {        var          cls = $(this).attr('class').split(/\s+/),          id;        $.each(cls, function (i) { if (cls[i].substr(0, 13) === 'radio_outfits') { id = parseInt(cls[i].split(/_/g)[2], 10); } });        if (id !== parseInt(ogebi('outfit').val, 10)) { outfiter_do_outfit(id, true); }      }); t = $; toggle = true; border_top = false; for (x = 0; x < outfiter_mount_names_sorted.length; x++) { if (outfiter_mount_separator[outfiter_mount_names[outfiter_mount_names_sorted[x]]]) { border_top = true; } toggle = !toggle; if (border_top) { t = t.add($(' ', {'class': 'border_top'})); } t = t.add(         $(' ', {'class': 'list_el'}).append( $(' ').attr({name: 'radio_mounts', 'class': 'darkchk radio_mounts_' + outfiter_mount_names_sorted[x]}) .attr('checked', (String(outfiter_mount_names_sorted[x]) === ogebi('mount').val ? 'checked' : false)), $(' ', {'class': 't'}).text(outfiter_mount_names[outfiter_mount_names_sorted[x]].replace(/_/g, ' ')) ).css({color: (toggle ? '#8F8F8F' : '#bfbfbf')})       ); border_top = false; }     ogebi('radio_mounts').append(t).find('[name=radio_mounts]').click(function  {        var          cls = $(this).attr('class').split(/\s+/),          id;        $.each(cls, function (i) { if (cls[i].substr(0, 12) === 'radio_mounts') { id = parseInt(cls[i].split(/_/g)[2], 10); } });        if (id !== parseInt(ogebi('mount').val, 10)) { ogebi('mount').val(id); outfiter_load_outfit('mount'); }      });

/* Click events */ ogebi('hpbar').change(outfiter_do_addon); ogebi('animate').change(outfiter_do_addon); ogebi('sanim').change(outfiter_do_addon); ogebi('soft').change(outfiter_do_addon); ogebi('anistep').change(outfiter_do_addon); ogebi('template_code').change(outfiter_do_addon); ogebi('addon1').change(function { outfiter_do_addon(1); }); ogebi('addon2').change(function { outfiter_do_addon(2); }); ogebi('female').change(function { outfiter_load_outfit('female'); }); ogebi('outfitm').click(function { outfiter_do_outfit(-1); }); ogebi('facingm').click(function { outfiter_do_facing(-1); }); ogebi('facingp').click(function { outfiter_do_facing(1); }); ogebi('outfitp').click(function { outfiter_do_outfit(1); }); ogebi('use_name').click(outfiter_do_addon); ogebi('clear_name').click(function { ogebi('charn').val(''); outfiter_do_addon; }); ogebi('url_input').click(function { $(this).select; });

/* CSS images */ var bgs = [ 'iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAIAAAAC64paAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQW RvYmUgSW1hZ2VSZWFkeXHJZTwAAAQqSURBVHjaHFNLbxtlFJ3vMW/P2GM7duy6bUydOG6SBlFRKUGibcqGZoGQkBAS EmLBuouKDT+BLQs2SAghVUKpRBasskAthBYBSQW1HBJDGh552Y7n4ce8v+GWWYw0uvfcOefcc9Ht26tRFAkCzyFECH HHYxaOJRGrqi7KKpRCfzwc2p4fUVFHmHAJF8fQL3IcRxmL/cAPwwA/L0SqjLjUBS7VEPLVQSgNPaQYvhydou62298J IyTK6ZixsTsiAJiZmaGEIIQ9b5DRNaH46sUX367PL9t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/753XA6EfyHPlyFOf6iUd6Hqc6Sx7hckc2JpOTGpFHfde7Fvkf6SeS C/jTQtL6nxS/qT8t9q79x/1XxLFQx5R8Xb73b2ilf0yeUXnf6fnlf/P40KexkP7HmP5dtQ7R1N4E4qMXBEGYL/72mA gq0QuCIAjCjSH2OkEQBEFQohcEQRAEQYleEARBEAQlekEQBEEQlOgFQRAEQVCiFwRBEARBiV4QBEEQlOgFQRAEQVCi FwRBEARBiV4QBEEQBCV6QRAEQRCU6AVBEARBUKIXBEEQBEGJXhAEQRCU6AVBEARBUKIXBEEQBEGJXhAEQRAEJXpBEA RBEJToBUEQBEH4if8OAENyuBHmJJA6AAAAAElFTkSuQmCC'.replace(/\s+/, ''), /* hp bar */ 'iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAdklEQVR42u3TgQkAIRADwVxnlv6dxS5E3tkGAgOZJM 2h2k4ua5I034GlBeBigJcv0DYvBwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAADAT9pxtcWBahtSgAAAAABJRU5ErkJggg=='.replace(/\s+/, '') ],       css_text = '.outfiter .nesw { background:#757575 url(\'data:image/png;base64,' + bgs[0] + '\') !important; }\n' + '.outfiter .leftb, .outfiter .leftb[disabled]:active, .outfiter .rightb, .outfiter .rightb[disabled]:active {' + ' background: #757575 url(\'data:image/png;base64,' + bgs[1] + '\') !important;' + '}\n' + '.outfiter .url, .outfiter .div2 {' + ' background: #383838 url(\'data:image/png;base64,' + bgs[2] + '\') repeat;' + '}\n' + '.outfiter .nbutton, .outfiter .div4, .outfiter .div4list {' + ' background: #383838 url(\'data:image/png;base64,' + bgs[3] + '\') repeat !important;' + '}\n' + '.outfiter .leftb, .outfiter .leftb[disabled]:active { background-position: left top !important ; }\n' + '.outfiter .leftb:active { background-position: right top !important ; }\n' + '.outfiter .rightb, .outfiter .rightb[disabled]:active { background-position: left bottom !important ; }\n' + '.outfiter .rightb:active { background-position: right bottom !important ; }'; if ($('head .outfiter_style').length === 0) { $('head').append('' + css_text + ' '); }     ogebi('letters_image').attr('src', 'data:image/png;base64,' + bgs[4]); ogebi('hp_bar').attr('src', 'data:image/png;base64,' + bgs[5]); return true; };

if (outfiter_init) { outfiter_load_outfit; } $('.outfiter_img').hide; });