├── vectors ├── New File ├── views │ └── index.erb └── vectors.rb ├── .gitignore ├── git_fight ├── views │ ├── failed.erb │ ├── layout.erb │ ├── index.erb │ ├── fight.erb │ ├── api.erb │ └── about.erb ├── public │ ├── loading.gif │ ├── extensions │ │ ├── chrome_extension.crx │ │ └── chrome_extension.pem │ ├── app.js │ └── style.css ├── Rakefile ├── extensions │ └── chrome_extension │ │ ├── background.html │ │ ├── manifest.json │ │ ├── injection.js │ │ └── jquery.js ├── migrations │ └── 001_add_users.rb ├── user.rb └── git_fight.rb ├── lib ├── preload.rb ├── configuration.rb ├── standard_methods.rb ├── load_extensions.rb └── shared.rb ├── textops ├── views │ ├── failed.erb │ ├── layout.erb │ └── index.erb ├── public │ └── style.css └── textops.rb ├── .gitmodules ├── wedit ├── public │ ├── favicon.ico │ ├── assets │ │ ├── Inconsolata.ttf │ │ ├── skewed_print.png │ │ ├── fontawesome-webfont.ttf │ │ ├── jquery.digits.js │ │ ├── jquery.bytesize.js │ │ ├── style.css │ │ ├── autocorrect.js │ │ ├── jquery.caret.js │ │ ├── js.js │ │ ├── font-awesome.css │ │ └── autocorrect.wordlist.js │ ├── manifest.mf │ └── index.html ├── Rakefile ├── migrate.rb └── wedit.rb ├── deploy ├── htt8ball └── htt8ball.rb ├── Gemfile ├── LICENSE ├── Gemfile.lock ├── Rakefile └── .rss └── rss.rb /vectors/New File: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /sinatra_apps.conf 2 | /.redcar/ 3 | /lia/dls -------------------------------------------------------------------------------- /git_fight/views/failed.erb: -------------------------------------------------------------------------------- 1 |
There was a problem, please try again.
-------------------------------------------------------------------------------- /lib/preload.rb: -------------------------------------------------------------------------------- 1 | require File.dirname(__FILE__) + '/shared' 2 | Sites.all -------------------------------------------------------------------------------- /textops/views/failed.erb: -------------------------------------------------------------------------------- 1 |There was a problem, please try again.
-------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "visage"] 2 | path = visage 3 | url = git://github.com/bloopletech/visage.git 4 | -------------------------------------------------------------------------------- /wedit/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloopletech/sinatra_apps/master/wedit/public/favicon.ico -------------------------------------------------------------------------------- /git_fight/public/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloopletech/sinatra_apps/master/git_fight/public/loading.gif -------------------------------------------------------------------------------- /vectors/views/index.erb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wedit/public/assets/Inconsolata.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloopletech/sinatra_apps/master/wedit/public/assets/Inconsolata.ttf -------------------------------------------------------------------------------- /wedit/public/assets/skewed_print.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloopletech/sinatra_apps/master/wedit/public/assets/skewed_print.png -------------------------------------------------------------------------------- /wedit/public/assets/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloopletech/sinatra_apps/master/wedit/public/assets/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /git_fight/public/extensions/chrome_extension.crx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bloopletech/sinatra_apps/master/git_fight/public/extensions/chrome_extension.crx -------------------------------------------------------------------------------- /wedit/public/assets/jquery.digits.js: -------------------------------------------------------------------------------- 1 | (function($) { 2 | $.digits = function(text) { 3 | return text.toString().replace(/(\d)(?=(\d\d\d)+(?!\d))/g, "$1,"); 4 | }; 5 | })(jQuery); 6 | -------------------------------------------------------------------------------- /git_fight/Rakefile: -------------------------------------------------------------------------------- 1 | namespace :git_fight do 2 | namespace :db do 3 | desc "Migrate database" 4 | task :migrate do 5 | ActiveRecord::Migrator.migrate(File.dirname(__FILE__) + "/migrations/") 6 | end 7 | end 8 | end -------------------------------------------------------------------------------- /lib/configuration.rb: -------------------------------------------------------------------------------- 1 | DB_CONFIG = { :adapter => 'postgresql', 2 | :database => 'sinatra_apps', 3 | :username => 'postgres', 4 | :password => 'postgres', 5 | :host => 'localhost', 6 | :pool => 50, 7 | :async_query => true } -------------------------------------------------------------------------------- /textops/views/layout.erb: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |blah
4 | 5 | 11 | -------------------------------------------------------------------------------- /git_fight/extensions/chrome_extension/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "GitFight GitHub integration", 3 | "version": "1.0", 4 | "description": "Adds the GitFight score to GitHub profile pages", 5 | "permissions": ["http://github.com/*", "https://github.com/*"], 6 | "content_scripts": [ 7 | { 8 | "matches": ["http://github.com/*", "https://github.com/*"], 9 | "js": ["jquery.js", "injection.js"], 10 | "run_at": "document_end" 11 | } 12 | ] 13 | } -------------------------------------------------------------------------------- /git_fight/extensions/chrome_extension/injection.js: -------------------------------------------------------------------------------- 1 | if($("body").hasClass("page-profile")) 2 | { 3 | $("body").append('\ 9 | '); 11 | } -------------------------------------------------------------------------------- /git_fight/public/app.js: -------------------------------------------------------------------------------- 1 | $(function() 2 | { 3 | $("#fight").live('submit', function(event) 4 | { 5 | event.preventDefault(); 6 | $("#replaceable").html("
Git Fight! is not associated with GitHub. These figures are only a proxy for a user's actual contribution levels. User data is cached for a week at a time. Copyright © 2010 Brenton Fletcher. Source on GitHub.
14 | 15 | 16 | -------------------------------------------------------------------------------- /wedit/public/assets/jquery.bytesize.js: -------------------------------------------------------------------------------- 1 | // Tweak of code by Lea Verou, see http://bytesizematters.com/bytesize.js 2 | (function($) { 3 | $.bytesize = function(text) { 4 | var crlf = /(\r?\n|\r)/g; 5 | 6 | var length = text.length, nonAscii = length - text.replace(/[\u0100-\uFFFF]/g, '').length, 7 | lineBreaks = length - text.replace(crlf, '').length; 8 | 9 | return length + nonAscii + Math.max(0, lineBreaks - 1); 10 | }; 11 | 12 | $.format_bytes = function(count) { 13 | var level = 0; 14 | 15 | while(count > 1024) { 16 | count /= 1024; 17 | level++; 18 | } 19 | 20 | //Round to 2 decimals 21 | count = Math.round(count * 10) / 10; 22 | level = ['', 'k', 'm', 'g', 't'][level]; 23 | 24 | return count + ' ' + level + 'b'; 25 | }; 26 | })(jQuery); 27 | -------------------------------------------------------------------------------- /wedit/public/assets/style.css: -------------------------------------------------------------------------------- 1 | @font-face { font-family: Inconsolata; src: url("/assets/Inconsolata.ttf"); } 2 | 3 | * { margin: 0; padding: 0; font: 16px/22px Inconsolata, monospace; } 4 | body { background-image: url("/assets/skewed_print.png"); } 5 | .clear { clear: both; } 6 | #wrapper { max-width: 1000px; margin: 0 auto; padding: 0 5px; background-color: #ffffff; } 7 | textarea { display: block; width: 100%; border: 0; padding: 0; resize: none; } 8 | textarea:focus { outline: none; } 9 | #toolbar { height: 20px; color: #808080; position: relative; } 10 | #toolbar * { color: #808080; } 11 | #toolbar a { text-decoration: none; } 12 | #sync-wrapper { float: right; } 13 | #key-wrapper { width: 172px; height: 20px; position: absolute; left: 50%; top: 0; margin-left: -86px; } 14 | #key { width: 120px; height: 20px; border: 0; text-align: center; } 15 | -------------------------------------------------------------------------------- /vectors/vectors.rb: -------------------------------------------------------------------------------- 1 | module Vectors 2 | end 3 | 4 | class Vectors::Vectors < Sinatra::Base 5 | get '/' do 6 | erb :index 7 | end 8 | 9 | post '/' do 10 | doc = Nokogiri::XML.parse(params[:file].read) 11 | 12 | svg = doc.css("svg").first 13 | 14 | width = svg['width'].to_i 15 | height = svg['height'].to_i 16 | 17 | #scale 18 | 19 | svg['width'] = "#{new_width}px" 20 | svg['height'] = "#{new_height}px" 21 | 22 | 23 | unique = SecureRandom.hex(10) 24 | in_filename = "#{Dir.tmpdir}/#{unique}.svg" 25 | out_filename = "#{Dir.tmpdir}/#{unique}.png" 26 | File.open(in_filename, "w") { |f| f << doc.to_s } 27 | 28 | system("rsvg #{in_filename} #{out_filename}") 29 | 30 | response.body = File.read(out_filename) 31 | 32 | File.delete(in_filename) 33 | File.delete(out_filename) 34 | end 35 | end -------------------------------------------------------------------------------- /git_fight/views/index.erb: -------------------------------------------------------------------------------- 1 |Enter two GitHub usernames into the boxes below, and my algorithm will work out who is the better contributor by analyzing their GitHub stats.
4 | 5 | 10 | 11 ||
4 | <%= h @user_1.username %>
6 | <%= h @user_1.name %>
7 | |
8 | 9 | |
10 | <%= h @user_2.username %>
12 | <%= h @user_2.name %>
13 | |
14 |
|
20 | <%= number @user_1.send(method) %>
21 | <%= description %>
22 | <% if method == :score && @user_1_winner_overall %>
23 | WINNER
24 | <% end %>
25 | |
26 | 27 | |
28 | <%= number @user_2.send(method) %>
29 | <%= description %>
30 | <% if method == :score && @user_2_winner_overall %>
31 | WINNER
32 | <% end %>
33 | |
34 |
Link to this result: <%= h request_url %>
40 | -------------------------------------------------------------------------------- /git_fight/views/api.erb: -------------------------------------------------------------------------------- 1 |You can get the data for a GitHub user, including their GitFight! score, by requesting:
5 |6 | http://gitfight.bloople.net/user/<username> 7 |8 |
You will get a response like this:
9 |
10 |
11 | {
12 | "score": 19380,
13 | "followers_count": 1538,
14 | "following_count": 191,
15 | "repo_count": 97,
16 | "gist_count": 272,
17 | "repo_original_watchers_count": 9013,
18 | "repo_fork_watchers_count": 109,
19 | "repo_forks_count": 986,
20 | "username": "defunkt"
21 | }
22 |
23 |
24 | You can optionally add any of these parameters to the query string:
25 |commas, value: true: returns human-formatted strings instead of integers.callback or jsonp, value: a function name: calls the named function with the returned data as the only argument.Here's an example of a response for the URL http://gitfight.bloople.net/user/defunkt?commas=true&callback=got_gitfight:
31 |
32 | got_gitfight(
33 | {
34 | score: '19,392',
35 | followers_count: '1,538',
36 | following_count: '191',
37 | repo_count: '97',
38 | gist_count: '272',
39 | repo_original_watchers_count: '9,015',
40 | repo_fork_watchers_count: '109',
41 | repo_forks_count: '987',
42 | username: 'defunkt'
43 | }
44 | );
45 |
46 |
47 | There are currently no limits on using the GitFight! API.
48 |When you're browsing GitHub, you often come across new and interesting projects and the people behind them - visiting their profile page shows you plenty of information about their projects. But what the profile doesn't tell you is how popular they, and their projects are as a whole - how known, trusted, and interesting they are.
5 | 6 |But how to determine this? Gauging trust and quality is difficult for a computer to do.
7 | 8 |GitHub users don't live in vacuums - they are linked to other users through followers and repo watchers, and of course repo forks. This social data can be used to estimate a user's quality and trustworthiness, and also their volume of output.
9 | 10 |Git Fight! combines a user's:
12 | 13 |into a single number, the Git Fight! score. The actual algorithm weights these numbers so that original repos are rated more than forks, and gists are worth far less than repos, among other things.
21 | 22 |This works off of the assumption that a user who creates high-quality, interesting projects will gain more watchers, forks, and followers than other users. Larger projects will also tend to garner more watchers than smaller projects.
24 | 25 |The Git Fight! score should be taken with a grain of salt, of course. It assumes that everyone participates in the social aspects of GitHub. This is a great reason to promote your projects within the community.
26 |$titledescprefix$desc
\n"; 79 | } 80 | 81 | 82 | 83 | end 84 | 85 | def failed(reason) 86 | puts "FAILED: #{reason}" 87 | end 88 | end -------------------------------------------------------------------------------- /wedit/public/assets/js.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | function get_key_local(key) { 3 | return localStorage.getItem(key); 4 | } 5 | 6 | function set_key_local(key, value) { 7 | localStorage.setItem(key, value); 8 | } 9 | 10 | function get_key_remote(key, callback) { 11 | $.ajax({ 12 | url: "/s/" + encodeURIComponent(key), 13 | failure: function() { 14 | $("#sync-status").html("Sync Failed "); 15 | }, 16 | success: callback 17 | }); 18 | } 19 | 20 | function set_key_remote(key, value, callback) { 21 | $.ajax({ 22 | url: "/s/" + encodeURIComponent(key), 23 | data: value, 24 | type: "PUT", 25 | failure: function() { 26 | $("#sync-status").html("Sync Failed "); 27 | }, 28 | success: callback 29 | }); 30 | } 31 | 32 | function generate_key() { 33 | var out = ""; 34 | var rand_chars = "ABCDEFGHIJKMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz0123456789"; 35 | for(var i = 0; i < 7; i++) out += rand_chars.charAt(Math.floor(Math.random() * rand_chars.length + 1) - 1); 36 | return out; 37 | } 38 | 39 | function document_id() { 40 | return "document-" + $("#key").val(); 41 | } 42 | 43 | var document_last_text = null; 44 | var currently_saving = false; 45 | 46 | function sync() { 47 | if($("#key").val() == "") return; 48 | 49 | if($("#editor").val() == document_last_text) load_document_online(); 50 | else save_document_online(); 51 | } 52 | 53 | function edit_document(text) { 54 | $("#editor").val(text).focus().caretToEnd().scrollTop(214748364); 55 | set_key_local(document_id(), text); 56 | document_last_text = text; 57 | } 58 | 59 | function load_document_locally() { 60 | var text = get_key_local(document_id()); 61 | if(text == null) { 62 | load_document_online(); 63 | } 64 | else { 65 | edit_document(text); 66 | $("#sync-status").html("Loaded "); 67 | } 68 | } 69 | 70 | function load_document_online() { 71 | var text = get_key_local(document_id()) || ""; 72 | 73 | $("#sync-status").html("Syncing... "); 74 | get_key_remote(document_id() + "-last-modified", function(text) { 75 | var llm = parseFloat(get_key_local(document_id() + "-last-modified")); 76 | if(isNaN(llm) || (llm > parseFloat(text))) { 77 | get_key_remote(document_id(), function(text) { 78 | edit_document(text); 79 | }); 80 | } 81 | $("#sync-status").html("Loaded "); 82 | }); 83 | } 84 | 85 | function finish_edit_document() { 86 | var text = $("#editor").val(); 87 | set_key_local(document_id(), text); 88 | set_key_local(document_id() + "-last-modified", (new Date().getTime())); 89 | } 90 | 91 | function save_document_locally() { 92 | if($("#editor").val() == document_last_text) return; 93 | finish_edit_document(); 94 | } 95 | 96 | window.setInterval(save_document_locally, 5000); 97 | 98 | function save_document_online() { 99 | currently_saving = true; 100 | save_document_locally(); 101 | var text = $("#editor").val(); 102 | if(text == document_last_text) return; 103 | 104 | $("#sync-status").html("Syncing... "); 105 | set_key_remote(document_id(), text, function() { 106 | set_key_remote(document_id() + "-last-modified", get_key_local(document_id() + "-last-modified"), function() { 107 | $("#sync-status").html("Saved "); 108 | document_last_text = text; 109 | currently_saving = false; 110 | }); 111 | }); 112 | } 113 | 114 | $(document).keydown(function(e) { 115 | if(!(String.fromCharCode(e.which).toLowerCase() == 's' && e.ctrlKey) && !(e.which == 19)) return; 116 | sync(); 117 | e.preventDefault(); 118 | }); 119 | 120 | function check_save_document() { 121 | if(!currently_saving && $("#editor").val() != document_last_text) $("#sync-status").html("Editing "); 122 | } 123 | 124 | window.setInterval(check_save_document, 1000); 125 | 126 | window.onbeforeunload = function() { 127 | return ($("#editor").val() != document_last_text) ? "Your document is unsaved, please save it before leaving this page." : null; 128 | }; 129 | 130 | function statistics() { 131 | var s = $("#editor").val(); 132 | var wc = !s ? 0 : (s.split(/^\s+$/).length === 2 ? 0 : 2 + s.split(/\s+/).length - s.split(/^\s+/).length - s.split(/\s+$/).length); 133 | $("#statistics").text(($.digits(wc) + (wc == 1 ? " word" : " words")) + " / " + $.format_bytes($.bytesize(s))); 134 | } 135 | 136 | window.setInterval(statistics, 1000); 137 | statistics(); 138 | 139 | $(window).resize(function() { 140 | $("#editor").css("height", $(window).height() - 20); 141 | }).resize(); 142 | 143 | $("#key").change(function() { 144 | var key = $("#key").val(); 145 | if(key.length < 7) { 146 | alert("Please enter a key of at least 7 characters (letters and numbers); please make it hard to guess.\n" + 147 | "Your document key is like a password; with this, anyone can access and edit your document."); 148 | return; 149 | } 150 | $("#key-export").attr("href", "/s/document-" + encodeURIComponent(key)); 151 | set_key_local("key", key); 152 | load_document_locally(); 153 | }); 154 | 155 | $("#key-new").click(function(e) { 156 | $("#key").val(generate_key()).change(); 157 | e.preventDefault(); 158 | }); 159 | 160 | $("#sync").click(function(e) { 161 | sync(); 162 | e.preventDefault(); 163 | }); 164 | 165 | $("#key").val(get_key_local("key") || generate_key()).change(); 166 | }); 167 | -------------------------------------------------------------------------------- /wedit/public/assets/font-awesome.css: -------------------------------------------------------------------------------- 1 | /* Font Awesome 2 | the iconic font designed for use with Twitter Bootstrap 3 | ------------------------------------------------------- 4 | The full suite of pictographic icons, examples, and documentation 5 | can be found at: http://fortawesome.github.com/Font-Awesome/ 6 | 7 | License 8 | ------------------------------------------------------- 9 | The Font Awesome webfont, CSS, and LESS files are licensed under CC BY 3.0: 10 | http://creativecommons.org/licenses/by/3.0/ A mention of 11 | 'Font Awesome - http://fortawesome.github.com/Font-Awesome' in human-readable 12 | source code is considered acceptable attribution (most common on the web). 13 | If human readable source code is not available to the end user, a mention in 14 | an 'About' or 'Credits' screen is considered acceptable (most common in desktop 15 | or mobile software). 16 | 17 | Contact 18 | ------------------------------------------------------- 19 | Email: dave@davegandy.com 20 | Twitter: http://twitter.com/fortaweso_me 21 | Work: http://lemonwi.se co-founder 22 | 23 | */ 24 | /* Modified for wedit */ 25 | 26 | @font-face { 27 | font-family: "FontAwesome"; 28 | src: url('/assets/fontawesome-webfont.ttf'); 29 | font-weight: normal; 30 | font-style: normal; 31 | } 32 | 33 | /* Font Awesome styles 34 | ------------------------------------------------------- */ 35 | [class^="icon-"], [class*=" icon-"] { 36 | vertical-align: middle; 37 | } 38 | 39 | [class^="icon-"]:before, [class*=" icon-"]:before { 40 | font-family: FontAwesome; 41 | font-weight: normal; 42 | font-style: normal; 43 | display: inline-block; 44 | text-decoration: inherit; 45 | } 46 | a [class^="icon-"], a [class*=" icon-"] { 47 | display: inline-block; 48 | text-decoration: inherit; 49 | } 50 | /* makes the font 33% larger relative to the icon container */ 51 | .icon-large:before { 52 | vertical-align: top; 53 | font-size: 1.3333333333333333em; 54 | } 55 | .btn [class^="icon-"], .btn [class*=" icon-"] { 56 | /* keeps button heights with and without icons the same */ 57 | 58 | line-height: .9em; 59 | } 60 | li [class^="icon-"], li [class*=" icon-"] { 61 | display: inline-block; 62 | width: 1.25em; 63 | text-align: center; 64 | } 65 | li .icon-large[class^="icon-"], li .icon-large[class*=" icon-"] { 66 | /* 1.5 increased font size for icon-large * 1.25 width */ 67 | 68 | width: 1.875em; 69 | } 70 | li[class^="icon-"], li[class*=" icon-"] { 71 | margin-left: 0; 72 | list-style-type: none; 73 | } 74 | li[class^="icon-"]:before, li[class*=" icon-"]:before { 75 | text-indent: -2em; 76 | text-align: center; 77 | } 78 | li[class^="icon-"].icon-large:before, li[class*=" icon-"].icon-large:before { 79 | text-indent: -1.3333333333333333em; 80 | } 81 | /* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen 82 | readers do not read off random characters that represent icons */ 83 | .icon-glass:before { content: "\f000"; } 84 | .icon-music:before { content: "\f001"; } 85 | .icon-search:before { content: "\f002"; } 86 | .icon-envelope:before { content: "\f003"; } 87 | .icon-heart:before { content: "\f004"; } 88 | .icon-star:before { content: "\f005"; } 89 | .icon-star-empty:before { content: "\f006"; } 90 | .icon-user:before { content: "\f007"; } 91 | .icon-film:before { content: "\f008"; } 92 | .icon-th-large:before { content: "\f009"; } 93 | .icon-th:before { content: "\f00a"; } 94 | .icon-th-list:before { content: "\f00b"; } 95 | .icon-ok:before { content: "\f00c"; } 96 | .icon-remove:before { content: "\f00d"; } 97 | .icon-zoom-in:before { content: "\f00e"; } 98 | 99 | .icon-zoom-out:before { content: "\f010"; } 100 | .icon-off:before { content: "\f011"; } 101 | .icon-signal:before { content: "\f012"; } 102 | .icon-cog:before { content: "\f013"; } 103 | .icon-trash:before { content: "\f014"; } 104 | .icon-home:before { content: "\f015"; } 105 | .icon-file:before { content: "\f016"; } 106 | .icon-time:before { content: "\f017"; } 107 | .icon-road:before { content: "\f018"; } 108 | .icon-download-alt:before { content: "\f019"; } 109 | .icon-download:before { content: "\f01a"; } 110 | .icon-upload:before { content: "\f01b"; } 111 | .icon-inbox:before { content: "\f01c"; } 112 | .icon-play-circle:before { content: "\f01d"; } 113 | .icon-repeat:before { content: "\f01e"; } 114 | 115 | /* \f020 doesn't work in Safari. all shifted one down */ 116 | .icon-refresh:before { content: "\f021"; } 117 | .icon-list-alt:before { content: "\f022"; } 118 | .icon-lock:before { content: "\f023"; } 119 | .icon-flag:before { content: "\f024"; } 120 | .icon-headphones:before { content: "\f025"; } 121 | .icon-volume-off:before { content: "\f026"; } 122 | .icon-volume-down:before { content: "\f027"; } 123 | .icon-volume-up:before { content: "\f028"; } 124 | .icon-qrcode:before { content: "\f029"; } 125 | .icon-barcode:before { content: "\f02a"; } 126 | .icon-tag:before { content: "\f02b"; } 127 | .icon-tags:before { content: "\f02c"; } 128 | .icon-book:before { content: "\f02d"; } 129 | .icon-bookmark:before { content: "\f02e"; } 130 | .icon-print:before { content: "\f02f"; } 131 | 132 | .icon-camera:before { content: "\f030"; } 133 | .icon-font:before { content: "\f031"; } 134 | .icon-bold:before { content: "\f032"; } 135 | .icon-italic:before { content: "\f033"; } 136 | .icon-text-height:before { content: "\f034"; } 137 | .icon-text-width:before { content: "\f035"; } 138 | .icon-align-left:before { content: "\f036"; } 139 | .icon-align-center:before { content: "\f037"; } 140 | .icon-align-right:before { content: "\f038"; } 141 | .icon-align-justify:before { content: "\f039"; } 142 | .icon-list:before { content: "\f03a"; } 143 | .icon-indent-left:before { content: "\f03b"; } 144 | .icon-indent-right:before { content: "\f03c"; } 145 | .icon-facetime-video:before { content: "\f03d"; } 146 | .icon-picture:before { content: "\f03e"; } 147 | 148 | .icon-pencil:before { content: "\f040"; } 149 | .icon-map-marker:before { content: "\f041"; } 150 | .icon-adjust:before { content: "\f042"; } 151 | .icon-tint:before { content: "\f043"; } 152 | .icon-edit:before { content: "\f044"; } 153 | .icon-share:before { content: "\f045"; } 154 | .icon-check:before { content: "\f046"; } 155 | .icon-move:before { content: "\f047"; } 156 | .icon-step-backward:before { content: "\f048"; } 157 | .icon-fast-backward:before { content: "\f049"; } 158 | .icon-backward:before { content: "\f04a"; } 159 | .icon-play:before { content: "\f04b"; } 160 | .icon-pause:before { content: "\f04c"; } 161 | .icon-stop:before { content: "\f04d"; } 162 | .icon-forward:before { content: "\f04e"; } 163 | 164 | .icon-fast-forward:before { content: "\f050"; } 165 | .icon-step-forward:before { content: "\f051"; } 166 | .icon-eject:before { content: "\f052"; } 167 | .icon-chevron-left:before { content: "\f053"; } 168 | .icon-chevron-right:before { content: "\f054"; } 169 | .icon-plus-sign:before { content: "\f055"; } 170 | .icon-minus-sign:before { content: "\f056"; } 171 | .icon-remove-sign:before { content: "\f057"; } 172 | .icon-ok-sign:before { content: "\f058"; } 173 | .icon-question-sign:before { content: "\f059"; } 174 | .icon-info-sign:before { content: "\f05a"; } 175 | .icon-screenshot:before { content: "\f05b"; } 176 | .icon-remove-circle:before { content: "\f05c"; } 177 | .icon-ok-circle:before { content: "\f05d"; } 178 | .icon-ban-circle:before { content: "\f05e"; } 179 | 180 | .icon-arrow-left:before { content: "\f060"; } 181 | .icon-arrow-right:before { content: "\f061"; } 182 | .icon-arrow-up:before { content: "\f062"; } 183 | .icon-arrow-down:before { content: "\f063"; } 184 | .icon-share-alt:before { content: "\f064"; } 185 | .icon-resize-full:before { content: "\f065"; } 186 | .icon-resize-small:before { content: "\f066"; } 187 | .icon-plus:before { content: "\f067"; } 188 | .icon-minus:before { content: "\f068"; } 189 | .icon-asterisk:before { content: "\f069"; } 190 | .icon-exclamation-sign:before { content: "\f06a"; } 191 | .icon-gift:before { content: "\f06b"; } 192 | .icon-leaf:before { content: "\f06c"; } 193 | .icon-fire:before { content: "\f06d"; } 194 | .icon-eye-open:before { content: "\f06e"; } 195 | 196 | .icon-eye-close:before { content: "\f070"; } 197 | .icon-warning-sign:before { content: "\f071"; } 198 | .icon-plane:before { content: "\f072"; } 199 | .icon-calendar:before { content: "\f073"; } 200 | .icon-random:before { content: "\f074"; } 201 | .icon-comment:before { content: "\f075"; } 202 | .icon-magnet:before { content: "\f076"; } 203 | .icon-chevron-up:before { content: "\f077"; } 204 | .icon-chevron-down:before { content: "\f078"; } 205 | .icon-retweet:before { content: "\f079"; } 206 | .icon-shopping-cart:before { content: "\f07a"; } 207 | .icon-folder-close:before { content: "\f07b"; } 208 | .icon-folder-open:before { content: "\f07c"; } 209 | .icon-resize-vertical:before { content: "\f07d"; } 210 | .icon-resize-horizontal:before { content: "\f07e"; } 211 | 212 | .icon-bar-chart:before { content: "\f080"; } 213 | .icon-twitter-sign:before { content: "\f081"; } 214 | .icon-facebook-sign:before { content: "\f082"; } 215 | .icon-camera-retro:before { content: "\f083"; } 216 | .icon-key:before { content: "\f084"; } 217 | .icon-cogs:before { content: "\f085"; } 218 | .icon-comments:before { content: "\f086"; } 219 | .icon-thumbs-up:before { content: "\f087"; } 220 | .icon-thumbs-down:before { content: "\f088"; } 221 | .icon-star-half:before { content: "\f089"; } 222 | .icon-heart-empty:before { content: "\f08a"; } 223 | .icon-signout:before { content: "\f08b"; } 224 | .icon-linkedin-sign:before { content: "\f08c"; } 225 | .icon-pushpin:before { content: "\f08d"; } 226 | .icon-external-link:before { content: "\f08e"; } 227 | 228 | .icon-signin:before { content: "\f090"; } 229 | .icon-trophy:before { content: "\f091"; } 230 | .icon-github-sign:before { content: "\f092"; } 231 | .icon-upload-alt:before { content: "\f093"; } 232 | .icon-lemon:before { content: "\f094"; } 233 | .icon-phone:before { content: "\f095"; } 234 | .icon-check-empty:before { content: "\f096"; } 235 | .icon-bookmark-empty:before { content: "\f097"; } 236 | .icon-phone-sign:before { content: "\f098"; } 237 | .icon-twitter:before { content: "\f099"; } 238 | .icon-facebook:before { content: "\f09a"; } 239 | .icon-github:before { content: "\f09b"; } 240 | .icon-unlock:before { content: "\f09c"; } 241 | .icon-credit-card:before { content: "\f09d"; } 242 | .icon-rss:before { content: "\f09e"; } 243 | 244 | .icon-hdd:before { content: "\f0a0"; } 245 | .icon-bullhorn:before { content: "\f0a1"; } 246 | .icon-bell:before { content: "\f0a2"; } 247 | .icon-certificate:before { content: "\f0a3"; } 248 | .icon-hand-right:before { content: "\f0a4"; } 249 | .icon-hand-left:before { content: "\f0a5"; } 250 | .icon-hand-up:before { content: "\f0a6"; } 251 | .icon-hand-down:before { content: "\f0a7"; } 252 | .icon-circle-arrow-left:before { content: "\f0a8"; } 253 | .icon-circle-arrow-right:before { content: "\f0a9"; } 254 | .icon-circle-arrow-up:before { content: "\f0aa"; } 255 | .icon-circle-arrow-down:before { content: "\f0ab"; } 256 | .icon-globe:before { content: "\f0ac"; } 257 | .icon-wrench:before { content: "\f0ad"; } 258 | .icon-tasks:before { content: "\f0ae"; } 259 | 260 | .icon-filter:before { content: "\f0b0"; } 261 | .icon-briefcase:before { content: "\f0b1"; } 262 | .icon-fullscreen:before { content: "\f0b2"; } 263 | 264 | .icon-group:before { content: "\f0c0"; } 265 | .icon-link:before { content: "\f0c1"; } 266 | .icon-cloud:before { content: "\f0c2"; } 267 | .icon-beaker:before { content: "\f0c3"; } 268 | .icon-cut:before { content: "\f0c4"; } 269 | .icon-copy:before { content: "\f0c5"; } 270 | .icon-paper-clip:before { content: "\f0c6"; } 271 | .icon-save:before { content: "\f0c7"; } 272 | .icon-sign-blank:before { content: "\f0c8"; } 273 | .icon-reorder:before { content: "\f0c9"; } 274 | .icon-list-ul:before { content: "\f0ca"; } 275 | .icon-list-ol:before { content: "\f0cb"; } 276 | .icon-strikethrough:before { content: "\f0cc"; } 277 | .icon-underline:before { content: "\f0cd"; } 278 | .icon-table:before { content: "\f0ce"; } 279 | 280 | .icon-magic:before { content: "\f0d0"; } 281 | .icon-truck:before { content: "\f0d1"; } 282 | .icon-pinterest:before { content: "\f0d2"; } 283 | .icon-pinterest-sign:before { content: "\f0d3"; } 284 | .icon-google-plus-sign:before { content: "\f0d4"; } 285 | .icon-google-plus:before { content: "\f0d5"; } 286 | .icon-money:before { content: "\f0d6"; } 287 | .icon-caret-down:before { content: "\f0d7"; } 288 | .icon-caret-up:before { content: "\f0d8"; } 289 | .icon-caret-left:before { content: "\f0d9"; } 290 | .icon-caret-right:before { content: "\f0da"; } 291 | .icon-columns:before { content: "\f0db"; } 292 | .icon-sort:before { content: "\f0dc"; } 293 | .icon-sort-down:before { content: "\f0dd"; } 294 | .icon-sort-up:before { content: "\f0de"; } 295 | 296 | .icon-envelope-alt:before { content: "\f0e0"; } 297 | .icon-linkedin:before { content: "\f0e1"; } 298 | .icon-undo:before { content: "\f0e2"; } 299 | .icon-legal:before { content: "\f0e3"; } 300 | .icon-dashboard:before { content: "\f0e4"; } 301 | .icon-comment-alt:before { content: "\f0e5"; } 302 | .icon-comments-alt:before { content: "\f0e6"; } 303 | .icon-bolt:before { content: "\f0e7"; } 304 | .icon-sitemap:before { content: "\f0e8"; } 305 | .icon-umbrella:before { content: "\f0e9"; } 306 | .icon-paste:before { content: "\f0ea"; } 307 | 308 | .icon-user-md:before { content: "\f200"; } 309 | -------------------------------------------------------------------------------- /wedit/public/assets/autocorrect.wordlist.js: -------------------------------------------------------------------------------- 1 | //Word list from: http://user.services.openoffice.org/en/forum/viewtopic.php?f=7&t=129&start=0 2 | //According to http://www.openoffice.org/license.html, this file is under the LGPL. 3 | //The LGPL only applies to this file. 4 | 5 | var word_list = { 6 | "abotu": "about", 7 | "abouta": "about a", 8 | "aboutit": "about it", 9 | "abscence": "absence", 10 | "accesories": "accessories", 11 | "accidant": "accident", 12 | "accomodate": "accommodate", 13 | "accordingto": "according to", 14 | "accross": "across", 15 | "acheive": "achieve", 16 | "acheived": "achieved", 17 | "acheiving": "achieving", 18 | "acn": "can", 19 | "acommodate": "accommodate", 20 | "acomodate": "accommodate", 21 | "actualyl": "actually", 22 | "additinal": "additional", 23 | "addtional": "additional", 24 | "adequit": "adequate", 25 | "adequite": "adequate", 26 | "adn": "and", 27 | "advanage": "advantage", 28 | "affraid": "afraid", 29 | "afterthe": "after the", 30 | "aggresive": "aggressive", 31 | "agian": "again", 32 | "agreemeent": "agreement", 33 | "agreemeents": "agreements", 34 | "agreemnet": "agreement", 35 | "agreemnets": "agreements", 36 | "agressive": "aggressive", 37 | "ahppen": "happen", 38 | "ahve": "have", 39 | "allready": "already", 40 | "allwasy": "always", 41 | "allwyas": "always", 42 | "almots": "almost", 43 | "almsot": "almost", 44 | "alomst": "almost", 45 | "alot": "a lot", 46 | "alraedy": "already", 47 | "alreayd": "already", 48 | "alreday": "already", 49 | "alwasy": "always", 50 | "alwats": "always", 51 | "alway": "always", 52 | "alwyas": "always", 53 | "amde": "made", 54 | "Ameria": "America", 55 | "amke": "make", 56 | "amkes": "makes", 57 | "anbd": "and", 58 | "andone": "and one", 59 | "andteh": "and the", 60 | "andthe": "and the", 61 | "anothe": "another", 62 | "anual": "annual", 63 | "apparant": "apparent", 64 | "apparrent": "apparent", 65 | "appearence": "appearance", 66 | "appeares": "appears", 67 | "applicaiton": "application", 68 | "applicaitons": "applications", 69 | "applyed": "applied", 70 | "appointiment": "appointment", 71 | "approrpiate": "appropriate", 72 | "approrpriate": "appropriate", 73 | "aquisition": "acquisition", 74 | "aquisitions": "acquisitions", 75 | "arguement": "argument", 76 | "arguements": "arguments", 77 | "arond": "around", 78 | "artical": "article", 79 | "articel": "article", 80 | "asdvertising": "advertising", 81 | "atention": "attention", 82 | "atmospher": "atmosphere", 83 | "attentioin": "attention", 84 | "atthe": "at the", 85 | "audeince": "audience", 86 | "audiance": "audience", 87 | "availalbe": "available", 88 | "awya": "away", 89 | "aywa": "away", 90 | "bakc": "back", 91 | "balence": "balance", 92 | "ballance": "balance", 93 | "baout": "about", 94 | "bcak": "back", 95 | "beacuse": "because", 96 | "becasue": "because", 97 | "becaus": "because", 98 | "becausea": "because a", 99 | "becauseof": "because of", 100 | "becausethe": "because the", 101 | "becauseyou": "because you", 102 | "becomeing": "becoming", 103 | "becomming": "becoming", 104 | "becuase": "because", 105 | "becuse": "because", 106 | "befoer": "before", 107 | "beggining": "beginning", 108 | "begining": "beginning", 109 | "beginining": "beginning", 110 | "beleiev": "believe", 111 | "beleieve": "believe", 112 | "beleif": "belief", 113 | "beleive": "believe", 114 | "beleived": "believed", 115 | "beleives": "believes", 116 | "benifit": "benefit", 117 | "benifits": "benefits", 118 | "betwen": "between", 119 | "beutiful": "beautiful", 120 | "blase": "blasé", 121 | "boxs": "boxes", 122 | "brodcast": "broadcast", 123 | "butthe": "but the", 124 | "bve": "be", 125 | "caharcter": "character", 126 | "calcullated": "calculated", 127 | "calulated": "calculated", 128 | "candidtae": "candidate", 129 | "candidtaes": "candidates", 130 | "catagory": "category", 131 | "categiory": "category", 132 | "certian": "certain", 133 | "challange": "challenge", 134 | "challanges": "challenges", 135 | "chaneg": "change", 136 | "chanegs": "changes", 137 | "changable": "changeable", 138 | "changeing": "changing", 139 | "changng": "changing", 140 | "charachter": "character", 141 | "charachters": "characters", 142 | "charactor": "character", 143 | "charecter": "character", 144 | "charector": "character", 145 | "cheif": "chief", 146 | "chekc": "check", 147 | "chnage": "change", 148 | "cieling": "ceiling", 149 | "circut": "circuit", 150 | "claer": "clear", 151 | "claered": "cleared", 152 | "claerly": "clearly", 153 | "cliant": "client", 154 | "cliche": "cliché", 155 | "cna": "can", 156 | "colection": "collection", 157 | "comanies": "companies", 158 | "comany": "company", 159 | "comapnies": "companies", 160 | "comapny": "company", 161 | "combintation": "combination", 162 | "comited": "committed", 163 | "comittee": "committee", 164 | "commadn": "command", 165 | "comming": "coming", 166 | "commitee": "committee", 167 | "committe": "committee", 168 | "committment": "commitment", 169 | "committments": "commitments", 170 | "committy": "committee", 171 | "comntain": "contain", 172 | "comntains": "contains", 173 | "compair": "compare", 174 | "compleated": "completed", 175 | "compleatly": "completely", 176 | "compleatness": "completeness", 177 | "completly": "completely", 178 | "completness": "completeness", 179 | "composate": "composite", 180 | "comtain": "contain", 181 | "comtains": "contains", 182 | "comunicate": "communicate", 183 | "comunity": "community", 184 | "condolances": "condolences", 185 | "conected": "connected", 186 | "conferance": "conference", 187 | "confirmmation": "confirmation", 188 | "considerit": "considerate", 189 | "considerite": "considerate", 190 | "consonent": "consonant", 191 | "conspiricy": "conspiracy", 192 | "consultent": "consultant", 193 | "convertable": "convertible", 194 | "cooparate": "cooperate", 195 | "cooporate": "cooperate", 196 | "corproation": "corporation", 197 | "corproations": "corporations", 198 | "corruptable": "corruptible", 199 | "cotten": "cotton", 200 | "coudl": "could", 201 | "couldthe": "could the", 202 | "cpoy": "copy", 203 | "creme": "crème", 204 | "ctaegory": "category", 205 | "cusotmer": "customer", 206 | "cusotmers": "customers", 207 | "cutsomer": "customer", 208 | "cutsomers": "customer", 209 | "cxan": "can", 210 | "danceing": "dancing", 211 | "dcument": "document", 212 | "deatils": "details", 213 | "decison": "decision", 214 | "decisons": "decisions", 215 | "decor": "décor", 216 | "defendent": "defendant", 217 | "definately": "definitely", 218 | "deptartment": "department", 219 | "desicion": "decision", 220 | "desicions": "decisions", 221 | "desision": "decision", 222 | "desisions": "decisions", 223 | "develeoprs": "developers", 224 | "devellop": "develop", 225 | "develloped": "developed", 226 | "develloper": "developer", 227 | "devellopers": "developers", 228 | "develloping": "developing", 229 | "devellopment": "development", 230 | "devellopments": "developments", 231 | "devellops": "develop", 232 | "develope": "develop", 233 | "developement": "development", 234 | "developements": "developments", 235 | "developor": "developer", 236 | "developors": "developers", 237 | "develpment": "development", 238 | "diaplay": "display", 239 | "didnot": "did not", 240 | "difefrent": "different", 241 | "diferences": "differences", 242 | "differance": "difference", 243 | "differances": "differences", 244 | "differant": "different", 245 | "differemt": "different", 246 | "differnt": "different", 247 | "diffrent": "different", 248 | "directer": "director", 249 | "directers": "directors", 250 | "directiosn": "direction", 251 | "disatisfied": "dissatisfied", 252 | "discoverd": "discovered", 253 | "disign": "design", 254 | "dispaly": "display", 255 | "dissonent": "dissonant", 256 | "distribusion": "distribution", 257 | "divsion": "division", 258 | "docuement": "documents", 259 | "docuemnt": "document", 260 | "documetn": "document", 261 | "documnet": "document", 262 | "documnets": "documents", 263 | "doese": "does", 264 | "doign": "doing", 265 | "doimg": "doing", 266 | "doind": "doing", 267 | "dollers": "dollars", 268 | "donig": "doing", 269 | "driveing": "driving", 270 | "drnik": "drink", 271 | "efel": "feel", 272 | "effecient": "efficient", 273 | "efort": "effort", 274 | "eforts": "efforts", 275 | "ehr": "her", 276 | "eligable": "eligible", 277 | "embarass": "embarrass", 278 | "enought": "enough", 279 | "equippment": "equipment", 280 | "equivalant": "equivalent", 281 | "esle": "else", 282 | "especally": "especially", 283 | "especialyl": "especially", 284 | "espesially": "especially", 285 | "excellant": "excellent", 286 | "excercise": "exercise", 287 | "exchagne": "exchange", 288 | "exchagnes": "exchanges", 289 | "excitment": "excitement", 290 | "exhcange": "exchange", 291 | "exhcanges": "exchanges", 292 | "experiance": "experience", 293 | "experienc": "experience", 294 | "exprience": "experience", 295 | "exprienced": "experienced", 296 | "eyt": "yet", 297 | "faeture": "feature", 298 | "faetures": "feature", 299 | "familair": "familiar", 300 | "familar": "familiar", 301 | "familliar": "familiar", 302 | "fammiliar": "familiar", 303 | "feild": "field", 304 | "feilds": "fields", 305 | "fianlly": "finally", 306 | "fidn": "find", 307 | "finalyl": "finally", 308 | "firends": "friends", 309 | "firts": "first", 310 | "follwo": "follow", 311 | "follwoing": "following", 312 | "fora": "for a", 313 | "foriegn": "foreign", 314 | "forthe": "for the", 315 | "forwrd": "forward", 316 | "forwrds": "forwards", 317 | "foudn": "found", 318 | "foward": "forward", 319 | "fowards": "forwards", 320 | "freind": "friend", 321 | "freindly": "friendly", 322 | "freinds": "friends", 323 | "frmo": "from", 324 | "fromthe": "from the", 325 | "furneral": "funeral", 326 | "fwe": "few", 327 | "garantee": "guarantee", 328 | "gaurd": "guard", 329 | "gemeral": "general", 330 | "gerat": "great", 331 | "geting": "getting", 332 | "gettin": "getting", 333 | "gievn": "given", 334 | "giveing": "giving", 335 | "gloabl": "global", 336 | "goign": "going", 337 | "gonig": "going", 338 | "govenment": "government", 339 | "goverment": "government", 340 | "gruop": "group", 341 | "gruops": "groups", 342 | "grwo": "grow", 343 | "guidlines": "guidelines", 344 | "hadbeen": "had been", 345 | "haev": "have", 346 | "hapen": "happen", 347 | "hapened": "happened", 348 | "hapening": "happening", 349 | "hapens": "happens", 350 | "happend": "happened", 351 | "hasbeen": "has been", 352 | "havebeen": "have been", 353 | "haveing": "having", 354 | "hearign": "hearing", 355 | "helpfull": "helpful", 356 | "herat": "heart", 357 | "hesaid": "he said", 358 | "hewas": "he was", 359 | "hge": "he", 360 | "hismelf": "himself", 361 | "hlep": "help", 362 | "hsa": "has", 363 | "hsi": "his", 364 | "hte": "the", 365 | "htere": "there", 366 | "htese": "these", 367 | "htey": "they", 368 | "hting": "thing", 369 | "htink": "think", 370 | "htis": "this", 371 | "hvae": "have", 372 | "hvaing": "having", 373 | "hwich": "which", 374 | "i": "I", 375 | "idae": "idea", 376 | "idaes": "ideas", 377 | "identofy": "identify", 378 | "ihs": "his", 379 | "imediate": "immediate", 380 | "imediatly": "immediately", 381 | "immediatly": "immediately", 382 | "importent": "important", 383 | "importnat": "important", 384 | "impossable": "impossible", 385 | "improvemnt": "improvement", 386 | "improvment": "improvement", 387 | "includ": "include", 388 | "indecate": "indicate", 389 | "indenpendence": "independence", 390 | "indenpendent": "independent", 391 | "indepedent": "independent", 392 | "independance": "independence", 393 | "independant": "independent", 394 | "influance": "influence", 395 | "infomation": "information", 396 | "informatoin": "information", 397 | "inital": "initial", 398 | "instaleld": "installed", 399 | "insted": "instead", 400 | "insurence": "insurance", 401 | "inteh": "in the", 402 | "interum": "interim", 403 | "inthe": "in the", 404 | "inwhich": "in which", 405 | "isthe": "is the", 406 | "itis": "it is", 407 | "ititial": "initial", 408 | "itnerest": "interest", 409 | "itnerested": "interested", 410 | "itneresting": "interesting", 411 | "itnerests": "interests", 412 | "iwll": "will", 413 | "iwth": "with", 414 | "jsut": "just", 415 | "jugment": "judgment", 416 | "knowldge": "knowledge", 417 | "knowlege": "knowledge", 418 | "knwo": "know", 419 | "knwon": "known", 420 | "knwos": "knows", 421 | "konwn": "known", 422 | "konws": "knows", 423 | "labratory": "laboratory", 424 | "lastyear": "last year", 425 | "learnign": "learning", 426 | "lenght": "length", 427 | "levle": "level", 428 | "libary": "library", 429 | "librarry": "library", 430 | "librery": "library", 431 | "liek": "like", 432 | "liekd": "liked", 433 | "lieutenent": "lieutenant", 434 | "liev": "live", 435 | "likly": "likely", 436 | "lisense": "licence", 437 | "littel": "little", 438 | "litttle": "little", 439 | "liuke": "like", 440 | "liveing": "living", 441 | "loev": "love", 442 | "lonly": "lonely", 443 | "lookign": "looking", 444 | "maintenence": "maintenance", 445 | "makeing": "making", 446 | "managment": "management", 447 | "mantain": "maintain", 448 | "marraige": "marriage", 449 | "memeber": "member", 450 | "merchent": "merchant", 451 | "mesage": "message", 452 | "mesages": "messages", 453 | "mispell": "misspell", 454 | "mispelling": "misspelling", 455 | "mispellings": "misspellings", 456 | "mkae": "make", 457 | "mkaes": "makes", 458 | "mkaing": "making", 459 | "moeny": "money", 460 | "morgage": "mortgage", 461 | "mroe": "more", 462 | "mysefl": "myself", 463 | "myu": "my", 464 | "naive": "naïve", 465 | "necassarily": "necessarily", 466 | "necassary": "necessary", 467 | "neccessarily": "necessarily", 468 | "neccessary": "necessary", 469 | "necesarily": "necessarily", 470 | "necesary": "necessary", 471 | "negotiaing": "negotiating", 472 | "nkow": "know", 473 | "nothign": "nothing", 474 | "nver": "never", 475 | "nwe": "new", 476 | "nwo": "now", 477 | "obediant": "obedient", 478 | "ocasion": "occasion", 479 | "occassion": "occasion", 480 | "occured": "occurred", 481 | "occurence": "occurrence", 482 | "occurrance": "occurrence", 483 | "ocur": "occur", 484 | "oeprator": "operator", 485 | "ofits": "of its", 486 | "ofthe": "of the", 487 | "oging": "going", 488 | "ohter": "other", 489 | "omre": "more", 490 | "oneof": "one of", 491 | "onepoint": "one point", 492 | "onthe": "on the", 493 | "onyl": "only", 494 | "oppasite": "opposite", 495 | "opperation": "operation", 496 | "oppertunity": "opportunity", 497 | "opposate": "opposite", 498 | "opposible": "opposable", 499 | "opposit": "opposite", 500 | "oppotunities": "opportunities", 501 | "oppotunity": "opportunity", 502 | "orginization": "organisation", 503 | "orginized": "organised", 504 | "otehr": "other", 505 | "otu": "out", 506 | "outof": "out of", 507 | "overthe": "over the", 508 | "owrk": "work", 509 | "owuld": "would", 510 | "oxident": "oxidant", 511 | "papaer": "paper", 512 | "parliment": "parliament", 513 | "partof": "part of", 514 | "paymetn": "payment", 515 | "paymetns": "payments", 516 | "pciture": "picture", 517 | "peice": "piece", 518 | "peices": "pieces", 519 | "peolpe": "people", 520 | "peopel": "people", 521 | "percentof": "percent of", 522 | "percentto": "percent to", 523 | "performence": "performance", 524 | "perhasp": "perhaps", 525 | "perhpas": "perhaps", 526 | "permanant": "permanent", 527 | "perminent": "permanent", 528 | "personalyl": "personally", 529 | "pleasent": "pleasant", 530 | "poeple": "people", 531 | "porblem": "problem", 532 | "porblems": "problems", 533 | "porvide": "provide", 534 | "possable": "possible", 535 | "postition": "position", 536 | "potentialy": "potentially", 537 | "pregnent": "pregnant", 538 | "presance": "presence", 539 | "probelm": "problem", 540 | "probelms": "problems", 541 | "prominant": "prominent", 542 | "psoition": "position", 543 | "ptogress": "progress", 544 | "puting": "putting", 545 | "pwoer": "power", 546 | "quater": "quarter", 547 | "quaters": "quarters", 548 | "quesion": "question", 549 | "quesions": "questions", 550 | "questioms": "questions", 551 | "questiosn": "questions", 552 | "questoin": "question", 553 | "quetion": "question", 554 | "quetions": "questions", 555 | "realyl": "really", 556 | "reccomend": "recommend", 557 | "reccommend": "recommend", 558 | "receieve": "receive", 559 | "recieve": "receive", 560 | "recieved": "received", 561 | "recieving": "receiving", 562 | "recomend": "recommend", 563 | "recomendation": "recommendation", 564 | "recomendations": "recommendations", 565 | "recomended": "recommended", 566 | "reconize": "recognise", 567 | "recrod": "record", 568 | "religous": "religious", 569 | "reluctent": "reluctant", 570 | "remeber": "remember", 571 | "reommend": "recommend", 572 | "representativs": "representatives", 573 | "representives": "representatives", 574 | "represetned": "represented", 575 | "represnt": "represent", 576 | "reserach": "research", 577 | "resollution": "resolution", 578 | "resorces": "resources", 579 | "respomd": "respond", 580 | "respomse": "response", 581 | "responce": "response", 582 | "responsability": "responsibility", 583 | "responsable": "responsible", 584 | "responsibile": "responsible", 585 | "responsiblity": "responsibility", 586 | "restaraunt": "restaurant", 587 | "restuarant": "restaurant", 588 | "reult": "result", 589 | "reveiw": "review", 590 | "reveiwing": "reviewing", 591 | "rumers": "rumors", 592 | "rwite": "write", 593 | "rythm": "rhythm", 594 | "saidhe": "said he", 595 | "saidit": "said it", 596 | "saidthat": "said that", 597 | "saidthe": "said the", 598 | "scedule": "schedule", 599 | "sceduled": "scheduled", 600 | "seance": "séance", 601 | "secratary": "secretary", 602 | "sectino": "section", 603 | "seh": "she", 604 | "selectoin": "selection", 605 | "sentance": "sentence", 606 | "separeate": "separate", 607 | "sercumstances": "circumstances", 608 | "shcool": "school", 609 | "shesaid": "she said", 610 | "shineing": "shining", 611 | "shiped": "shipped", 612 | "shoudl": "should", 613 | "showinf": "showing", 614 | "sidewalk": "pavement", 615 | "signifacnt": "significant", 616 | "simalar": "similar", 617 | "similiar": "similar", 618 | "simpyl": "simply", 619 | "sincerly": "sincerely", 620 | "sitll": "still", 621 | "smae": "same", 622 | "smoe": "some", 623 | "soem": "some", 624 | "sohw": "show", 625 | "soical": "social", 626 | "somethign": "something", 627 | "someting": "something", 628 | "somewaht": "somewhat", 629 | "somthing": "something", 630 | "somtimes": "sometimes", 631 | "soudn": "sound", 632 | "soudns": "sounds", 633 | "speach": "speech", 634 | "specificaly": "specifically", 635 | "specificalyl": "specifically", 636 | "statment": "statement", 637 | "statments": "statements", 638 | "stnad": "stand", 639 | "stopry": "story", 640 | "stoyr": "story", 641 | "stpo": "stop", 642 | "strentgh": "strength", 643 | "stroy": "story", 644 | "struggel": "struggle", 645 | "strugle": "struggle", 646 | "studnet": "student", 647 | "successfull": "successful", 648 | "successfuly": "successfully", 649 | "successfulyl": "successfully", 650 | "sucess": "success", 651 | "sucessfull": "successful", 652 | "sufficiant": "sufficient", 653 | "suposed": "supposed", 654 | "suppossed": "supposed", 655 | "suprised": "surprised", 656 | "swiming": "swimming", 657 | "tahn": "than", 658 | "taht": "that", 659 | "talekd": "talked", 660 | "talkign": "talking", 661 | "tath": "that", 662 | "tecnical": "technical", 663 | "teh": "the", 664 | "tehy": "they", 665 | "termoil": "turmoil", 666 | "tets": "test", 667 | "tghe": "the", 668 | "tghis": "this", 669 | "thansk": "thanks", 670 | "thatthe": "that the", 671 | "thecompany": "the company", 672 | "thefirst": "the first", 673 | "thegovernment": "the government", 674 | "themself": "themselves", 675 | "themselfs": "themselves", 676 | "thenew": "the new", 677 | "theri": "their", 678 | "thesame": "the same", 679 | "thetwo": "the two", 680 | "thgat": "that", 681 | "thge": "the", 682 | "thier": "their", 683 | "thigsn": "things", 684 | "thisyear": "this year", 685 | "thme": "them", 686 | "thna": "than", 687 | "thne": "then", 688 | "thnig": "thing", 689 | "thnigs": "things", 690 | "threatend": "threatened", 691 | "thsi": "this", 692 | "thsoe": "those", 693 | "thta": "that", 694 | "tihs": "this", 695 | "timne": "time", 696 | "tiogether": "together", 697 | "tje": "the", 698 | "tjhe": "the", 699 | "tkae": "take", 700 | "tkaes": "takes", 701 | "tkaing": "taking", 702 | "tlaking": "talking", 703 | "todya": "today", 704 | "togehter": "together", 705 | "tomorow": "tomorrow", 706 | "tongiht": "tonight", 707 | "tonihgt": "tonight", 708 | "totaly": "totally", 709 | "totalyl": "totally", 710 | "tothe": "to the", 711 | "towrad": "toward", 712 | "traditionalyl": "traditionally", 713 | "transfered": "transferred", 714 | "truely": "truly", 715 | "truley": "truly", 716 | "tryed": "tried", 717 | "tthe": "the", 718 | "tyhat": "that", 719 | "tyhe": "the", 720 | "udnerstand": "understand", 721 | "understnad": "understand", 722 | "UnitedStates": "United States", 723 | "unliek": "unlike", 724 | "unpleasently": "unpleasantly", 725 | "untill": "until", 726 | "untilll": "until", 727 | "useing": "using", 728 | "usualyl": "usually", 729 | "veyr": "very", 730 | "virtualyl": "virtually", 731 | "vrey": "very", 732 | "vulnerible": "vulnerable", 733 | "waht": "what", 734 | "warrent": "warrant", 735 | "watn": "want", 736 | "wehn": "when", 737 | "werre": "were", 738 | "whcih": "which", 739 | "wherre": "where", 740 | "whic": "which", 741 | "whihc": "which", 742 | "whta": "what", 743 | "wief": "wife", 744 | "wierd": "weird", 745 | "wihch": "which", 746 | "wiht": "with", 747 | "willbe": "will be", 748 | "windoes": "windows", 749 | "witha": "with a", 750 | "withe": "with", 751 | "withthe": "with the", 752 | "wiull": "will", 753 | "wnat": "want", 754 | "wnated": "wanted", 755 | "wnats": "wants", 756 | "woh": "who", 757 | "wohle": "whole", 758 | "wokr": "work", 759 | "woudl": "would", 760 | "wouldbe": "would be", 761 | "wriet": "write", 762 | "writting": "writing", 763 | "wrod": "word", 764 | "wroet": "wrote", 765 | "wroking": "working", 766 | "wtih": "with", 767 | "wuould": "would", 768 | "wya": "way", 769 | "yera": "year", 770 | "yeras": "years", 771 | "yersa": "years", 772 | "yoiu": "you", 773 | "youare": "you are", 774 | "ytou": "you", 775 | "yuo": "you", 776 | "yuor": "your" 777 | }; 778 | -------------------------------------------------------------------------------- /git_fight/extensions/chrome_extension/jquery.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * jQuery JavaScript Library v1.4.2 3 | * http://jquery.com/ 4 | * 5 | * Copyright 2010, John Resig 6 | * Dual licensed under the MIT or GPL Version 2 licenses. 7 | * http://jquery.org/license 8 | * 9 | * Includes Sizzle.js 10 | * http://sizzlejs.com/ 11 | * Copyright 2010, The Dojo Foundation 12 | * Released under the MIT, BSD, and GPL Licenses. 13 | * 14 | * Date: Sat Feb 13 22:33:48 2010 -0500 15 | */ 16 | (function(A,w){function ma(){if(!c.isReady){try{s.documentElement.doScroll("left")}catch(a){setTimeout(ma,1);return}c.ready()}}function Qa(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function X(a,b,d,f,e,j){var i=a.length;if(typeof b==="object"){for(var o in b)X(a,o,b[o],f,e,d);return a}if(d!==w){f=!j&&f&&c.isFunction(d);for(o=0;o)[^>]*$|^#([\w-]+)$/,Ua=/^.[^:#\[\.,]*$/,Va=/\S/, 21 | Wa=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,Xa=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,P=navigator.userAgent,xa=false,Q=[],L,$=Object.prototype.toString,aa=Object.prototype.hasOwnProperty,ba=Array.prototype.push,R=Array.prototype.slice,ya=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,f;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(a==="body"&&!b){this.context=s;this[0]=s.body;this.selector="body";this.length=1;return this}if(typeof a==="string")if((d=Ta.exec(a))&& 22 | (d[1]||!b))if(d[1]){f=b?b.ownerDocument||b:s;if(a=Xa.exec(a))if(c.isPlainObject(b)){a=[s.createElement(a[1])];c.fn.attr.call(a,b,true)}else a=[f.createElement(a[1])];else{a=sa([d[1]],[f]);a=(a.cacheable?a.fragment.cloneNode(true):a.fragment).childNodes}return c.merge(this,a)}else{if(b=s.getElementById(d[2])){if(b.id!==d[2])return T.find(a);this.length=1;this[0]=b}this.context=s;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a;this.context=s;a=s.getElementsByTagName(a);return c.merge(this, 23 | a)}else return!b||b.jquery?(b||T).find(a):c(b).find(a);else if(c.isFunction(a))return T.ready(a);if(a.selector!==w){this.selector=a.selector;this.context=a.context}return c.makeArray(a,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return R.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,b,d){var f=c();c.isArray(a)?ba.apply(f,a):c.merge(f,a);f.prevObject=this;f.context=this.context;if(b=== 24 | "find")f.selector=this.selector+(this.selector?" ":"")+d;else if(b)f.selector=this.selector+"."+b+"("+d+")";return f},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(s,c);else Q&&Q.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(R.apply(this,arguments),"slice",R.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this, 25 | function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||c(null)},push:ba,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,f=false,e,j,i,o;if(typeof a==="boolean"){f=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(d===b){a=this;--b}for(;b=0))l||m.push(v);else if(l)h[p]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()}, 80 | CHILD:function(g){if(g[1]==="nth"){var h=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=h[1]+(h[2]||1)-0;g[3]=h[3]-0}g[0]=e++;return g},ATTR:function(g,h,l,m,q,p){h=g[1].replace(/\\/g,"");if(!p&&n.attrMap[h])g[1]=n.attrMap[h];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,h,l,m,q){if(g[1]==="not")if((f.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=k(g[3],null,null,h);else{g=k.filter(g[3],h,l,true^q);l||m.push.apply(m, 81 | g);return false}else if(n.match.POS.test(g[0])||n.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,h,l){return!!k(l[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)}, 82 | text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}}, 83 | setFilters:{first:function(g,h){return h===0},last:function(g,h,l,m){return h===m.length-1},even:function(g,h){return h%2===0},odd:function(g,h){return h%2===1},lt:function(g,h,l){return hl[3]-0},nth:function(g,h,l){return l[3]-0===h},eq:function(g,h,l){return l[3]-0===h}},filter:{PSEUDO:function(g,h,l,m){var q=h[1],p=n.filters[q];if(p)return p(g,l,h,m);else if(q==="contains")return(g.textContent||g.innerText||a([g])||"").indexOf(h[3])>=0;else if(q==="not"){h= 84 | h[3];l=0;for(m=h.length;l =0}},ID:function(g,h){return g.nodeType===1&&g.getAttribute("id")===h},TAG:function(g,h){return h==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===h},CLASS:function(g,h){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(h)>-1},ATTR:function(g,h){var l=h[1];g=n.attrHandle[l]?n.attrHandle[l](g):g[l]!=null?g[l]:g.getAttribute(l);l=g+"";var m=h[2];h=h[4];return g==null?m==="!=":m=== 86 | "="?l===h:m==="*="?l.indexOf(h)>=0:m==="~="?(" "+l+" ").indexOf(h)>=0:!h?l&&g!==false:m==="!="?l!==h:m==="^="?l.indexOf(h)===0:m==="$="?l.substr(l.length-h.length)===h:m==="|="?l===h||l.substr(0,h.length+1)===h+"-":false},POS:function(g,h,l,m){var q=n.setFilters[h[2]];if(q)return q(g,l,h,m)}}},r=n.match.POS;for(var u in n.match){n.match[u]=new RegExp(n.match[u].source+/(?![^\[]*\])(?![^\(]*\))/.source);n.leftMatch[u]=new RegExp(/(^(?:.|\r|\n)*?)/.source+n.match[u].source.replace(/\\(\d+)/g,function(g, 87 | h){return"\\"+(h-0+1)}))}var z=function(g,h){g=Array.prototype.slice.call(g,0);if(h){h.push.apply(h,g);return h}return g};try{Array.prototype.slice.call(s.documentElement.childNodes,0)}catch(C){z=function(g,h){h=h||[];if(j.call(g)==="[object Array]")Array.prototype.push.apply(h,g);else if(typeof g.length==="number")for(var l=0,m=g.length;l ";var l=s.documentElement;l.insertBefore(g,l.firstChild);if(s.getElementById(h)){n.find.ID=function(m,q,p){if(typeof q.getElementById!=="undefined"&&!p)return(q=q.getElementById(m[1]))?q.id===m[1]||typeof q.getAttributeNode!=="undefined"&& 90 | q.getAttributeNode("id").nodeValue===m[1]?[q]:w:[]};n.filter.ID=function(m,q){var p=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&p&&p.nodeValue===q}}l.removeChild(g);l=g=null})();(function(){var g=s.createElement("div");g.appendChild(s.createComment(""));if(g.getElementsByTagName("*").length>0)n.find.TAG=function(h,l){l=l.getElementsByTagName(h[1]);if(h[1]==="*"){h=[];for(var m=0;l[m];m++)l[m].nodeType===1&&h.push(l[m]);l=h}return l};g.innerHTML=""; 91 | if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(h){return h.getAttribute("href",2)};g=null})();s.querySelectorAll&&function(){var g=k,h=s.createElement("div");h.innerHTML="";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){k=function(m,q,p,v){q=q||s;if(!v&&q.nodeType===9&&!x(q))try{return z(q.querySelectorAll(m),p)}catch(t){}return g(m,q,p,v)};for(var l in g)k[l]=g[l];h=null}}(); 92 | (function(){var g=s.createElement("div");g.innerHTML="";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){n.order.splice(1,0,"CLASS");n.find.CLASS=function(h,l,m){if(typeof l.getElementsByClassName!=="undefined"&&!m)return l.getElementsByClassName(h[1])};g=null}}})();var E=s.compareDocumentPosition?function(g,h){return!!(g.compareDocumentPosition(h)&16)}: 93 | function(g,h){return g!==h&&(g.contains?g.contains(h):true)},x=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},ga=function(g,h){var l=[],m="",q;for(h=h.nodeType?[h]:h;q=n.match.PSEUDO.exec(g);){m+=q[0];g=g.replace(n.match.PSEUDO,"")}g=n.relative[g]?g+"*":g;q=0;for(var p=h.length;q =0===d})};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,f=0,e=this.length;f
0)for(var j=d;j 0},closest:function(a,b){if(c.isArray(a)){var d=[],f=this[0],e,j= 96 | {},i;if(f&&a.length){e=0;for(var o=a.length;e -1:c(f).is(e)){d.push({selector:i,elem:f});delete j[i]}}f=f.parentNode}}return d}var k=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(n,r){for(;r&&r.ownerDocument&&r!==b;){if(k?k.index(r)>-1:c(r).is(a))return r;r=r.parentNode}return null})},index:function(a){if(!a||typeof a=== 97 | "string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(qa(a[0])||qa(b[0])?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode", 98 | d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")? 99 | a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var e=c.map(this,b,d);eb.test(a)||(f=d);if(f&&typeof f==="string")e=c.filter(f,e);e=this.length>1?c.unique(e):e;if((this.length>1||gb.test(f))&&fb.test(a))e=e.reverse();return this.pushStack(e,a,R.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return c.find.matches(a,b)},dir:function(a,b,d){var f=[];for(a=a[b];a&&a.nodeType!==9&&(d===w||a.nodeType!==1||!c(a).is(d));){a.nodeType=== 100 | 1&&f.push(a);a=a[b]}return f},nth:function(a,b,d){b=b||1;for(var f=0;a;a=a[d])if(a.nodeType===1&&++f===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var Ja=/ jQuery\d+="(?:\d+|null)"/g,V=/^\s+/,Ka=/(<([\w:]+)[^>]*?)\/>/g,hb=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,La=/<([\w:]+)/,ib=/"+d+">"},F={option:[1,""],legend:[1,""],thead:[1," ","
"],tr:[2,"","
"],td:[3,""],col:[2,"
"," "],area:[1,""],_default:[0,"",""]};F.optgroup=F.option;F.tbody=F.tfoot=F.colgroup=F.caption=F.thead;F.th=F.td;if(!c.support.htmlSerialize)F._default=[1,"div
"," ",""];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d= 102 | c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==w)return this.empty().append((this[0]&&this[0].ownerDocument||s).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this}, 103 | wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})}, 104 | prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b, 105 | this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,f;(f=this[d])!=null;d++)if(!a||c.filter(a,[f]).length){if(!b&&f.nodeType===1){c.cleanData(f.getElementsByTagName("*"));c.cleanData([f])}f.parentNode&&f.parentNode.removeChild(f)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild); 106 | return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(Ja,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(V,"")],f)[0]}else return this.cloneNode(true)});if(a===true){ra(this,b);ra(this.find("*"),b.find("*"))}return b},html:function(a){if(a===w)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Ja, 107 | ""):null;else if(typeof a==="string"&&!ta.test(a)&&(c.support.leadingWhitespace||!V.test(a))&&!F[(La.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Ka,Ma);try{for(var b=0,d=this.length;b0||e.cacheable||this.length>1?k.cloneNode(true):k)}o.length&&c.each(o,Qa)}return this}});c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var f=[];d=c(d);var e=this.length===1&&this[0].parentNode;if(e&&e.nodeType===11&&e.childNodes.length===1&&d.length===1){d[b](this[0]); 111 | return this}else{e=0;for(var j=d.length;e 0?this.clone(true):this).get();c.fn[b].apply(c(d[e]),i);f=f.concat(i)}return this.pushStack(f,a,d.selector)}}});c.extend({clean:function(a,b,d,f){b=b||s;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||s;for(var e=[],j=0,i;(i=a[j])!=null;j++){if(typeof i==="number")i+="";if(i){if(typeof i==="string"&&!jb.test(i))i=b.createTextNode(i);else if(typeof i==="string"){i=i.replace(Ka,Ma);var o=(La.exec(i)||["", 112 | ""])[1].toLowerCase(),k=F[o]||F._default,n=k[0],r=b.createElement("div");for(r.innerHTML=k[1]+i+k[2];n--;)r=r.lastChild;if(!c.support.tbody){n=ib.test(i);o=o==="table"&&!n?r.firstChild&&r.firstChild.childNodes:k[1]===" "&&!n?r.childNodes:[];for(k=o.length-1;k>=0;--k)c.nodeName(o[k],"tbody")&&!o[k].childNodes.length&&o[k].parentNode.removeChild(o[k])}!c.support.leadingWhitespace&&V.test(i)&&r.insertBefore(b.createTextNode(V.exec(i)[0]),r.firstChild);i=r.childNodes}if(i.nodeType)e.push(i);else e= 113 | c.merge(e,i)}}if(d)for(j=0;e[j];j++)if(f&&c.nodeName(e[j],"script")&&(!e[j].type||e[j].type.toLowerCase()==="text/javascript"))f.push(e[j].parentNode?e[j].parentNode.removeChild(e[j]):e[j]);else{e[j].nodeType===1&&e.splice.apply(e,[j+1,0].concat(c.makeArray(e[j].getElementsByTagName("script"))));d.appendChild(e[j])}return e},cleanData:function(a){for(var b,d,f=c.cache,e=c.event.special,j=c.support.deleteExpando,i=0,o;(o=a[i])!=null;i++)if(d=o[c.expando]){b=f[d];if(b.events)for(var k in b.events)e[k]? 114 | c.event.remove(o,k):Ca(o,k,b.handle);if(j)delete o[c.expando];else o.removeAttribute&&o.removeAttribute(c.expando);delete f[d]}}});var kb=/z-?index|font-?weight|opacity|zoom|line-?height/i,Na=/alpha\([^)]*\)/,Oa=/opacity=([^)]*)/,ha=/float/i,ia=/-([a-z])/ig,lb=/([A-Z])/g,mb=/^-?\d+(?:px)?$/i,nb=/^-?\d/,ob={position:"absolute",visibility:"hidden",display:"block"},pb=["Left","Right"],qb=["Top","Bottom"],rb=s.defaultView&&s.defaultView.getComputedStyle,Pa=c.support.cssFloat?"cssFloat":"styleFloat",ja= 115 | function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return X(this,a,b,true,function(d,f,e){if(e===w)return c.curCSS(d,f);if(typeof e==="number"&&!kb.test(f))e+="px";c.style(d,f,e)})};c.extend({style:function(a,b,d){if(!a||a.nodeType===3||a.nodeType===8)return w;if((b==="width"||b==="height")&&parseFloat(d)<0)d=w;var f=a.style||a,e=d!==w;if(!c.support.opacity&&b==="opacity"){if(e){f.zoom=1;b=parseInt(d,10)+""==="NaN"?"":"alpha(opacity="+d*100+")";a=f.filter||c.curCSS(a,"filter")||"";f.filter= 116 | Na.test(a)?a.replace(Na,b):b}return f.filter&&f.filter.indexOf("opacity=")>=0?parseFloat(Oa.exec(f.filter)[1])/100+"":""}if(ha.test(b))b=Pa;b=b.replace(ia,ja);if(e)f[b]=d;return f[b]},css:function(a,b,d,f){if(b==="width"||b==="height"){var e,j=b==="width"?pb:qb;function i(){e=b==="width"?a.offsetWidth:a.offsetHeight;f!=="border"&&c.each(j,function(){f||(e-=parseFloat(c.curCSS(a,"padding"+this,true))||0);if(f==="margin")e+=parseFloat(c.curCSS(a,"margin"+this,true))||0;else e-=parseFloat(c.curCSS(a, 117 | "border"+this+"Width",true))||0})}a.offsetWidth!==0?i():c.swap(a,ob,i);return Math.max(0,Math.round(e))}return c.curCSS(a,b,d)},curCSS:function(a,b,d){var f,e=a.style;if(!c.support.opacity&&b==="opacity"&&a.currentStyle){f=Oa.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return f===""?"1":f}if(ha.test(b))b=Pa;if(!d&&e&&e[b])f=e[b];else if(rb){if(ha.test(b))b="float";b=b.replace(lb,"-$1").toLowerCase();e=a.ownerDocument.defaultView;if(!e)return null;if(a=e.getComputedStyle(a,null))f= 118 | a.getPropertyValue(b);if(b==="opacity"&&f==="")f="1"}else if(a.currentStyle){d=b.replace(ia,ja);f=a.currentStyle[b]||a.currentStyle[d];if(!mb.test(f)&&nb.test(f)){b=e.left;var j=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;e.left=d==="fontSize"?"1em":f||0;f=e.pixelLeft+"px";e.left=b;a.runtimeStyle.left=j}}return f},swap:function(a,b,d){var f={};for(var e in b){f[e]=a.style[e];a.style[e]=b[e]}d.call(a);for(e in b)a.style[e]=f[e]}});if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b= 119 | a.offsetWidth,d=a.offsetHeight,f=a.nodeName.toLowerCase()==="tr";return b===0&&d===0&&!f?true:b>0&&d>0&&!f?false:c.curCSS(a,"display")==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var sb=J(),tb=/