2013-11-17 15:55:38 +01:00
|
|
|
/**
|
2014-03-05 07:44:01 +01:00
|
|
|
* @license almond 0.2.9 Copyright (c) 2011-2014, The Dojo Foundation All Rights Reserved.
|
2013-11-17 15:55:38 +01:00
|
|
|
* Available via the MIT or new BSD license.
|
|
|
|
* see: http://github.com/jrburke/almond for details
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*!
|
2014-04-21 21:25:24 +02:00
|
|
|
* jQuery JavaScript Library v1.11.0
|
2013-11-17 15:55:38 +01:00
|
|
|
* http://jquery.com/
|
|
|
|
*
|
|
|
|
* Includes Sizzle.js
|
|
|
|
* http://sizzlejs.com/
|
|
|
|
*
|
2014-04-21 21:25:24 +02:00
|
|
|
* Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors
|
2013-11-17 15:55:38 +01:00
|
|
|
* Released under the MIT license
|
|
|
|
* http://jquery.org/license
|
|
|
|
*
|
2014-04-21 21:25:24 +02:00
|
|
|
* Date: 2014-01-23T21:02Z
|
2013-11-17 15:55:38 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
/*!
|
2014-04-21 21:25:24 +02:00
|
|
|
* Sizzle CSS Selector Engine v1.10.16
|
2013-11-17 15:55:38 +01:00
|
|
|
* http://sizzlejs.com/
|
2014-04-21 21:25:24 +02:00
|
|
|
*
|
|
|
|
* Copyright 2013 jQuery Foundation, Inc. and other contributors
|
|
|
|
* Released under the MIT license
|
|
|
|
* http://jquery.org/license
|
|
|
|
*
|
|
|
|
* Date: 2014-01-13
|
2013-11-17 15:55:38 +01:00
|
|
|
*/
|
|
|
|
|
2014-04-21 21:25:24 +02:00
|
|
|
//! moment.js
|
|
|
|
//! version : 2.6.0
|
|
|
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
|
|
//! license : MIT
|
|
|
|
//! momentjs.com
|
|
|
|
|
2013-11-17 15:55:38 +01:00
|
|
|
/*
|
|
|
|
jed.js
|
|
|
|
v0.5.0beta
|
|
|
|
|
|
|
|
https://github.com/SlexAxton/Jed
|
|
|
|
-----------
|
|
|
|
A gettext compatible i18n library for modern JavaScript Applications
|
|
|
|
|
|
|
|
by Alex Sexton - AlexSexton [at] gmail - @SlexAxton
|
|
|
|
WTFPL license for use
|
|
|
|
Dojo CLA for contributions
|
|
|
|
|
|
|
|
Jed offers the entire applicable GNU gettext spec'd set of
|
|
|
|
functions, but also offers some nicer wrappers around them.
|
|
|
|
The api for gettext was written for a language with no function
|
|
|
|
overloading, so Jed allows a little more of that.
|
|
|
|
|
|
|
|
Many thanks to Joshua I. Miller - unrtst@cpan.org - who wrote
|
|
|
|
gettext.js back in 2008. I was able to vet a lot of my ideas
|
|
|
|
against his. I also made sure Jed passed against his tests
|
|
|
|
in order to offer easy upgrades -- jsgettext.berlios.de
|
|
|
|
*/
|
|
|
|
|
|
|
|
// Underscore 1.3.0 was used to port and is licensed
|
|
|
|
|
|
|
|
/**
|
|
|
|
sprintf() for JavaScript 0.7-beta1
|
|
|
|
http://www.diveintojavascript.com/projects/javascript-sprintf
|
|
|
|
|
|
|
|
Copyright (c) Alexandru Marasteanu <alexaholic [at) gmail (dot] com>
|
|
|
|
All rights reserved.
|
|
|
|
|
|
|
|
Redistribution and use in source and binary forms, with or without
|
|
|
|
modification, are permitted provided that the following conditions are met:
|
|
|
|
* Redistributions of source code must retain the above copyright
|
|
|
|
notice, this list of conditions and the following disclaimer.
|
|
|
|
* Redistributions in binary form must reproduce the above copyright
|
|
|
|
notice, this list of conditions and the following disclaimer in the
|
|
|
|
documentation and/or other materials provided with the distribution.
|
|
|
|
* Neither the name of sprintf() for JavaScript nor the
|
|
|
|
names of its contributors may be used to endorse or promote products
|
|
|
|
derived from this software without specific prior written permission.
|
|
|
|
|
|
|
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
|
|
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
|
|
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
|
|
DISCLAIMED. IN NO EVENT SHALL Alexandru Marasteanu BE LIABLE FOR ANY
|
|
|
|
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
|
|
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
|
|
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
|
|
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
|
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
*/
|
|
|
|
|
2014-04-21 21:25:24 +02:00
|
|
|
// Underscore.js 1.6.0
|
2013-11-17 15:55:38 +01:00
|
|
|
// http://underscorejs.org
|
2014-04-21 21:25:24 +02:00
|
|
|
// (c) 2009-2014 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
2013-11-17 15:55:38 +01:00
|
|
|
// Underscore may be freely distributed under the MIT license.
|
|
|
|
|
2014-04-21 21:25:24 +02:00
|
|
|
// (c) 2010-2014 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
2013-11-17 15:55:38 +01:00
|
|
|
// Backbone may be freely distributed under the MIT license.
|
|
|
|
// For all details and documentation:
|
|
|
|
// http://backbonejs.org
|
|
|
|
|
2014-06-29 20:49:22 +02:00
|
|
|
/*!
|
|
|
|
* Backbone.Overview
|
|
|
|
*
|
|
|
|
* Copyright (c) 2014, JC Brand <jc@opkode.com>
|
|
|
|
* Licensed under the Mozilla Public License (MPL)
|
|
|
|
*/
|
|
|
|
|
2014-04-21 21:25:24 +02:00
|
|
|
/*!
|
|
|
|
* jQuery Browser Plugin v0.0.6
|
|
|
|
* https://github.com/gabceb/jquery-browser-plugin
|
|
|
|
*
|
|
|
|
* Original jquery-browser code Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
|
|
|
|
* http://jquery.org/license
|
|
|
|
*
|
|
|
|
* Modifications Copyright 2013 Gabriel Cebrian
|
|
|
|
* https://github.com/gabceb
|
|
|
|
*
|
|
|
|
* Released under the MIT license
|
|
|
|
*
|
|
|
|
* Date: 2013-07-29T17:23:27-07:00
|
|
|
|
*/
|
|
|
|
|
2014-09-03 18:02:12 +02:00
|
|
|
/*!
|
|
|
|
* typeahead.js 0.10.5
|
|
|
|
* https://github.com/twitter/typeahead.js
|
|
|
|
* Copyright 2013-2014 Twitter, Inc. and other contributors; Licensed MIT
|
|
|
|
*/
|
|
|
|
|
2013-11-17 15:55:38 +01:00
|
|
|
/*
|
|
|
|
* A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined
|
|
|
|
* in FIPS PUB 180-1
|
|
|
|
* Version 2.1a Copyright Paul Johnston 2000 - 2002.
|
|
|
|
* Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
|
|
|
|
* Distributed under the BSD License
|
|
|
|
* See http://pajhome.org.uk/crypt/md5 for details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* A JavaScript implementation of the RSA Data Security, Inc. MD5 Message
|
|
|
|
* Digest Algorithm, as defined in RFC 1321.
|
|
|
|
* Version 2.1 Copyright (C) Paul Johnston 1999 - 2002.
|
|
|
|
* Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
|
|
|
|
* Distributed under the BSD License
|
|
|
|
* See http://pajhome.org.uk/crypt/md5 for more info.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
This program is distributed under the terms of the MIT license.
|
|
|
|
Please see the LICENSE file for details.
|
|
|
|
|
|
|
|
Copyright 2006-2008, OGG, LLC
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
Copyright 2010, François de Metz <francois@2metz.fr>
|
|
|
|
*/
|
|
|
|
|
2014-04-21 21:25:24 +02:00
|
|
|
/**
|
|
|
|
* @license RequireJS text 2.0.12 Copyright (c) 2010-2014, The Dojo Foundation All Rights Reserved.
|
|
|
|
* Available via the MIT or new BSD license.
|
|
|
|
* see: http://github.com/requirejs/text for details
|
|
|
|
*/
|
|
|
|
|
|
|
|
// RequireJS UnderscoreJS template plugin
|
|
|
|
// http://github.com/jfparadis/requirejs-tpl
|
|
|
|
//
|
|
|
|
// An alternative to http://github.com/ZeeAgency/requirejs-tpl
|
|
|
|
//
|
|
|
|
// Using UnderscoreJS micro-templates at http://underscorejs.org/#template
|
|
|
|
// Using and RequireJS text.js at http://requirejs.org/docs/api.html#text
|
|
|
|
// @author JF Paradis
|
|
|
|
// @version 0.0.2
|
|
|
|
//
|
|
|
|
// Released under the MIT license
|
|
|
|
//
|
|
|
|
// Usage:
|
|
|
|
// require(['backbone', 'tpl!mytemplate'], function (Backbone, mytemplate) {
|
|
|
|
// return Backbone.View.extend({
|
|
|
|
// initialize: function(){
|
|
|
|
// this.render();
|
|
|
|
// },
|
|
|
|
// render: function(){
|
|
|
|
// this.$el.html(mytemplate({message: 'hello'}));
|
|
|
|
// });
|
|
|
|
// });
|
|
|
|
//
|
|
|
|
// Configuration: (optional)
|
|
|
|
// require.config({
|
|
|
|
// tpl: {
|
|
|
|
// extension: '.tpl' // default = '.html'
|
|
|
|
// }
|
|
|
|
// });
|
|
|
|
|
2013-11-17 15:55:38 +01:00
|
|
|
/*!
|
|
|
|
* Converse.js (Web-based XMPP instant messaging client)
|
|
|
|
* http://conversejs.org
|
|
|
|
*
|
|
|
|
* Copyright (c) 2012, Jan-Carel Brand <jc@opkode.com>
|
2014-06-29 20:49:22 +02:00
|
|
|
* Licensed under the Mozilla Public License (MPL)
|
2013-11-17 15:55:38 +01:00
|
|
|
*/
|
|
|
|
|
2014-10-28 18:21:36 +01:00
|
|
|
function b64_sha1(e){return binb2b64(core_sha1(str2binb(e),e.length*8))}function str_sha1(e){return binb2str(core_sha1(str2binb(e),e.length*8))}function b64_hmac_sha1(e,t){return binb2b64(core_hmac_sha1(e,t))}function str_hmac_sha1(e,t){return binb2str(core_hmac_sha1(e,t))}function core_sha1(e,t){e[t>>5]|=128<<24-t%32,e[(t+64>>9<<4)+15]=t;var n=new Array(80),r=1732584193,i=-271733879,s=-1732584194,o=271733878,u=-1009589776,a,f,l,c,h,p,d,v;for(a=0;a<e.length;a+=16){c=r,h=i,p=s,d=o,v=u;for(f=0;f<80;f++)f<16?n[f]=e[a+f]:n[f]=rol(n[f-3]^n[f-8]^n[f-14]^n[f-16],1),l=safe_add(safe_add(rol(r,5),sha1_ft(f,i,s,o)),safe_add(safe_add(u,n[f]),sha1_kt(f))),u=o,o=s,s=rol(i,30),i=r,r=l;r=safe_add(r,c),i=safe_add(i,h),s=safe_add(s,p),o=safe_add(o,d),u=safe_add(u,v)}return[r,i,s,o,u]}function sha1_ft(e,t,n,r){return e<20?t&n|~t&r:e<40?t^n^r:e<60?t&n|t&r|n&r:t^n^r}function sha1_kt(e){return e<20?1518500249:e<40?1859775393:e<60?-1894007588:-899497514}function core_hmac_sha1(e,t){var n=str2binb(e);n.length>16&&(n=core_sha1(n,e.length*8));var r=new Array(16),i=new Array(16);for(var s=0;s<16;s++)r[s]=n[s]^909522486,i[s]=n[s]^1549556828;var o=core_sha1(r.concat(str2binb(t)),512+t.length*8);return core_sha1(i.concat(o),672)}function safe_add(e,t){var n=(e&65535)+(t&65535),r=(e>>16)+(t>>16)+(n>>16);return r<<16|n&65535}function rol(e,t){return e<<t|e>>>32-t}function str2binb(e){var t=[],n=255;for(var r=0;r<e.length*8;r+=8)t[r>>5]|=(e.charCodeAt(r/8)&n)<<24-r%32;return t}function binb2str(e){var t="",n=255;for(var r=0;r<e.length*32;r+=8)t+=String.fromCharCode(e[r>>5]>>>24-r%32&n);return t}function binb2b64(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n="",r,i;for(var s=0;s<e.length*4;s+=3){r=(e[s>>2]>>8*(3-s%4)&255)<<16|(e[s+1>>2]>>8*(3-(s+1)%4)&255)<<8|e[s+2>>2]>>8*(3-(s+2)%4)&255;for(i=0;i<4;i++)s*8+i*6>e.length*32?n+="=":n+=t.charAt(r>>6*(3-i)&63)}return n}var requirejs,require,define;(function(e){function h(e,t){return f.call(e,t)}function p(e,t){var n,r,i,s,o,a,f,l,h,p,d,v=t&&t.split("/"),m=u.map,g=m&&m["*"]||{};if(e&&e.charAt(0)===".")if(t){v=v.slice(0,v.length-1),e=e.split("/"),o=e.length-1,u.nodeIdCompat&&c.test(e[o])&&(e[o]=e[o].replace(c,"")),e=v.concat(e);for(h=0;h<e.length;h+=1){d=e[h];if(d===".")e.splice(h,1),h-=1;else if(d===".."){if(h===1&&(e[2]===".."||e[0]===".."))break;h>0&&(e.splice(h-1,2),h-=2)}}e=e.join("/")}else e.indexOf("./")===0&&(e=e.substring(2));if((v||g)&&m){n=e.split("/");for(h=n.length;h>0;h-=1){r=n.slice(0,h).join("/");if(v)for(p=v.length;p>0;p-=1){i=m[v.slice(0,p).join("/")];if(i){i=i[r];if(i){s=i,a=h;break}}}if(s)break;!f&&g&&g[r]&&(f=g[r],l=h)}!s&&f&&(s=f,a=l),s&&(n.splice(0,a,s),e=n.join("/"))}return e}function d(t,r){return function(){return n.apply(e,l.call(arguments,0).concat([t,r]))}}function v(e){return function(t){return p(t,e)}}function m(e){return function(t){s[e]=t}}function g(n){if(h(o,n)){var r=o[n];delete o[n],a[n]=!0,t.apply(e,r)}if(!h(s,n)&&!h(a,n))throw new Error("No "+n);return s[n]}function y(e){var t,n=e?e.indexOf("!"):-1;return n>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function b(e){return function(){return u&&u.config&&u.config[e]||{}}}var t,n,r,i,s={},o={},u={},a={},f=Object.prototype.hasOwnProperty,l=[].slice,c=/\.js$/;r=function(e,t){var n,r=y(e),i=r[0];return e=r[1],i&&(i=p(i,t),n=g(i)),i?n&&n.normalize?e=n.normalize(e,v(t)):e=p(e,t):(e=p(e,t),r=y(e),i=r[0],e=r[1],i&&(n=g(i))),{f:i?i+"!"+e:e,n:e,pr:i,p:n}},i={require:function(e){return d(e)},exports:function(e){var t=s[e];return typeof t!="undefined"?t:s[e]={}},module:function(e){return{id:e,uri:"",exports:s[e],config:b(e)}}},t=function(t,n,u,f){var l,c,p,v,y,b=[],w=typeof u,E;f=f||t;if(w==="undefined"||w==="function"){n=!n.length&&u.length?["require","exports","module"]:n;for(y=0;y<n.length;y+=1){v=r(n[y],f),c=v.f;if(c==="require")b[y]=i.require(t);else if(c==="exports")b[y]=i.exports(t),E=!0;else if(c==="module")l=b[y]=i.module(t);else if(h(s,c)||h(o,c)||h(a,c))b[y]=g(c);else{if(!v.p)throw new Error(t+" missing "+c);v.p.load(v.n,d(f,!0),m(c),{}),b[y]=s[c]}}p=u?u.apply(s[t],b):undefined;
|