Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

linkifyjs

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

linkifyjs - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

lib/linkify/utils/class.js

7

CHANGELOG.md
# Linkify Changelog
### v2.0.4
* Optimize class code to reduce file size (#147).
* Update test and dev dependencies
* Allow uglify to mangle properties, except for the specified ones (#146)
* Updated tlds.js (#121)
### v2.0.3

@@ -4,0 +11,0 @@

615

dist/dist/jquery.linkify.js

@@ -5,15 +5,20 @@ ;typeof console !== 'undefined' && console.warn('dist/jquery.linkify.js is deprecated. Use linkify.js and linkify-jquery.js instead.');

function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
(function (exports) {
'use strict';
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
function inherits(parent, child) {
var props = arguments.length <= 2 || arguments[2] === undefined ? {} : arguments[2];
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var extended = Object.create(parent.prototype);
for (var p in props) {
extended[p] = props[p];
}
extended.constructor = child;
child.prototype = extended;
return child;
}
(function (exports) {
'use strict';
/**
* Convert set of options into objects including all the defaults
*/
function normalize(opts) {

@@ -87,2 +92,10 @@ opts = opts || {};

function createTokenClass() {
return function (value) {
if (value) {
this.v = value;
}
};
}
/******************************************************************************

@@ -100,27 +113,15 @@ Text Tokens

var TextToken = function () {
/**
@method constructor
@param {String} value The string of characters representing this particular Token
*/
var TextToken = createTokenClass();
function TextToken(value) {
_classCallCheck(this, TextToken);
this.v = value;
TextToken.prototype = {
toString: function toString() {
return this.v + '';
}
};
/**
String representing the type for this token
@property type
@default 'TOKEN'
*/
function inheritsToken(value) {
var props = value ? { v: value } : {};
return inherits(TextToken, createTokenClass(), props);
}
TextToken.prototype.toString = function toString() {
return this.v + '';
};
return TextToken;
}();
/**

@@ -131,16 +132,4 @@ A valid domain token

*/
var DOMAIN = inheritsToken();
var DOMAIN = function (_TextToken) {
_inherits(DOMAIN, _TextToken);
function DOMAIN() {
_classCallCheck(this, DOMAIN);
return _possibleConstructorReturn(this, _TextToken.apply(this, arguments));
}
return DOMAIN;
}(TextToken);
/**

@@ -150,16 +139,4 @@ @class AT

*/
var AT = inheritsToken('@');
var AT = function (_TextToken2) {
_inherits(AT, _TextToken2);
function AT() {
_classCallCheck(this, AT);
return _possibleConstructorReturn(this, _TextToken2.call(this, '@'));
}
return AT;
}(TextToken);
/**

@@ -170,16 +147,4 @@ Represents a single colon `:` character

*/
var COLON$1 = inheritsToken(':');
var COLON$1 = function (_TextToken3) {
_inherits(COLON$1, _TextToken3);
function COLON$1() {
_classCallCheck(this, COLON$1);
return _possibleConstructorReturn(this, _TextToken3.call(this, ':'));
}
return COLON$1;
}(TextToken);
/**

@@ -189,16 +154,4 @@ @class DOT

*/
var DOT = inheritsToken('.');
var DOT = function (_TextToken4) {
_inherits(DOT, _TextToken4);
function DOT() {
_classCallCheck(this, DOT);
return _possibleConstructorReturn(this, _TextToken4.call(this, '.'));
}
return DOT;
}(TextToken);
/**

@@ -210,16 +163,4 @@ A character class that can surround the URL, but which the URL cannot begin

*/
var PUNCTUATION = inheritsToken();
var PUNCTUATION = function (_TextToken5) {
_inherits(PUNCTUATION, _TextToken5);
function PUNCTUATION() {
_classCallCheck(this, PUNCTUATION);
return _possibleConstructorReturn(this, _TextToken5.apply(this, arguments));
}
return PUNCTUATION;
}(TextToken);
/**

@@ -230,16 +171,4 @@ The word localhost (by itself)

*/
var LOCALHOST = inheritsToken();
var LOCALHOST = function (_TextToken6) {
_inherits(LOCALHOST, _TextToken6);
function LOCALHOST() {
_classCallCheck(this, LOCALHOST);
return _possibleConstructorReturn(this, _TextToken6.apply(this, arguments));
}
return LOCALHOST;
}(TextToken);
/**

@@ -250,16 +179,4 @@ Newline token

*/
var TNL = inheritsToken('\n');
var TNL = function (_TextToken7) {
_inherits(TNL, _TextToken7);
function TNL() {
_classCallCheck(this, TNL);
return _possibleConstructorReturn(this, _TextToken7.call(this, '\n'));
}
return TNL;
}(TextToken);
/**

@@ -269,16 +186,4 @@ @class NUM

*/
var NUM = inheritsToken();
var NUM = function (_TextToken8) {
_inherits(NUM, _TextToken8);
function NUM() {
_classCallCheck(this, NUM);
return _possibleConstructorReturn(this, _TextToken8.apply(this, arguments));
}
return NUM;
}(TextToken);
/**

@@ -288,16 +193,4 @@ @class PLUS

*/
var PLUS = inheritsToken('+');
var PLUS = function (_TextToken9) {
_inherits(PLUS, _TextToken9);
function PLUS() {
_classCallCheck(this, PLUS);
return _possibleConstructorReturn(this, _TextToken9.call(this, '+'));
}
return PLUS;
}(TextToken);
/**

@@ -307,16 +200,4 @@ @class POUND

*/
var POUND = inheritsToken('#');
var POUND = function (_TextToken10) {
_inherits(POUND, _TextToken10);
function POUND() {
_classCallCheck(this, POUND);
return _possibleConstructorReturn(this, _TextToken10.call(this, '#'));
}
return POUND;
}(TextToken);
/**

@@ -332,16 +213,4 @@ Represents a web URL protocol. Supported types include

*/
var PROTOCOL = inheritsToken();
var PROTOCOL = function (_TextToken11) {
_inherits(PROTOCOL, _TextToken11);
function PROTOCOL() {
_classCallCheck(this, PROTOCOL);
return _possibleConstructorReturn(this, _TextToken11.apply(this, arguments));
}
return PROTOCOL;
}(TextToken);
/**

@@ -351,16 +220,4 @@ @class QUERY

*/
var QUERY = inheritsToken('?');
var QUERY = function (_TextToken12) {
_inherits(QUERY, _TextToken12);
function QUERY() {
_classCallCheck(this, QUERY);
return _possibleConstructorReturn(this, _TextToken12.call(this, '?'));
}
return QUERY;
}(TextToken);
/**

@@ -370,16 +227,4 @@ @class SLASH

*/
var SLASH = inheritsToken('/');
var SLASH = function (_TextToken13) {
_inherits(SLASH, _TextToken13);
function SLASH() {
_classCallCheck(this, SLASH);
return _possibleConstructorReturn(this, _TextToken13.call(this, '/'));
}
return SLASH;
}(TextToken);
/**

@@ -390,16 +235,4 @@ One ore more non-whitespace symbol.

*/
var SYM = inheritsToken();
var SYM = function (_TextToken14) {
_inherits(SYM, _TextToken14);
function SYM() {
_classCallCheck(this, SYM);
return _possibleConstructorReturn(this, _TextToken14.apply(this, arguments));
}
return SYM;
}(TextToken);
/**

@@ -409,16 +242,4 @@ @class TLD

*/
var TLD = inheritsToken();
var TLD = function (_TextToken15) {
_inherits(TLD, _TextToken15);
function TLD() {
_classCallCheck(this, TLD);
return _possibleConstructorReturn(this, _TextToken15.apply(this, arguments));
}
return TLD;
}(TextToken);
/**

@@ -429,16 +250,4 @@ Represents a string of consecutive whitespace characters

*/
var WS = inheritsToken();
var WS = function (_TextToken16) {
_inherits(WS, _TextToken16);
function WS() {
_classCallCheck(this, WS);
return _possibleConstructorReturn(this, _TextToken16.apply(this, arguments));
}
return WS;
}(TextToken);
/**

@@ -448,74 +257,9 @@ Opening/closing bracket classes

var OPENBRACE = function (_TextToken17) {
_inherits(OPENBRACE, _TextToken17);
var OPENBRACE = inheritsToken('{');
var OPENBRACKET = inheritsToken('[');
var OPENPAREN = inheritsToken('(');
var CLOSEBRACE = inheritsToken('}');
var CLOSEBRACKET = inheritsToken(']');
var CLOSEPAREN = inheritsToken(')');
function OPENBRACE() {
_classCallCheck(this, OPENBRACE);
return _possibleConstructorReturn(this, _TextToken17.call(this, '{'));
}
return OPENBRACE;
}(TextToken);
var OPENBRACKET = function (_TextToken18) {
_inherits(OPENBRACKET, _TextToken18);
function OPENBRACKET() {
_classCallCheck(this, OPENBRACKET);
return _possibleConstructorReturn(this, _TextToken18.call(this, '['));
}
return OPENBRACKET;
}(TextToken);
var OPENPAREN = function (_TextToken19) {
_inherits(OPENPAREN, _TextToken19);
function OPENPAREN() {
_classCallCheck(this, OPENPAREN);
return _possibleConstructorReturn(this, _TextToken19.call(this, '('));
}
return OPENPAREN;
}(TextToken);
var CLOSEBRACE = function (_TextToken20) {
_inherits(CLOSEBRACE, _TextToken20);
function CLOSEBRACE() {
_classCallCheck(this, CLOSEBRACE);
return _possibleConstructorReturn(this, _TextToken20.call(this, '}'));
}
return CLOSEBRACE;
}(TextToken);
var CLOSEBRACKET = function (_TextToken21) {
_inherits(CLOSEBRACKET, _TextToken21);
function CLOSEBRACKET() {
_classCallCheck(this, CLOSEBRACKET);
return _possibleConstructorReturn(this, _TextToken21.call(this, ']'));
}
return CLOSEBRACKET;
}(TextToken);
var CLOSEPAREN = function (_TextToken22) {
_inherits(CLOSEPAREN, _TextToken22);
function CLOSEPAREN() {
_classCallCheck(this, CLOSEPAREN);
return _possibleConstructorReturn(this, _TextToken22.call(this, ')'));
}
return CLOSEPAREN;
}(TextToken);
var TEXT_TOKENS = {

@@ -567,30 +311,19 @@ Base: TextToken,

*/
var MultiToken = createTokenClass();
var MultiToken = function () {
MultiToken.prototype = {
/**
@method constructor
@param {Array} value The array of `TextToken`s representing this
particular MultiToken
String representing the type for this token
@property type
@default 'TOKEN'
*/
type: 'token',
function MultiToken(value) {
_classCallCheck(this, MultiToken);
/**
Is this multitoken a link?
@property isLink
@default false
*/
isLink: false,
this.v = value;
/**
String representing the type for this token
@property type
@default 'TOKEN'
*/
this.type = 'token';
/**
Is this multitoken a link?
@property isLink
@default false
*/
this.isLink = false;
}
/**

@@ -601,5 +334,3 @@ Return the string this token represents.

*/
MultiToken.prototype.toString = function toString() {
toString: function toString() {
var result = [];

@@ -610,4 +341,5 @@ for (var i = 0; i < this.v.length; i++) {

return result.join('');
};
},
/**

@@ -619,8 +351,7 @@ What should the value for this token be in the `href` HTML attribute?

*/
toHref: function toHref() {
return this.toString();
},
MultiToken.prototype.toHref = function toHref() {
return this.toString();
};
/**

@@ -636,5 +367,3 @@ Returns a hash of relevant values for this token, which includes keys

*/
MultiToken.prototype.toObject = function toObject() {
toObject: function toObject() {
var protocol = arguments.length <= 0 || arguments[0] === undefined ? 'http' : arguments[0];

@@ -647,7 +376,5 @@

};
};
}
};
return MultiToken;
}();
/**

@@ -658,24 +385,10 @@ Represents a list of tokens making up a valid email address

*/
var EMAIL = function (_MultiToken) {
_inherits(EMAIL, _MultiToken);
function EMAIL(value) {
_classCallCheck(this, EMAIL);
var _this23 = _possibleConstructorReturn(this, _MultiToken.call(this, value));
_this23.type = 'email';
_this23.isLink = true;
return _this23;
var EMAIL = inherits(MultiToken, createTokenClass(), {
type: 'email',
isLink: true,
toHref: function toHref() {
return 'mailto:' + this.toString();
}
});
EMAIL.prototype.toHref = function toHref() {
return 'mailto:' + this.toString();
};
return EMAIL;
}(MultiToken);
/**

@@ -686,19 +399,4 @@ Represents some plain text

*/
var TEXT = inherits(MultiToken, createTokenClass(), { type: 'text' });
var TEXT = function (_MultiToken2) {
_inherits(TEXT, _MultiToken2);
function TEXT(value) {
_classCallCheck(this, TEXT);
var _this24 = _possibleConstructorReturn(this, _MultiToken2.call(this, value));
_this24.type = 'text';
return _this24;
}
return TEXT;
}(MultiToken);
/**

@@ -709,19 +407,4 @@ Multi-linebreak token - represents a line break

*/
var MNL = inherits(MultiToken, createTokenClass(), { type: 'nl' });
var MNL = function (_MultiToken3) {
_inherits(MNL, _MultiToken3);
function MNL(value) {
_classCallCheck(this, MNL);
var _this25 = _possibleConstructorReturn(this, _MultiToken3.call(this, value));
_this25.type = 'nl';
return _this25;
}
return MNL;
}(MultiToken);
/**

@@ -732,17 +415,6 @@ Represents a list of tokens making up a valid URL

*/
var URL = inherits(MultiToken, createTokenClass(), {
type: 'url',
isLink: true,
var URL = function (_MultiToken4) {
_inherits(URL, _MultiToken4);
function URL(value) {
_classCallCheck(this, URL);
var _this26 = _possibleConstructorReturn(this, _MultiToken4.call(this, value));
_this26.type = 'url';
_this26.isLink = true;
return _this26;
}
/**

@@ -756,5 +428,3 @@ Lowercases relevant parts of the domain and adds the protocol if

*/
URL.prototype.toHref = function toHref() {
toHref: function toHref() {
var protocol = arguments.length <= 0 || arguments[0] === undefined ? 'http' : arguments[0];

@@ -801,11 +471,8 @@

return result;
};
URL.prototype.hasProtocol = function hasProtocol() {
},
hasProtocol: function hasProtocol() {
return this.v[0] instanceof PROTOCOL;
};
}
});
return URL;
}(MultiToken);
var MULTI_TOKENS = {

@@ -819,2 +486,9 @@ Base: MultiToken,

function createStateClass() {
return function (tClass) {
this.j = [];
this.T = tClass || null;
};
}
/**

@@ -833,5 +507,4 @@ A simple state machine that can emit token classes

*/
var BaseState = function () {
var BaseState = createStateClass();
BaseState.prototype = {
/**

@@ -843,9 +516,2 @@ @method constructor

function BaseState(tClass) {
_classCallCheck(this, BaseState);
this.j = [];
this.T = tClass || null;
}
/**

@@ -860,4 +526,3 @@ On the given symbol(s), this machine should go to the given state

BaseState.prototype.on = function on(symbol, state) {
on: function on(symbol, state) {
if (symbol instanceof Array) {

@@ -871,4 +536,5 @@ for (var i = 0; i < symbol.length; i++) {

return this;
};
},
/**

@@ -881,6 +547,4 @@ Given the next item, returns next state for that item

*/
next: function next(item) {
BaseState.prototype.next = function next(item) {
for (var i = 0; i < this.j.length; i++) {

@@ -899,4 +563,5 @@

return false;
};
},
/**

@@ -908,8 +573,7 @@ Does this state accept?

*/
accepts: function accepts() {
return !!this.T;
},
BaseState.prototype.accepts = function accepts() {
return !!this.T;
};
/**

@@ -924,8 +588,7 @@ Determine whether a given item "symbolizes" the symbol, where symbol is

*/
test: function test(item, symbol) {
return item === symbol;
},
BaseState.prototype.test = function test(item, symbol) {
return item === symbol;
};
/**

@@ -937,11 +600,7 @@ Emit the token for this State (just return it in this case)

*/
BaseState.prototype.emit = function emit() {
emit: function emit() {
return this.T;
};
}
};
return BaseState;
}();
/**

@@ -952,13 +611,3 @@ State machine for string-based input

*/
var CharacterState = function (_BaseState) {
_inherits(CharacterState, _BaseState);
function CharacterState() {
_classCallCheck(this, CharacterState);
return _possibleConstructorReturn(this, _BaseState.apply(this, arguments));
}
var CharacterState = inherits(BaseState, createStateClass(), {
/**

@@ -973,9 +622,7 @@ Does the given character match the given character or regular

CharacterState.prototype.test = function test(character, charOrRegExp) {
test: function test(character, charOrRegExp) {
return character === charOrRegExp || charOrRegExp instanceof RegExp && charOrRegExp.test(character);
};
}
});
return CharacterState;
}(BaseState);
/**

@@ -986,13 +633,4 @@ State machine for input in the form of TextTokens

*/
var State = inherits(BaseState, createStateClass(), {
var State = function (_BaseState2) {
_inherits(State, _BaseState2);
function State() {
_classCallCheck(this, State);
return _possibleConstructorReturn(this, _BaseState2.apply(this, arguments));
}
/**

@@ -1006,9 +644,7 @@ Is the given token an instance of the given token class?

State.prototype.test = function test(token, tokenClass) {
test: function test(token, tokenClass) {
return token instanceof tokenClass;
};
}
});
return State;
}(BaseState);
/**

@@ -1031,4 +667,2 @@ Given a non-empty target string, generates states (if required) for each

*/
function stateify(str, start, endToken, defaultToken) {

@@ -1065,3 +699,3 @@

var tlds = 'abogado|ac|academy|accountants|active|actor|ad|adult|ae|aero|af|ag|agency|ai|airforce|al|allfinanz|alsace|am|an|android|ao|aq|aquarelle|ar|archi|army|arpa|as|asia|associates|at|attorney|au|auction|audio|autos|aw|ax|axa|az|ba|band|bar|bargains|bayern|bb|bd|be|beer|berlin|best|bf|bg|bh|bi|bid|bike|bio|biz|bj|black|blackfriday|bloomberg|blue|bm|bmw|bn|bnpparibas|bo|boo|boutique|br|brussels|bs|bt|budapest|build|builders|business|buzz|bv|bw|by|bz|bzh|ca|cab|cal|camera|camp|cancerresearch|capetown|capital|caravan|cards|care|career|careers|casa|cash|cat|catering|cc|cd|center|ceo|cern|cf|cg|ch|channel|cheap|christmas|chrome|church|ci|citic|city|ck|cl|claims|cleaning|click|clinic|clothing|club|cm|cn|co|coach|codes|coffee|college|cologne|com|community|company|computer|condos|construction|consulting|contractors|cooking|cool|coop|country|cr|credit|creditcard|cricket|crs|cruises|cu|cuisinella|cv|cw|cx|cy|cymru|cz|dad|dance|dating|day|de|deals|degree|delivery|democrat|dental|dentist|desi|diamonds|diet|digital|direct|directory|discount|dj|dk|dm|dnp|do|domains|durban|dvag|dz|eat|ec|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|equipment|er|es|esq|estate|et|eu|eurovision|eus|events|everbank|exchange|expert|exposed|fail|farm|fashion|feedback|fi|finance|financial|firmdale|fish|fishing|fitness|fj|fk|flights|florist|flsmidth|fly|fm|fo|foo|forsale|foundation|fr|frl|frogans|fund|furniture|futbol|ga|gal|gallery|gb|gbiz|gd|ge|gent|gf|gg|gh|gi|gift|gifts|gives|gl|glass|gle|global|globo|gm|gmail|gmo|gmx|gn|google|gop|gov|gp|gq|gr|graphics|gratis|green|gripe|gs|gt|gu|guide|guitars|guru|gw|gy|hamburg|haus|healthcare|help|here|hiphop|hiv|hk|hm|hn|holdings|holiday|homes|horse|host|hosting|house|how|hr|ht|hu|ibm|id|ie|il|im|immo|immobilien|in|industries|info|ing|ink|institute|insure|int|international|investments|io|iq|ir|irish|is|it|je|jetzt|jm|jo|jobs|joburg|jp|juegos|kaufen|ke|kg|kh|ki|kim|kitchen|kiwi|km|kn|koeln|kp|kr|krd|kred|kw|ky|kz|la|lacaixa|land|latrobe|lawyer|lb|lc|lds|lease|legal|lgbt|li|life|lighting|limited|limo|link|lk|loans|local|london|lotto|lr|ls|lt|ltda|lu|luxe|luxury|lv|ly|ma|madrid|maison|management|mango|market|marketing|mc|md|me|media|meet|melbourne|meme|memorial|menu|mg|mh|miami|mil|mini|mk|ml|mm|mn|mo|mobi|moda|moe|monash|money|mormon|mortgage|moscow|motorcycles|mov|mp|mq|mr|ms|mt|mu|museum|mv|mw|mx|my|mz|na|nagoya|name|navy|nc|ne|net|network|neustar|new|nexus|nf|ng|ngo|nhk|ni|ninja|nl|no|np|nr|nra|nrw|nu|nyc|nz|okinawa|om|ong|onl|ooo|org|organic|otsuka|ovh|pa|paris|partners|parts|party|pe|pf|pg|ph|pharmacy|photo|photography|photos|physio|pics|pictures|pink|pizza|pk|pl|place|plumbing|pm|pn|pohl|poker|porn|post|pr|praxi|press|pro|prod|productions|prof|properties|property|ps|pt|pub|pw|py|qa|qpon|quebec|re|realtor|recipes|red|rehab|reise|reisen|reit|ren|rentals|repair|report|republican|rest|restaurant|reviews|rich|rio|rip|ro|rocks|rodeo|rs|rsvp|ru|ruhr|rw|ryukyu|sa|saarland|sarl|sb|sc|sca|scb|schmidt|schule|science|scot|sd|se|services|sexy|sg|sh|shiksha|shoes|si|singles|sj|sk|sl|sm|sn|so|social|software|sohu|solar|solutions|soy|space|spiegel|sr|st|su|supplies|supply|support|surf|surgery|suzuki|sv|sx|sy|sydney|systems|sz|taipei|tatar|tattoo|tax|tc|td|technology|tel|tf|tg|th|tienda|tips|tirol|tj|tk|tl|tm|tn|to|today|tokyo|tools|top|town|toys|tp|tr|trade|training|travel|trust|tt|tui|tv|tw|tz|ua|ug|uk|university|uno|uol|us|uy|uz|va|vacations|vc|ve|vegas|ventures|versicherung|vet|vg|vi|viajes|villas|vision|vlaanderen|vn|vodka|vote|voting|voto|voyage|vu|wales|wang|watch|webcam|website|wed|wedding|wf|whoswho|wien|wiki|williamhill|wme|work|works|world|ws|wtc|wtf|xxx|xyz|yachts|yandex|ye|yoga|yokohama|youtube|yt|za|zip|zm|zone|zw'.split('|'); // macro, see gulpfile.js
var tlds = 'aaa|aarp|abb|abbott|abogado|ac|academy|accenture|accountant|accountants|aco|active|actor|ad|adac|ads|adult|ae|aeg|aero|af|afl|ag|agency|ai|aig|airforce|airtel|al|alibaba|alipay|allfinanz|alsace|am|amica|amsterdam|an|analytics|android|ao|apartments|app|apple|aq|aquarelle|ar|aramco|archi|army|arpa|arte|as|asia|associates|at|attorney|au|auction|audi|audio|author|auto|autos|avianca|aw|ax|axa|az|azure|ba|baidu|band|bank|bar|barcelona|barclaycard|barclays|bargains|bauhaus|bayern|bb|bbc|bbva|bcg|bcn|bd|be|beats|beer|bentley|berlin|best|bet|bf|bg|bh|bharti|bi|bible|bid|bike|bing|bingo|bio|biz|bj|black|blackfriday|bloomberg|blue|bm|bms|bmw|bn|bnl|bnpparibas|bo|boats|boehringer|bom|bond|boo|book|boots|bosch|bostik|bot|boutique|br|bradesco|bridgestone|broadway|broker|brother|brussels|bs|bt|budapest|bugatti|build|builders|business|buy|buzz|bv|bw|by|bz|bzh|ca|cab|cafe|cal|call|camera|camp|cancerresearch|canon|capetown|capital|car|caravan|cards|care|career|careers|cars|cartier|casa|cash|casino|cat|catering|cba|cbn|cc|cd|ceb|center|ceo|cern|cf|cfa|cfd|cg|ch|chanel|channel|chase|chat|cheap|chloe|christmas|chrome|church|ci|cipriani|circle|cisco|citic|city|cityeats|ck|cl|claims|cleaning|click|clinic|clinique|clothing|cloud|club|clubmed|cm|cn|co|coach|codes|coffee|college|cologne|com|commbank|community|company|compare|computer|comsec|condos|construction|consulting|contact|contractors|cooking|cool|coop|corsica|country|coupon|coupons|courses|cr|credit|creditcard|creditunion|cricket|crown|crs|cruises|csc|cu|cuisinella|cv|cw|cx|cy|cymru|cyou|cz|dabur|dad|dance|date|dating|datsun|day|dclk|de|dealer|deals|degree|delivery|dell|deloitte|delta|democrat|dental|dentist|desi|design|dev|diamonds|diet|digital|direct|directory|discount|dj|dk|dm|dnp|do|docs|dog|doha|domains|download|drive|dubai|durban|dvag|dz|earth|eat|ec|edeka|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|epson|equipment|er|erni|es|esq|estate|et|eu|eurovision|eus|events|everbank|exchange|expert|exposed|express|fage|fail|fairwinds|faith|family|fan|fans|farm|fashion|fast|feedback|ferrero|fi|film|final|finance|financial|firestone|firmdale|fish|fishing|fit|fitness|fj|fk|flickr|flights|florist|flowers|flsmidth|fly|fm|fo|foo|football|ford|forex|forsale|forum|foundation|fox|fr|fresenius|frl|frogans|frontier|fund|furniture|futbol|fyi|ga|gal|gallery|gallup|game|garden|gb|gbiz|gd|gdn|ge|gea|gent|genting|gf|gg|ggee|gh|gi|gift|gifts|gives|giving|gl|glass|gle|global|globo|gm|gmail|gmbh|gmo|gmx|gn|gold|goldpoint|golf|goo|goog|google|gop|got|gov|gp|gq|gr|grainger|graphics|gratis|green|gripe|group|gs|gt|gu|gucci|guge|guide|guitars|guru|gw|gy|hamburg|hangout|haus|hdfcbank|health|healthcare|help|helsinki|here|hermes|hiphop|hitachi|hiv|hk|hm|hn|hockey|holdings|holiday|homedepot|homes|honda|horse|host|hosting|hoteles|hotmail|house|how|hr|hsbc|ht|hu|hyundai|ibm|icbc|ice|icu|id|ie|ifm|iinet|il|im|immo|immobilien|in|industries|infiniti|info|ing|ink|institute|insurance|insure|int|international|investments|io|ipiranga|iq|ir|irish|is|iselect|ist|istanbul|it|itau|iwc|jaguar|java|jcb|je|jetzt|jewelry|jlc|jll|jm|jmp|jo|jobs|joburg|jot|joy|jp|jpmorgan|jprs|juegos|kaufen|kddi|ke|kerryhotels|kerrylogistics|kerryproperties|kfh|kg|kh|ki|kia|kim|kinder|kitchen|kiwi|km|kn|koeln|komatsu|kp|kpn|kr|krd|kred|kuokgroup|kw|ky|kyoto|kz|la|lacaixa|lamborghini|lamer|lancaster|land|landrover|lanxess|lasalle|lat|latrobe|law|lawyer|lb|lc|lds|lease|leclerc|legal|lexus|lgbt|li|liaison|lidl|life|lifeinsurance|lifestyle|lighting|like|limited|limo|lincoln|linde|link|live|living|lixil|lk|loan|loans|local|locus|lol|london|lotte|lotto|love|lr|ls|lt|ltd|ltda|lu|lupin|luxe|luxury|lv|ly|ma|madrid|maif|maison|makeup|man|management|mango|market|marketing|markets|marriott|mba|mc|md|me|med|media|meet|melbourne|meme|memorial|men|menu|meo|mg|mh|miami|microsoft|mil|mini|mk|ml|mm|mma|mn|mo|mobi|mobily|moda|moe|moi|mom|monash|money|montblanc|mormon|mortgage|moscow|motorcycles|mov|movie|movistar|mp|mq|mr|ms|mt|mtn|mtpc|mtr|mu|museum|mutuelle|mv|mw|mx|my|mz|na|nadex|nagoya|name|natura|navy|nc|ne|nec|net|netbank|network|neustar|new|news|nexus|nf|ng|ngo|nhk|ni|nico|nikon|ninja|nissan|nl|no|nokia|norton|nowruz|np|nr|nra|nrw|ntt|nu|nyc|nz|obi|office|okinawa|om|omega|one|ong|onl|online|ooo|oracle|orange|org|organic|origins|osaka|otsuka|ovh|pa|page|pamperedchef|panerai|paris|pars|partners|parts|party|passagens|pe|pet|pf|pg|ph|pharmacy|philips|photo|photography|photos|physio|piaget|pics|pictet|pictures|pid|pin|ping|pink|pizza|pk|pl|place|play|playstation|plumbing|plus|pm|pn|pohl|poker|porn|post|pr|praxi|press|pro|prod|productions|prof|promo|properties|property|protection|ps|pt|pub|pw|pwc|py|qa|qpon|quebec|quest|racing|re|read|realtor|realty|recipes|red|redstone|redumbrella|rehab|reise|reisen|reit|ren|rent|rentals|repair|report|republican|rest|restaurant|review|reviews|rexroth|rich|ricoh|rio|rip|ro|rocher|rocks|rodeo|room|rs|rsvp|ru|ruhr|run|rw|rwe|ryukyu|sa|saarland|safe|safety|sakura|sale|salon|samsung|sandvik|sandvikcoromant|sanofi|sap|sapo|sarl|sas|saxo|sb|sbs|sc|sca|scb|schaeffler|schmidt|scholarships|school|schule|schwarz|science|scor|scot|sd|se|seat|security|seek|select|sener|services|seven|sew|sex|sexy|sfr|sg|sh|sharp|shell|shia|shiksha|shoes|show|shriram|si|singles|site|sj|sk|ski|skin|sky|skype|sl|sm|smile|sn|sncf|so|soccer|social|softbank|software|sohu|solar|solutions|song|sony|soy|space|spiegel|spot|spreadbetting|sr|srl|st|stada|star|starhub|statefarm|statoil|stc|stcgroup|stockholm|storage|store|studio|study|style|su|sucks|supplies|supply|support|surf|surgery|suzuki|sv|swatch|swiss|sx|sy|sydney|symantec|systems|sz|tab|taipei|taobao|tatamotors|tatar|tattoo|tax|taxi|tc|tci|td|team|tech|technology|tel|telecity|telefonica|temasek|tennis|tf|tg|th|thd|theater|theatre|tickets|tienda|tiffany|tips|tires|tirol|tj|tk|tl|tm|tmall|tn|to|today|tokyo|tools|top|toray|toshiba|total|tours|town|toyota|toys|tp|tr|trade|trading|training|travel|travelers|travelersinsurance|trust|trv|tt|tube|tui|tunes|tushu|tv|tvs|tw|tz|ua|ubs|ug|uk|unicom|university|uno|uol|us|uy|uz|va|vacations|vana|vc|ve|vegas|ventures|verisign|versicherung|vet|vg|vi|viajes|video|viking|villas|vin|vip|virgin|vision|vista|vistaprint|viva|vlaanderen|vn|vodka|volkswagen|vote|voting|voto|voyage|vu|vuelos|wales|walter|wang|wanggou|watch|watches|weather|weatherchannel|webcam|weber|website|wed|wedding|weir|wf|whoswho|wien|wiki|williamhill|win|windows|wine|wme|wolterskluwer|work|works|world|ws|wtc|wtf|xbox|xerox|xin|xperia|xxx|xyz|yachts|yahoo|yamaxun|yandex|ye|yodobashi|yoga|yokohama|youtube|yt|za|zara|zero|zip|zm|zone|zuerich|zw'.split('|'); // macro, see gulpfile.js

@@ -1542,2 +1176,3 @@ var REGEXP_NUM = /[0-9]/;

exports.find = find;
exports.inherits = inherits;
exports.options = options;

@@ -1702,3 +1337,3 @@ exports.parser = parser;

// Applies the plugin to jQuery
function linkifyJquery($) {
function apply($) {
var doc = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1];

@@ -1760,6 +1395,6 @@

try {
window.linkifyElement = linkifyElement;
var a = !define && (window.linkifyElement = linkifyElement);
} catch (e) {}
return linkifyJquery;
return apply;
}($, linkify);

@@ -1766,0 +1401,0 @@ if (typeof $.fn.linkify !== 'function') {

@@ -1,1 +0,1 @@

"undefined"!=typeof console&&console.warn("dist/jquery.linkify.js is deprecated. Use linkify.js and linkify-jquery.js instead."),function(){"use strict";function n(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function t(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}!function(o){function r(n){n=n||{};for(var t=n.newLine||!1,e=n.ignoreTags||[],o=0;o<e.length;o++)e[o]=e[o].toUpperCase();return{attributes:n.linkAttributes||null,defaultProtocol:n.defaultProtocol||"http",events:n.events||null,format:n.format||s,validate:n.validate||u,formatHref:n.formatHref||s,newLine:n.newLine||!1,nl2br:!!t||n.nl2br||!1,tagName:n.tagName||"a",target:n.target||l,linkClass:n.linkClass||"linkified",ignoreTags:e}}function i(n){for(var t=arguments.length,e=Array(t>1?t-1:0),o=1;t>o;o++)e[o-1]=arguments[o];return"function"==typeof n?n.apply(void 0,e):n}function a(n,t){for(var e=0;e<n.length;e++)if(n[e]==t)return!0;return!1}function s(n){return n}function u(n){return!0}function l(n,t){return"url"===t?"_blank":null}function c(n){return n instanceof g||n instanceof C}function f(n,t,e,o){for(var r=0,i=n.length,a=t,s=[],u=void 0;i>r&&(u=a.next(n[r]));)a=u,r++;if(r>=i)return[];for(;i-1>r;)u=new _(o),s.push(u),a.on(n[r],u),a=u,r++;return u=new _(e),s.push(u),a.on(n[i-1],u),s}var h=Object.freeze({normalize:r,resolve:i,contains:a}),p=function(){function n(t){e(this,n),this.v=t}return n.prototype.toString=function(){return this.v+""},n}(),g=function(o){function r(){return e(this,r),n(this,o.apply(this,arguments))}return t(r,o),r}(p),y=function(o){function r(){return e(this,r),n(this,o.call(this,"@"))}return t(r,o),r}(p),m=function(o){function r(){return e(this,r),n(this,o.call(this,":"))}return t(r,o),r}(p),d=function(o){function r(){return e(this,r),n(this,o.call(this,"."))}return t(r,o),r}(p),v=function(o){function r(){return e(this,r),n(this,o.apply(this,arguments))}return t(r,o),r}(p),b=function(o){function r(){return e(this,r),n(this,o.apply(this,arguments))}return t(r,o),r}(p),k=function(o){function r(){return e(this,r),n(this,o.call(this,"\n"))}return t(r,o),r}(p),w=function(o){function r(){return e(this,r),n(this,o.apply(this,arguments))}return t(r,o),r}(p),O=function(o){function r(){return e(this,r),n(this,o.call(this,"+"))}return t(r,o),r}(p),E=function(o){function r(){return e(this,r),n(this,o.call(this,"#"))}return t(r,o),r}(p),L=function(o){function r(){return e(this,r),n(this,o.apply(this,arguments))}return t(r,o),r}(p),N=function(o){function r(){return e(this,r),n(this,o.call(this,"?"))}return t(r,o),r}(p),A=function(o){function r(){return e(this,r),n(this,o.call(this,"/"))}return t(r,o),r}(p),T=function(o){function r(){return e(this,r),n(this,o.apply(this,arguments))}return t(r,o),r}(p),C=function(o){function r(){return e(this,r),n(this,o.apply(this,arguments))}return t(r,o),r}(p),S=function(o){function r(){return e(this,r),n(this,o.apply(this,arguments))}return t(r,o),r}(p),j=function(o){function r(){return e(this,r),n(this,o.call(this,"{"))}return t(r,o),r}(p),z=function(o){function r(){return e(this,r),n(this,o.call(this,"["))}return t(r,o),r}(p),P=function(o){function r(){return e(this,r),n(this,o.call(this,"("))}return t(r,o),r}(p),x=function(o){function r(){return e(this,r),n(this,o.call(this,"}"))}return t(r,o),r}(p),R=function(o){function r(){return e(this,r),n(this,o.call(this,"]"))}return t(r,o),r}(p),U=function(o){function r(){return e(this,r),n(this,o.call(this,")"))}return t(r,o),r}(p),H={Base:p,DOMAIN:g,AT:y,COLON:m,DOT:d,PUNCTUATION:v,LOCALHOST:b,NL:k,NUM:w,PLUS:O,POUND:E,QUERY:N,PROTOCOL:L,SLASH:A,SYM:T,TLD:C,WS:S,OPENBRACE:j,OPENBRACKET:z,OPENPAREN:P,CLOSEBRACE:x,CLOSEBRACKET:R,CLOSEPAREN:U},B=function(){function n(t){e(this,n),this.v=t,this.type="token",this.isLink=!1}return n.prototype.toString=function(){for(var n=[],t=0;t<this.v.length;t++)n.push(this.v[t].toString());return n.join("")},n.prototype.toHref=function(){return this.toString()},n.prototype.toObject=function(){var n=arguments.length<=0||void 0===arguments[0]?"http":arguments[0];return{type:this.type,value:this.toString(),href:this.toHref(n)}},n}(),q=function(o){function r(t){e(this,r);var i=n(this,o.call(this,t));return i.type="email",i.isLink=!0,i}return t(r,o),r.prototype.toHref=function(){return"mailto:"+this.toString()},r}(B),D=function(o){function r(t){e(this,r);var i=n(this,o.call(this,t));return i.type="text",i}return t(r,o),r}(B),I=function(o){function r(t){e(this,r);var i=n(this,o.call(this,t));return i.type="nl",i}return t(r,o),r}(B),M=function(o){function r(t){e(this,r);var i=n(this,o.call(this,t));return i.type="url",i.isLink=!0,i}return t(r,o),r.prototype.toHref=function(){for(var n=arguments.length<=0||void 0===arguments[0]?"http":arguments[0],t=!1,e=!1,o=this.v,r=[],i=0;o[i]instanceof L;)t=!0,r.push(o[i].toString().toLowerCase()),i++;for(;o[i]instanceof A;)e=!0,r.push(o[i].toString()),i++;for(;c(o[i]);)r.push(o[i].toString().toLowerCase()),i++;for(;i<o.length;i++)r.push(o[i].toString());return r=r.join(""),t||e||(r=n+"://"+r),r},r.prototype.hasProtocol=function(){return this.v[0]instanceof L},r}(B),K={Base:B,EMAIL:q,NL:I,TEXT:D,URL:M},Y=function(){function n(t){e(this,n),this.j=[],this.T=t||null}return n.prototype.on=function(n,t){if(n instanceof Array){for(var e=0;e<n.length;e++)this.j.push([n[e],t]);return this}return this.j.push([n,t]),this},n.prototype.next=function(n){for(var t=0;t<this.j.length;t++){var e=this.j[t],o=e[0],r=e[1];if(this.test(n,o))return r}return!1},n.prototype.accepts=function(){return!!this.T},n.prototype.test=function(n,t){return n===t},n.prototype.emit=function(){return this.T},n}(),_=function(o){function r(){return e(this,r),n(this,o.apply(this,arguments))}return t(r,o),r.prototype.test=function(n,t){return n===t||t instanceof RegExp&&t.test(n)},r}(Y),Q=function(o){function r(){return e(this,r),n(this,o.apply(this,arguments))}return t(r,o),r.prototype.test=function(n,t){return n instanceof t},r}(Y),F="abogado|ac|academy|accountants|active|actor|ad|adult|ae|aero|af|ag|agency|ai|airforce|al|allfinanz|alsace|am|an|android|ao|aq|aquarelle|ar|archi|army|arpa|as|asia|associates|at|attorney|au|auction|audio|autos|aw|ax|axa|az|ba|band|bar|bargains|bayern|bb|bd|be|beer|berlin|best|bf|bg|bh|bi|bid|bike|bio|biz|bj|black|blackfriday|bloomberg|blue|bm|bmw|bn|bnpparibas|bo|boo|boutique|br|brussels|bs|bt|budapest|build|builders|business|buzz|bv|bw|by|bz|bzh|ca|cab|cal|camera|camp|cancerresearch|capetown|capital|caravan|cards|care|career|careers|casa|cash|cat|catering|cc|cd|center|ceo|cern|cf|cg|ch|channel|cheap|christmas|chrome|church|ci|citic|city|ck|cl|claims|cleaning|click|clinic|clothing|club|cm|cn|co|coach|codes|coffee|college|cologne|com|community|company|computer|condos|construction|consulting|contractors|cooking|cool|coop|country|cr|credit|creditcard|cricket|crs|cruises|cu|cuisinella|cv|cw|cx|cy|cymru|cz|dad|dance|dating|day|de|deals|degree|delivery|democrat|dental|dentist|desi|diamonds|diet|digital|direct|directory|discount|dj|dk|dm|dnp|do|domains|durban|dvag|dz|eat|ec|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|equipment|er|es|esq|estate|et|eu|eurovision|eus|events|everbank|exchange|expert|exposed|fail|farm|fashion|feedback|fi|finance|financial|firmdale|fish|fishing|fitness|fj|fk|flights|florist|flsmidth|fly|fm|fo|foo|forsale|foundation|fr|frl|frogans|fund|furniture|futbol|ga|gal|gallery|gb|gbiz|gd|ge|gent|gf|gg|gh|gi|gift|gifts|gives|gl|glass|gle|global|globo|gm|gmail|gmo|gmx|gn|google|gop|gov|gp|gq|gr|graphics|gratis|green|gripe|gs|gt|gu|guide|guitars|guru|gw|gy|hamburg|haus|healthcare|help|here|hiphop|hiv|hk|hm|hn|holdings|holiday|homes|horse|host|hosting|house|how|hr|ht|hu|ibm|id|ie|il|im|immo|immobilien|in|industries|info|ing|ink|institute|insure|int|international|investments|io|iq|ir|irish|is|it|je|jetzt|jm|jo|jobs|joburg|jp|juegos|kaufen|ke|kg|kh|ki|kim|kitchen|kiwi|km|kn|koeln|kp|kr|krd|kred|kw|ky|kz|la|lacaixa|land|latrobe|lawyer|lb|lc|lds|lease|legal|lgbt|li|life|lighting|limited|limo|link|lk|loans|local|london|lotto|lr|ls|lt|ltda|lu|luxe|luxury|lv|ly|ma|madrid|maison|management|mango|market|marketing|mc|md|me|media|meet|melbourne|meme|memorial|menu|mg|mh|miami|mil|mini|mk|ml|mm|mn|mo|mobi|moda|moe|monash|money|mormon|mortgage|moscow|motorcycles|mov|mp|mq|mr|ms|mt|mu|museum|mv|mw|mx|my|mz|na|nagoya|name|navy|nc|ne|net|network|neustar|new|nexus|nf|ng|ngo|nhk|ni|ninja|nl|no|np|nr|nra|nrw|nu|nyc|nz|okinawa|om|ong|onl|ooo|org|organic|otsuka|ovh|pa|paris|partners|parts|party|pe|pf|pg|ph|pharmacy|photo|photography|photos|physio|pics|pictures|pink|pizza|pk|pl|place|plumbing|pm|pn|pohl|poker|porn|post|pr|praxi|press|pro|prod|productions|prof|properties|property|ps|pt|pub|pw|py|qa|qpon|quebec|re|realtor|recipes|red|rehab|reise|reisen|reit|ren|rentals|repair|report|republican|rest|restaurant|reviews|rich|rio|rip|ro|rocks|rodeo|rs|rsvp|ru|ruhr|rw|ryukyu|sa|saarland|sarl|sb|sc|sca|scb|schmidt|schule|science|scot|sd|se|services|sexy|sg|sh|shiksha|shoes|si|singles|sj|sk|sl|sm|sn|so|social|software|sohu|solar|solutions|soy|space|spiegel|sr|st|su|supplies|supply|support|surf|surgery|suzuki|sv|sx|sy|sydney|systems|sz|taipei|tatar|tattoo|tax|tc|td|technology|tel|tf|tg|th|tienda|tips|tirol|tj|tk|tl|tm|tn|to|today|tokyo|tools|top|town|toys|tp|tr|trade|training|travel|trust|tt|tui|tv|tw|tz|ua|ug|uk|university|uno|uol|us|uy|uz|va|vacations|vc|ve|vegas|ventures|versicherung|vet|vg|vi|viajes|villas|vision|vlaanderen|vn|vodka|vote|voting|voto|voyage|vu|wales|wang|watch|webcam|website|wed|wedding|wf|whoswho|wien|wiki|williamhill|wme|work|works|world|ws|wtc|wtf|xxx|xyz|yachts|yandex|ye|yoga|yokohama|youtube|yt|za|zip|zm|zone|zw".split("|"),V=/[0-9]/,W=/[a-z0-9]/,X=":",Z=[],G=function(n){return new _(n)},J=H.DOMAIN,$=H.LOCALHOST,nn=H.NUM,tn=H.PROTOCOL,en=H.TLD,on=H.WS,rn=G(),an=G(nn),sn=G(J),un=G(),ln=G(on);rn.on("@",G(H.AT)).on(".",G(H.DOT)).on("+",G(H.PLUS)).on("#",G(H.POUND)).on("?",G(H.QUERY)).on("/",G(H.SLASH)).on(X,G(H.COLON)).on("{",G(H.OPENBRACE)).on("[",G(H.OPENBRACKET)).on("(",G(H.OPENPAREN)).on("}",G(H.CLOSEBRACE)).on("]",G(H.CLOSEBRACKET)).on(")",G(H.CLOSEPAREN)).on(/[,;!]/,G(H.PUNCTUATION)),rn.on(/\n/,G(H.NL)).on(/\s/,ln),ln.on(/[^\S\n]/,ln);for(var cn=0;cn<F.length;cn++){var fn=f(F[cn],rn,en,J);Z.push.apply(Z,fn)}var hn=f("file",rn,J,J),pn=f("ftp",rn,J,J),gn=f("http",rn,J,J);Z.push.apply(Z,hn),Z.push.apply(Z,pn),Z.push.apply(Z,gn);var yn=hn.pop(),mn=pn.pop(),dn=gn.pop(),vn=G(J),bn=G(tn);mn.on("s",vn).on(X,bn),dn.on("s",vn).on(X,bn),Z.push(vn),yn.on(X,bn),vn.on(X,bn);var kn=f("localhost",rn,$,J);Z.push.apply(Z,kn),rn.on(V,an),an.on("-",un).on(V,an).on(W,sn),sn.on("-",un).on(W,sn);for(var wn=0;wn<Z.length;wn++)Z[wn].on("-",un).on(W,sn);un.on("-",un).on(V,sn).on(W,sn),rn.on(/./,G(H.SYM));var On=function(n){for(var t=n.replace(/[A-Z]/g,function(n){return n.toLowerCase()}),e=n.length,o=[],r=0;e>r;){for(var i=rn,a=null,s=null,u=0,l=null,c=-1;e>r&&(s=i.next(t[r]));)a=null,i=s,i.accepts()?(c=0,l=i):c>=0&&c++,u++,r++;if(!(0>c)){r-=c,u-=c;var f=l.emit();o.push(new f(n.substr(r-u,u)))}}return o},En=rn,Ln=Object.freeze({State:_,TOKENS:H,run:On,start:En}),Nn=function(n){return new Q(n)},An=H.DOMAIN,Tn=H.AT,Cn=H.COLON,Sn=H.DOT,jn=H.PUNCTUATION,zn=H.LOCALHOST,Pn=H.NL,xn=H.NUM,Rn=H.PLUS,Un=H.POUND,Hn=H.PROTOCOL,Bn=H.QUERY,qn=H.SLASH,Dn=H.SYM,In=H.TLD,Mn=H.OPENBRACE,Kn=H.OPENBRACKET,Yn=H.OPENPAREN,_n=H.CLOSEBRACE,Qn=H.CLOSEBRACKET,Fn=H.CLOSEPAREN,Vn=K.EMAIL,Wn=K.NL,Xn=K.TEXT,Zn=K.URL,Gn=Nn(),Jn=Nn(),$n=Nn(),nt=Nn(),tt=Nn(),et=Nn(),ot=Nn(Zn),rt=Nn(),it=Nn(Zn),at=Nn(Zn),st=Nn(),ut=Nn(),lt=Nn(),ct=Nn(),ft=Nn(Zn),ht=Nn(Zn),pt=Nn(Zn),gt=Nn(),yt=Nn(),mt=Nn(),dt=Nn(),vt=Nn(),bt=Nn(Vn),kt=Nn(),wt=Nn(Vn),Ot=Nn(),Et=Nn(),Lt=Nn(),Nt=Nn(Wn);Gn.on(Pn,Nt).on(Hn,Jn).on(qn,$n),Jn.on(qn,$n),$n.on(qn,nt),Gn.on(In,tt).on(An,tt).on(zn,ot).on(xn,tt),nt.on(In,at).on(An,at).on(xn,at).on(zn,at),tt.on(Sn,et),dt.on(Sn,vt),et.on(In,ot).on(An,tt).on(xn,tt).on(zn,tt),vt.on(In,bt).on(An,dt).on(xn,dt).on(zn,dt),ot.on(Sn,et),bt.on(Sn,vt),ot.on(Cn,rt).on(qn,at),rt.on(xn,it),it.on(qn,at),bt.on(Cn,kt),kt.on(xn,wt);var At=[An,Tn,zn,xn,Rn,Un,Hn,qn,In],Tt=[Cn,Sn,Bn,jn,_n,Qn,Fn,Mn,Kn,Yn,Dn];at.on(Mn,ut).on(Kn,lt).on(Yn,ct),st.on(Mn,ut).on(Kn,lt).on(Yn,ct),ut.on(_n,at),lt.on(Qn,at),ct.on(Fn,at),ft.on(_n,at),ht.on(Qn,at),pt.on(Fn,at),gt.on(_n,at),yt.on(Qn,at),mt.on(Fn,at),ut.on(At,ft),lt.on(At,ht),ct.on(At,pt),ut.on(Tt,gt),lt.on(Tt,yt),ct.on(Tt,mt),ft.on(At,ft),ht.on(At,ht),pt.on(At,pt),ft.on(Tt,ft),ht.on(Tt,ht),pt.on(Tt,pt),gt.on(At,ft),yt.on(At,ht),mt.on(At,pt),gt.on(Tt,gt),yt.on(Tt,yt),mt.on(Tt,mt),at.on(At,at),st.on(At,at),at.on(Tt,st),st.on(Tt,st);var Ct=[An,xn,Rn,Un,Bn,Dn,In];tt.on(Ct,Ot).on(Tn,Et),ot.on(Ct,Ot).on(Tn,Et),et.on(Ct,Ot),Ot.on(Ct,Ot).on(Tn,Et).on(Sn,Lt),Lt.on(Ct,Ot),Et.on(In,dt).on(An,dt).on(zn,bt);var St=function(n){for(var t=n.length,e=0,o=[],r=[];t>e;){for(var i=Gn,a=null,s=null,u=0,l=null,c=-1;t>e&&!(a=i.next(n[e]));)r.push(n[e++]);for(;t>e&&(s=a||i.next(n[e]));)a=null,i=s,i.accepts()?(c=0,l=i):c>=0&&c++,e++,u++;if(0>c)for(var f=e-u;e>f;f++)r.push(n[f]);else{r.length>0&&(o.push(new Xn(r)),r=[]),e-=c,u-=c;var h=l.emit();o.push(new h(n.slice(e-u,e)))}}return r.length>0&&o.push(new Xn(r)),o},jt=K,zt=Gn,Pt=Object.freeze({State:Q,TOKENS:jt,run:St,start:zt});Array.isArray||(Array.isArray=function(n){return"[object Array]"===Object.prototype.toString.call(n)});var xt=function(n){return St(On(n))},Rt=function(n){for(var t=arguments.length<=1||void 0===arguments[1]?null:arguments[1],e=xt(n),o=[],r=0;r<e.length;r++)!e[r].isLink||t&&e[r].type!==t||o.push(e[r].toObject());return o},Ut=function(n){var t=arguments.length<=1||void 0===arguments[1]?null:arguments[1],e=xt(n);return 1===e.length&&e[0].isLink&&(!t||e[0].type===t)};o.find=Rt,o.options=h,o.parser=Pt,o.scanner=Ln,o.test=Ut,o.tokenize=xt}(window.linkify=window.linkify||{})}(),function(n,t,e){var o=function(t,e){"use strict";function o(n,t,e){var o=e[e.length-1];n.replaceChild(o,t);for(var r=e.length-2;r>=0;r--)n.insertBefore(e[r],o),o=e[r]}function r(n,t,e){for(var o=[],r=0;r<n.length;r++){var i=n[r],a=i.isLink&&l.resolve(t.validate,i.toString(),i.type);if(i.isLink&&a){var s=i.toHref(t.defaultProtocol),u=l.resolve(t.format,i.toString(),i.type),c=l.resolve(t.formatHref,s,i.type),f=l.resolve(t.attributes,s,i.type),h=l.resolve(t.tagName,s,i.type),p=l.resolve(t.linkClass,s,i.type),g=l.resolve(t.target,s,i.type),y=l.resolve(t.events,s,i.type),m=e.createElement(h);if(m.setAttribute("href",c),m.setAttribute("class",p),g&&m.setAttribute("target",g),f)for(var d in f)m.setAttribute(d,f[d]);if(y)for(var v in y)m.addEventListener?m.addEventListener(v,y[v]):m.attachEvent&&m.attachEvent("on"+v,y[v]);m.appendChild(e.createTextNode(u)),o.push(m)}else"nl"===i.type&&t.nl2br?o.push(e.createElement("br")):o.push(e.createTextNode(i.toString()))}return o}function i(n,t,e){if(!n||n.nodeType!==c)throw new Error("Cannot linkify "+n+" - Invalid DOM Node type");var a=t.ignoreTags;if("A"===n.tagName||l.contains(a,n.tagName))return n;for(var s=n.firstChild;s;){switch(s.nodeType){case c:i(s,t,e);break;case f:var h=s.nodeValue,p=u(h),g=r(p,t,e);o(n,s,g),s=g[g.length-1]}s=s.nextSibling}return n}function a(t,e){var o=arguments.length<=2||void 0===arguments[2]?null:arguments[2];try{o=o||n&&n.document||global&&global.document}catch(r){}if(!o)throw new Error("Cannot find document implementation. If you are in a non-browser environment like Node.js, pass the document implementation as the third argument to linkifyElement.");return e=l.normalize(e),i(t,e,o)}function s(t){function e(n){return n=a.normalize(n),this.each(function(){a.helper(this,n,o)})}var o=arguments.length<=1||void 0===arguments[1]?null:arguments[1];t.fn=t.fn||{};try{o=o||n&&n.document||global&&global.document}catch(r){}if(!o)throw new Error("Cannot find document implementation. If you are in a non-browser environment like Node.js, pass the document implementation as the second argument to linkify/jquery");"function"!=typeof t.fn.linkify&&(t.fn.linkify=e,t(o).ready(function(){t("[data-linkify]").each(function(){var n=t(this),e=n.data(),o=e.linkify,r=e.linkifyNlbr,i={linkAttributes:e.linkifyAttributes,defaultProtocol:e.linkifyDefaultProtocol,events:e.linkifyEvents,format:e.linkifyFormat,formatHref:e.linkifyFormatHref,newLine:e.linkifyNewline,nl2br:!!r&&0!==r&&"false"!==r,tagName:e.linkifyTagname,target:e.linkifyTarget,linkClass:e.linkifyLinkclass,validate:e.linkifyValidate,ignoreTags:e.linkifyIgnoreTags},a="this"===o?n:n.find(o);a.linkify(i)})}))}var u=e.tokenize,l=e.options,c=1,f=3;a.helper=i,a.normalize=l.normalize;try{n.linkifyElement=a}catch(h){}return s}(e,t);"function"!=typeof e.fn.linkify&&o(e)}(window,linkify,jQuery);
"undefined"!=typeof console&&console.warn("dist/jquery.linkify.js is deprecated. Use linkify.js and linkify-jquery.js instead."),function(){"use strict";!function(e){function n(e,n){var t=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],o=Object.create(e.prototype);for(var a in t)o[a]=t[a];return o.constructor=n,n.prototype=o,n}function t(e){e=e||{};for(var n=e.newLine||!1,t=e.ignoreTags||[],o=0;o<t.length;o++)t[o]=t[o].toUpperCase();return{attributes:e.linkAttributes||null,defaultProtocol:e.defaultProtocol||"http",events:e.events||null,format:e.format||r,validate:e.validate||i,formatHref:e.formatHref||r,newLine:e.newLine||!1,nl2br:!!n||e.nl2br||!1,tagName:e.tagName||"a",target:e.target||s,linkClass:e.linkClass||"linkified",ignoreTags:t}}function o(e){for(var n=arguments.length,t=Array(n>1?n-1:0),o=1;o<n;o++)t[o-1]=arguments[o];return"function"==typeof e?e.apply(void 0,t):e}function a(e,n){for(var t=0;t<e.length;t++)if(e[t]==n)return!0;return!1}function r(e){return e}function i(e){return!0}function s(e,n){return"url"===n?"_blank":null}function l(){return function(e){e&&(this.a=e)}}function c(e){var t=e?{a:e}:{};return n(h,l(),t)}function u(e){return e instanceof m||e instanceof T}function f(){return function(e){this.b=[],this.T=e||null}}function p(e,n,t,o){for(var a=0,r=e.length,i=n,s=[],l=void 0;a<r&&(l=i.next(e[a]));)i=l,a++;if(a>=r)return[];for(;a<r-1;)l=new F(o),s.push(l),i.on(e[a],l),i=l,a++;return l=new F(t),s.push(l),i.on(e[r-1],l),s}var g=Object.freeze({normalize:t,resolve:o,contains:a}),h=l();h.prototype={toString:function(){return this.a+""}};var m=c(),d=c("@"),b=c(":"),y=c("."),v=c(),k=c(),w=c("\n"),O=c(),E=c("+"),L=c("#"),N=c(),A=c("?"),x=c("/"),C=c(),T=c(),S=c(),j=c("{"),z=c("["),P=c("("),R=c("}"),U=c("]"),q=c(")"),H={Base:h,DOMAIN:m,AT:d,COLON:b,DOT:y,PUNCTUATION:v,LOCALHOST:k,NL:w,NUM:O,PLUS:E,POUND:L,QUERY:A,PROTOCOL:N,SLASH:x,SYM:C,TLD:T,WS:S,OPENBRACE:j,OPENBRACKET:z,OPENPAREN:P,CLOSEBRACE:R,CLOSEBRACKET:U,CLOSEPAREN:q},B=l();B.prototype={type:"token",isLink:!1,toString:function(){for(var e=[],n=0;n<this.a.length;n++)e.push(this.a[n].toString());return e.join("")},toHref:function(){return this.toString()},toObject:function(){var e=arguments.length<=0||void 0===arguments[0]?"http":arguments[0];return{type:this.type,value:this.toString(),href:this.toHref(e)}}};var D=n(B,l(),{type:"email",isLink:!0,toHref:function(){return"mailto:"+this.toString()}}),I=n(B,l(),{type:"text"}),M=n(B,l(),{type:"nl"}),K=n(B,l(),{type:"url",isLink:!0,toHref:function(){for(var e=arguments.length<=0||void 0===arguments[0]?"http":arguments[0],n=!1,t=!1,o=this.a,a=[],r=0;o[r]instanceof N;)n=!0,a.push(o[r].toString().toLowerCase()),r++;for(;o[r]instanceof x;)t=!0,a.push(o[r].toString()),r++;for(;u(o[r]);)a.push(o[r].toString().toLowerCase()),r++;for(;r<o.length;r++)a.push(o[r].toString());return a=a.join(""),n||t||(a=e+"://"+a),a},hasProtocol:function(){return this.a[0]instanceof N}}),Y={Base:B,EMAIL:D,NL:M,TEXT:I,URL:K},Q=f();Q.prototype={on:function(e,n){if(e instanceof Array){for(var t=0;t<e.length;t++)this.b.push([e[t],n]);return this}return this.b.push([e,n]),this},next:function(e){for(var n=0;n<this.b.length;n++){var t=this.b[n],o=t[0],a=t[1];if(this.test(e,o))return a}return!1},accepts:function(){return!!this.T},test:function(e,n){return e===n},emit:function(){return this.T}};var F=n(Q,f(),{test:function(e,n){return e===n||n instanceof RegExp&&n.test(e)}}),V=n(Q,f(),{test:function(e,n){return e instanceof n}}),W="aaa|aarp|abb|abbott|abogado|ac|academy|accenture|accountant|accountants|aco|active|actor|ad|adac|ads|adult|ae|aeg|aero|af|afl|ag|agency|ai|aig|airforce|airtel|al|alibaba|alipay|allfinanz|alsace|am|amica|amsterdam|an|analytics|android|ao|apartments|app|apple|aq|aquarelle|ar|aramco|archi|army|arpa|arte|as|asia|associates|at|attorney|au|auction|audi|audio|author|auto|autos|avianca|aw|ax|axa|az|azure|ba|baidu|band|bank|bar|barcelona|barclaycard|barclays|bargains|bauhaus|bayern|bb|bbc|bbva|bcg|bcn|bd|be|beats|beer|bentley|berlin|best|bet|bf|bg|bh|bharti|bi|bible|bid|bike|bing|bingo|bio|biz|bj|black|blackfriday|bloomberg|blue|bm|bms|bmw|bn|bnl|bnpparibas|bo|boats|boehringer|bom|bond|boo|book|boots|bosch|bostik|bot|boutique|br|bradesco|bridgestone|broadway|broker|brother|brussels|bs|bt|budapest|bugatti|build|builders|business|buy|buzz|bv|bw|by|bz|bzh|ca|cab|cafe|cal|call|camera|camp|cancerresearch|canon|capetown|capital|car|caravan|cards|care|career|careers|cars|cartier|casa|cash|casino|cat|catering|cba|cbn|cc|cd|ceb|center|ceo|cern|cf|cfa|cfd|cg|ch|chanel|channel|chase|chat|cheap|chloe|christmas|chrome|church|ci|cipriani|circle|cisco|citic|city|cityeats|ck|cl|claims|cleaning|click|clinic|clinique|clothing|cloud|club|clubmed|cm|cn|co|coach|codes|coffee|college|cologne|com|commbank|community|company|compare|computer|comsec|condos|construction|consulting|contact|contractors|cooking|cool|coop|corsica|country|coupon|coupons|courses|cr|credit|creditcard|creditunion|cricket|crown|crs|cruises|csc|cu|cuisinella|cv|cw|cx|cy|cymru|cyou|cz|dabur|dad|dance|date|dating|datsun|day|dclk|de|dealer|deals|degree|delivery|dell|deloitte|delta|democrat|dental|dentist|desi|design|dev|diamonds|diet|digital|direct|directory|discount|dj|dk|dm|dnp|do|docs|dog|doha|domains|download|drive|dubai|durban|dvag|dz|earth|eat|ec|edeka|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|epson|equipment|er|erni|es|esq|estate|et|eu|eurovision|eus|events|everbank|exchange|expert|exposed|express|fage|fail|fairwinds|faith|family|fan|fans|farm|fashion|fast|feedback|ferrero|fi|film|final|finance|financial|firestone|firmdale|fish|fishing|fit|fitness|fj|fk|flickr|flights|florist|flowers|flsmidth|fly|fm|fo|foo|football|ford|forex|forsale|forum|foundation|fox|fr|fresenius|frl|frogans|frontier|fund|furniture|futbol|fyi|ga|gal|gallery|gallup|game|garden|gb|gbiz|gd|gdn|ge|gea|gent|genting|gf|gg|ggee|gh|gi|gift|gifts|gives|giving|gl|glass|gle|global|globo|gm|gmail|gmbh|gmo|gmx|gn|gold|goldpoint|golf|goo|goog|google|gop|got|gov|gp|gq|gr|grainger|graphics|gratis|green|gripe|group|gs|gt|gu|gucci|guge|guide|guitars|guru|gw|gy|hamburg|hangout|haus|hdfcbank|health|healthcare|help|helsinki|here|hermes|hiphop|hitachi|hiv|hk|hm|hn|hockey|holdings|holiday|homedepot|homes|honda|horse|host|hosting|hoteles|hotmail|house|how|hr|hsbc|ht|hu|hyundai|ibm|icbc|ice|icu|id|ie|ifm|iinet|il|im|immo|immobilien|in|industries|infiniti|info|ing|ink|institute|insurance|insure|int|international|investments|io|ipiranga|iq|ir|irish|is|iselect|ist|istanbul|it|itau|iwc|jaguar|java|jcb|je|jetzt|jewelry|jlc|jll|jm|jmp|jo|jobs|joburg|jot|joy|jp|jpmorgan|jprs|juegos|kaufen|kddi|ke|kerryhotels|kerrylogistics|kerryproperties|kfh|kg|kh|ki|kia|kim|kinder|kitchen|kiwi|km|kn|koeln|komatsu|kp|kpn|kr|krd|kred|kuokgroup|kw|ky|kyoto|kz|la|lacaixa|lamborghini|lamer|lancaster|land|landrover|lanxess|lasalle|lat|latrobe|law|lawyer|lb|lc|lds|lease|leclerc|legal|lexus|lgbt|li|liaison|lidl|life|lifeinsurance|lifestyle|lighting|like|limited|limo|lincoln|linde|link|live|living|lixil|lk|loan|loans|local|locus|lol|london|lotte|lotto|love|lr|ls|lt|ltd|ltda|lu|lupin|luxe|luxury|lv|ly|ma|madrid|maif|maison|makeup|man|management|mango|market|marketing|markets|marriott|mba|mc|md|me|med|media|meet|melbourne|meme|memorial|men|menu|meo|mg|mh|miami|microsoft|mil|mini|mk|ml|mm|mma|mn|mo|mobi|mobily|moda|moe|moi|mom|monash|money|montblanc|mormon|mortgage|moscow|motorcycles|mov|movie|movistar|mp|mq|mr|ms|mt|mtn|mtpc|mtr|mu|museum|mutuelle|mv|mw|mx|my|mz|na|nadex|nagoya|name|natura|navy|nc|ne|nec|net|netbank|network|neustar|new|news|nexus|nf|ng|ngo|nhk|ni|nico|nikon|ninja|nissan|nl|no|nokia|norton|nowruz|np|nr|nra|nrw|ntt|nu|nyc|nz|obi|office|okinawa|om|omega|one|ong|onl|online|ooo|oracle|orange|org|organic|origins|osaka|otsuka|ovh|pa|page|pamperedchef|panerai|paris|pars|partners|parts|party|passagens|pe|pet|pf|pg|ph|pharmacy|philips|photo|photography|photos|physio|piaget|pics|pictet|pictures|pid|pin|ping|pink|pizza|pk|pl|place|play|playstation|plumbing|plus|pm|pn|pohl|poker|porn|post|pr|praxi|press|pro|prod|productions|prof|promo|properties|property|protection|ps|pt|pub|pw|pwc|py|qa|qpon|quebec|quest|racing|re|read|realtor|realty|recipes|red|redstone|redumbrella|rehab|reise|reisen|reit|ren|rent|rentals|repair|report|republican|rest|restaurant|review|reviews|rexroth|rich|ricoh|rio|rip|ro|rocher|rocks|rodeo|room|rs|rsvp|ru|ruhr|run|rw|rwe|ryukyu|sa|saarland|safe|safety|sakura|sale|salon|samsung|sandvik|sandvikcoromant|sanofi|sap|sapo|sarl|sas|saxo|sb|sbs|sc|sca|scb|schaeffler|schmidt|scholarships|school|schule|schwarz|science|scor|scot|sd|se|seat|security|seek|select|sener|services|seven|sew|sex|sexy|sfr|sg|sh|sharp|shell|shia|shiksha|shoes|show|shriram|si|singles|site|sj|sk|ski|skin|sky|skype|sl|sm|smile|sn|sncf|so|soccer|social|softbank|software|sohu|solar|solutions|song|sony|soy|space|spiegel|spot|spreadbetting|sr|srl|st|stada|star|starhub|statefarm|statoil|stc|stcgroup|stockholm|storage|store|studio|study|style|su|sucks|supplies|supply|support|surf|surgery|suzuki|sv|swatch|swiss|sx|sy|sydney|symantec|systems|sz|tab|taipei|taobao|tatamotors|tatar|tattoo|tax|taxi|tc|tci|td|team|tech|technology|tel|telecity|telefonica|temasek|tennis|tf|tg|th|thd|theater|theatre|tickets|tienda|tiffany|tips|tires|tirol|tj|tk|tl|tm|tmall|tn|to|today|tokyo|tools|top|toray|toshiba|total|tours|town|toyota|toys|tp|tr|trade|trading|training|travel|travelers|travelersinsurance|trust|trv|tt|tube|tui|tunes|tushu|tv|tvs|tw|tz|ua|ubs|ug|uk|unicom|university|uno|uol|us|uy|uz|va|vacations|vana|vc|ve|vegas|ventures|verisign|versicherung|vet|vg|vi|viajes|video|viking|villas|vin|vip|virgin|vision|vista|vistaprint|viva|vlaanderen|vn|vodka|volkswagen|vote|voting|voto|voyage|vu|vuelos|wales|walter|wang|wanggou|watch|watches|weather|weatherchannel|webcam|weber|website|wed|wedding|weir|wf|whoswho|wien|wiki|williamhill|win|windows|wine|wme|wolterskluwer|work|works|world|ws|wtc|wtf|xbox|xerox|xin|xperia|xxx|xyz|yachts|yahoo|yamaxun|yandex|ye|yodobashi|yoga|yokohama|youtube|yt|za|zara|zero|zip|zm|zone|zuerich|zw".split("|"),X=/[0-9]/,Z=/[a-z0-9]/,_=":",G=[],J=function(e){return new F(e)},$=H.DOMAIN,ee=H.LOCALHOST,ne=H.NUM,te=H.PROTOCOL,oe=H.TLD,ae=H.WS,re=J(),ie=J(ne),se=J($),le=J(),ce=J(ae);re.on("@",J(H.AT)).on(".",J(H.DOT)).on("+",J(H.PLUS)).on("#",J(H.POUND)).on("?",J(H.QUERY)).on("/",J(H.SLASH)).on(_,J(H.COLON)).on("{",J(H.OPENBRACE)).on("[",J(H.OPENBRACKET)).on("(",J(H.OPENPAREN)).on("}",J(H.CLOSEBRACE)).on("]",J(H.CLOSEBRACKET)).on(")",J(H.CLOSEPAREN)).on(/[,;!]/,J(H.PUNCTUATION)),re.on(/\n/,J(H.NL)).on(/\s/,ce),ce.on(/[^\S\n]/,ce);for(var ue=0;ue<W.length;ue++){var fe=p(W[ue],re,oe,$);G.push.apply(G,fe)}var pe=p("file",re,$,$),ge=p("ftp",re,$,$),he=p("http",re,$,$);G.push.apply(G,pe),G.push.apply(G,ge),G.push.apply(G,he);var me=pe.pop(),de=ge.pop(),be=he.pop(),ye=J($),ve=J(te);de.on("s",ye).on(_,ve),be.on("s",ye).on(_,ve),G.push(ye),me.on(_,ve),ye.on(_,ve);var ke=p("localhost",re,ee,$);G.push.apply(G,ke),re.on(X,ie),ie.on("-",le).on(X,ie).on(Z,se),se.on("-",le).on(Z,se);for(var we=0;we<G.length;we++)G[we].on("-",le).on(Z,se);le.on("-",le).on(X,se).on(Z,se),re.on(/./,J(H.SYM));var Oe=function(e){for(var n=e.replace(/[A-Z]/g,function(e){return e.toLowerCase()}),t=e.length,o=[],a=0;a<t;){for(var r=re,i=null,s=null,l=0,c=null,u=-1;a<t&&(s=r.next(n[a]));)i=null,r=s,r.accepts()?(u=0,c=r):u>=0&&u++,l++,a++;if(!(u<0)){a-=u,l-=u;var f=c.emit();o.push(new f(e.substr(a-l,l)))}}return o},Ee=re,Le=Object.freeze({State:F,TOKENS:H,run:Oe,start:Ee}),Ne=function(e){return new V(e)},Ae=H.DOMAIN,xe=H.AT,Ce=H.COLON,Te=H.DOT,Se=H.PUNCTUATION,je=H.LOCALHOST,ze=H.NL,Pe=H.NUM,Re=H.PLUS,Ue=H.POUND,qe=H.PROTOCOL,He=H.QUERY,Be=H.SLASH,De=H.SYM,Ie=H.TLD,Me=H.OPENBRACE,Ke=H.OPENBRACKET,Ye=H.OPENPAREN,Qe=H.CLOSEBRACE,Fe=H.CLOSEBRACKET,Ve=H.CLOSEPAREN,We=Y.EMAIL,Xe=Y.NL,Ze=Y.TEXT,_e=Y.URL,Ge=Ne(),Je=Ne(),$e=Ne(),en=Ne(),nn=Ne(),tn=Ne(),on=Ne(_e),an=Ne(),rn=Ne(_e),sn=Ne(_e),ln=Ne(),cn=Ne(),un=Ne(),fn=Ne(),pn=Ne(_e),gn=Ne(_e),hn=Ne(_e),mn=Ne(),dn=Ne(),bn=Ne(),yn=Ne(),vn=Ne(),kn=Ne(We),wn=Ne(),On=Ne(We),En=Ne(),Ln=Ne(),Nn=Ne(),An=Ne(Xe);Ge.on(ze,An).on(qe,Je).on(Be,$e),Je.on(Be,$e),$e.on(Be,en),Ge.on(Ie,nn).on(Ae,nn).on(je,on).on(Pe,nn),en.on(Ie,sn).on(Ae,sn).on(Pe,sn).on(je,sn),nn.on(Te,tn),yn.on(Te,vn),tn.on(Ie,on).on(Ae,nn).on(Pe,nn).on(je,nn),vn.on(Ie,kn).on(Ae,yn).on(Pe,yn).on(je,yn),on.on(Te,tn),kn.on(Te,vn),on.on(Ce,an).on(Be,sn),an.on(Pe,rn),rn.on(Be,sn),kn.on(Ce,wn),wn.on(Pe,On);var xn=[Ae,xe,je,Pe,Re,Ue,qe,Be,Ie],Cn=[Ce,Te,He,Se,Qe,Fe,Ve,Me,Ke,Ye,De];sn.on(Me,cn).on(Ke,un).on(Ye,fn),ln.on(Me,cn).on(Ke,un).on(Ye,fn),cn.on(Qe,sn),un.on(Fe,sn),fn.on(Ve,sn),pn.on(Qe,sn),gn.on(Fe,sn),hn.on(Ve,sn),mn.on(Qe,sn),dn.on(Fe,sn),bn.on(Ve,sn),cn.on(xn,pn),un.on(xn,gn),fn.on(xn,hn),cn.on(Cn,mn),un.on(Cn,dn),fn.on(Cn,bn),pn.on(xn,pn),gn.on(xn,gn),hn.on(xn,hn),pn.on(Cn,pn),gn.on(Cn,gn),hn.on(Cn,hn),mn.on(xn,pn),dn.on(xn,gn),bn.on(xn,hn),mn.on(Cn,mn),dn.on(Cn,dn),bn.on(Cn,bn),sn.on(xn,sn),ln.on(xn,sn),sn.on(Cn,ln),ln.on(Cn,ln);var Tn=[Ae,Pe,Re,Ue,He,De,Ie];nn.on(Tn,En).on(xe,Ln),on.on(Tn,En).on(xe,Ln),tn.on(Tn,En),En.on(Tn,En).on(xe,Ln).on(Te,Nn),Nn.on(Tn,En),Ln.on(Ie,yn).on(Ae,yn).on(je,kn);var Sn=function(e){for(var n=e.length,t=0,o=[],a=[];t<n;){for(var r=Ge,i=null,s=null,l=0,c=null,u=-1;t<n&&!(i=r.next(e[t]));)a.push(e[t++]);for(;t<n&&(s=i||r.next(e[t]));)i=null,r=s,r.accepts()?(u=0,c=r):u>=0&&u++,t++,l++;if(u<0)for(var f=t-l;f<t;f++)a.push(e[f]);else{a.length>0&&(o.push(new Ze(a)),a=[]),t-=u,l-=u;var p=c.emit();o.push(new p(e.slice(t-l,t)))}}return a.length>0&&o.push(new Ze(a)),o},jn=Y,zn=Ge,Pn=Object.freeze({State:V,TOKENS:jn,run:Sn,start:zn});Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)});var Rn=function(e){return Sn(Oe(e))},Un=function(e){for(var n=arguments.length<=1||void 0===arguments[1]?null:arguments[1],t=Rn(e),o=[],a=0;a<t.length;a++)!t[a].isLink||n&&t[a].type!==n||o.push(t[a].toObject());return o},qn=function(e){var n=arguments.length<=1||void 0===arguments[1]?null:arguments[1],t=Rn(e);return 1===t.length&&t[0].isLink&&(!n||t[0].type===n)};e.find=Un,e.inherits=n,e.options=g,e.parser=Pn,e.scanner=Le,e.test=qn,e.tokenize=Rn}(window.linkify=window.linkify||{})}(),function(e,n,t){var o=function(n,t){"use strict";function o(e,n,t){var o=t[t.length-1];e.replaceChild(o,n);for(var a=t.length-2;a>=0;a--)e.insertBefore(t[a],o),o=t[a]}function a(e,n,t){for(var o=[],a=0;a<e.length;a++){var r=e[a],i=r.isLink&&c.resolve(n.validate,r.toString(),r.type);if(r.isLink&&i){var s=r.toHref(n.defaultProtocol),l=c.resolve(n.format,r.toString(),r.type),u=c.resolve(n.formatHref,s,r.type),f=c.resolve(n.attributes,s,r.type),p=c.resolve(n.tagName,s,r.type),g=c.resolve(n.linkClass,s,r.type),h=c.resolve(n.target,s,r.type),m=c.resolve(n.events,s,r.type),d=t.createElement(p);if(d.setAttribute("href",u),d.setAttribute("class",g),h&&d.setAttribute("target",h),f)for(var b in f)d.setAttribute(b,f[b]);if(m)for(var y in m)d.addEventListener?d.addEventListener(y,m[y]):d.attachEvent&&d.attachEvent("on"+y,m[y]);d.appendChild(t.createTextNode(l)),o.push(d)}else"nl"===r.type&&n.nl2br?o.push(t.createElement("br")):o.push(t.createTextNode(r.toString()))}return o}function r(e,n,t){if(!e||e.nodeType!==u)throw new Error("Cannot linkify "+e+" - Invalid DOM Node type");var i=n.ignoreTags;if("A"===e.tagName||c.contains(i,e.tagName))return e;for(var s=e.firstChild;s;){switch(s.nodeType){case u:r(s,n,t);break;case f:var p=s.nodeValue,g=l(p),h=a(g,n,t);o(e,s,h),s=h[h.length-1]}s=s.nextSibling}return e}function i(n,t){var o=arguments.length<=2||void 0===arguments[2]?null:arguments[2];try{o=o||e&&e.document||global&&global.document}catch(a){}if(!o)throw new Error("Cannot find document implementation. If you are in a non-browser environment like Node.js, pass the document implementation as the third argument to linkifyElement.");return t=c.normalize(t),r(n,t,o)}function s(n){function t(e){return e=i.normalize(e),this.each(function(){i.helper(this,e,o)})}var o=arguments.length<=1||void 0===arguments[1]?null:arguments[1];n.fn=n.fn||{};try{o=o||e&&e.document||global&&global.document}catch(a){}if(!o)throw new Error("Cannot find document implementation. If you are in a non-browser environment like Node.js, pass the document implementation as the second argument to linkify/jquery");"function"!=typeof n.fn.linkify&&(n.fn.linkify=t,n(o).ready(function(){n("[data-linkify]").each(function(){var e=n(this),t=e.data(),o=t.linkify,a=t.linkifyNlbr,r={linkAttributes:t.linkifyAttributes,defaultProtocol:t.linkifyDefaultProtocol,events:t.linkifyEvents,format:t.linkifyFormat,formatHref:t.linkifyFormatHref,newLine:t.linkifyNewline,nl2br:!!a&&0!==a&&"false"!==a,tagName:t.linkifyTagname,target:t.linkifyTarget,linkClass:t.linkifyLinkclass,validate:t.linkifyValidate,ignoreTags:t.linkifyIgnoreTags},i="this"===o?e:e.find(o);i.linkify(r)})}))}var l=t.tokenize,c=t.options,u=1,f=3;i.helper=r,i.normalize=c.normalize;try{!define&&(e.linkifyElement=i)}catch(p){}return s}(t,n);"function"!=typeof t.fn.linkify&&o(t)}(window,linkify,jQuery);

@@ -27,9 +27,6 @@ define('linkify-element', ['module', 'exports', './linkify'], function (module, exports, _linkify) {

var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) {
return typeof obj;
} : function (obj) {
return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj;
};
var tokenize = linkify.tokenize; /**
Linkify a HTML DOM node
*/
var tokenize = linkify.tokenize;
var options = linkify.options;

@@ -120,3 +117,3 @@

// Can the element be linkified?
if (!element || (typeof element === 'undefined' ? 'undefined' : _typeof(element)) !== 'object' || element.nodeType !== HTML_NODE) {
if (!element || element.nodeType !== HTML_NODE) {
throw new Error('Cannot linkify ' + element + ' - Invalid DOM Node type');

@@ -123,0 +120,0 @@ }

@@ -1,1 +0,1 @@

define("linkify-element",["module","exports","./linkify"],function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function o(e,t,n){var r=n[n.length-1];e.replaceChild(r,t);for(var o=n.length-2;o>=0;o--)e.insertBefore(n[o],r),r=n[o]}function i(e,t,n){for(var r=[],o=0;o<e.length;o++){var i=e[o],a=i.isLink&&c.resolve(t.validate,i.toString(),i.type);if(i.isLink&&a){var l=i.toHref(t.defaultProtocol),f=c.resolve(t.format,i.toString(),i.type),s=c.resolve(t.formatHref,l,i.type),u=c.resolve(t.attributes,l,i.type),d=c.resolve(t.tagName,l,i.type),p=c.resolve(t.linkClass,l,i.type),y=c.resolve(t.target,l,i.type),v=c.resolve(t.events,l,i.type),m=n.createElement(d);if(m.setAttribute("href",s),m.setAttribute("class",p),y&&m.setAttribute("target",y),u)for(var h in u)m.setAttribute(h,u[h]);if(v)for(var b in v)m.addEventListener?m.addEventListener(b,v[b]):m.attachEvent&&m.attachEvent("on"+b,v[b]);m.appendChild(n.createTextNode(f)),r.push(m)}else"nl"===i.type&&t.nl2br?r.push(n.createElement("br")):r.push(n.createTextNode(i.toString()))}return r}function a(e,t,n){if(!e||"object"!==("undefined"==typeof e?"undefined":u(e))||e.nodeType!==p)throw new Error("Cannot linkify "+e+" - Invalid DOM Node type");var r=t.ignoreTags;if("A"===e.tagName||c.contains(r,e.tagName))return e;for(var l=e.firstChild;l;){switch(l.nodeType){case p:a(l,t,n);break;case y:var f=l.nodeValue,s=d(f),v=i(s,t,n);o(e,l,v),l=v[v.length-1]}l=l.nextSibling}return e}function l(e,t){var n=arguments.length<=2||void 0===arguments[2]?null:arguments[2];try{n=n||window&&window.document||global&&global.document}catch(r){}if(!n)throw new Error("Cannot find document implementation. If you are in a non-browser environment like Node.js, pass the document implementation as the third argument to linkifyElement.");return t=c.normalize(t),a(e,t,n)}try{Object.defineProperty(t,"__esModule",{value:!0})}catch(f){t.__esModule=!0}var s=r(n),u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},d=s.tokenize,c=s.options,p=1,y=3;l.helper=a,l.normalize=c.normalize,t["default"]=l,e.exports=t["default"]});
define("linkify-element",["module","exports","./linkify"],function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function o(e,t,r){var n=r[r.length-1];e.replaceChild(n,t);for(var o=r.length-2;o>=0;o--)e.insertBefore(r[o],n),n=r[o]}function i(e,t,r){for(var n=[],o=0;o<e.length;o++){var i=e[o],a=i.isLink&&d.resolve(t.validate,i.toString(),i.type);if(i.isLink&&a){var l=i.toHref(t.defaultProtocol),s=d.resolve(t.format,i.toString(),i.type),f=d.resolve(t.formatHref,l,i.type),u=d.resolve(t.attributes,l,i.type),v=d.resolve(t.tagName,l,i.type),c=d.resolve(t.linkClass,l,i.type),p=d.resolve(t.target,l,i.type),h=d.resolve(t.events,l,i.type),m=r.createElement(v);if(m.setAttribute("href",f),m.setAttribute("class",c),p&&m.setAttribute("target",p),u)for(var y in u)m.setAttribute(y,u[y]);if(h)for(var g in h)m.addEventListener?m.addEventListener(g,h[g]):m.attachEvent&&m.attachEvent("on"+g,h[g]);m.appendChild(r.createTextNode(s)),n.push(m)}else"nl"===i.type&&t.nl2br?n.push(r.createElement("br")):n.push(r.createTextNode(i.toString()))}return n}function a(e,t,r){if(!e||e.nodeType!==v)throw new Error("Cannot linkify "+e+" - Invalid DOM Node type");var n=t.ignoreTags;if("A"===e.tagName||d.contains(n,e.tagName))return e;for(var l=e.firstChild;l;){switch(l.nodeType){case v:a(l,t,r);break;case c:var s=l.nodeValue,f=u(s),p=i(f,t,r);o(e,l,p),l=p[p.length-1]}l=l.nextSibling}return e}function l(e,t){var r=arguments.length<=2||void 0===arguments[2]?null:arguments[2];try{r=r||window&&window.document||global&&global.document}catch(n){}if(!r)throw new Error("Cannot find document implementation. If you are in a non-browser environment like Node.js, pass the document implementation as the third argument to linkifyElement.");return t=d.normalize(t),a(e,t,r)}try{Object.defineProperty(t,"__esModule",{value:!0})}catch(s){t.__esModule=!0}var f=n(r),u=f.tokenize,d=f.options,v=1,c=3;l.helper=a,l.normalize=d.normalize,t["default"]=l,e.exports=t["default"]});

@@ -34,3 +34,3 @@ define("simple-html-tokenizer/entity-parser", ["module", "exports"], function (module, exports) {

exports['default'] = EntityParser;
module.exports = exports['default'];
module.exports = exports["default"];
});

@@ -450,3 +450,3 @@ define('simple-html-tokenizer/evented-tokenizer', ['module', 'exports', './utils'], function (module, exports, _utils) {

exports['default'] = HTML5NamedCharRefs;
module.exports = exports['default'];
module.exports = exports["default"];
});

@@ -829,5 +829,5 @@ define('simple-html-tokenizer/index', ['exports', './html5-named-char-refs', './entity-parser', './evented-tokenizer', './tokenizer', './tokenize'], function (exports, _html5NamedCharRefs, _entityParser, _eventedTokenizer, _tokenizer, _tokenize) {

case StartTag:
var attrs = attrsToStrings(_token.attributes);
var link = '<' + _token.tagName;
if (attrs.length > 0) {
if (_token.attributes.length > 0) {
var attrs = attrsToStrings(_token.attributes);
link += ' ' + attrs.join(' ');

@@ -834,0 +834,0 @@ }

@@ -1,1 +0,1 @@

define("simple-html-tokenizer/entity-parser",["module","exports"],function(t,e){"use strict";function i(t){this.named=t}try{Object.defineProperty(e,"__esModule",{value:!0})}catch(n){e.__esModule=!0}var a=/^#[xX]([A-Fa-f0-9]+)$/,s=/^#([0-9]+)$/,r=/^([A-Za-z0-9]+)$/;i.prototype.parse=function(t){if(t){var e=t.match(a);return e?"&#x"+e[1]+";":(e=t.match(s))?"&#"+e[1]+";":(e=t.match(r),e?"&"+e[1]+";":void 0)}},e["default"]=i,t.exports=e["default"]}),define("simple-html-tokenizer/evented-tokenizer",["module","exports","./utils"],function(t,e,i){"use strict";function n(t,e){this.delegate=t,this.entityParser=e,this.state=null,this.input=null,this.index=-1,this.line=-1,this.column=-1,this.tagLine=-1,this.tagColumn=-1,this.reset()}try{Object.defineProperty(e,"__esModule",{value:!0})}catch(a){e.__esModule=!0}n.prototype={reset:function(){this.state="beforeData",this.input="",this.index=0,this.line=1,this.column=0,this.tagLine=-1,this.tagColumn=-1,this.delegate.reset()},tokenize:function(t){this.reset(),this.tokenizePart(t),this.tokenizeEOF()},tokenizePart:function(t){for(this.input+=(0,i.preprocessInput)(t);this.index<this.input.length;)this.states[this.state].call(this)},tokenizeEOF:function(){this.flushData()},flushData:function(){"data"===this.state&&(this.delegate.finishData(),this.state="beforeData")},peek:function(){return this.input.charAt(this.index)},consume:function(){var t=this.peek();return this.index++,"\n"===t?(this.line++,this.column=0):this.column++,t},consumeCharRef:function(){var t=this.input.indexOf(";",this.index);if(-1!==t){var e=this.input.slice(this.index,t),i=this.entityParser.parse(e);return i?(this.index=t+1,i):void 0}},markTagStart:function(){this.tagLine=this.line,this.tagColumn=this.column},states:{beforeData:function(){var t=this.peek();"<"===t?(this.state="tagOpen",this.markTagStart(),this.consume()):(this.state="data",this.delegate.beginData())},data:function(){var t=this.peek();"<"===t?(this.delegate.finishData(),this.state="tagOpen",this.markTagStart(),this.consume()):"&"===t?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(t))},tagOpen:function(){var t=this.consume();"!"===t?this.state="markupDeclaration":"/"===t?this.state="endTagOpen":(0,i.isAlpha)(t)&&(this.state="tagName",this.delegate.beginStartTag(),this.delegate.appendToTagName(t.toLowerCase()))},markupDeclaration:function(){var t=this.consume();"-"===t&&"-"===this.input.charAt(this.index)&&(this.index++,this.state="commentStart",this.delegate.beginComment())},commentStart:function(){var t=this.consume();"-"===t?this.state="commentStartDash":">"===t?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData(t),this.state="comment")},commentStartDash:function(){var t=this.consume();"-"===t?this.state="commentEnd":">"===t?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData("-"),this.state="comment")},comment:function(){var t=this.consume();"-"===t?this.state="commentEndDash":this.delegate.appendToCommentData(t)},commentEndDash:function(){var t=this.consume();"-"===t?this.state="commentEnd":(this.delegate.appendToCommentData("-"+t),this.state="comment")},commentEnd:function(){var t=this.consume();">"===t?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData("--"+t),this.state="comment")},tagName:function(){var t=this.consume();(0,i.isSpace)(t)?this.state="beforeAttributeName":"/"===t?this.state="selfClosingStartTag":">"===t?(this.delegate.finishTag(),this.state="beforeData"):this.delegate.appendToTagName(t)},beforeAttributeName:function(){var t=this.consume();(0,i.isSpace)(t)||("/"===t?this.state="selfClosingStartTag":">"===t?(this.delegate.finishTag(),this.state="beforeData"):(this.state="attributeName",this.delegate.beginAttribute(),this.delegate.appendToAttributeName(t)))},attributeName:function(){var t=this.consume();(0,i.isSpace)(t)?this.state="afterAttributeName":"/"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.state="selfClosingStartTag"):"="===t?this.state="beforeAttributeValue":">"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.delegate.finishTag(),this.state="beforeData"):this.delegate.appendToAttributeName(t)},afterAttributeName:function(){var t=this.consume();(0,i.isSpace)(t)||("/"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.state="selfClosingStartTag"):"="===t?this.state="beforeAttributeValue":">"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.delegate.finishTag(),this.state="beforeData"):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.state="attributeName",this.delegate.beginAttribute(),this.delegate.appendToAttributeName(t)))},beforeAttributeValue:function(){var t=this.consume();(0,i.isSpace)(t)||('"'===t?(this.state="attributeValueDoubleQuoted",this.delegate.beginAttributeValue(!0)):"'"===t?(this.state="attributeValueSingleQuoted",this.delegate.beginAttributeValue(!0)):">"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.delegate.finishTag(),this.state="beforeData"):(this.state="attributeValueUnquoted",this.delegate.beginAttributeValue(!1),this.delegate.appendToAttributeValue(t)))},attributeValueDoubleQuoted:function(){var t=this.consume();'"'===t?(this.delegate.finishAttributeValue(),this.state="afterAttributeValueQuoted"):"&"===t?this.delegate.appendToAttributeValue(this.consumeCharRef('"')||"&"):this.delegate.appendToAttributeValue(t)},attributeValueSingleQuoted:function(){var t=this.consume();"'"===t?(this.delegate.finishAttributeValue(),this.state="afterAttributeValueQuoted"):"&"===t?this.delegate.appendToAttributeValue(this.consumeCharRef("'")||"&"):this.delegate.appendToAttributeValue(t)},attributeValueUnquoted:function(){var t=this.consume();(0,i.isSpace)(t)?(this.delegate.finishAttributeValue(),this.state="beforeAttributeName"):"&"===t?this.delegate.appendToAttributeValue(this.consumeCharRef(">")||"&"):">"===t?(this.delegate.finishAttributeValue(),this.delegate.finishTag(),this.state="beforeData"):this.delegate.appendToAttributeValue(t)},afterAttributeValueQuoted:function(){var t=this.peek();(0,i.isSpace)(t)?(this.consume(),this.state="beforeAttributeName"):"/"===t?(this.consume(),this.state="selfClosingStartTag"):">"===t?(this.consume(),this.delegate.finishTag(),this.state="beforeData"):this.state="beforeAttributeName"},selfClosingStartTag:function(){var t=this.peek();">"===t?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.state="beforeData"):this.state="beforeAttributeName"},endTagOpen:function(){var t=this.consume();(0,i.isAlpha)(t)&&(this.state="tagName",this.delegate.beginEndTag(),this.delegate.appendToTagName(t.toLowerCase()))}}},e["default"]=n,t.exports=e["default"]}),define("simple-html-tokenizer/html5-named-char-refs",["module","exports"],function(t,e){"use strict";try{Object.defineProperty(e,"__esModule",{value:!0})}catch(i){e.__esModule=!0}var n={};e["default"]=n,t.exports=e["default"]}),define("simple-html-tokenizer/index",["exports","./html5-named-char-refs","./entity-parser","./evented-tokenizer","./tokenizer","./tokenize"],function(t,e,i,n,a,s){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}try{Object.defineProperty(t,"__esModule",{value:!0})}catch(o){t.__esModule=!0}Object.defineProperty(t,"HTML5NamedCharRefs",{enumerable:!0,get:function(){return r(e)["default"]}}),Object.defineProperty(t,"EntityParser",{enumerable:!0,get:function(){return r(i)["default"]}}),Object.defineProperty(t,"EventedTokenizer",{enumerable:!0,get:function(){return r(n)["default"]}}),Object.defineProperty(t,"Tokenizer",{enumerable:!0,get:function(){return r(a)["default"]}}),Object.defineProperty(t,"tokenize",{enumerable:!0,get:function(){return r(s)["default"]}})}),define("simple-html-tokenizer/tokenize",["module","exports","./tokenizer","./entity-parser","./html5-named-char-refs"],function(t,e,i,n,a){"use strict";function s(t){return t&&t.__esModule?t:{"default":t}}function r(t,e){var i=new u["default"](new h["default"](l["default"]),e);return i.tokenize(t)}try{Object.defineProperty(e,"__esModule",{value:!0})}catch(o){e.__esModule=!0}e["default"]=r;var u=s(i),h=s(n),l=s(a);t.exports=e["default"]}),define("simple-html-tokenizer/tokenizer",["module","exports","./evented-tokenizer"],function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function a(t,e){this.token=null,this.startLine=1,this.startColumn=0,this.options=e||{},this.tokenizer=new r["default"](this,t)}try{Object.defineProperty(e,"__esModule",{value:!0})}catch(s){e.__esModule=!0}var r=n(i);a.prototype={tokenize:function(t){return this.tokens=[],this.tokenizer.tokenize(t),this.tokens},tokenizePart:function(t){return this.tokens=[],this.tokenizer.tokenizePart(t),this.tokens},tokenizeEOF:function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},reset:function(){this.token=null,this.startLine=1,this.startColumn=0},addLocInfo:function(){this.options.loc&&(this.token.loc={start:{line:this.startLine,column:this.startColumn},end:{line:this.tokenizer.line,column:this.tokenizer.column}}),this.startLine=this.tokenizer.line,this.startColumn=this.tokenizer.column},beginData:function(){this.token={type:"Chars",chars:""},this.tokens.push(this.token)},appendToData:function(t){this.token.chars+=t},finishData:function(){this.addLocInfo()},beginComment:function(){this.token={type:"Comment",chars:""},this.tokens.push(this.token)},appendToCommentData:function(t){this.token.chars+=t},finishComment:function(){this.addLocInfo()},beginStartTag:function(){this.token={type:"StartTag",tagName:"",attributes:[],selfClosing:!1},this.tokens.push(this.token)},beginEndTag:function(){this.token={type:"EndTag",tagName:""},this.tokens.push(this.token)},finishTag:function(){this.addLocInfo()},markTagAsSelfClosing:function(){this.token.selfClosing=!0},appendToTagName:function(t){this.token.tagName+=t},beginAttribute:function(){this._currentAttribute=["","",null],this.token.attributes.push(this._currentAttribute)},appendToAttributeName:function(t){this._currentAttribute[0]+=t},beginAttributeValue:function(t){this._currentAttribute[2]=t},appendToAttributeValue:function(t){this._currentAttribute[1]=this._currentAttribute[1]||"",this._currentAttribute[1]+=t},finishAttributeValue:function(){}},e["default"]=a,t.exports=e["default"]}),define("simple-html-tokenizer/utils",["exports"],function(t){"use strict";function e(t){return s.test(t)}function i(t){return r.test(t)}function n(t){return t.replace(o,"\n")}try{Object.defineProperty(t,"__esModule",{value:!0})}catch(a){t.__esModule=!0}t.isSpace=e,t.isAlpha=i,t.preprocessInput=n;var s=/[\t\n\f ]/,r=/[A-Za-z]/,o=/\r\n?/g}),define("simple-html-tokenizer",["module","exports","./simple-html-tokenizer/html5-named-char-refs","./simple-html-tokenizer/entity-parser","./simple-html-tokenizer/evented-tokenizer","./simple-html-tokenizer/tokenizer","./simple-html-tokenizer/tokenize"],function(t,e,i,n,a,s,r){"use strict";function o(t){return t&&t.__esModule?t:{"default":t}}try{Object.defineProperty(e,"__esModule",{value:!0})}catch(u){e.__esModule=!0}var h=o(i),l=o(n),f=o(a),d=o(s),c=o(r),p={HTML5NamedCharRefs:h["default"],EntityParser:l["default"],EventedTokenizer:f["default"],Tokenizer:d["default"],tokenize:c["default"]};e["default"]=p,t.exports=e["default"]}),define("linkify-html",["module","exports","./simple-html-tokenizer","./linkify"],function(t,e,i,n){"use strict";function a(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e["default"]=t,e}function s(t){return t&&t.__esModule?t:{"default":t}}function r(t){var e,i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=c["default"].tokenize(t),a=[],s=[];for(i=p.options.normalize(i),e=0;e<n.length;e++){var r=n[e];if(r.type!==g)if(r.type===k){var l=o(r.chars,i);a.push.apply(a,l)}else a.push(r);else{a.push(r);var d=r.tagName.toUpperCase(),A="A"===d||m.contains(i.ignoreTags,d);if(!A)continue;var T=a.length;u(d,n,++e,a),e+=a.length-T-1}}for(e=0;e<a.length;e++){var y=a[e];switch(y.type){case g:var z=f(y.attributes),_="<"+y.tagName;z.length>0&&(_+=" "+z.join(" ")),_+=">",s.push(_);break;case b:s.push("</"+y.tagName+">");break;case k:s.push(h(y.chars));break;case v:s.push("<!--"+h(y.chars)+"-->")}}return s.join("")}function o(t,e){for(var i=p.tokenize(t),n=[],a=0;a<i.length;a++){var s=i[a],r=s.isLink&&p.options.resolve(e.validate,s.toString(),s.type);if("nl"===s.type&&e.nl2br)n.push({type:g,tagName:"br",attributes:[],selfClosing:!0});else if(s.isLink&&r){var o=s.toHref(e.defaultProtocol),u=p.options.resolve(e.format,s.toString(),s.type),h=p.options.resolve(e.formatHref,o,s.type),l=p.options.resolve(e.attributes,o,s.type),f=p.options.resolve(e.tagName,o,s.type),d=p.options.resolve(e.linkClass,o,s.type),c=p.options.resolve(e.target,o,s.type),m=[["href",h],["class",d]];c&&m.push(["target",c]);for(var v in l)m.push([v,l[v]]);n.push({type:g,tagName:f,attributes:m,selfClosing:!1}),n.push({type:k,chars:u}),n.push({type:b,tagName:f})}else n.push({type:k,chars:s.toString()})}return n}function u(t,e,i,n){for(var a=1;i<e.length&&a>0;){var s=e[i];s.type===g&&s.tagName.toUpperCase()===t?a++:s.type===b&&s.tagName.toUpperCase()===t&&a--,n.push(s),i++}return n}function h(t){return t}function l(t){return t.replace(/"/g,"&quot;")}function f(t){for(var e=[],i=0;i<t.length;i++){var n=t[i],a=n[0],s=n[1];e.push(a+'="'+l(s)+'"')}return e}try{Object.defineProperty(e,"__esModule",{value:!0})}catch(d){e.__esModule=!0}e["default"]=r;var c=s(i),p=a(n),m=p.options,g="StartTag",b="EndTag",k="Chars",v="Comment";t.exports=e["default"]});
define("simple-html-tokenizer/entity-parser",["module","exports"],function(t,e){"use strict";function i(t){this.a=t}try{Object.defineProperty(e,"__esModule",{value:!0})}catch(s){e.__esModule=!0}var n=/^#[xX]([A-Fa-f0-9]+)$/,r=/^#([0-9]+)$/,o=/^([A-Za-z0-9]+)$/;i.prototype.parse=function(t){if(t){var e=t.match(n);return e?"&#x"+e[1]+";":(e=t.match(r))?"&#"+e[1]+";":(e=t.match(o),e?"&"+e[1]+";":void 0)}},e["default"]=i,t.exports=e["default"]}),define("simple-html-tokenizer/evented-tokenizer",["module","exports","./utils"],function(t,e,i){"use strict";function s(t,e){this.b=t,this.c=e,this.d=null,this.input=null,this.e=-1,this.f=-1,this.g=-1,this.h=-1,this.i=-1,this.j()}try{Object.defineProperty(e,"__esModule",{value:!0})}catch(n){e.__esModule=!0}s.prototype={j:function(){this.d="beforeData",this.input="",this.e=0,this.f=1,this.g=0,this.h=-1,this.i=-1,this.b.j()},tokenize:function(t){this.j(),this.tokenizePart(t),this.tokenizeEOF()},tokenizePart:function(t){for(this.input+=(0,i.k)(t);this.e<this.input.length;)this.l[this.d].call(this)},tokenizeEOF:function(){this.m()},m:function(){"data"===this.d&&(this.b.n(),this.d="beforeData")},o:function(){return this.input.charAt(this.e)},p:function(){var t=this.o();return this.e++,"\n"===t?(this.f++,this.g=0):this.g++,t},q:function(){var t=this.input.indexOf(";",this.e);if(t!==-1){var e=this.input.slice(this.e,t),i=this.c.parse(e);return i?(this.e=t+1,i):void 0}},r:function(){this.h=this.f,this.i=this.g},l:{beforeData:function(){var t=this.o();"<"===t?(this.d="tagOpen",this.r(),this.p()):(this.d="data",this.b.s())},data:function(){var t=this.o();"<"===t?(this.b.n(),this.d="tagOpen",this.r(),this.p()):"&"===t?(this.p(),this.b.t(this.q()||"&")):(this.p(),this.b.t(t))},tagOpen:function(){var t=this.p();"!"===t?this.d="markupDeclaration":"/"===t?this.d="endTagOpen":(0,i.u)(t)&&(this.d="tagName",this.b.v(),this.b.w(t.toLowerCase()))},markupDeclaration:function(){var t=this.p();"-"===t&&"-"===this.input.charAt(this.e)&&(this.e++,this.d="commentStart",this.b.x())},commentStart:function(){var t=this.p();"-"===t?this.d="commentStartDash":">"===t?(this.b.y(),this.d="beforeData"):(this.b.z(t),this.d="comment")},commentStartDash:function(){var t=this.p();"-"===t?this.d="commentEnd":">"===t?(this.b.y(),this.d="beforeData"):(this.b.z("-"),this.d="comment")},comment:function(){var t=this.p();"-"===t?this.d="commentEndDash":this.b.z(t)},commentEndDash:function(){var t=this.p();"-"===t?this.d="commentEnd":(this.b.z("-"+t),this.d="comment")},commentEnd:function(){var t=this.p();">"===t?(this.b.y(),this.d="beforeData"):(this.b.z("--"+t),this.d="comment")},tagName:function(){var t=this.p();(0,i.A)(t)?this.d="beforeAttributeName":"/"===t?this.d="selfClosingStartTag":">"===t?(this.b.B(),this.d="beforeData"):this.b.w(t)},beforeAttributeName:function(){var t=this.p();(0,i.A)(t)||("/"===t?this.d="selfClosingStartTag":">"===t?(this.b.B(),this.d="beforeData"):(this.d="attributeName",this.b.C(),this.b.D(t)))},attributeName:function(){var t=this.p();(0,i.A)(t)?this.d="afterAttributeName":"/"===t?(this.b.F(!1),this.b.G(),this.d="selfClosingStartTag"):"="===t?this.d="beforeAttributeValue":">"===t?(this.b.F(!1),this.b.G(),this.b.B(),this.d="beforeData"):this.b.D(t)},afterAttributeName:function(){var t=this.p();(0,i.A)(t)||("/"===t?(this.b.F(!1),this.b.G(),this.d="selfClosingStartTag"):"="===t?this.d="beforeAttributeValue":">"===t?(this.b.F(!1),this.b.G(),this.b.B(),this.d="beforeData"):(this.b.F(!1),this.b.G(),this.d="attributeName",this.b.C(),this.b.D(t)))},beforeAttributeValue:function(){var t=this.p();(0,i.A)(t)||('"'===t?(this.d="attributeValueDoubleQuoted",this.b.F(!0)):"'"===t?(this.d="attributeValueSingleQuoted",this.b.F(!0)):">"===t?(this.b.F(!1),this.b.G(),this.b.B(),this.d="beforeData"):(this.d="attributeValueUnquoted",this.b.F(!1),this.b.H(t)))},attributeValueDoubleQuoted:function(){var t=this.p();'"'===t?(this.b.G(),this.d="afterAttributeValueQuoted"):"&"===t?this.b.H(this.q('"')||"&"):this.b.H(t)},attributeValueSingleQuoted:function(){var t=this.p();"'"===t?(this.b.G(),this.d="afterAttributeValueQuoted"):"&"===t?this.b.H(this.q("'")||"&"):this.b.H(t)},attributeValueUnquoted:function(){var t=this.p();(0,i.A)(t)?(this.b.G(),this.d="beforeAttributeName"):"&"===t?this.b.H(this.q(">")||"&"):">"===t?(this.b.G(),this.b.B(),this.d="beforeData"):this.b.H(t)},afterAttributeValueQuoted:function(){var t=this.o();(0,i.A)(t)?(this.p(),this.d="beforeAttributeName"):"/"===t?(this.p(),this.d="selfClosingStartTag"):">"===t?(this.p(),this.b.B(),this.d="beforeData"):this.d="beforeAttributeName"},selfClosingStartTag:function(){var t=this.o();">"===t?(this.p(),this.b.I(),this.b.B(),this.d="beforeData"):this.d="beforeAttributeName"},endTagOpen:function(){var t=this.p();(0,i.u)(t)&&(this.d="tagName",this.b.J(),this.b.w(t.toLowerCase()))}}},e["default"]=s,t.exports=e["default"]}),define("simple-html-tokenizer/html5-named-char-refs",["module","exports"],function(t,e){"use strict";try{Object.defineProperty(e,"__esModule",{value:!0})}catch(i){e.__esModule=!0}var s={};e["default"]=s,t.exports=e["default"]}),define("simple-html-tokenizer/index",["exports","./html5-named-char-refs","./entity-parser","./evented-tokenizer","./tokenizer","./tokenize"],function(t,e,i,s,n,r){"use strict";function o(t){return t&&t.__esModule?t:{"default":t}}try{Object.defineProperty(t,"__esModule",{value:!0})}catch(h){t.__esModule=!0}Object.defineProperty(t,"HTML5NamedCharRefs",{K:!0,L:function(){return o(e)["default"]}}),Object.defineProperty(t,"EntityParser",{K:!0,L:function(){return o(i)["default"]}}),Object.defineProperty(t,"EventedTokenizer",{K:!0,L:function(){return o(s)["default"]}}),Object.defineProperty(t,"Tokenizer",{K:!0,L:function(){return o(n)["default"]}}),Object.defineProperty(t,"tokenize",{K:!0,L:function(){return o(r)["default"]}})}),define("simple-html-tokenizer/tokenize",["module","exports","./tokenizer","./entity-parser","./html5-named-char-refs"],function(t,e,i,s,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){var i=new a["default"](new u["default"](f["default"]),e);return i.tokenize(t)}try{Object.defineProperty(e,"__esModule",{value:!0})}catch(h){e.__esModule=!0}e["default"]=o;var a=r(i),u=r(s),f=r(n);t.exports=e["default"]}),define("simple-html-tokenizer/tokenizer",["module","exports","./evented-tokenizer"],function(t,e,i){"use strict";function s(t){return t&&t.__esModule?t:{"default":t}}function n(t,e){this.M=null,this.startLine=1,this.startColumn=0,this.options=e||{},this.tokenizer=new o["default"](this,t)}try{Object.defineProperty(e,"__esModule",{value:!0})}catch(r){e.__esModule=!0}var o=s(i);n.prototype={tokenize:function(t){return this.N=[],this.tokenizer.tokenize(t),this.N},tokenizePart:function(t){return this.N=[],this.tokenizer.tokenizePart(t),this.N},tokenizeEOF:function(){return this.N=[],this.tokenizer.tokenizeEOF(),this.N[0]},j:function(){this.M=null,this.startLine=1,this.startColumn=0},O:function(){this.options.P&&(this.M.P={start:{f:this.startLine,g:this.startColumn},Q:{f:this.tokenizer.f,g:this.tokenizer.g}}),this.startLine=this.tokenizer.f,this.startColumn=this.tokenizer.g},s:function(){this.M={type:"Chars",chars:""},this.N.push(this.M)},t:function(t){this.M.chars+=t},n:function(){this.O()},x:function(){this.M={type:"Comment",chars:""},this.N.push(this.M)},z:function(t){this.M.chars+=t},y:function(){this.O()},v:function(){this.M={type:"StartTag",tagName:"",attributes:[],R:!1},this.N.push(this.M)},J:function(){this.M={type:"EndTag",tagName:""},this.N.push(this.M)},B:function(){this.O()},I:function(){this.M.R=!0},w:function(t){this.M.tagName+=t},C:function(){this._currentAttribute=["","",null],this.M.attributes.push(this._currentAttribute)},D:function(t){this._currentAttribute[0]+=t},F:function(t){this._currentAttribute[2]=t},H:function(t){this._currentAttribute[1]=this._currentAttribute[1]||"",this._currentAttribute[1]+=t},G:function(){}},e["default"]=n,t.exports=e["default"]}),define("simple-html-tokenizer/utils",["exports"],function(t){"use strict";function e(t){return r.test(t)}function i(t){return o.test(t)}function s(t){return t.replace(h,"\n")}try{Object.defineProperty(t,"__esModule",{value:!0})}catch(n){t.__esModule=!0}t.A=e,t.u=i,t.k=s;var r=/[\t\n\f ]/,o=/[A-Za-z]/,h=/\r\n?/g}),define("simple-html-tokenizer",["module","exports","./simple-html-tokenizer/html5-named-char-refs","./simple-html-tokenizer/entity-parser","./simple-html-tokenizer/evented-tokenizer","./simple-html-tokenizer/tokenizer","./simple-html-tokenizer/tokenize"],function(t,e,i,s,n,r,o){"use strict";function h(t){return t&&t.__esModule?t:{"default":t}}try{Object.defineProperty(e,"__esModule",{value:!0})}catch(a){e.__esModule=!0}var u=h(i),f=h(s),l=h(n),c=h(r),d=h(o),p={HTML5NamedCharRefs:u["default"],EntityParser:f["default"],EventedTokenizer:l["default"],Tokenizer:c["default"],tokenize:d["default"]};e["default"]=p,t.exports=e["default"]}),define("linkify-html",["module","exports","./simple-html-tokenizer","./linkify"],function(t,e,i,s){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e["default"]=t,e}function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){var e,i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],s=d["default"].tokenize(t),n=[],r=[];for(i=p.options.normalize(i),e=0;e<s.length;e++){var o=s[e];if(o.type!==m)if(o.type===g){var f=h(o.chars,i);n.push.apply(n,f)}else n.push(o);else{n.push(o);var c=o.tagName.toUpperCase(),y="A"===c||b.contains(i.ignoreTags,c);if(!y)continue;var z=n.length;a(c,s,++e,n),e+=n.length-z-1}}for(e=0;e<n.length;e++){var _=n[e];switch(_.type){case m:var M="<"+_.tagName;if(_.attributes.length>0){var N=l(_.attributes);M+=" "+N.join(" ")}M+=">",r.push(M);break;case v:r.push("</"+_.tagName+">");break;case g:r.push(u(_.chars));break;case k:r.push("<!--"+u(_.chars)+"-->")}}return r.join("")}function h(t,e){for(var i=p.tokenize(t),s=[],n=0;n<i.length;n++){var r=i[n],o=r.isLink&&p.options.resolve(e.validate,r.toString(),r.type);if("nl"===r.type&&e.nl2br)s.push({type:m,tagName:"br",attributes:[],R:!0});else if(r.isLink&&o){var h=r.toHref(e.defaultProtocol),a=p.options.resolve(e.format,r.toString(),r.type),u=p.options.resolve(e.formatHref,h,r.type),f=p.options.resolve(e.attributes,h,r.type),l=p.options.resolve(e.tagName,h,r.type),c=p.options.resolve(e.linkClass,h,r.type),d=p.options.resolve(e.target,h,r.type),b=[["href",u],["class",c]];d&&b.push(["target",d]);for(var k in f)b.push([k,f[k]]);s.push({type:m,tagName:l,attributes:b,R:!1}),s.push({type:g,chars:a}),s.push({type:v,tagName:l})}else s.push({type:g,chars:r.toString()})}return s}function a(t,e,i,s){for(var n=1;i<e.length&&n>0;){var r=e[i];r.type===m&&r.tagName.toUpperCase()===t?n++:r.type===v&&r.tagName.toUpperCase()===t&&n--,s.push(r),i++}return s}function u(t){return t}function f(t){return t.replace(/"/g,"&quot;")}function l(t){for(var e=[],i=0;i<t.length;i++){var s=t[i],n=s[0],r=s[1];e.push(n+'="'+f(r)+'"')}return e}try{Object.defineProperty(e,"__esModule",{value:!0})}catch(c){e.__esModule=!0}e["default"]=o;var d=r(i),p=n(s),b=p.options,m="StartTag",v="EndTag",g="Chars",k="Comment";t.exports=e["default"]});

@@ -653,5 +653,5 @@ 'use strict';

case StartTag:
var attrs = attrsToStrings(_token.attributes);
var link = '<' + _token.tagName;
if (attrs.length > 0) {
if (_token.attributes.length > 0) {
var attrs = attrsToStrings(_token.attributes);
link += ' ' + attrs.join(' ');

@@ -658,0 +658,0 @@ }

@@ -1,1 +0,1 @@

"use strict";!function(t,e){var i=function(t){function e(t){this.named=t}function i(t){return k.test(t)}function a(t){return A.test(t)}function s(t){return t.replace(T,"\n")}function n(t,e){this.delegate=t,this.entityParser=e,this.state=null,this.input=null,this.index=-1,this.line=-1,this.column=-1,this.tagLine=-1,this.tagColumn=-1,this.reset()}function o(t,e){this.token=null,this.startLine=1,this.startColumn=0,this.options=e||{},this.tokenizer=new n(this,t)}function h(t,i){var a=new o(new e(m),i);return a.tokenize(t)}function r(e){var i,a=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],s=v.tokenize(e),n=[],o=[];for(a=t.options.normalize(a),i=0;i<s.length;i++){var h=s[i];if(h.type!==V)if(h.type===N){var r=u(h.chars,a);n.push.apply(n,r)}else n.push(h);else{n.push(h);var f=h.tagName.toUpperCase(),m="A"===f||C.contains(a.ignoreTags,f);if(!m)continue;var p=n.length;l(f,s,++i,n),i+=n.length-p-1}}for(i=0;i<n.length;i++){var d=n[i];switch(d.type){case V:var b=c(d.attributes),k="<"+d.tagName;b.length>0&&(k+=" "+b.join(" ")),k+=">",o.push(k);break;case D:o.push("</"+d.tagName+">");break;case N:o.push(g(d.chars));break;case y:o.push("<!--"+g(d.chars)+"-->")}}return o.join("")}function u(e,i){for(var a=t.tokenize(e),s=[],n=0;n<a.length;n++){var o=a[n],h=o.isLink&&t.options.resolve(i.validate,o.toString(),o.type);if("nl"===o.type&&i.nl2br)s.push({type:V,tagName:"br",attributes:[],selfClosing:!0});else if(o.isLink&&h){var r=o.toHref(i.defaultProtocol),u=t.options.resolve(i.format,o.toString(),o.type),l=t.options.resolve(i.formatHref,r,o.type),g=t.options.resolve(i.attributes,r,o.type),f=t.options.resolve(i.tagName,r,o.type),c=t.options.resolve(i.linkClass,r,o.type),m=t.options.resolve(i.target,r,o.type),p=[["href",l],["class",c]];m&&p.push(["target",m]);for(var d in g)p.push([d,g[d]]);s.push({type:V,tagName:f,attributes:p,selfClosing:!1}),s.push({type:N,chars:u}),s.push({type:D,tagName:f})}else s.push({type:N,chars:o.toString()})}return s}function l(t,e,i,a){for(var s=1;i<e.length&&s>0;){var n=e[i];n.type===V&&n.tagName.toUpperCase()===t?s++:n.type===D&&n.tagName.toUpperCase()===t&&s--,a.push(n),i++}return a}function g(t){return t}function f(t){return t.replace(/"/g,"&quot;")}function c(t){for(var e=[],i=0;i<t.length;i++){var a=t[i],s=a[0],n=a[1];e.push(s+'="'+f(n)+'"')}return e}var m={},p=/^#[xX]([A-Fa-f0-9]+)$/,d=/^#([0-9]+)$/,b=/^([A-Za-z0-9]+)$/;e.prototype.parse=function(t){if(t){var e=t.match(p);return e?"&#x"+e[1]+";":(e=t.match(d))?"&#"+e[1]+";":(e=t.match(b),e?"&"+e[1]+";":void 0)}};var k=/[\t\n\f ]/,A=/[A-Za-z]/,T=/\r\n?/g;n.prototype={reset:function(){this.state="beforeData",this.input="",this.index=0,this.line=1,this.column=0,this.tagLine=-1,this.tagColumn=-1,this.delegate.reset()},tokenize:function(t){this.reset(),this.tokenizePart(t),this.tokenizeEOF()},tokenizePart:function(t){for(this.input+=s(t);this.index<this.input.length;)this.states[this.state].call(this)},tokenizeEOF:function(){this.flushData()},flushData:function(){"data"===this.state&&(this.delegate.finishData(),this.state="beforeData")},peek:function(){return this.input.charAt(this.index)},consume:function(){var t=this.peek();return this.index++,"\n"===t?(this.line++,this.column=0):this.column++,t},consumeCharRef:function(){var t=this.input.indexOf(";",this.index);if(-1!==t){var e=this.input.slice(this.index,t),i=this.entityParser.parse(e);return i?(this.index=t+1,i):void 0}},markTagStart:function(){this.tagLine=this.line,this.tagColumn=this.column},states:{beforeData:function(){var t=this.peek();"<"===t?(this.state="tagOpen",this.markTagStart(),this.consume()):(this.state="data",this.delegate.beginData())},data:function(){var t=this.peek();"<"===t?(this.delegate.finishData(),this.state="tagOpen",this.markTagStart(),this.consume()):"&"===t?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(t))},tagOpen:function(){var t=this.consume();"!"===t?this.state="markupDeclaration":"/"===t?this.state="endTagOpen":a(t)&&(this.state="tagName",this.delegate.beginStartTag(),this.delegate.appendToTagName(t.toLowerCase()))},markupDeclaration:function(){var t=this.consume();"-"===t&&"-"===this.input.charAt(this.index)&&(this.index++,this.state="commentStart",this.delegate.beginComment())},commentStart:function(){var t=this.consume();"-"===t?this.state="commentStartDash":">"===t?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData(t),this.state="comment")},commentStartDash:function(){var t=this.consume();"-"===t?this.state="commentEnd":">"===t?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData("-"),this.state="comment")},comment:function(){var t=this.consume();"-"===t?this.state="commentEndDash":this.delegate.appendToCommentData(t)},commentEndDash:function(){var t=this.consume();"-"===t?this.state="commentEnd":(this.delegate.appendToCommentData("-"+t),this.state="comment")},commentEnd:function(){var t=this.consume();">"===t?(this.delegate.finishComment(),this.state="beforeData"):(this.delegate.appendToCommentData("--"+t),this.state="comment")},tagName:function(){var t=this.consume();i(t)?this.state="beforeAttributeName":"/"===t?this.state="selfClosingStartTag":">"===t?(this.delegate.finishTag(),this.state="beforeData"):this.delegate.appendToTagName(t)},beforeAttributeName:function(){var t=this.consume();i(t)||("/"===t?this.state="selfClosingStartTag":">"===t?(this.delegate.finishTag(),this.state="beforeData"):(this.state="attributeName",this.delegate.beginAttribute(),this.delegate.appendToAttributeName(t)))},attributeName:function(){var t=this.consume();i(t)?this.state="afterAttributeName":"/"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.state="selfClosingStartTag"):"="===t?this.state="beforeAttributeValue":">"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.delegate.finishTag(),this.state="beforeData"):this.delegate.appendToAttributeName(t)},afterAttributeName:function(){var t=this.consume();i(t)||("/"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.state="selfClosingStartTag"):"="===t?this.state="beforeAttributeValue":">"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.delegate.finishTag(),this.state="beforeData"):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.state="attributeName",this.delegate.beginAttribute(),this.delegate.appendToAttributeName(t)))},beforeAttributeValue:function(){var t=this.consume();i(t)||('"'===t?(this.state="attributeValueDoubleQuoted",this.delegate.beginAttributeValue(!0)):"'"===t?(this.state="attributeValueSingleQuoted",this.delegate.beginAttributeValue(!0)):">"===t?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.delegate.finishTag(),this.state="beforeData"):(this.state="attributeValueUnquoted",this.delegate.beginAttributeValue(!1),this.delegate.appendToAttributeValue(t)))},attributeValueDoubleQuoted:function(){var t=this.consume();'"'===t?(this.delegate.finishAttributeValue(),this.state="afterAttributeValueQuoted"):"&"===t?this.delegate.appendToAttributeValue(this.consumeCharRef('"')||"&"):this.delegate.appendToAttributeValue(t)},attributeValueSingleQuoted:function(){var t=this.consume();"'"===t?(this.delegate.finishAttributeValue(),this.state="afterAttributeValueQuoted"):"&"===t?this.delegate.appendToAttributeValue(this.consumeCharRef("'")||"&"):this.delegate.appendToAttributeValue(t)},attributeValueUnquoted:function(){var t=this.consume();i(t)?(this.delegate.finishAttributeValue(),this.state="beforeAttributeName"):"&"===t?this.delegate.appendToAttributeValue(this.consumeCharRef(">")||"&"):">"===t?(this.delegate.finishAttributeValue(),this.delegate.finishTag(),this.state="beforeData"):this.delegate.appendToAttributeValue(t)},afterAttributeValueQuoted:function(){var t=this.peek();i(t)?(this.consume(),this.state="beforeAttributeName"):"/"===t?(this.consume(),this.state="selfClosingStartTag"):">"===t?(this.consume(),this.delegate.finishTag(),this.state="beforeData"):this.state="beforeAttributeName"},selfClosingStartTag:function(){var t=this.peek();">"===t?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.state="beforeData"):this.state="beforeAttributeName"},endTagOpen:function(){var t=this.consume();a(t)&&(this.state="tagName",this.delegate.beginEndTag(),this.delegate.appendToTagName(t.toLowerCase()))}}},o.prototype={tokenize:function(t){return this.tokens=[],this.tokenizer.tokenize(t),this.tokens},tokenizePart:function(t){return this.tokens=[],this.tokenizer.tokenizePart(t),this.tokens},tokenizeEOF:function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},reset:function(){this.token=null,this.startLine=1,this.startColumn=0},addLocInfo:function(){this.options.loc&&(this.token.loc={start:{line:this.startLine,column:this.startColumn},end:{line:this.tokenizer.line,column:this.tokenizer.column}}),this.startLine=this.tokenizer.line,this.startColumn=this.tokenizer.column},beginData:function(){this.token={type:"Chars",chars:""},this.tokens.push(this.token)},appendToData:function(t){this.token.chars+=t},finishData:function(){this.addLocInfo()},beginComment:function(){this.token={type:"Comment",chars:""},this.tokens.push(this.token)},appendToCommentData:function(t){this.token.chars+=t},finishComment:function(){this.addLocInfo()},beginStartTag:function(){this.token={type:"StartTag",tagName:"",attributes:[],selfClosing:!1},this.tokens.push(this.token)},beginEndTag:function(){this.token={type:"EndTag",tagName:""},this.tokens.push(this.token)},finishTag:function(){this.addLocInfo()},markTagAsSelfClosing:function(){this.token.selfClosing=!0},appendToTagName:function(t){this.token.tagName+=t},beginAttribute:function(){this._currentAttribute=["","",null],this.token.attributes.push(this._currentAttribute)},appendToAttributeName:function(t){this._currentAttribute[0]+=t},beginAttributeValue:function(t){this._currentAttribute[2]=t},appendToAttributeValue:function(t){this._currentAttribute[1]=this._currentAttribute[1]||"",this._currentAttribute[1]+=t},finishAttributeValue:function(){}};var v={HTML5NamedCharRefs:m,EntityParser:e,EventedTokenizer:n,Tokenizer:o,tokenize:h},C=t.options,V="StartTag",D="EndTag",N="Chars",y="Comment";return r}(e);t.linkifyHtml=i}(window,linkify);
"use strict";!function(t,i){var e=function(t){function i(t){this.a=t}function e(t){return v.test(t)}function s(t){return k.test(t)}function h(t){return t.replace(A,"\n")}function n(t,i){this.b=t,this.c=i,this.d=null,this.input=null,this.e=-1,this.f=-1,this.g=-1,this.h=-1,this.i=-1,this.j()}function r(t,i){this.k=null,this.startLine=1,this.startColumn=0,this.options=i||{},this.tokenizer=new n(this,t)}function a(t,e){var s=new r(new i(l),e);return s.tokenize(t)}function o(i){var e,s=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],h=z.tokenize(i),n=[],r=[];for(s=t.options.normalize(s),e=0;e<h.length;e++){var a=h[e];if(a.type!==D)if(a.type===N){var o=u(a.chars,s);n.push.apply(n,o)}else n.push(a);else{n.push(a);var c=a.tagName.toUpperCase(),l="A"===c||y.contains(s.ignoreTags,c);if(!l)continue;var d=n.length;f(c,h,++e,n),e+=n.length-d-1}}for(e=0;e<n.length;e++){var m=n[e];switch(m.type){case D:var g="<"+m.tagName;if(m.attributes.length>0){var v=p(m.attributes);g+=" "+v.join(" ")}g+=">",r.push(g);break;case q:r.push("</"+m.tagName+">");break;case N:r.push(b(m.chars));break;case C:r.push("<!--"+b(m.chars)+"-->")}}return r.join("")}function u(i,e){for(var s=t.tokenize(i),h=[],n=0;n<s.length;n++){var r=s[n],a=r.isLink&&t.options.resolve(e.validate,r.toString(),r.type);if("nl"===r.type&&e.nl2br)h.push({type:D,tagName:"br",attributes:[],l:!0});else if(r.isLink&&a){var o=r.toHref(e.defaultProtocol),u=t.options.resolve(e.format,r.toString(),r.type),f=t.options.resolve(e.formatHref,o,r.type),b=t.options.resolve(e.attributes,o,r.type),c=t.options.resolve(e.tagName,o,r.type),p=t.options.resolve(e.linkClass,o,r.type),l=t.options.resolve(e.target,o,r.type),d=[["href",f],["class",p]];l&&d.push(["target",l]);for(var m in b)d.push([m,b[m]]);h.push({type:D,tagName:c,attributes:d,l:!1}),h.push({type:N,chars:u}),h.push({type:q,tagName:c})}else h.push({type:N,chars:r.toString()})}return h}function f(t,i,e,s){for(var h=1;e<i.length&&h>0;){var n=i[e];n.type===D&&n.tagName.toUpperCase()===t?h++:n.type===q&&n.tagName.toUpperCase()===t&&h--,s.push(n),e++}return s}function b(t){return t}function c(t){return t.replace(/"/g,"&quot;")}function p(t){for(var i=[],e=0;e<t.length;e++){var s=t[e],h=s[0],n=s[1];i.push(h+'="'+c(n)+'"')}return i}var l={},d=/^#[xX]([A-Fa-f0-9]+)$/,m=/^#([0-9]+)$/,g=/^([A-Za-z0-9]+)$/;i.prototype.parse=function(t){if(t){var i=t.match(d);return i?"&#x"+i[1]+";":(i=t.match(m))?"&#"+i[1]+";":(i=t.match(g),i?"&"+i[1]+";":void 0)}};var v=/[\t\n\f ]/,k=/[A-Za-z]/,A=/\r\n?/g;n.prototype={j:function(){this.d="beforeData",this.input="",this.e=0,this.f=1,this.g=0,this.h=-1,this.i=-1,this.b.j()},tokenize:function(t){this.j(),this.tokenizePart(t),this.tokenizeEOF()},tokenizePart:function(t){for(this.input+=h(t);this.e<this.input.length;)this.m[this.d].call(this)},tokenizeEOF:function(){this.n()},n:function(){"data"===this.d&&(this.b.o(),this.d="beforeData")},p:function(){return this.input.charAt(this.e)},q:function(){var t=this.p();return this.e++,"\n"===t?(this.f++,this.g=0):this.g++,t},r:function(){var t=this.input.indexOf(";",this.e);if(t!==-1){var i=this.input.slice(this.e,t),e=this.c.parse(i);return e?(this.e=t+1,e):void 0}},s:function(){this.h=this.f,this.i=this.g},m:{beforeData:function(){var t=this.p();"<"===t?(this.d="tagOpen",this.s(),this.q()):(this.d="data",this.b.t())},data:function(){var t=this.p();"<"===t?(this.b.o(),this.d="tagOpen",this.s(),this.q()):"&"===t?(this.q(),this.b.u(this.r()||"&")):(this.q(),this.b.u(t))},tagOpen:function(){var t=this.q();"!"===t?this.d="markupDeclaration":"/"===t?this.d="endTagOpen":s(t)&&(this.d="tagName",this.b.v(),this.b.w(t.toLowerCase()))},markupDeclaration:function(){var t=this.q();"-"===t&&"-"===this.input.charAt(this.e)&&(this.e++,this.d="commentStart",this.b.x())},commentStart:function(){var t=this.q();"-"===t?this.d="commentStartDash":">"===t?(this.b.y(),this.d="beforeData"):(this.b.z(t),this.d="comment")},commentStartDash:function(){var t=this.q();"-"===t?this.d="commentEnd":">"===t?(this.b.y(),this.d="beforeData"):(this.b.z("-"),this.d="comment")},comment:function(){var t=this.q();"-"===t?this.d="commentEndDash":this.b.z(t)},commentEndDash:function(){var t=this.q();"-"===t?this.d="commentEnd":(this.b.z("-"+t),this.d="comment")},commentEnd:function(){var t=this.q();">"===t?(this.b.y(),this.d="beforeData"):(this.b.z("--"+t),this.d="comment")},tagName:function(){var t=this.q();e(t)?this.d="beforeAttributeName":"/"===t?this.d="selfClosingStartTag":">"===t?(this.b.A(),this.d="beforeData"):this.b.w(t)},beforeAttributeName:function(){var t=this.q();e(t)||("/"===t?this.d="selfClosingStartTag":">"===t?(this.b.A(),this.d="beforeData"):(this.d="attributeName",this.b.B(),this.b.C(t)))},attributeName:function(){var t=this.q();e(t)?this.d="afterAttributeName":"/"===t?(this.b.D(!1),this.b.F(),this.d="selfClosingStartTag"):"="===t?this.d="beforeAttributeValue":">"===t?(this.b.D(!1),this.b.F(),this.b.A(),this.d="beforeData"):this.b.C(t)},afterAttributeName:function(){var t=this.q();e(t)||("/"===t?(this.b.D(!1),this.b.F(),this.d="selfClosingStartTag"):"="===t?this.d="beforeAttributeValue":">"===t?(this.b.D(!1),this.b.F(),this.b.A(),this.d="beforeData"):(this.b.D(!1),this.b.F(),this.d="attributeName",this.b.B(),this.b.C(t)))},beforeAttributeValue:function(){var t=this.q();e(t)||('"'===t?(this.d="attributeValueDoubleQuoted",this.b.D(!0)):"'"===t?(this.d="attributeValueSingleQuoted",this.b.D(!0)):">"===t?(this.b.D(!1),this.b.F(),this.b.A(),this.d="beforeData"):(this.d="attributeValueUnquoted",this.b.D(!1),this.b.G(t)))},attributeValueDoubleQuoted:function(){var t=this.q();'"'===t?(this.b.F(),this.d="afterAttributeValueQuoted"):"&"===t?this.b.G(this.r('"')||"&"):this.b.G(t)},attributeValueSingleQuoted:function(){var t=this.q();"'"===t?(this.b.F(),this.d="afterAttributeValueQuoted"):"&"===t?this.b.G(this.r("'")||"&"):this.b.G(t)},attributeValueUnquoted:function(){var t=this.q();e(t)?(this.b.F(),this.d="beforeAttributeName"):"&"===t?this.b.G(this.r(">")||"&"):">"===t?(this.b.F(),this.b.A(),this.d="beforeData"):this.b.G(t)},afterAttributeValueQuoted:function(){var t=this.p();e(t)?(this.q(),this.d="beforeAttributeName"):"/"===t?(this.q(),this.d="selfClosingStartTag"):">"===t?(this.q(),this.b.A(),this.d="beforeData"):this.d="beforeAttributeName"},selfClosingStartTag:function(){var t=this.p();">"===t?(this.q(),this.b.H(),this.b.A(),this.d="beforeData"):this.d="beforeAttributeName"},endTagOpen:function(){var t=this.q();s(t)&&(this.d="tagName",this.b.I(),this.b.w(t.toLowerCase()))}}},r.prototype={tokenize:function(t){return this.J=[],this.tokenizer.tokenize(t),this.J},tokenizePart:function(t){return this.J=[],this.tokenizer.tokenizePart(t),this.J},tokenizeEOF:function(){return this.J=[],this.tokenizer.tokenizeEOF(),this.J[0]},j:function(){this.k=null,this.startLine=1,this.startColumn=0},K:function(){this.options.L&&(this.k.L={start:{f:this.startLine,g:this.startColumn},M:{f:this.tokenizer.f,g:this.tokenizer.g}}),this.startLine=this.tokenizer.f,this.startColumn=this.tokenizer.g},t:function(){this.k={type:"Chars",chars:""},this.J.push(this.k)},u:function(t){this.k.chars+=t},o:function(){this.K()},x:function(){this.k={type:"Comment",chars:""},this.J.push(this.k)},z:function(t){this.k.chars+=t},y:function(){this.K()},v:function(){this.k={type:"StartTag",tagName:"",attributes:[],l:!1},this.J.push(this.k)},I:function(){this.k={type:"EndTag",tagName:""},this.J.push(this.k)},A:function(){this.K()},H:function(){this.k.l=!0},w:function(t){this.k.tagName+=t},B:function(){this._currentAttribute=["","",null],this.k.attributes.push(this._currentAttribute)},C:function(t){this._currentAttribute[0]+=t},D:function(t){this._currentAttribute[2]=t},G:function(t){this._currentAttribute[1]=this._currentAttribute[1]||"",this._currentAttribute[1]+=t},F:function(){}};var z={HTML5NamedCharRefs:l,EntityParser:i,EventedTokenizer:n,Tokenizer:r,tokenize:a},y=t.options,D="StartTag",q="EndTag",N="Chars",C="Comment";return o}(i);t.linkifyHtml=e}(window,linkify);

@@ -27,9 +27,6 @@ define('linkify-element', ['module', 'exports', './linkify'], function (module, exports, _linkify) {

var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) {
return typeof obj;
} : function (obj) {
return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj;
};
var tokenize = linkify.tokenize; /**
Linkify a HTML DOM node
*/
var tokenize = linkify.tokenize;
var options = linkify.options;

@@ -120,3 +117,3 @@

// Can the element be linkified?
if (!element || (typeof element === 'undefined' ? 'undefined' : _typeof(element)) !== 'object' || element.nodeType !== HTML_NODE) {
if (!element || element.nodeType !== HTML_NODE) {
throw new Error('Cannot linkify ' + element + ' - Invalid DOM Node type');

@@ -191,4 +188,16 @@ }

}); } catch (e) { exports['__esModule'] = true; }
exports['default'] = apply;
exports['default'] = function ($) {
var _jquery2 = _interopRequireDefault(_jquery);
var _linkifyElement2 = _interopRequireDefault(_linkifyElement);
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : {
'default': obj
};
}
// Applies the plugin to jQuery
function apply($) {
var doc = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1];

@@ -246,12 +255,2 @@

});
};
var _jquery2 = _interopRequireDefault(_jquery);
var _linkifyElement2 = _interopRequireDefault(_linkifyElement);
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : {
'default': obj
};
}

@@ -261,7 +260,4 @@

try {
window.linkifyElement = _linkifyElement2['default'];
var a = !define && (window.linkifyElement = _linkifyElement2['default']);
} catch (e) {}
// Applies the plugin to jQuery
module.exports = exports['default'];

@@ -268,0 +264,0 @@ });

@@ -1,1 +0,1 @@

define("linkify-element",["module","exports","./linkify"],function(e,t,n){"use strict";function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function r(e,t,n){var i=n[n.length-1];e.replaceChild(i,t);for(var r=n.length-2;r>=0;r--)e.insertBefore(n[r],i),i=n[r]}function o(e,t,n){for(var i=[],r=0;r<e.length;r++){var o=e[r],l=o.isLink&&y.resolve(t.validate,o.toString(),o.type);if(o.isLink&&l){var a=o.toHref(t.defaultProtocol),f=y.resolve(t.format,o.toString(),o.type),u=y.resolve(t.formatHref,a,o.type),s=y.resolve(t.attributes,a,o.type),d=y.resolve(t.tagName,a,o.type),c=y.resolve(t.linkClass,a,o.type),m=y.resolve(t.target,a,o.type),p=y.resolve(t.events,a,o.type),v=n.createElement(d);if(v.setAttribute("href",u),v.setAttribute("class",c),m&&v.setAttribute("target",m),s)for(var h in s)v.setAttribute(h,s[h]);if(p)for(var k in p)v.addEventListener?v.addEventListener(k,p[k]):v.attachEvent&&v.attachEvent("on"+k,p[k]);v.appendChild(n.createTextNode(f)),i.push(v)}else"nl"===o.type&&t.nl2br?i.push(n.createElement("br")):i.push(n.createTextNode(o.toString()))}return i}function l(e,t,n){if(!e||"object"!==("undefined"==typeof e?"undefined":s(e))||e.nodeType!==c)throw new Error("Cannot linkify "+e+" - Invalid DOM Node type");var i=t.ignoreTags;if("A"===e.tagName||y.contains(i,e.tagName))return e;for(var a=e.firstChild;a;){switch(a.nodeType){case c:l(a,t,n);break;case m:var f=a.nodeValue,u=d(f),p=o(u,t,n);r(e,a,p),a=p[p.length-1]}a=a.nextSibling}return e}function a(e,t){var n=arguments.length<=2||void 0===arguments[2]?null:arguments[2];try{n=n||window&&window.document||global&&global.document}catch(i){}if(!n)throw new Error("Cannot find document implementation. If you are in a non-browser environment like Node.js, pass the document implementation as the third argument to linkifyElement.");return t=y.normalize(t),l(e,t,n)}try{Object.defineProperty(t,"__esModule",{value:!0})}catch(f){t.__esModule=!0}var u=i(n),s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},d=u.tokenize,y=u.options,c=1,m=3;a.helper=l,a.normalize=y.normalize,t["default"]=a,e.exports=t["default"]}),define("linkify-jquery",["module","exports","jquery","./linkify-element"],function(e,t,n,i){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}try{Object.defineProperty(t,"__esModule",{value:!0})}catch(o){t.__esModule=!0}t["default"]=function(e){function t(e){return e=l["default"].normalize(e),this.each(function(){l["default"].helper(this,e,n)})}var n=arguments.length<=1||void 0===arguments[1]?null:arguments[1];e.fn=e.fn||{};try{n=n||window&&window.document||global&&global.document}catch(i){}if(!n)throw new Error("Cannot find document implementation. If you are in a non-browser environment like Node.js, pass the document implementation as the second argument to linkify/jquery");"function"!=typeof e.fn.linkify&&(e.fn.linkify=t,e(n).ready(function(){e("[data-linkify]").each(function(){var t=e(this),n=t.data(),i=n.linkify,r=n.linkifyNlbr,o={linkAttributes:n.linkifyAttributes,defaultProtocol:n.linkifyDefaultProtocol,events:n.linkifyEvents,format:n.linkifyFormat,formatHref:n.linkifyFormatHref,newLine:n.linkifyNewline,nl2br:!!r&&0!==r&&"false"!==r,tagName:n.linkifyTagname,target:n.linkifyTarget,linkClass:n.linkifyLinkclass,validate:n.linkifyValidate,ignoreTags:n.linkifyIgnoreTags},l="this"===i?t:t.find(i);l.linkify(o)})}))};var l=(r(n),r(i));try{window.linkifyElement=l["default"]}catch(o){}e.exports=t["default"]}),require(["jquery","linkify-jquery"],function(e,t){"function"!=typeof e.fn.linkify&&t(e)});
define("linkify-element",["module","exports","./linkify"],function(e,t,n){"use strict";function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function r(e,t,n){var i=n[n.length-1];e.replaceChild(i,t);for(var r=n.length-2;r>=0;r--)e.insertBefore(n[r],i),i=n[r]}function o(e,t,n){for(var i=[],r=0;r<e.length;r++){var o=e[r],l=o.isLink&&d.resolve(t.validate,o.toString(),o.type);if(o.isLink&&l){var a=o.toHref(t.defaultProtocol),f=d.resolve(t.format,o.toString(),o.type),u=d.resolve(t.formatHref,a,o.type),s=d.resolve(t.attributes,a,o.type),c=d.resolve(t.tagName,a,o.type),y=d.resolve(t.linkClass,a,o.type),m=d.resolve(t.target,a,o.type),v=d.resolve(t.events,a,o.type),h=n.createElement(c);if(h.setAttribute("href",u),h.setAttribute("class",y),m&&h.setAttribute("target",m),s)for(var p in s)h.setAttribute(p,s[p]);if(v)for(var k in v)h.addEventListener?h.addEventListener(k,v[k]):h.attachEvent&&h.attachEvent("on"+k,v[k]);h.appendChild(n.createTextNode(f)),i.push(h)}else"nl"===o.type&&t.nl2br?i.push(n.createElement("br")):i.push(n.createTextNode(o.toString()))}return i}function l(e,t,n){if(!e||e.nodeType!==c)throw new Error("Cannot linkify "+e+" - Invalid DOM Node type");var i=t.ignoreTags;if("A"===e.tagName||d.contains(i,e.tagName))return e;for(var a=e.firstChild;a;){switch(a.nodeType){case c:l(a,t,n);break;case y:var f=a.nodeValue,u=s(f),m=o(u,t,n);r(e,a,m),a=m[m.length-1]}a=a.nextSibling}return e}function a(e,t){var n=arguments.length<=2||void 0===arguments[2]?null:arguments[2];try{n=n||window&&window.document||global&&global.document}catch(i){}if(!n)throw new Error("Cannot find document implementation. If you are in a non-browser environment like Node.js, pass the document implementation as the third argument to linkifyElement.");return t=d.normalize(t),l(e,t,n)}try{Object.defineProperty(t,"__esModule",{value:!0})}catch(f){t.__esModule=!0}var u=i(n),s=u.tokenize,d=u.options,c=1,y=3;a.helper=l,a.normalize=d.normalize,t["default"]=a,e.exports=t["default"]}),define("linkify-jquery",["module","exports","jquery","./linkify-element"],function(e,t,n,i){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){function t(e){return e=a["default"].normalize(e),this.each(function(){a["default"].helper(this,e,n)})}var n=arguments.length<=1||void 0===arguments[1]?null:arguments[1];e.fn=e.fn||{};try{n=n||window&&window.document||global&&global.document}catch(i){}if(!n)throw new Error("Cannot find document implementation. If you are in a non-browser environment like Node.js, pass the document implementation as the second argument to linkify/jquery");"function"!=typeof e.fn.linkify&&(e.fn.linkify=t,e(n).ready(function(){e("[data-linkify]").each(function(){var t=e(this),n=t.data(),i=n.linkify,r=n.linkifyNlbr,o={linkAttributes:n.linkifyAttributes,defaultProtocol:n.linkifyDefaultProtocol,events:n.linkifyEvents,format:n.linkifyFormat,formatHref:n.linkifyFormatHref,newLine:n.linkifyNewline,nl2br:!!r&&0!==r&&"false"!==r,tagName:n.linkifyTagname,target:n.linkifyTarget,linkClass:n.linkifyLinkclass,validate:n.linkifyValidate,ignoreTags:n.linkifyIgnoreTags},l="this"===i?t:t.find(i);l.linkify(o)})}))}try{Object.defineProperty(t,"__esModule",{value:!0})}catch(l){t.__esModule=!0}t["default"]=o;var a=(r(n),r(i));try{!define&&(window.linkifyElement=a["default"])}catch(l){}e.exports=t["default"]}),require(["jquery","linkify-jquery"],function(e,t){"function"!=typeof e.fn.linkify&&t(e)});

@@ -153,3 +153,3 @@ 'use strict';

// Applies the plugin to jQuery
function linkifyJquery($) {
function apply($) {
var doc = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1];

@@ -211,6 +211,6 @@

try {
window.linkifyElement = linkifyElement;
var a = !define && (window.linkifyElement = linkifyElement);
} catch (e) {}
return linkifyJquery;
return apply;
}($, linkify);

@@ -217,0 +217,0 @@ if (typeof $.fn.linkify !== 'function') {

@@ -1,1 +0,1 @@

"use strict";!function(e,t,n){var i=function(t,n){function i(e,t,n){var i=n[n.length-1];e.replaceChild(i,t);for(var r=n.length-2;r>=0;r--)e.insertBefore(n[r],i),i=n[r]}function r(e,t,n){for(var i=[],r=0;r<e.length;r++){var o=e[r],a=o.isLink&&s.resolve(t.validate,o.toString(),o.type);if(o.isLink&&a){var l=o.toHref(t.defaultProtocol),f=s.resolve(t.format,o.toString(),o.type),u=s.resolve(t.formatHref,l,o.type),c=s.resolve(t.attributes,l,o.type),y=s.resolve(t.tagName,l,o.type),d=s.resolve(t.linkClass,l,o.type),m=s.resolve(t.target,l,o.type),v=s.resolve(t.events,l,o.type),h=n.createElement(y);if(h.setAttribute("href",u),h.setAttribute("class",d),m&&h.setAttribute("target",m),c)for(var k in c)h.setAttribute(k,c[k]);if(v)for(var g in v)h.addEventListener?h.addEventListener(g,v[g]):h.attachEvent&&h.attachEvent("on"+g,v[g]);h.appendChild(n.createTextNode(f)),i.push(h)}else"nl"===o.type&&t.nl2br?i.push(n.createElement("br")):i.push(n.createTextNode(o.toString()))}return i}function o(e,t,n){if(!e||e.nodeType!==u)throw new Error("Cannot linkify "+e+" - Invalid DOM Node type");var a=t.ignoreTags;if("A"===e.tagName||s.contains(a,e.tagName))return e;for(var l=e.firstChild;l;){switch(l.nodeType){case u:o(l,t,n);break;case c:var y=l.nodeValue,d=f(y),m=r(d,t,n);i(e,l,m),l=m[m.length-1]}l=l.nextSibling}return e}function a(t,n){var i=arguments.length<=2||void 0===arguments[2]?null:arguments[2];try{i=i||e&&e.document||global&&global.document}catch(r){}if(!i)throw new Error("Cannot find document implementation. If you are in a non-browser environment like Node.js, pass the document implementation as the third argument to linkifyElement.");return n=s.normalize(n),o(t,n,i)}function l(t){function n(e){return e=a.normalize(e),this.each(function(){a.helper(this,e,i)})}var i=arguments.length<=1||void 0===arguments[1]?null:arguments[1];t.fn=t.fn||{};try{i=i||e&&e.document||global&&global.document}catch(r){}if(!i)throw new Error("Cannot find document implementation. If you are in a non-browser environment like Node.js, pass the document implementation as the second argument to linkify/jquery");"function"!=typeof t.fn.linkify&&(t.fn.linkify=n,t(i).ready(function(){t("[data-linkify]").each(function(){var e=t(this),n=e.data(),i=n.linkify,r=n.linkifyNlbr,o={linkAttributes:n.linkifyAttributes,defaultProtocol:n.linkifyDefaultProtocol,events:n.linkifyEvents,format:n.linkifyFormat,formatHref:n.linkifyFormatHref,newLine:n.linkifyNewline,nl2br:!!r&&0!==r&&"false"!==r,tagName:n.linkifyTagname,target:n.linkifyTarget,linkClass:n.linkifyLinkclass,validate:n.linkifyValidate,ignoreTags:n.linkifyIgnoreTags},a="this"===i?e:e.find(i);a.linkify(o)})}))}var f=n.tokenize,s=n.options,u=1,c=3;a.helper=o,a.normalize=s.normalize;try{e.linkifyElement=a}catch(y){}return l}(n,t);"function"!=typeof n.fn.linkify&&i(n)}(window,linkify,jQuery);
"use strict";!function(e,t,n){var i=function(t,n){function i(e,t,n){var i=n[n.length-1];e.replaceChild(i,t);for(var r=n.length-2;r>=0;r--)e.insertBefore(n[r],i),i=n[r]}function r(e,t,n){for(var i=[],r=0;r<e.length;r++){var o=e[r],a=o.isLink&&s.resolve(t.validate,o.toString(),o.type);if(o.isLink&&a){var l=o.toHref(t.defaultProtocol),f=s.resolve(t.format,o.toString(),o.type),u=s.resolve(t.formatHref,l,o.type),c=s.resolve(t.attributes,l,o.type),y=s.resolve(t.tagName,l,o.type),d=s.resolve(t.linkClass,l,o.type),m=s.resolve(t.target,l,o.type),v=s.resolve(t.events,l,o.type),h=n.createElement(y);if(h.setAttribute("href",u),h.setAttribute("class",d),m&&h.setAttribute("target",m),c)for(var k in c)h.setAttribute(k,c[k]);if(v)for(var g in v)h.addEventListener?h.addEventListener(g,v[g]):h.attachEvent&&h.attachEvent("on"+g,v[g]);h.appendChild(n.createTextNode(f)),i.push(h)}else"nl"===o.type&&t.nl2br?i.push(n.createElement("br")):i.push(n.createTextNode(o.toString()))}return i}function o(e,t,n){if(!e||e.nodeType!==u)throw new Error("Cannot linkify "+e+" - Invalid DOM Node type");var a=t.ignoreTags;if("A"===e.tagName||s.contains(a,e.tagName))return e;for(var l=e.firstChild;l;){switch(l.nodeType){case u:o(l,t,n);break;case c:var y=l.nodeValue,d=f(y),m=r(d,t,n);i(e,l,m),l=m[m.length-1]}l=l.nextSibling}return e}function a(t,n){var i=arguments.length<=2||void 0===arguments[2]?null:arguments[2];try{i=i||e&&e.document||global&&global.document}catch(r){}if(!i)throw new Error("Cannot find document implementation. If you are in a non-browser environment like Node.js, pass the document implementation as the third argument to linkifyElement.");return n=s.normalize(n),o(t,n,i)}function l(t){function n(e){return e=a.normalize(e),this.each(function(){a.helper(this,e,i)})}var i=arguments.length<=1||void 0===arguments[1]?null:arguments[1];t.fn=t.fn||{};try{i=i||e&&e.document||global&&global.document}catch(r){}if(!i)throw new Error("Cannot find document implementation. If you are in a non-browser environment like Node.js, pass the document implementation as the second argument to linkify/jquery");"function"!=typeof t.fn.linkify&&(t.fn.linkify=n,t(i).ready(function(){t("[data-linkify]").each(function(){var e=t(this),n=e.data(),i=n.linkify,r=n.linkifyNlbr,o={linkAttributes:n.linkifyAttributes,defaultProtocol:n.linkifyDefaultProtocol,events:n.linkifyEvents,format:n.linkifyFormat,formatHref:n.linkifyFormatHref,newLine:n.linkifyNewline,nl2br:!!r&&0!==r&&"false"!==r,tagName:n.linkifyTagname,target:n.linkifyTarget,linkClass:n.linkifyLinkclass,validate:n.linkifyValidate,ignoreTags:n.linkifyIgnoreTags},a="this"===i?e:e.find(i);a.linkify(o)})}))}var f=n.tokenize,s=n.options,u=1,c=3;a.helper=o,a.normalize=s.normalize;try{!define&&(e.linkifyElement=a)}catch(y){}return l}(n,t);"function"!=typeof n.fn.linkify&&i(n)}(window,linkify,jQuery);

@@ -8,33 +8,2 @@ define('linkify/plugins/hashtag', ['module', 'exports'], function (module, exports) {

exports['default'] = hashtag;
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}
function _possibleConstructorReturn(self, call) {
if (!self) {
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}
return call && (typeof call === "object" || typeof call === "function") ? call : self;
}
function _inherits(subClass, superClass) {
if (typeof superClass !== "function" && superClass !== null) {
throw new TypeError("Super expression must either be null or a function, not " + typeof superClass);
}
subClass.prototype = Object.create(superClass && superClass.prototype, {
constructor: {
value: subClass,
enumerable: false,
writable: true,
configurable: true
}
});
if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;
}
/**

@@ -53,18 +22,11 @@ Quick Hashtag parser plugin for linkify

var HASHTAG = function (_MultiToken) {
_inherits(HASHTAG, _MultiToken);
function HASHTAG(value) {
this.v = value;
}
function HASHTAG(value) {
_classCallCheck(this, HASHTAG);
linkify.inherits(MultiToken, HASHTAG, {
type: 'hashtag',
isLink: true
});
var _this = _possibleConstructorReturn(this, _MultiToken.call(this, value));
_this.type = 'hashtag';
_this.isLink = true;
return _this;
}
return HASHTAG;
}(MultiToken);
S_HASH = new linkify.parser.State();

@@ -71,0 +33,0 @@ S_HASHTAG = new linkify.parser.State(HASHTAG);

@@ -1,1 +0,1 @@

define("linkify/plugins/hashtag",["module","exports"],function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e){var t=e.scanner.TOKENS,i=e.parser.TOKENS,a=i.Base,s=e.parser.start,u=void 0,c=void 0,f=function(e){function t(o){n(this,t);var i=r(this,e.call(this,o));return i.type="hashtag",i.isLink=!0,i}return o(t,e),t}(a);u=new e.parser.State,c=new e.parser.State(f),s.on(t.POUND,u),u.on(t.DOMAIN,c),u.on(t.TLD,c)}try{Object.defineProperty(t,"__esModule",{value:!0})}catch(a){t.__esModule=!0}t["default"]=i,e.exports=t["default"]}),require(["linkify","linkify/plugins/hashtag"],function(e,t){t(e)});
define("linkify/plugins/hashtag",["module","exports"],function(e,t){"use strict";function n(e){function t(e){this.a=e}var n=e.scanner.TOKENS,i=e.parser.TOKENS,a=i.Base,s=e.parser.start,r=void 0,o=void 0;e.inherits(a,t,{type:"hashtag",isLink:!0}),r=new e.parser.State,o=new e.parser.State(t),s.on(n.POUND,r),r.on(n.DOMAIN,o),r.on(n.TLD,o)}try{Object.defineProperty(t,"__esModule",{value:!0})}catch(i){t.__esModule=!0}t["default"]=n,e.exports=t["default"]}),require(["linkify","linkify/plugins/hashtag"],function(e,t){t(e)});
'use strict';
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
;(function (linkify) {

@@ -27,18 +21,11 @@ var plugin = function () {

var HASHTAG = function (_MultiToken) {
_inherits(HASHTAG, _MultiToken);
function HASHTAG(value) {
this.v = value;
}
function HASHTAG(value) {
_classCallCheck(this, HASHTAG);
linkify.inherits(MultiToken, HASHTAG, {
type: 'hashtag',
isLink: true
});
var _this = _possibleConstructorReturn(this, _MultiToken.call(this, value));
_this.type = 'hashtag';
_this.isLink = true;
return _this;
}
return HASHTAG;
}(MultiToken);
S_HASH = new linkify.parser.State();

@@ -45,0 +32,0 @@ S_HASHTAG = new linkify.parser.State(HASHTAG);

@@ -1,1 +0,1 @@

"use strict";function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}!function(t){var e=function(){function t(t){var e=t.scanner.TOKENS,n=t.parser.TOKENS,r=n.Base,o=t.parser.start,i=void 0,s=void 0,a=function(t){function e(n){_classCallCheck(this,e);var r=_possibleConstructorReturn(this,t.call(this,n));return r.type="hashtag",r.isLink=!0,r}return _inherits(e,t),e}(r);i=new t.parser.State,s=new t.parser.State(a),o.on(e.POUND,i),i.on(e.DOMAIN,s),i.on(e.TLD,s)}return t}();e(t)}(linkify);
"use strict";!function(n){var t=function(){function n(n){function t(n){this.a=n}var r=n.scanner.TOKENS,a=n.parser.TOKENS,e=a.Base,i=n.parser.start,s=void 0,o=void 0;n.inherits(e,t,{type:"hashtag",isLink:!0}),s=new n.parser.State,o=new n.parser.State(t),i.on(r.POUND,s),s.on(r.DOMAIN,o),s.on(r.TLD,o)}return n}();t(n)}(linkify);

@@ -1,1 +0,1 @@

!function(){"function"!=typeof Object.freeze&&(Object.freeze=function(t){return t}),"function"!=typeof Object.create&&(Object.create=function(){var t=function(){};return function(e){if(e!==Object(e)&&null!==e)throw TypeError("Argument must be an object or null");if(null===e)throw Error("null [[Prototype]] not supported");t.prototype=e;var r=new t;return t.prototype=null,r}}()),"function"!=typeof Object.defineProperty&&(Object.defineProperty=function(t,e,r){return"value"in r&&(t[e]=r.value),t}),Array.prototype.indexOf||(Array.prototype.indexOf=function(t,e){var r;if(null==this)throw new TypeError('"this" is null or not defined');var n=Object(this),o=n.length>>>0;if(0===o)return-1;var u=+e||0;if(Math.abs(u)===1/0&&(u=0),u>=o)return-1;for(r=Math.max(u>=0?u:o-Math.abs(u),0);o>r;){if(r in n&&n[r]===t)return r;r++}return-1})}();
!function(){"function"!=typeof Object.freeze&&(Object.freeze=function(t){return t}),"function"!=typeof Object.create&&(Object.create=function(){var t=function(){};return function(e){if(e!==Object(e)&&null!==e)throw TypeError("Argument must be an object or null");if(null===e)throw Error("null [[Prototype]] not supported");t.prototype=e;var r=new t;return t.prototype=null,r}}()),"function"!=typeof Object.defineProperty&&(Object.defineProperty=function(t,e,r){return"value"in r&&(t[e]=r.value),t}),Array.prototype.indexOf||(Array.prototype.indexOf=function(t,e){var r;if(null==this)throw new TypeError('"this" is null or not defined');var n=Object(this),o=n.length>>>0;if(0===o)return-1;var u=+e||0;if(Math.abs(u)===1/0&&(u=0),u>=o)return-1;for(r=Math.max(u>=0?u:o-Math.abs(u),0);r<o;){if(r in n&&n[r]===t)return r;r++}return-1})}();

@@ -0,1 +1,16 @@

define('linkify/utils/class', ['exports'], function (exports) {
'use strict';
try { Object.defineProperty(exports, '__esModule', { value: true }); } catch (e) { exports['__esModule'] = true; }
exports.inherits = inherits;
function inherits(parent, child) {
var props = arguments.length <= 2 || arguments[2] === undefined ? {} : arguments[2];
var extended = Object.create(parent.prototype);
for (var p in props) {
extended[p] = props[p];
}
extended.constructor = child;
child.prototype = extended;
return child;
}
});
define('linkify/utils/options', ['exports'], function (exports) {

@@ -53,217 +68,48 @@ 'use strict';

});
define('linkify/core/tokens', ['exports'], function (exports) {
define('linkify/core/tokens', [
'exports',
'../utils/class'
], function (exports, _class) {
'use strict';
try { Object.defineProperty(exports, '__esModule', { value: true }); } catch (e) { exports['__esModule'] = true; }
function _possibleConstructorReturn(self, call) {
if (!self) {
throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');
}
return call && (typeof call === 'object' || typeof call === 'function') ? call : self;
}
function _inherits(subClass, superClass) {
if (typeof superClass !== 'function' && superClass !== null) {
throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass);
}
subClass.prototype = Object.create(superClass && superClass.prototype, {
constructor: {
value: subClass,
enumerable: false,
writable: true,
configurable: true
exports.multi = exports.text = undefined;
function createTokenClass() {
return function (value) {
if (value) {
this.v = value;
}
});
if (superClass)
Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;
};
}
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError('Cannot call a class as a function');
var TextToken = createTokenClass();
TextToken.prototype = {
toString: function toString() {
return this.v + '';
}
};
function inheritsToken(value) {
var props = value ? { v: value } : {};
return (0, _class.inherits)(TextToken, createTokenClass(), props);
}
var TextToken = function () {
function TextToken(value) {
_classCallCheck(this, TextToken);
this.v = value;
}
TextToken.prototype.toString = function toString() {
return this.v + '';
};
return TextToken;
}();
var DOMAIN = function (_TextToken) {
_inherits(DOMAIN, _TextToken);
function DOMAIN() {
_classCallCheck(this, DOMAIN);
return _possibleConstructorReturn(this, _TextToken.apply(this, arguments));
}
return DOMAIN;
}(TextToken);
var AT = function (_TextToken2) {
_inherits(AT, _TextToken2);
function AT() {
_classCallCheck(this, AT);
return _possibleConstructorReturn(this, _TextToken2.call(this, '@'));
}
return AT;
}(TextToken);
var COLON = function (_TextToken3) {
_inherits(COLON, _TextToken3);
function COLON() {
_classCallCheck(this, COLON);
return _possibleConstructorReturn(this, _TextToken3.call(this, ':'));
}
return COLON;
}(TextToken);
var DOT = function (_TextToken4) {
_inherits(DOT, _TextToken4);
function DOT() {
_classCallCheck(this, DOT);
return _possibleConstructorReturn(this, _TextToken4.call(this, '.'));
}
return DOT;
}(TextToken);
var PUNCTUATION = function (_TextToken5) {
_inherits(PUNCTUATION, _TextToken5);
function PUNCTUATION() {
_classCallCheck(this, PUNCTUATION);
return _possibleConstructorReturn(this, _TextToken5.apply(this, arguments));
}
return PUNCTUATION;
}(TextToken);
var LOCALHOST = function (_TextToken6) {
_inherits(LOCALHOST, _TextToken6);
function LOCALHOST() {
_classCallCheck(this, LOCALHOST);
return _possibleConstructorReturn(this, _TextToken6.apply(this, arguments));
}
return LOCALHOST;
}(TextToken);
var TNL = function (_TextToken7) {
_inherits(TNL, _TextToken7);
function TNL() {
_classCallCheck(this, TNL);
return _possibleConstructorReturn(this, _TextToken7.call(this, '\n'));
}
return TNL;
}(TextToken);
var NUM = function (_TextToken8) {
_inherits(NUM, _TextToken8);
function NUM() {
_classCallCheck(this, NUM);
return _possibleConstructorReturn(this, _TextToken8.apply(this, arguments));
}
return NUM;
}(TextToken);
var PLUS = function (_TextToken9) {
_inherits(PLUS, _TextToken9);
function PLUS() {
_classCallCheck(this, PLUS);
return _possibleConstructorReturn(this, _TextToken9.call(this, '+'));
}
return PLUS;
}(TextToken);
var POUND = function (_TextToken10) {
_inherits(POUND, _TextToken10);
function POUND() {
_classCallCheck(this, POUND);
return _possibleConstructorReturn(this, _TextToken10.call(this, '#'));
}
return POUND;
}(TextToken);
var PROTOCOL = function (_TextToken11) {
_inherits(PROTOCOL, _TextToken11);
function PROTOCOL() {
_classCallCheck(this, PROTOCOL);
return _possibleConstructorReturn(this, _TextToken11.apply(this, arguments));
}
return PROTOCOL;
}(TextToken);
var QUERY = function (_TextToken12) {
_inherits(QUERY, _TextToken12);
function QUERY() {
_classCallCheck(this, QUERY);
return _possibleConstructorReturn(this, _TextToken12.call(this, '?'));
}
return QUERY;
}(TextToken);
var SLASH = function (_TextToken13) {
_inherits(SLASH, _TextToken13);
function SLASH() {
_classCallCheck(this, SLASH);
return _possibleConstructorReturn(this, _TextToken13.call(this, '/'));
}
return SLASH;
}(TextToken);
var SYM = function (_TextToken14) {
_inherits(SYM, _TextToken14);
function SYM() {
_classCallCheck(this, SYM);
return _possibleConstructorReturn(this, _TextToken14.apply(this, arguments));
}
return SYM;
}(TextToken);
var TLD = function (_TextToken15) {
_inherits(TLD, _TextToken15);
function TLD() {
_classCallCheck(this, TLD);
return _possibleConstructorReturn(this, _TextToken15.apply(this, arguments));
}
return TLD;
}(TextToken);
var WS = function (_TextToken16) {
_inherits(WS, _TextToken16);
function WS() {
_classCallCheck(this, WS);
return _possibleConstructorReturn(this, _TextToken16.apply(this, arguments));
}
return WS;
}(TextToken);
var OPENBRACE = function (_TextToken17) {
_inherits(OPENBRACE, _TextToken17);
function OPENBRACE() {
_classCallCheck(this, OPENBRACE);
return _possibleConstructorReturn(this, _TextToken17.call(this, '{'));
}
return OPENBRACE;
}(TextToken);
var OPENBRACKET = function (_TextToken18) {
_inherits(OPENBRACKET, _TextToken18);
function OPENBRACKET() {
_classCallCheck(this, OPENBRACKET);
return _possibleConstructorReturn(this, _TextToken18.call(this, '['));
}
return OPENBRACKET;
}(TextToken);
var OPENPAREN = function (_TextToken19) {
_inherits(OPENPAREN, _TextToken19);
function OPENPAREN() {
_classCallCheck(this, OPENPAREN);
return _possibleConstructorReturn(this, _TextToken19.call(this, '('));
}
return OPENPAREN;
}(TextToken);
var CLOSEBRACE = function (_TextToken20) {
_inherits(CLOSEBRACE, _TextToken20);
function CLOSEBRACE() {
_classCallCheck(this, CLOSEBRACE);
return _possibleConstructorReturn(this, _TextToken20.call(this, '}'));
}
return CLOSEBRACE;
}(TextToken);
var CLOSEBRACKET = function (_TextToken21) {
_inherits(CLOSEBRACKET, _TextToken21);
function CLOSEBRACKET() {
_classCallCheck(this, CLOSEBRACKET);
return _possibleConstructorReturn(this, _TextToken21.call(this, ']'));
}
return CLOSEBRACKET;
}(TextToken);
var CLOSEPAREN = function (_TextToken22) {
_inherits(CLOSEPAREN, _TextToken22);
function CLOSEPAREN() {
_classCallCheck(this, CLOSEPAREN);
return _possibleConstructorReturn(this, _TextToken22.call(this, ')'));
}
return CLOSEPAREN;
}(TextToken);
var DOMAIN = inheritsToken();
var AT = inheritsToken('@');
var COLON = inheritsToken(':');
var DOT = inheritsToken('.');
var PUNCTUATION = inheritsToken();
var LOCALHOST = inheritsToken();
var TNL = inheritsToken('\n');
var NUM = inheritsToken();
var PLUS = inheritsToken('+');
var POUND = inheritsToken('#');
var PROTOCOL = inheritsToken();
var QUERY = inheritsToken('?');
var SLASH = inheritsToken('/');
var SYM = inheritsToken();
var TLD = inheritsToken();
var WS = inheritsToken();
var OPENBRACE = inheritsToken('{');
var OPENBRACKET = inheritsToken('[');
var OPENPAREN = inheritsToken('(');
var CLOSEBRACE = inheritsToken('}');
var CLOSEBRACKET = inheritsToken(']');
var CLOSEPAREN = inheritsToken(')');
var text = {

@@ -297,10 +143,7 @@ Base: TextToken,

}
var MultiToken = function () {
function MultiToken(value) {
_classCallCheck(this, MultiToken);
this.v = value;
this.type = 'token';
this.isLink = false;
}
MultiToken.prototype.toString = function toString() {
var MultiToken = createTokenClass();
MultiToken.prototype = {
type: 'token',
isLink: false,
toString: function toString() {
var result = [];

@@ -311,7 +154,7 @@ for (var i = 0; i < this.v.length; i++) {

return result.join('');
};
MultiToken.prototype.toHref = function toHref() {
},
toHref: function toHref() {
return this.toString();
};
MultiToken.prototype.toObject = function toObject() {
},
toObject: function toObject() {
var protocol = arguments.length <= 0 || arguments[0] === undefined ? 'http' : arguments[0];

@@ -323,49 +166,17 @@ return {

};
};
return MultiToken;
}();
var EMAIL = function (_MultiToken) {
_inherits(EMAIL, _MultiToken);
function EMAIL(value) {
_classCallCheck(this, EMAIL);
var _this23 = _possibleConstructorReturn(this, _MultiToken.call(this, value));
_this23.type = 'email';
_this23.isLink = true;
return _this23;
}
EMAIL.prototype.toHref = function toHref() {
};
var EMAIL = (0, _class.inherits)(MultiToken, createTokenClass(), {
type: 'email',
isLink: true,
toHref: function toHref() {
return 'mailto:' + this.toString();
};
return EMAIL;
}(MultiToken);
var TEXT = function (_MultiToken2) {
_inherits(TEXT, _MultiToken2);
function TEXT(value) {
_classCallCheck(this, TEXT);
var _this24 = _possibleConstructorReturn(this, _MultiToken2.call(this, value));
_this24.type = 'text';
return _this24;
}
return TEXT;
}(MultiToken);
var MNL = function (_MultiToken3) {
_inherits(MNL, _MultiToken3);
function MNL(value) {
_classCallCheck(this, MNL);
var _this25 = _possibleConstructorReturn(this, _MultiToken3.call(this, value));
_this25.type = 'nl';
return _this25;
}
return MNL;
}(MultiToken);
var URL = function (_MultiToken4) {
_inherits(URL, _MultiToken4);
function URL(value) {
_classCallCheck(this, URL);
var _this26 = _possibleConstructorReturn(this, _MultiToken4.call(this, value));
_this26.type = 'url';
_this26.isLink = true;
return _this26;
}
URL.prototype.toHref = function toHref() {
});
var TEXT = (0, _class.inherits)(MultiToken, createTokenClass(), { type: 'text' });
var MNL = (0, _class.inherits)(MultiToken, createTokenClass(), { type: 'nl' });
var URL = (0, _class.inherits)(MultiToken, createTokenClass(), {
type: 'url',
isLink: true,
toHref: function toHref() {
var protocol = arguments.length <= 0 || arguments[0] === undefined ? 'http' : arguments[0];

@@ -395,8 +206,7 @@ var hasProtocol = false, hasSlashSlash = false, tokens = this.v, result = [], i = 0;

return result;
};
URL.prototype.hasProtocol = function hasProtocol() {
},
hasProtocol: function hasProtocol() {
return this.v[0] instanceof PROTOCOL;
};
return URL;
}(MultiToken);
}
});
var multi = {

@@ -412,38 +222,18 @@ Base: MultiToken,

});
define('linkify/core/state', ['exports'], function (exports) {
define('linkify/core/state', [
'exports',
'../utils/class'
], function (exports, _class) {
'use strict';
try { Object.defineProperty(exports, '__esModule', { value: true }); } catch (e) { exports['__esModule'] = true; }
function _possibleConstructorReturn(self, call) {
if (!self) {
throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');
}
return call && (typeof call === 'object' || typeof call === 'function') ? call : self;
}
function _inherits(subClass, superClass) {
if (typeof superClass !== 'function' && superClass !== null) {
throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass);
}
subClass.prototype = Object.create(superClass && superClass.prototype, {
constructor: {
value: subClass,
enumerable: false,
writable: true,
configurable: true
}
});
if (superClass)
Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;
}
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError('Cannot call a class as a function');
}
}
var BaseState = function () {
function BaseState(tClass) {
_classCallCheck(this, BaseState);
exports.stateify = exports.TokenState = exports.CharacterState = undefined;
function createStateClass() {
return function (tClass) {
this.j = [];
this.T = tClass || null;
}
BaseState.prototype.on = function on(symbol, state) {
};
}
var BaseState = createStateClass();
BaseState.prototype = {
on: function on(symbol, state) {
if (symbol instanceof Array) {

@@ -463,4 +253,4 @@ for (var i = 0; i < symbol.length; i++) {

return this;
};
BaseState.prototype.next = function next(item) {
},
next: function next(item) {
for (var i = 0; i < this.j.length; i++) {

@@ -472,36 +262,23 @@ var jump = this.j[i], symbol = jump[0], state = jump[1];

return false;
};
BaseState.prototype.accepts = function accepts() {
},
accepts: function accepts() {
return !!this.T;
};
BaseState.prototype.test = function test(item, symbol) {
},
test: function test(item, symbol) {
return item === symbol;
};
BaseState.prototype.emit = function emit() {
},
emit: function emit() {
return this.T;
};
return BaseState;
}();
var CharacterState = function (_BaseState) {
_inherits(CharacterState, _BaseState);
function CharacterState() {
_classCallCheck(this, CharacterState);
return _possibleConstructorReturn(this, _BaseState.apply(this, arguments));
}
CharacterState.prototype.test = function test(character, charOrRegExp) {
};
var CharacterState = (0, _class.inherits)(BaseState, createStateClass(), {
test: function test(character, charOrRegExp) {
return character === charOrRegExp || charOrRegExp instanceof RegExp && charOrRegExp.test(character);
};
return CharacterState;
}(BaseState);
var TokenState = function (_BaseState2) {
_inherits(TokenState, _BaseState2);
function TokenState() {
_classCallCheck(this, TokenState);
return _possibleConstructorReturn(this, _BaseState2.apply(this, arguments));
}
TokenState.prototype.test = function test(token, tokenClass) {
});
var TokenState = (0, _class.inherits)(BaseState, createStateClass(), {
test: function test(token, tokenClass) {
return token instanceof tokenClass;
};
return TokenState;
}(BaseState);
}
});
function stateify(str, start, endToken, defaultToken) {

@@ -539,3 +316,3 @@ var i = 0, len = str.length, state = start, newStates = [], nextState = void 0;

exports.start = exports.run = exports.TOKENS = exports.State = undefined;
var tlds = 'abogado|ac|academy|accountants|active|actor|ad|adult|ae|aero|af|ag|agency|ai|airforce|al|allfinanz|alsace|am|an|android|ao|aq|aquarelle|ar|archi|army|arpa|as|asia|associates|at|attorney|au|auction|audio|autos|aw|ax|axa|az|ba|band|bar|bargains|bayern|bb|bd|be|beer|berlin|best|bf|bg|bh|bi|bid|bike|bio|biz|bj|black|blackfriday|bloomberg|blue|bm|bmw|bn|bnpparibas|bo|boo|boutique|br|brussels|bs|bt|budapest|build|builders|business|buzz|bv|bw|by|bz|bzh|ca|cab|cal|camera|camp|cancerresearch|capetown|capital|caravan|cards|care|career|careers|casa|cash|cat|catering|cc|cd|center|ceo|cern|cf|cg|ch|channel|cheap|christmas|chrome|church|ci|citic|city|ck|cl|claims|cleaning|click|clinic|clothing|club|cm|cn|co|coach|codes|coffee|college|cologne|com|community|company|computer|condos|construction|consulting|contractors|cooking|cool|coop|country|cr|credit|creditcard|cricket|crs|cruises|cu|cuisinella|cv|cw|cx|cy|cymru|cz|dad|dance|dating|day|de|deals|degree|delivery|democrat|dental|dentist|desi|diamonds|diet|digital|direct|directory|discount|dj|dk|dm|dnp|do|domains|durban|dvag|dz|eat|ec|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|equipment|er|es|esq|estate|et|eu|eurovision|eus|events|everbank|exchange|expert|exposed|fail|farm|fashion|feedback|fi|finance|financial|firmdale|fish|fishing|fitness|fj|fk|flights|florist|flsmidth|fly|fm|fo|foo|forsale|foundation|fr|frl|frogans|fund|furniture|futbol|ga|gal|gallery|gb|gbiz|gd|ge|gent|gf|gg|gh|gi|gift|gifts|gives|gl|glass|gle|global|globo|gm|gmail|gmo|gmx|gn|google|gop|gov|gp|gq|gr|graphics|gratis|green|gripe|gs|gt|gu|guide|guitars|guru|gw|gy|hamburg|haus|healthcare|help|here|hiphop|hiv|hk|hm|hn|holdings|holiday|homes|horse|host|hosting|house|how|hr|ht|hu|ibm|id|ie|il|im|immo|immobilien|in|industries|info|ing|ink|institute|insure|int|international|investments|io|iq|ir|irish|is|it|je|jetzt|jm|jo|jobs|joburg|jp|juegos|kaufen|ke|kg|kh|ki|kim|kitchen|kiwi|km|kn|koeln|kp|kr|krd|kred|kw|ky|kz|la|lacaixa|land|latrobe|lawyer|lb|lc|lds|lease|legal|lgbt|li|life|lighting|limited|limo|link|lk|loans|local|london|lotto|lr|ls|lt|ltda|lu|luxe|luxury|lv|ly|ma|madrid|maison|management|mango|market|marketing|mc|md|me|media|meet|melbourne|meme|memorial|menu|mg|mh|miami|mil|mini|mk|ml|mm|mn|mo|mobi|moda|moe|monash|money|mormon|mortgage|moscow|motorcycles|mov|mp|mq|mr|ms|mt|mu|museum|mv|mw|mx|my|mz|na|nagoya|name|navy|nc|ne|net|network|neustar|new|nexus|nf|ng|ngo|nhk|ni|ninja|nl|no|np|nr|nra|nrw|nu|nyc|nz|okinawa|om|ong|onl|ooo|org|organic|otsuka|ovh|pa|paris|partners|parts|party|pe|pf|pg|ph|pharmacy|photo|photography|photos|physio|pics|pictures|pink|pizza|pk|pl|place|plumbing|pm|pn|pohl|poker|porn|post|pr|praxi|press|pro|prod|productions|prof|properties|property|ps|pt|pub|pw|py|qa|qpon|quebec|re|realtor|recipes|red|rehab|reise|reisen|reit|ren|rentals|repair|report|republican|rest|restaurant|reviews|rich|rio|rip|ro|rocks|rodeo|rs|rsvp|ru|ruhr|rw|ryukyu|sa|saarland|sarl|sb|sc|sca|scb|schmidt|schule|science|scot|sd|se|services|sexy|sg|sh|shiksha|shoes|si|singles|sj|sk|sl|sm|sn|so|social|software|sohu|solar|solutions|soy|space|spiegel|sr|st|su|supplies|supply|support|surf|surgery|suzuki|sv|sx|sy|sydney|systems|sz|taipei|tatar|tattoo|tax|tc|td|technology|tel|tf|tg|th|tienda|tips|tirol|tj|tk|tl|tm|tn|to|today|tokyo|tools|top|town|toys|tp|tr|trade|training|travel|trust|tt|tui|tv|tw|tz|ua|ug|uk|university|uno|uol|us|uy|uz|va|vacations|vc|ve|vegas|ventures|versicherung|vet|vg|vi|viajes|villas|vision|vlaanderen|vn|vodka|vote|voting|voto|voyage|vu|wales|wang|watch|webcam|website|wed|wedding|wf|whoswho|wien|wiki|williamhill|wme|work|works|world|ws|wtc|wtf|xxx|xyz|yachts|yandex|ye|yoga|yokohama|youtube|yt|za|zip|zm|zone|zw'.split('|');
var tlds = 'aaa|aarp|abb|abbott|abogado|ac|academy|accenture|accountant|accountants|aco|active|actor|ad|adac|ads|adult|ae|aeg|aero|af|afl|ag|agency|ai|aig|airforce|airtel|al|alibaba|alipay|allfinanz|alsace|am|amica|amsterdam|an|analytics|android|ao|apartments|app|apple|aq|aquarelle|ar|aramco|archi|army|arpa|arte|as|asia|associates|at|attorney|au|auction|audi|audio|author|auto|autos|avianca|aw|ax|axa|az|azure|ba|baidu|band|bank|bar|barcelona|barclaycard|barclays|bargains|bauhaus|bayern|bb|bbc|bbva|bcg|bcn|bd|be|beats|beer|bentley|berlin|best|bet|bf|bg|bh|bharti|bi|bible|bid|bike|bing|bingo|bio|biz|bj|black|blackfriday|bloomberg|blue|bm|bms|bmw|bn|bnl|bnpparibas|bo|boats|boehringer|bom|bond|boo|book|boots|bosch|bostik|bot|boutique|br|bradesco|bridgestone|broadway|broker|brother|brussels|bs|bt|budapest|bugatti|build|builders|business|buy|buzz|bv|bw|by|bz|bzh|ca|cab|cafe|cal|call|camera|camp|cancerresearch|canon|capetown|capital|car|caravan|cards|care|career|careers|cars|cartier|casa|cash|casino|cat|catering|cba|cbn|cc|cd|ceb|center|ceo|cern|cf|cfa|cfd|cg|ch|chanel|channel|chase|chat|cheap|chloe|christmas|chrome|church|ci|cipriani|circle|cisco|citic|city|cityeats|ck|cl|claims|cleaning|click|clinic|clinique|clothing|cloud|club|clubmed|cm|cn|co|coach|codes|coffee|college|cologne|com|commbank|community|company|compare|computer|comsec|condos|construction|consulting|contact|contractors|cooking|cool|coop|corsica|country|coupon|coupons|courses|cr|credit|creditcard|creditunion|cricket|crown|crs|cruises|csc|cu|cuisinella|cv|cw|cx|cy|cymru|cyou|cz|dabur|dad|dance|date|dating|datsun|day|dclk|de|dealer|deals|degree|delivery|dell|deloitte|delta|democrat|dental|dentist|desi|design|dev|diamonds|diet|digital|direct|directory|discount|dj|dk|dm|dnp|do|docs|dog|doha|domains|download|drive|dubai|durban|dvag|dz|earth|eat|ec|edeka|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|epson|equipment|er|erni|es|esq|estate|et|eu|eurovision|eus|events|everbank|exchange|expert|exposed|express|fage|fail|fairwinds|faith|family|fan|fans|farm|fashion|fast|feedback|ferrero|fi|film|final|finance|financial|firestone|firmdale|fish|fishing|fit|fitness|fj|fk|flickr|flights|florist|flowers|flsmidth|fly|fm|fo|foo|football|ford|forex|forsale|forum|foundation|fox|fr|fresenius|frl|frogans|frontier|fund|furniture|futbol|fyi|ga|gal|gallery|gallup|game|garden|gb|gbiz|gd|gdn|ge|gea|gent|genting|gf|gg|ggee|gh|gi|gift|gifts|gives|giving|gl|glass|gle|global|globo|gm|gmail|gmbh|gmo|gmx|gn|gold|goldpoint|golf|goo|goog|google|gop|got|gov|gp|gq|gr|grainger|graphics|gratis|green|gripe|group|gs|gt|gu|gucci|guge|guide|guitars|guru|gw|gy|hamburg|hangout|haus|hdfcbank|health|healthcare|help|helsinki|here|hermes|hiphop|hitachi|hiv|hk|hm|hn|hockey|holdings|holiday|homedepot|homes|honda|horse|host|hosting|hoteles|hotmail|house|how|hr|hsbc|ht|hu|hyundai|ibm|icbc|ice|icu|id|ie|ifm|iinet|il|im|immo|immobilien|in|industries|infiniti|info|ing|ink|institute|insurance|insure|int|international|investments|io|ipiranga|iq|ir|irish|is|iselect|ist|istanbul|it|itau|iwc|jaguar|java|jcb|je|jetzt|jewelry|jlc|jll|jm|jmp|jo|jobs|joburg|jot|joy|jp|jpmorgan|jprs|juegos|kaufen|kddi|ke|kerryhotels|kerrylogistics|kerryproperties|kfh|kg|kh|ki|kia|kim|kinder|kitchen|kiwi|km|kn|koeln|komatsu|kp|kpn|kr|krd|kred|kuokgroup|kw|ky|kyoto|kz|la|lacaixa|lamborghini|lamer|lancaster|land|landrover|lanxess|lasalle|lat|latrobe|law|lawyer|lb|lc|lds|lease|leclerc|legal|lexus|lgbt|li|liaison|lidl|life|lifeinsurance|lifestyle|lighting|like|limited|limo|lincoln|linde|link|live|living|lixil|lk|loan|loans|local|locus|lol|london|lotte|lotto|love|lr|ls|lt|ltd|ltda|lu|lupin|luxe|luxury|lv|ly|ma|madrid|maif|maison|makeup|man|management|mango|market|marketing|markets|marriott|mba|mc|md|me|med|media|meet|melbourne|meme|memorial|men|menu|meo|mg|mh|miami|microsoft|mil|mini|mk|ml|mm|mma|mn|mo|mobi|mobily|moda|moe|moi|mom|monash|money|montblanc|mormon|mortgage|moscow|motorcycles|mov|movie|movistar|mp|mq|mr|ms|mt|mtn|mtpc|mtr|mu|museum|mutuelle|mv|mw|mx|my|mz|na|nadex|nagoya|name|natura|navy|nc|ne|nec|net|netbank|network|neustar|new|news|nexus|nf|ng|ngo|nhk|ni|nico|nikon|ninja|nissan|nl|no|nokia|norton|nowruz|np|nr|nra|nrw|ntt|nu|nyc|nz|obi|office|okinawa|om|omega|one|ong|onl|online|ooo|oracle|orange|org|organic|origins|osaka|otsuka|ovh|pa|page|pamperedchef|panerai|paris|pars|partners|parts|party|passagens|pe|pet|pf|pg|ph|pharmacy|philips|photo|photography|photos|physio|piaget|pics|pictet|pictures|pid|pin|ping|pink|pizza|pk|pl|place|play|playstation|plumbing|plus|pm|pn|pohl|poker|porn|post|pr|praxi|press|pro|prod|productions|prof|promo|properties|property|protection|ps|pt|pub|pw|pwc|py|qa|qpon|quebec|quest|racing|re|read|realtor|realty|recipes|red|redstone|redumbrella|rehab|reise|reisen|reit|ren|rent|rentals|repair|report|republican|rest|restaurant|review|reviews|rexroth|rich|ricoh|rio|rip|ro|rocher|rocks|rodeo|room|rs|rsvp|ru|ruhr|run|rw|rwe|ryukyu|sa|saarland|safe|safety|sakura|sale|salon|samsung|sandvik|sandvikcoromant|sanofi|sap|sapo|sarl|sas|saxo|sb|sbs|sc|sca|scb|schaeffler|schmidt|scholarships|school|schule|schwarz|science|scor|scot|sd|se|seat|security|seek|select|sener|services|seven|sew|sex|sexy|sfr|sg|sh|sharp|shell|shia|shiksha|shoes|show|shriram|si|singles|site|sj|sk|ski|skin|sky|skype|sl|sm|smile|sn|sncf|so|soccer|social|softbank|software|sohu|solar|solutions|song|sony|soy|space|spiegel|spot|spreadbetting|sr|srl|st|stada|star|starhub|statefarm|statoil|stc|stcgroup|stockholm|storage|store|studio|study|style|su|sucks|supplies|supply|support|surf|surgery|suzuki|sv|swatch|swiss|sx|sy|sydney|symantec|systems|sz|tab|taipei|taobao|tatamotors|tatar|tattoo|tax|taxi|tc|tci|td|team|tech|technology|tel|telecity|telefonica|temasek|tennis|tf|tg|th|thd|theater|theatre|tickets|tienda|tiffany|tips|tires|tirol|tj|tk|tl|tm|tmall|tn|to|today|tokyo|tools|top|toray|toshiba|total|tours|town|toyota|toys|tp|tr|trade|trading|training|travel|travelers|travelersinsurance|trust|trv|tt|tube|tui|tunes|tushu|tv|tvs|tw|tz|ua|ubs|ug|uk|unicom|university|uno|uol|us|uy|uz|va|vacations|vana|vc|ve|vegas|ventures|verisign|versicherung|vet|vg|vi|viajes|video|viking|villas|vin|vip|virgin|vision|vista|vistaprint|viva|vlaanderen|vn|vodka|volkswagen|vote|voting|voto|voyage|vu|vuelos|wales|walter|wang|wanggou|watch|watches|weather|weatherchannel|webcam|weber|website|wed|wedding|weir|wf|whoswho|wien|wiki|williamhill|win|windows|wine|wme|wolterskluwer|work|works|world|ws|wtc|wtf|xbox|xerox|xin|xperia|xxx|xyz|yachts|yahoo|yamaxun|yandex|ye|yodobashi|yoga|yokohama|youtube|yt|za|zara|zero|zip|zm|zone|zuerich|zw'.split('|');
var REGEXP_NUM = /[0-9]/, REGEXP_ALPHANUM = /[a-z0-9]/, COLON = ':';

@@ -760,9 +537,10 @@ var domainStates = [], makeState = function makeState(tokenClass) {

'exports',
'./linkify/utils/class',
'./linkify/utils/options',
'./linkify/core/scanner',
'./linkify/core/parser'
], function (exports, _options, _scanner, _parser) {
], function (exports, _class, _options, _scanner, _parser) {
'use strict';
try { Object.defineProperty(exports, '__esModule', { value: true }); } catch (e) { exports['__esModule'] = true; }
exports.tokenize = exports.test = exports.scanner = exports.parser = exports.options = exports.find = undefined;
exports.tokenize = exports.test = exports.scanner = exports.parser = exports.options = exports.inherits = exports.find = undefined;
var options = _interopRequireWildcard(_options);

@@ -810,2 +588,3 @@ var scanner = _interopRequireWildcard(_scanner);

exports.find = find;
exports.inherits = _class.inherits;
exports.options = options;

@@ -812,0 +591,0 @@ exports.parser = parser;

@@ -1,1 +0,1 @@

define("linkify/utils/options",["exports"],function(t){"use strict";function n(t){t=t||{};for(var n=t.newLine||!1,e=t.ignoreTags||[],o=0;o<e.length;o++)e[o]=e[o].toUpperCase();return{attributes:t.linkAttributes||null,defaultProtocol:t.defaultProtocol||"http",events:t.events||null,format:t.format||r,validate:t.validate||i,formatHref:t.formatHref||r,newLine:t.newLine||!1,nl2br:!!n||t.nl2br||!1,tagName:t.tagName||"a",target:t.target||s,linkClass:t.linkClass||"linkified",ignoreTags:e}}function e(t){for(var n=arguments.length,e=Array(n>1?n-1:0),o=1;n>o;o++)e[o-1]=arguments[o];return"function"==typeof t?t.apply(void 0,e):t}function o(t,n){for(var e=0;e<t.length;e++)if(t[e]==n)return!0;return!1}function r(t){return t}function i(t){return!0}function s(t,n){return"url"===n?"_blank":null}try{Object.defineProperty(t,"__esModule",{value:!0})}catch(a){t.__esModule=!0}t.normalize=n,t.resolve=e,t.contains=o}),define("linkify/core/tokens",["exports"],function(t){"use strict";function n(t,n){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!=typeof n&&"function"!=typeof n?t:n}function e(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(t,n):t.__proto__=n)}function o(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function r(t){return t instanceof a||t instanceof x}try{Object.defineProperty(t,"__esModule",{value:!0})}catch(i){t.__esModule=!0}var s=function(){function t(n){o(this,t),this.v=n}return t.prototype.toString=function(){return this.v+""},t}(),a=function(t){function r(){return o(this,r),n(this,t.apply(this,arguments))}return e(r,t),r}(s),u=function(t){function r(){return o(this,r),n(this,t.call(this,"@"))}return e(r,t),r}(s),c=function(t){function r(){return o(this,r),n(this,t.call(this,":"))}return e(r,t),r}(s),l=function(t){function r(){return o(this,r),n(this,t.call(this,"."))}return e(r,t),r}(s),f=function(t){function r(){return o(this,r),n(this,t.apply(this,arguments))}return e(r,t),r}(s),h=function(t){function r(){return o(this,r),n(this,t.apply(this,arguments))}return e(r,t),r}(s),p=function(t){function r(){return o(this,r),n(this,t.call(this,"\n"))}return e(r,t),r}(s),y=function(t){function r(){return o(this,r),n(this,t.apply(this,arguments))}return e(r,t),r}(s),g=function(t){function r(){return o(this,r),n(this,t.call(this,"+"))}return e(r,t),r}(s),d=function(t){function r(){return o(this,r),n(this,t.call(this,"#"))}return e(r,t),r}(s),m=function(t){function r(){return o(this,r),n(this,t.apply(this,arguments))}return e(r,t),r}(s),v=function(t){function r(){return o(this,r),n(this,t.call(this,"?"))}return e(r,t),r}(s),b=function(t){function r(){return o(this,r),n(this,t.call(this,"/"))}return e(r,t),r}(s),k=function(t){function r(){return o(this,r),n(this,t.apply(this,arguments))}return e(r,t),r}(s),x=function(t){function r(){return o(this,r),n(this,t.apply(this,arguments))}return e(r,t),r}(s),O=function(t){function r(){return o(this,r),n(this,t.apply(this,arguments))}return e(r,t),r}(s),w=function(t){function r(){return o(this,r),n(this,t.call(this,"{"))}return e(r,t),r}(s),E=function(t){function r(){return o(this,r),n(this,t.call(this,"["))}return e(r,t),r}(s),S=function(t){function r(){return o(this,r),n(this,t.call(this,"("))}return e(r,t),r}(s),L=function(t){function r(){return o(this,r),n(this,t.call(this,"}"))}return e(r,t),r}(s),T=function(t){function r(){return o(this,r),n(this,t.call(this,"]"))}return e(r,t),r}(s),A=function(t){function r(){return o(this,r),n(this,t.call(this,")"))}return e(r,t),r}(s),C={Base:s,DOMAIN:a,AT:u,COLON:c,DOT:l,PUNCTUATION:f,LOCALHOST:h,NL:p,NUM:y,PLUS:g,POUND:d,QUERY:v,PROTOCOL:m,SLASH:b,SYM:k,TLD:x,WS:O,OPENBRACE:w,OPENBRACKET:E,OPENPAREN:S,CLOSEBRACE:L,CLOSEBRACKET:T,CLOSEPAREN:A},N=function(){function t(n){o(this,t),this.v=n,this.type="token",this.isLink=!1}return t.prototype.toString=function(){for(var t=[],n=0;n<this.v.length;n++)t.push(this.v[n].toString());return t.join("")},t.prototype.toHref=function(){return this.toString()},t.prototype.toObject=function(){var t=arguments.length<=0||void 0===arguments[0]?"http":arguments[0];return{type:this.type,value:this.toString(),href:this.toHref(t)}},t}(),j=function(t){function r(e){o(this,r);var i=n(this,t.call(this,e));return i.type="email",i.isLink=!0,i}return e(r,t),r.prototype.toHref=function(){return"mailto:"+this.toString()},r}(N),P=function(t){function r(e){o(this,r);var i=n(this,t.call(this,e));return i.type="text",i}return e(r,t),r}(N),_=function(t){function r(e){o(this,r);var i=n(this,t.call(this,e));return i.type="nl",i}return e(r,t),r}(N),z=function(t){function i(e){o(this,i);var r=n(this,t.call(this,e));return r.type="url",r.isLink=!0,r}return e(i,t),i.prototype.toHref=function(){for(var t=arguments.length<=0||void 0===arguments[0]?"http":arguments[0],n=!1,e=!1,o=this.v,i=[],s=0;o[s]instanceof m;)n=!0,i.push(o[s].toString().toLowerCase()),s++;for(;o[s]instanceof b;)e=!0,i.push(o[s].toString()),s++;for(;r(o[s]);)i.push(o[s].toString().toLowerCase()),s++;for(;s<o.length;s++)i.push(o[s].toString());return i=i.join(""),n||e||(i=t+"://"+i),i},i.prototype.hasProtocol=function(){return this.v[0]instanceof m},i}(N),R={Base:N,EMAIL:j,NL:_,TEXT:P,URL:z};t.text=C,t.multi=R}),define("linkify/core/state",["exports"],function(t){"use strict";function n(t,n){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!=typeof n&&"function"!=typeof n?t:n}function e(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(t,n):t.__proto__=n)}function o(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function r(t,n,e,o){for(var r=0,i=t.length,s=n,u=[],c=void 0;i>r&&(c=s.next(t[r]));)s=c,r++;if(r>=i)return[];for(;i-1>r;)c=new a(o),u.push(c),s.on(t[r],c),s=c,r++;return c=new a(e),u.push(c),s.on(t[i-1],c),u}try{Object.defineProperty(t,"__esModule",{value:!0})}catch(i){t.__esModule=!0}var s=function(){function t(n){o(this,t),this.j=[],this.T=n||null}return t.prototype.on=function(t,n){if(t instanceof Array){for(var e=0;e<t.length;e++)this.j.push([t[e],n]);return this}return this.j.push([t,n]),this},t.prototype.next=function(t){for(var n=0;n<this.j.length;n++){var e=this.j[n],o=e[0],r=e[1];if(this.test(t,o))return r}return!1},t.prototype.accepts=function(){return!!this.T},t.prototype.test=function(t,n){return t===n},t.prototype.emit=function(){return this.T},t}(),a=function(t){function r(){return o(this,r),n(this,t.apply(this,arguments))}return e(r,t),r.prototype.test=function(t,n){return t===n||n instanceof RegExp&&n.test(t)},r}(s),u=function(t){function r(){return o(this,r),n(this,t.apply(this,arguments))}return e(r,t),r.prototype.test=function(t,n){return t instanceof n},r}(s);t.CharacterState=a,t.TokenState=u,t.stateify=r}),define("linkify/core/scanner",["exports","./tokens","./state"],function(t,n,e){"use strict";try{Object.defineProperty(t,"__esModule",{value:!0})}catch(o){t.__esModule=!0}t.start=t.run=t.TOKENS=t.State=void 0;var r="abogado|ac|academy|accountants|active|actor|ad|adult|ae|aero|af|ag|agency|ai|airforce|al|allfinanz|alsace|am|an|android|ao|aq|aquarelle|ar|archi|army|arpa|as|asia|associates|at|attorney|au|auction|audio|autos|aw|ax|axa|az|ba|band|bar|bargains|bayern|bb|bd|be|beer|berlin|best|bf|bg|bh|bi|bid|bike|bio|biz|bj|black|blackfriday|bloomberg|blue|bm|bmw|bn|bnpparibas|bo|boo|boutique|br|brussels|bs|bt|budapest|build|builders|business|buzz|bv|bw|by|bz|bzh|ca|cab|cal|camera|camp|cancerresearch|capetown|capital|caravan|cards|care|career|careers|casa|cash|cat|catering|cc|cd|center|ceo|cern|cf|cg|ch|channel|cheap|christmas|chrome|church|ci|citic|city|ck|cl|claims|cleaning|click|clinic|clothing|club|cm|cn|co|coach|codes|coffee|college|cologne|com|community|company|computer|condos|construction|consulting|contractors|cooking|cool|coop|country|cr|credit|creditcard|cricket|crs|cruises|cu|cuisinella|cv|cw|cx|cy|cymru|cz|dad|dance|dating|day|de|deals|degree|delivery|democrat|dental|dentist|desi|diamonds|diet|digital|direct|directory|discount|dj|dk|dm|dnp|do|domains|durban|dvag|dz|eat|ec|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|equipment|er|es|esq|estate|et|eu|eurovision|eus|events|everbank|exchange|expert|exposed|fail|farm|fashion|feedback|fi|finance|financial|firmdale|fish|fishing|fitness|fj|fk|flights|florist|flsmidth|fly|fm|fo|foo|forsale|foundation|fr|frl|frogans|fund|furniture|futbol|ga|gal|gallery|gb|gbiz|gd|ge|gent|gf|gg|gh|gi|gift|gifts|gives|gl|glass|gle|global|globo|gm|gmail|gmo|gmx|gn|google|gop|gov|gp|gq|gr|graphics|gratis|green|gripe|gs|gt|gu|guide|guitars|guru|gw|gy|hamburg|haus|healthcare|help|here|hiphop|hiv|hk|hm|hn|holdings|holiday|homes|horse|host|hosting|house|how|hr|ht|hu|ibm|id|ie|il|im|immo|immobilien|in|industries|info|ing|ink|institute|insure|int|international|investments|io|iq|ir|irish|is|it|je|jetzt|jm|jo|jobs|joburg|jp|juegos|kaufen|ke|kg|kh|ki|kim|kitchen|kiwi|km|kn|koeln|kp|kr|krd|kred|kw|ky|kz|la|lacaixa|land|latrobe|lawyer|lb|lc|lds|lease|legal|lgbt|li|life|lighting|limited|limo|link|lk|loans|local|london|lotto|lr|ls|lt|ltda|lu|luxe|luxury|lv|ly|ma|madrid|maison|management|mango|market|marketing|mc|md|me|media|meet|melbourne|meme|memorial|menu|mg|mh|miami|mil|mini|mk|ml|mm|mn|mo|mobi|moda|moe|monash|money|mormon|mortgage|moscow|motorcycles|mov|mp|mq|mr|ms|mt|mu|museum|mv|mw|mx|my|mz|na|nagoya|name|navy|nc|ne|net|network|neustar|new|nexus|nf|ng|ngo|nhk|ni|ninja|nl|no|np|nr|nra|nrw|nu|nyc|nz|okinawa|om|ong|onl|ooo|org|organic|otsuka|ovh|pa|paris|partners|parts|party|pe|pf|pg|ph|pharmacy|photo|photography|photos|physio|pics|pictures|pink|pizza|pk|pl|place|plumbing|pm|pn|pohl|poker|porn|post|pr|praxi|press|pro|prod|productions|prof|properties|property|ps|pt|pub|pw|py|qa|qpon|quebec|re|realtor|recipes|red|rehab|reise|reisen|reit|ren|rentals|repair|report|republican|rest|restaurant|reviews|rich|rio|rip|ro|rocks|rodeo|rs|rsvp|ru|ruhr|rw|ryukyu|sa|saarland|sarl|sb|sc|sca|scb|schmidt|schule|science|scot|sd|se|services|sexy|sg|sh|shiksha|shoes|si|singles|sj|sk|sl|sm|sn|so|social|software|sohu|solar|solutions|soy|space|spiegel|sr|st|su|supplies|supply|support|surf|surgery|suzuki|sv|sx|sy|sydney|systems|sz|taipei|tatar|tattoo|tax|tc|td|technology|tel|tf|tg|th|tienda|tips|tirol|tj|tk|tl|tm|tn|to|today|tokyo|tools|top|town|toys|tp|tr|trade|training|travel|trust|tt|tui|tv|tw|tz|ua|ug|uk|university|uno|uol|us|uy|uz|va|vacations|vc|ve|vegas|ventures|versicherung|vet|vg|vi|viajes|villas|vision|vlaanderen|vn|vodka|vote|voting|voto|voyage|vu|wales|wang|watch|webcam|website|wed|wedding|wf|whoswho|wien|wiki|williamhill|wme|work|works|world|ws|wtc|wtf|xxx|xyz|yachts|yandex|ye|yoga|yokohama|youtube|yt|za|zip|zm|zone|zw".split("|"),i=/[0-9]/,s=/[a-z0-9]/,a=":",u=[],c=function(t){return new e.CharacterState(t)},l=n.text.DOMAIN,f=n.text.LOCALHOST,h=n.text.NUM,p=n.text.PROTOCOL,y=n.text.TLD,g=n.text.WS,d=c(),m=c(h),v=c(l),b=c(),k=c(g);d.on("@",c(n.text.AT)).on(".",c(n.text.DOT)).on("+",c(n.text.PLUS)).on("#",c(n.text.POUND)).on("?",c(n.text.QUERY)).on("/",c(n.text.SLASH)).on(a,c(n.text.COLON)).on("{",c(n.text.OPENBRACE)).on("[",c(n.text.OPENBRACKET)).on("(",c(n.text.OPENPAREN)).on("}",c(n.text.CLOSEBRACE)).on("]",c(n.text.CLOSEBRACKET)).on(")",c(n.text.CLOSEPAREN)).on(/[,;!]/,c(n.text.PUNCTUATION)),d.on(/\n/,c(n.text.NL)).on(/\s/,k),k.on(/[^\S\n]/,k);for(var x=0;x<r.length;x++){var O=(0,e.stateify)(r[x],d,y,l);u.push.apply(u,O)}var w=(0,e.stateify)("file",d,l,l),E=(0,e.stateify)("ftp",d,l,l),S=(0,e.stateify)("http",d,l,l);u.push.apply(u,w),u.push.apply(u,E),u.push.apply(u,S);var L=w.pop(),T=E.pop(),A=S.pop(),C=c(l),N=c(p);T.on("s",C).on(a,N),A.on("s",C).on(a,N),u.push(C),L.on(a,N),C.on(a,N);var j=(0,e.stateify)("localhost",d,f,l);u.push.apply(u,j),d.on(i,m),m.on("-",b).on(i,m).on(s,v),v.on("-",b).on(s,v);for(var P=0;P<u.length;P++)u[P].on("-",b).on(s,v);b.on("-",b).on(i,v).on(s,v),d.on(/./,c(n.text.SYM));var _=function(t){for(var n=t.replace(/[A-Z]/g,function(t){return t.toLowerCase()}),e=t.length,o=[],r=0;e>r;){for(var i=d,s=null,a=null,u=0,c=null,l=-1;e>r&&(a=i.next(n[r]));)s=null,i=a,i.accepts()?(l=0,c=i):l>=0&&l++,u++,r++;if(!(0>l)){r-=l,u-=l;var f=c.emit();o.push(new f(t.substr(r-u,u)))}}return o},z=d;t.State=e.CharacterState,t.TOKENS=n.text,t.run=_,t.start=z}),define("linkify/core/parser",["exports","./tokens","./state"],function(t,n,e){"use strict";try{Object.defineProperty(t,"__esModule",{value:!0})}catch(o){t.__esModule=!0}t.start=t.run=t.TOKENS=t.State=void 0;var r=function(t){return new e.TokenState(t)},i=n.text.DOMAIN,s=n.text.AT,a=n.text.COLON,u=n.text.DOT,c=n.text.PUNCTUATION,l=n.text.LOCALHOST,f=n.text.NL,h=n.text.NUM,p=n.text.PLUS,y=n.text.POUND,g=n.text.PROTOCOL,d=n.text.QUERY,m=n.text.SLASH,v=n.text.SYM,b=n.text.TLD,k=n.text.OPENBRACE,x=n.text.OPENBRACKET,O=n.text.OPENPAREN,w=n.text.CLOSEBRACE,E=n.text.CLOSEBRACKET,S=n.text.CLOSEPAREN,L=n.multi.EMAIL,T=n.multi.NL,A=n.multi.TEXT,C=n.multi.URL,N=r(),j=r(),P=r(),_=r(),z=r(),R=r(),M=r(C),U=r(),B=r(C),D=r(C),H=r(),q=r(),K=r(),I=r(),Y=r(C),Q=r(C),W=r(C),X=r(),Z=r(),F=r(),G=r(),J=r(),V=r(L),$=r(),tt=r(L),nt=r(),et=r(),ot=r(),rt=r(T);N.on(f,rt).on(g,j).on(m,P),j.on(m,P),P.on(m,_),N.on(b,z).on(i,z).on(l,M).on(h,z),_.on(b,D).on(i,D).on(h,D).on(l,D),z.on(u,R),G.on(u,J),R.on(b,M).on(i,z).on(h,z).on(l,z),J.on(b,V).on(i,G).on(h,G).on(l,G),M.on(u,R),V.on(u,J),M.on(a,U).on(m,D),U.on(h,B),B.on(m,D),V.on(a,$),$.on(h,tt);var it=[i,s,l,h,p,y,g,m,b],st=[a,u,d,c,w,E,S,k,x,O,v];D.on(k,q).on(x,K).on(O,I),H.on(k,q).on(x,K).on(O,I),q.on(w,D),K.on(E,D),I.on(S,D),Y.on(w,D),Q.on(E,D),W.on(S,D),X.on(w,D),Z.on(E,D),F.on(S,D),q.on(it,Y),K.on(it,Q),I.on(it,W),q.on(st,X),K.on(st,Z),I.on(st,F),Y.on(it,Y),Q.on(it,Q),W.on(it,W),Y.on(st,Y),Q.on(st,Q),W.on(st,W),X.on(it,Y),Z.on(it,Q),F.on(it,W),X.on(st,X),Z.on(st,Z),F.on(st,F),D.on(it,D),H.on(it,D),D.on(st,H),H.on(st,H);var at=[i,h,p,y,d,v,b];z.on(at,nt).on(s,et),M.on(at,nt).on(s,et),R.on(at,nt),nt.on(at,nt).on(s,et).on(u,ot),ot.on(at,nt),et.on(b,G).on(i,G).on(l,V);var ut=function(t){for(var n=t.length,e=0,o=[],r=[];n>e;){for(var i=N,s=null,a=null,u=0,c=null,l=-1;n>e&&!(s=i.next(t[e]));)r.push(t[e++]);for(;n>e&&(a=s||i.next(t[e]));)s=null,i=a,i.accepts()?(l=0,c=i):l>=0&&l++,e++,u++;if(0>l)for(var f=e-u;e>f;f++)r.push(t[f]);else{r.length>0&&(o.push(new A(r)),r=[]),e-=l,u-=l;var h=c.emit();o.push(new h(t.slice(e-u,e)))}}return r.length>0&&o.push(new A(r)),o},ct=n.multi,lt=N;t.State=e.TokenState,t.TOKENS=ct,t.run=ut,t.start=lt}),define("linkify",["exports","./linkify/utils/options","./linkify/core/scanner","./linkify/core/parser"],function(t,n,e,o){"use strict";function r(t){if(t&&t.__esModule)return t;var n={};if(null!=t)for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e]);return n["default"]=t,n}try{Object.defineProperty(t,"__esModule",{value:!0})}catch(i){t.__esModule=!0}t.tokenize=t.test=t.scanner=t.parser=t.options=t.find=void 0;var s=r(n),a=r(e),u=r(o);Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)});var c=function(t){return u.run(a.run(t))},l=function(t){for(var n=arguments.length<=1||void 0===arguments[1]?null:arguments[1],e=c(t),o=[],r=0;r<e.length;r++)!e[r].isLink||n&&e[r].type!==n||o.push(e[r].toObject());return o},f=function(t){var n=arguments.length<=1||void 0===arguments[1]?null:arguments[1],e=c(t);return 1===e.length&&e[0].isLink&&(!n||e[0].type===n)};t.find=l,t.options=s,t.parser=u,t.scanner=a,t.test=f,t.tokenize=c});
define("linkify/utils/class",["exports"],function(e){"use strict";function t(e,t){var n=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],o=Object.create(e.prototype);for(var a in n)o[a]=n[a];return o.constructor=t,t.prototype=o,t}try{Object.defineProperty(e,"__esModule",{value:!0})}catch(n){e.__esModule=!0}e.inherits=t}),define("linkify/utils/options",["exports"],function(e){"use strict";function t(e){e=e||{};for(var t=e.newLine||!1,n=e.ignoreTags||[],o=0;o<n.length;o++)n[o]=n[o].toUpperCase();return{attributes:e.linkAttributes||null,defaultProtocol:e.defaultProtocol||"http",events:e.events||null,format:e.format||a,validate:e.validate||r,formatHref:e.formatHref||a,newLine:e.newLine||!1,nl2br:!!t||e.nl2br||!1,tagName:e.tagName||"a",target:e.target||i,linkClass:e.linkClass||"linkified",ignoreTags:n}}function n(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return"function"==typeof e?e.apply(void 0,n):e}function o(e,t){for(var n=0;n<e.length;n++)if(e[n]==t)return!0;return!1}function a(e){return e}function r(e){return!0}function i(e,t){return"url"===t?"_blank":null}try{Object.defineProperty(e,"__esModule",{value:!0})}catch(s){e.__esModule=!0}e.normalize=t,e.resolve=n,e.contains=o}),define("linkify/core/tokens",["exports","../utils/class"],function(e,t){"use strict";function n(){return function(e){e&&(this.a=e)}}function o(e){var o=e?{a:e}:{};return(0,t.inherits)(i,n(),o)}function a(e){return e instanceof s||e instanceof x}try{Object.defineProperty(e,"__esModule",{value:!0})}catch(r){e.__esModule=!0}e.multi=e.text=void 0;var i=n();i.prototype={toString:function(){return this.a+""}};var s=o(),l=o("@"),c=o(":"),u=o("."),p=o(),h=o(),f=o("\n"),g=o(),d=o("+"),m=o("#"),b=o(),y=o("?"),v=o("/"),k=o(),x=o(),w=o(),O=o("{"),S=o("["),L=o("("),E=o("}"),A=o("]"),N=o(")"),T={Base:i,DOMAIN:s,AT:l,COLON:c,DOT:u,PUNCTUATION:p,LOCALHOST:h,NL:f,NUM:g,PLUS:d,POUND:m,QUERY:y,PROTOCOL:b,SLASH:v,SYM:k,TLD:x,WS:w,OPENBRACE:O,OPENBRACKET:S,OPENPAREN:L,CLOSEBRACE:E,CLOSEBRACKET:A,CLOSEPAREN:N},C=n();C.prototype={type:"token",isLink:!1,toString:function(){for(var e=[],t=0;t<this.a.length;t++)e.push(this.a[t].toString());return e.join("")},toHref:function(){return this.toString()},toObject:function(){var e=arguments.length<=0||void 0===arguments[0]?"http":arguments[0];return{type:this.type,value:this.toString(),href:this.toHref(e)}}};var j=(0,t.inherits)(C,n(),{type:"email",isLink:!0,toHref:function(){return"mailto:"+this.toString()}}),P=(0,t.inherits)(C,n(),{type:"text"}),z=(0,t.inherits)(C,n(),{type:"nl"}),_=(0,t.inherits)(C,n(),{type:"url",isLink:!0,toHref:function(){for(var e=arguments.length<=0||void 0===arguments[0]?"http":arguments[0],t=!1,n=!1,o=this.a,r=[],i=0;o[i]instanceof b;)t=!0,r.push(o[i].toString().toLowerCase()),i++;for(;o[i]instanceof v;)n=!0,r.push(o[i].toString()),i++;for(;a(o[i]);)r.push(o[i].toString().toLowerCase()),i++;for(;i<o.length;i++)r.push(o[i].toString());return r=r.join(""),t||n||(r=e+"://"+r),r},hasProtocol:function(){return this.a[0]instanceof b}}),R={Base:C,EMAIL:j,NL:z,TEXT:P,URL:_};e.text=T,e.multi=R}),define("linkify/core/state",["exports","../utils/class"],function(e,t){"use strict";function n(){return function(e){this.b=[],this.T=e||null}}function o(e,t,n,o){for(var a=0,r=e.length,s=t,l=[],c=void 0;a<r&&(c=s.next(e[a]));)s=c,a++;if(a>=r)return[];for(;a<r-1;)c=new i(o),l.push(c),s.on(e[a],c),s=c,a++;return c=new i(n),l.push(c),s.on(e[r-1],c),l}try{Object.defineProperty(e,"__esModule",{value:!0})}catch(a){e.__esModule=!0}e.stateify=e.TokenState=e.CharacterState=void 0;var r=n();r.prototype={on:function(e,t){if(e instanceof Array){for(var n=0;n<e.length;n++)this.b.push([e[n],t]);return this}return this.b.push([e,t]),this},next:function(e){for(var t=0;t<this.b.length;t++){var n=this.b[t],o=n[0],a=n[1];if(this.test(e,o))return a}return!1},accepts:function(){return!!this.T},test:function(e,t){return e===t},emit:function(){return this.T}};var i=(0,t.inherits)(r,n(),{test:function(e,t){return e===t||t instanceof RegExp&&t.test(e)}}),s=(0,t.inherits)(r,n(),{test:function(e,t){return e instanceof t}});e.CharacterState=i,e.TokenState=s,e.stateify=o}),define("linkify/core/scanner",["exports","./tokens","./state"],function(e,t,n){"use strict";try{Object.defineProperty(e,"__esModule",{value:!0})}catch(o){e.__esModule=!0}e.start=e.run=e.TOKENS=e.State=void 0;var a="aaa|aarp|abb|abbott|abogado|ac|academy|accenture|accountant|accountants|aco|active|actor|ad|adac|ads|adult|ae|aeg|aero|af|afl|ag|agency|ai|aig|airforce|airtel|al|alibaba|alipay|allfinanz|alsace|am|amica|amsterdam|an|analytics|android|ao|apartments|app|apple|aq|aquarelle|ar|aramco|archi|army|arpa|arte|as|asia|associates|at|attorney|au|auction|audi|audio|author|auto|autos|avianca|aw|ax|axa|az|azure|ba|baidu|band|bank|bar|barcelona|barclaycard|barclays|bargains|bauhaus|bayern|bb|bbc|bbva|bcg|bcn|bd|be|beats|beer|bentley|berlin|best|bet|bf|bg|bh|bharti|bi|bible|bid|bike|bing|bingo|bio|biz|bj|black|blackfriday|bloomberg|blue|bm|bms|bmw|bn|bnl|bnpparibas|bo|boats|boehringer|bom|bond|boo|book|boots|bosch|bostik|bot|boutique|br|bradesco|bridgestone|broadway|broker|brother|brussels|bs|bt|budapest|bugatti|build|builders|business|buy|buzz|bv|bw|by|bz|bzh|ca|cab|cafe|cal|call|camera|camp|cancerresearch|canon|capetown|capital|car|caravan|cards|care|career|careers|cars|cartier|casa|cash|casino|cat|catering|cba|cbn|cc|cd|ceb|center|ceo|cern|cf|cfa|cfd|cg|ch|chanel|channel|chase|chat|cheap|chloe|christmas|chrome|church|ci|cipriani|circle|cisco|citic|city|cityeats|ck|cl|claims|cleaning|click|clinic|clinique|clothing|cloud|club|clubmed|cm|cn|co|coach|codes|coffee|college|cologne|com|commbank|community|company|compare|computer|comsec|condos|construction|consulting|contact|contractors|cooking|cool|coop|corsica|country|coupon|coupons|courses|cr|credit|creditcard|creditunion|cricket|crown|crs|cruises|csc|cu|cuisinella|cv|cw|cx|cy|cymru|cyou|cz|dabur|dad|dance|date|dating|datsun|day|dclk|de|dealer|deals|degree|delivery|dell|deloitte|delta|democrat|dental|dentist|desi|design|dev|diamonds|diet|digital|direct|directory|discount|dj|dk|dm|dnp|do|docs|dog|doha|domains|download|drive|dubai|durban|dvag|dz|earth|eat|ec|edeka|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|epson|equipment|er|erni|es|esq|estate|et|eu|eurovision|eus|events|everbank|exchange|expert|exposed|express|fage|fail|fairwinds|faith|family|fan|fans|farm|fashion|fast|feedback|ferrero|fi|film|final|finance|financial|firestone|firmdale|fish|fishing|fit|fitness|fj|fk|flickr|flights|florist|flowers|flsmidth|fly|fm|fo|foo|football|ford|forex|forsale|forum|foundation|fox|fr|fresenius|frl|frogans|frontier|fund|furniture|futbol|fyi|ga|gal|gallery|gallup|game|garden|gb|gbiz|gd|gdn|ge|gea|gent|genting|gf|gg|ggee|gh|gi|gift|gifts|gives|giving|gl|glass|gle|global|globo|gm|gmail|gmbh|gmo|gmx|gn|gold|goldpoint|golf|goo|goog|google|gop|got|gov|gp|gq|gr|grainger|graphics|gratis|green|gripe|group|gs|gt|gu|gucci|guge|guide|guitars|guru|gw|gy|hamburg|hangout|haus|hdfcbank|health|healthcare|help|helsinki|here|hermes|hiphop|hitachi|hiv|hk|hm|hn|hockey|holdings|holiday|homedepot|homes|honda|horse|host|hosting|hoteles|hotmail|house|how|hr|hsbc|ht|hu|hyundai|ibm|icbc|ice|icu|id|ie|ifm|iinet|il|im|immo|immobilien|in|industries|infiniti|info|ing|ink|institute|insurance|insure|int|international|investments|io|ipiranga|iq|ir|irish|is|iselect|ist|istanbul|it|itau|iwc|jaguar|java|jcb|je|jetzt|jewelry|jlc|jll|jm|jmp|jo|jobs|joburg|jot|joy|jp|jpmorgan|jprs|juegos|kaufen|kddi|ke|kerryhotels|kerrylogistics|kerryproperties|kfh|kg|kh|ki|kia|kim|kinder|kitchen|kiwi|km|kn|koeln|komatsu|kp|kpn|kr|krd|kred|kuokgroup|kw|ky|kyoto|kz|la|lacaixa|lamborghini|lamer|lancaster|land|landrover|lanxess|lasalle|lat|latrobe|law|lawyer|lb|lc|lds|lease|leclerc|legal|lexus|lgbt|li|liaison|lidl|life|lifeinsurance|lifestyle|lighting|like|limited|limo|lincoln|linde|link|live|living|lixil|lk|loan|loans|local|locus|lol|london|lotte|lotto|love|lr|ls|lt|ltd|ltda|lu|lupin|luxe|luxury|lv|ly|ma|madrid|maif|maison|makeup|man|management|mango|market|marketing|markets|marriott|mba|mc|md|me|med|media|meet|melbourne|meme|memorial|men|menu|meo|mg|mh|miami|microsoft|mil|mini|mk|ml|mm|mma|mn|mo|mobi|mobily|moda|moe|moi|mom|monash|money|montblanc|mormon|mortgage|moscow|motorcycles|mov|movie|movistar|mp|mq|mr|ms|mt|mtn|mtpc|mtr|mu|museum|mutuelle|mv|mw|mx|my|mz|na|nadex|nagoya|name|natura|navy|nc|ne|nec|net|netbank|network|neustar|new|news|nexus|nf|ng|ngo|nhk|ni|nico|nikon|ninja|nissan|nl|no|nokia|norton|nowruz|np|nr|nra|nrw|ntt|nu|nyc|nz|obi|office|okinawa|om|omega|one|ong|onl|online|ooo|oracle|orange|org|organic|origins|osaka|otsuka|ovh|pa|page|pamperedchef|panerai|paris|pars|partners|parts|party|passagens|pe|pet|pf|pg|ph|pharmacy|philips|photo|photography|photos|physio|piaget|pics|pictet|pictures|pid|pin|ping|pink|pizza|pk|pl|place|play|playstation|plumbing|plus|pm|pn|pohl|poker|porn|post|pr|praxi|press|pro|prod|productions|prof|promo|properties|property|protection|ps|pt|pub|pw|pwc|py|qa|qpon|quebec|quest|racing|re|read|realtor|realty|recipes|red|redstone|redumbrella|rehab|reise|reisen|reit|ren|rent|rentals|repair|report|republican|rest|restaurant|review|reviews|rexroth|rich|ricoh|rio|rip|ro|rocher|rocks|rodeo|room|rs|rsvp|ru|ruhr|run|rw|rwe|ryukyu|sa|saarland|safe|safety|sakura|sale|salon|samsung|sandvik|sandvikcoromant|sanofi|sap|sapo|sarl|sas|saxo|sb|sbs|sc|sca|scb|schaeffler|schmidt|scholarships|school|schule|schwarz|science|scor|scot|sd|se|seat|security|seek|select|sener|services|seven|sew|sex|sexy|sfr|sg|sh|sharp|shell|shia|shiksha|shoes|show|shriram|si|singles|site|sj|sk|ski|skin|sky|skype|sl|sm|smile|sn|sncf|so|soccer|social|softbank|software|sohu|solar|solutions|song|sony|soy|space|spiegel|spot|spreadbetting|sr|srl|st|stada|star|starhub|statefarm|statoil|stc|stcgroup|stockholm|storage|store|studio|study|style|su|sucks|supplies|supply|support|surf|surgery|suzuki|sv|swatch|swiss|sx|sy|sydney|symantec|systems|sz|tab|taipei|taobao|tatamotors|tatar|tattoo|tax|taxi|tc|tci|td|team|tech|technology|tel|telecity|telefonica|temasek|tennis|tf|tg|th|thd|theater|theatre|tickets|tienda|tiffany|tips|tires|tirol|tj|tk|tl|tm|tmall|tn|to|today|tokyo|tools|top|toray|toshiba|total|tours|town|toyota|toys|tp|tr|trade|trading|training|travel|travelers|travelersinsurance|trust|trv|tt|tube|tui|tunes|tushu|tv|tvs|tw|tz|ua|ubs|ug|uk|unicom|university|uno|uol|us|uy|uz|va|vacations|vana|vc|ve|vegas|ventures|verisign|versicherung|vet|vg|vi|viajes|video|viking|villas|vin|vip|virgin|vision|vista|vistaprint|viva|vlaanderen|vn|vodka|volkswagen|vote|voting|voto|voyage|vu|vuelos|wales|walter|wang|wanggou|watch|watches|weather|weatherchannel|webcam|weber|website|wed|wedding|weir|wf|whoswho|wien|wiki|williamhill|win|windows|wine|wme|wolterskluwer|work|works|world|ws|wtc|wtf|xbox|xerox|xin|xperia|xxx|xyz|yachts|yahoo|yamaxun|yandex|ye|yodobashi|yoga|yokohama|youtube|yt|za|zara|zero|zip|zm|zone|zuerich|zw".split("|"),r=/[0-9]/,i=/[a-z0-9]/,s=":",l=[],c=function(e){return new n.CharacterState(e)},u=t.text.DOMAIN,p=t.text.LOCALHOST,h=t.text.NUM,f=t.text.PROTOCOL,g=t.text.TLD,d=t.text.WS,m=c(),b=c(h),y=c(u),v=c(),k=c(d);m.on("@",c(t.text.AT)).on(".",c(t.text.DOT)).on("+",c(t.text.PLUS)).on("#",c(t.text.POUND)).on("?",c(t.text.QUERY)).on("/",c(t.text.SLASH)).on(s,c(t.text.COLON)).on("{",c(t.text.OPENBRACE)).on("[",c(t.text.OPENBRACKET)).on("(",c(t.text.OPENPAREN)).on("}",c(t.text.CLOSEBRACE)).on("]",c(t.text.CLOSEBRACKET)).on(")",c(t.text.CLOSEPAREN)).on(/[,;!]/,c(t.text.PUNCTUATION)),m.on(/\n/,c(t.text.NL)).on(/\s/,k),k.on(/[^\S\n]/,k);for(var x=0;x<a.length;x++){var w=(0,n.stateify)(a[x],m,g,u);l.push.apply(l,w)}var O=(0,n.stateify)("file",m,u,u),S=(0,n.stateify)("ftp",m,u,u),L=(0,n.stateify)("http",m,u,u);l.push.apply(l,O),l.push.apply(l,S),l.push.apply(l,L);var E=O.pop(),A=S.pop(),N=L.pop(),T=c(u),C=c(f);A.on("s",T).on(s,C),N.on("s",T).on(s,C),l.push(T),E.on(s,C),T.on(s,C);var j=(0,n.stateify)("localhost",m,p,u);l.push.apply(l,j),m.on(r,b),b.on("-",v).on(r,b).on(i,y),y.on("-",v).on(i,y);for(var P=0;P<l.length;P++)l[P].on("-",v).on(i,y);v.on("-",v).on(r,y).on(i,y),m.on(/./,c(t.text.SYM));var z=function(e){for(var t=e.replace(/[A-Z]/g,function(e){return e.toLowerCase()}),n=e.length,o=[],a=0;a<n;){for(var r=m,i=null,s=null,l=0,c=null,u=-1;a<n&&(s=r.next(t[a]));)i=null,r=s,r.accepts()?(u=0,c=r):u>=0&&u++,l++,a++;if(!(u<0)){a-=u,l-=u;var p=c.emit();o.push(new p(e.substr(a-l,l)))}}return o},_=m;e.State=n.CharacterState,e.TOKENS=t.text,e.run=z,e.start=_}),define("linkify/core/parser",["exports","./tokens","./state"],function(e,t,n){"use strict";try{Object.defineProperty(e,"__esModule",{value:!0})}catch(o){e.__esModule=!0}e.start=e.run=e.TOKENS=e.State=void 0;var a=function(e){return new n.TokenState(e)},r=t.text.DOMAIN,i=t.text.AT,s=t.text.COLON,l=t.text.DOT,c=t.text.PUNCTUATION,u=t.text.LOCALHOST,p=t.text.NL,h=t.text.NUM,f=t.text.PLUS,g=t.text.POUND,d=t.text.PROTOCOL,m=t.text.QUERY,b=t.text.SLASH,y=t.text.SYM,v=t.text.TLD,k=t.text.OPENBRACE,x=t.text.OPENBRACKET,w=t.text.OPENPAREN,O=t.text.CLOSEBRACE,S=t.text.CLOSEBRACKET,L=t.text.CLOSEPAREN,E=t.multi.EMAIL,A=t.multi.NL,N=t.multi.TEXT,T=t.multi.URL,C=a(),j=a(),P=a(),z=a(),_=a(),R=a(),M=a(T),U=a(),B=a(T),q=a(T),D=a(),H=a(),K=a(),I=a(),Y=a(T),Q=a(T),W=a(T),X=a(),Z=a(),F=a(),G=a(),J=a(),V=a(E),$=a(),ee=a(E),te=a(),ne=a(),oe=a(),ae=a(A);C.on(p,ae).on(d,j).on(b,P),j.on(b,P),P.on(b,z),C.on(v,_).on(r,_).on(u,M).on(h,_),z.on(v,q).on(r,q).on(h,q).on(u,q),_.on(l,R),G.on(l,J),R.on(v,M).on(r,_).on(h,_).on(u,_),J.on(v,V).on(r,G).on(h,G).on(u,G),M.on(l,R),V.on(l,J),M.on(s,U).on(b,q),U.on(h,B),B.on(b,q),V.on(s,$),$.on(h,ee);var re=[r,i,u,h,f,g,d,b,v],ie=[s,l,m,c,O,S,L,k,x,w,y];q.on(k,H).on(x,K).on(w,I),D.on(k,H).on(x,K).on(w,I),H.on(O,q),K.on(S,q),I.on(L,q),Y.on(O,q),Q.on(S,q),W.on(L,q),X.on(O,q),Z.on(S,q),F.on(L,q),H.on(re,Y),K.on(re,Q),I.on(re,W),H.on(ie,X),K.on(ie,Z),I.on(ie,F),Y.on(re,Y),Q.on(re,Q),W.on(re,W),Y.on(ie,Y),Q.on(ie,Q),W.on(ie,W),X.on(re,Y),Z.on(re,Q),F.on(re,W),X.on(ie,X),Z.on(ie,Z),F.on(ie,F),q.on(re,q),D.on(re,q),q.on(ie,D),D.on(ie,D);var se=[r,h,f,g,m,y,v];_.on(se,te).on(i,ne),M.on(se,te).on(i,ne),R.on(se,te),te.on(se,te).on(i,ne).on(l,oe),oe.on(se,te),ne.on(v,G).on(r,G).on(u,V);var le=function(e){for(var t=e.length,n=0,o=[],a=[];n<t;){for(var r=C,i=null,s=null,l=0,c=null,u=-1;n<t&&!(i=r.next(e[n]));)a.push(e[n++]);for(;n<t&&(s=i||r.next(e[n]));)i=null,r=s,r.accepts()?(u=0,c=r):u>=0&&u++,n++,l++;if(u<0)for(var p=n-l;p<n;p++)a.push(e[p]);else{a.length>0&&(o.push(new N(a)),a=[]),n-=u,l-=u;var h=c.emit();o.push(new h(e.slice(n-l,n)))}}return a.length>0&&o.push(new N(a)),o},ce=t.multi,ue=C;e.State=n.TokenState,e.TOKENS=ce,e.run=le,e.start=ue}),define("linkify",["exports","./linkify/utils/class","./linkify/utils/options","./linkify/core/scanner","./linkify/core/parser"],function(e,t,n,o,a){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}try{Object.defineProperty(e,"__esModule",{value:!0})}catch(i){e.__esModule=!0}e.tokenize=e.test=e.scanner=e.parser=e.options=e.inherits=e.find=void 0;var s=r(n),l=r(o),c=r(a);Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)});var u=function(e){return c.run(l.run(e))},p=function(e){for(var t=arguments.length<=1||void 0===arguments[1]?null:arguments[1],n=u(e),o=[],a=0;a<n.length;a++)!n[a].isLink||t&&n[a].type!==t||o.push(n[a].toObject());return o},h=function(e){var t=arguments.length<=1||void 0===arguments[1]?null:arguments[1],n=u(e);return 1===n.length&&n[0].isLink&&(!t||n[0].type===t)};e.find=p,e.inherits=t.inherits,e.options=s,e.parser=c,e.scanner=l,e.test=h,e.tokenize=u});
;(function () {
'use strict';
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
(function (exports) {
'use strict';
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
function inherits(parent, child) {
var props = arguments.length <= 2 || arguments[2] === undefined ? {} : arguments[2];
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var extended = Object.create(parent.prototype);
for (var p in props) {
extended[p] = props[p];
}
extended.constructor = child;
child.prototype = extended;
return child;
}
(function (exports) {
'use strict';
/**
* Convert set of options into objects including all the defaults
*/
function normalize(opts) {

@@ -85,2 +90,10 @@ opts = opts || {};

function createTokenClass() {
return function (value) {
if (value) {
this.v = value;
}
};
}
/******************************************************************************

@@ -98,27 +111,15 @@ Text Tokens

var TextToken = function () {
/**
@method constructor
@param {String} value The string of characters representing this particular Token
*/
var TextToken = createTokenClass();
function TextToken(value) {
_classCallCheck(this, TextToken);
this.v = value;
TextToken.prototype = {
toString: function toString() {
return this.v + '';
}
};
/**
String representing the type for this token
@property type
@default 'TOKEN'
*/
function inheritsToken(value) {
var props = value ? { v: value } : {};
return inherits(TextToken, createTokenClass(), props);
}
TextToken.prototype.toString = function toString() {
return this.v + '';
};
return TextToken;
}();
/**

@@ -129,16 +130,4 @@ A valid domain token

*/
var DOMAIN = inheritsToken();
var DOMAIN = function (_TextToken) {
_inherits(DOMAIN, _TextToken);
function DOMAIN() {
_classCallCheck(this, DOMAIN);
return _possibleConstructorReturn(this, _TextToken.apply(this, arguments));
}
return DOMAIN;
}(TextToken);
/**

@@ -148,16 +137,4 @@ @class AT

*/
var AT = inheritsToken('@');
var AT = function (_TextToken2) {
_inherits(AT, _TextToken2);
function AT() {
_classCallCheck(this, AT);
return _possibleConstructorReturn(this, _TextToken2.call(this, '@'));
}
return AT;
}(TextToken);
/**

@@ -168,16 +145,4 @@ Represents a single colon `:` character

*/
var COLON$1 = inheritsToken(':');
var COLON$1 = function (_TextToken3) {
_inherits(COLON$1, _TextToken3);
function COLON$1() {
_classCallCheck(this, COLON$1);
return _possibleConstructorReturn(this, _TextToken3.call(this, ':'));
}
return COLON$1;
}(TextToken);
/**

@@ -187,16 +152,4 @@ @class DOT

*/
var DOT = inheritsToken('.');
var DOT = function (_TextToken4) {
_inherits(DOT, _TextToken4);
function DOT() {
_classCallCheck(this, DOT);
return _possibleConstructorReturn(this, _TextToken4.call(this, '.'));
}
return DOT;
}(TextToken);
/**

@@ -208,16 +161,4 @@ A character class that can surround the URL, but which the URL cannot begin

*/
var PUNCTUATION = inheritsToken();
var PUNCTUATION = function (_TextToken5) {
_inherits(PUNCTUATION, _TextToken5);
function PUNCTUATION() {
_classCallCheck(this, PUNCTUATION);
return _possibleConstructorReturn(this, _TextToken5.apply(this, arguments));
}
return PUNCTUATION;
}(TextToken);
/**

@@ -228,16 +169,4 @@ The word localhost (by itself)

*/
var LOCALHOST = inheritsToken();
var LOCALHOST = function (_TextToken6) {
_inherits(LOCALHOST, _TextToken6);
function LOCALHOST() {
_classCallCheck(this, LOCALHOST);
return _possibleConstructorReturn(this, _TextToken6.apply(this, arguments));
}
return LOCALHOST;
}(TextToken);
/**

@@ -248,16 +177,4 @@ Newline token

*/
var TNL = inheritsToken('\n');
var TNL = function (_TextToken7) {
_inherits(TNL, _TextToken7);
function TNL() {
_classCallCheck(this, TNL);
return _possibleConstructorReturn(this, _TextToken7.call(this, '\n'));
}
return TNL;
}(TextToken);
/**

@@ -267,16 +184,4 @@ @class NUM

*/
var NUM = inheritsToken();
var NUM = function (_TextToken8) {
_inherits(NUM, _TextToken8);
function NUM() {
_classCallCheck(this, NUM);
return _possibleConstructorReturn(this, _TextToken8.apply(this, arguments));
}
return NUM;
}(TextToken);
/**

@@ -286,16 +191,4 @@ @class PLUS

*/
var PLUS = inheritsToken('+');
var PLUS = function (_TextToken9) {
_inherits(PLUS, _TextToken9);
function PLUS() {
_classCallCheck(this, PLUS);
return _possibleConstructorReturn(this, _TextToken9.call(this, '+'));
}
return PLUS;
}(TextToken);
/**

@@ -305,16 +198,4 @@ @class POUND

*/
var POUND = inheritsToken('#');
var POUND = function (_TextToken10) {
_inherits(POUND, _TextToken10);
function POUND() {
_classCallCheck(this, POUND);
return _possibleConstructorReturn(this, _TextToken10.call(this, '#'));
}
return POUND;
}(TextToken);
/**

@@ -330,16 +211,4 @@ Represents a web URL protocol. Supported types include

*/
var PROTOCOL = inheritsToken();
var PROTOCOL = function (_TextToken11) {
_inherits(PROTOCOL, _TextToken11);
function PROTOCOL() {
_classCallCheck(this, PROTOCOL);
return _possibleConstructorReturn(this, _TextToken11.apply(this, arguments));
}
return PROTOCOL;
}(TextToken);
/**

@@ -349,16 +218,4 @@ @class QUERY

*/
var QUERY = inheritsToken('?');
var QUERY = function (_TextToken12) {
_inherits(QUERY, _TextToken12);
function QUERY() {
_classCallCheck(this, QUERY);
return _possibleConstructorReturn(this, _TextToken12.call(this, '?'));
}
return QUERY;
}(TextToken);
/**

@@ -368,16 +225,4 @@ @class SLASH

*/
var SLASH = inheritsToken('/');
var SLASH = function (_TextToken13) {
_inherits(SLASH, _TextToken13);
function SLASH() {
_classCallCheck(this, SLASH);
return _possibleConstructorReturn(this, _TextToken13.call(this, '/'));
}
return SLASH;
}(TextToken);
/**

@@ -388,16 +233,4 @@ One ore more non-whitespace symbol.

*/
var SYM = inheritsToken();
var SYM = function (_TextToken14) {
_inherits(SYM, _TextToken14);
function SYM() {
_classCallCheck(this, SYM);
return _possibleConstructorReturn(this, _TextToken14.apply(this, arguments));
}
return SYM;
}(TextToken);
/**

@@ -407,16 +240,4 @@ @class TLD

*/
var TLD = inheritsToken();
var TLD = function (_TextToken15) {
_inherits(TLD, _TextToken15);
function TLD() {
_classCallCheck(this, TLD);
return _possibleConstructorReturn(this, _TextToken15.apply(this, arguments));
}
return TLD;
}(TextToken);
/**

@@ -427,16 +248,4 @@ Represents a string of consecutive whitespace characters

*/
var WS = inheritsToken();
var WS = function (_TextToken16) {
_inherits(WS, _TextToken16);
function WS() {
_classCallCheck(this, WS);
return _possibleConstructorReturn(this, _TextToken16.apply(this, arguments));
}
return WS;
}(TextToken);
/**

@@ -446,74 +255,9 @@ Opening/closing bracket classes

var OPENBRACE = function (_TextToken17) {
_inherits(OPENBRACE, _TextToken17);
var OPENBRACE = inheritsToken('{');
var OPENBRACKET = inheritsToken('[');
var OPENPAREN = inheritsToken('(');
var CLOSEBRACE = inheritsToken('}');
var CLOSEBRACKET = inheritsToken(']');
var CLOSEPAREN = inheritsToken(')');
function OPENBRACE() {
_classCallCheck(this, OPENBRACE);
return _possibleConstructorReturn(this, _TextToken17.call(this, '{'));
}
return OPENBRACE;
}(TextToken);
var OPENBRACKET = function (_TextToken18) {
_inherits(OPENBRACKET, _TextToken18);
function OPENBRACKET() {
_classCallCheck(this, OPENBRACKET);
return _possibleConstructorReturn(this, _TextToken18.call(this, '['));
}
return OPENBRACKET;
}(TextToken);
var OPENPAREN = function (_TextToken19) {
_inherits(OPENPAREN, _TextToken19);
function OPENPAREN() {
_classCallCheck(this, OPENPAREN);
return _possibleConstructorReturn(this, _TextToken19.call(this, '('));
}
return OPENPAREN;
}(TextToken);
var CLOSEBRACE = function (_TextToken20) {
_inherits(CLOSEBRACE, _TextToken20);
function CLOSEBRACE() {
_classCallCheck(this, CLOSEBRACE);
return _possibleConstructorReturn(this, _TextToken20.call(this, '}'));
}
return CLOSEBRACE;
}(TextToken);
var CLOSEBRACKET = function (_TextToken21) {
_inherits(CLOSEBRACKET, _TextToken21);
function CLOSEBRACKET() {
_classCallCheck(this, CLOSEBRACKET);
return _possibleConstructorReturn(this, _TextToken21.call(this, ']'));
}
return CLOSEBRACKET;
}(TextToken);
var CLOSEPAREN = function (_TextToken22) {
_inherits(CLOSEPAREN, _TextToken22);
function CLOSEPAREN() {
_classCallCheck(this, CLOSEPAREN);
return _possibleConstructorReturn(this, _TextToken22.call(this, ')'));
}
return CLOSEPAREN;
}(TextToken);
var TEXT_TOKENS = {

@@ -565,30 +309,19 @@ Base: TextToken,

*/
var MultiToken = createTokenClass();
var MultiToken = function () {
MultiToken.prototype = {
/**
@method constructor
@param {Array} value The array of `TextToken`s representing this
particular MultiToken
String representing the type for this token
@property type
@default 'TOKEN'
*/
type: 'token',
function MultiToken(value) {
_classCallCheck(this, MultiToken);
/**
Is this multitoken a link?
@property isLink
@default false
*/
isLink: false,
this.v = value;
/**
String representing the type for this token
@property type
@default 'TOKEN'
*/
this.type = 'token';
/**
Is this multitoken a link?
@property isLink
@default false
*/
this.isLink = false;
}
/**

@@ -599,5 +332,3 @@ Return the string this token represents.

*/
MultiToken.prototype.toString = function toString() {
toString: function toString() {
var result = [];

@@ -608,4 +339,5 @@ for (var i = 0; i < this.v.length; i++) {

return result.join('');
};
},
/**

@@ -617,8 +349,7 @@ What should the value for this token be in the `href` HTML attribute?

*/
toHref: function toHref() {
return this.toString();
},
MultiToken.prototype.toHref = function toHref() {
return this.toString();
};
/**

@@ -634,5 +365,3 @@ Returns a hash of relevant values for this token, which includes keys

*/
MultiToken.prototype.toObject = function toObject() {
toObject: function toObject() {
var protocol = arguments.length <= 0 || arguments[0] === undefined ? 'http' : arguments[0];

@@ -645,7 +374,5 @@

};
};
}
};
return MultiToken;
}();
/**

@@ -656,24 +383,10 @@ Represents a list of tokens making up a valid email address

*/
var EMAIL = function (_MultiToken) {
_inherits(EMAIL, _MultiToken);
function EMAIL(value) {
_classCallCheck(this, EMAIL);
var _this23 = _possibleConstructorReturn(this, _MultiToken.call(this, value));
_this23.type = 'email';
_this23.isLink = true;
return _this23;
var EMAIL = inherits(MultiToken, createTokenClass(), {
type: 'email',
isLink: true,
toHref: function toHref() {
return 'mailto:' + this.toString();
}
});
EMAIL.prototype.toHref = function toHref() {
return 'mailto:' + this.toString();
};
return EMAIL;
}(MultiToken);
/**

@@ -684,19 +397,4 @@ Represents some plain text

*/
var TEXT = inherits(MultiToken, createTokenClass(), { type: 'text' });
var TEXT = function (_MultiToken2) {
_inherits(TEXT, _MultiToken2);
function TEXT(value) {
_classCallCheck(this, TEXT);
var _this24 = _possibleConstructorReturn(this, _MultiToken2.call(this, value));
_this24.type = 'text';
return _this24;
}
return TEXT;
}(MultiToken);
/**

@@ -707,19 +405,4 @@ Multi-linebreak token - represents a line break

*/
var MNL = inherits(MultiToken, createTokenClass(), { type: 'nl' });
var MNL = function (_MultiToken3) {
_inherits(MNL, _MultiToken3);
function MNL(value) {
_classCallCheck(this, MNL);
var _this25 = _possibleConstructorReturn(this, _MultiToken3.call(this, value));
_this25.type = 'nl';
return _this25;
}
return MNL;
}(MultiToken);
/**

@@ -730,17 +413,6 @@ Represents a list of tokens making up a valid URL

*/
var URL = inherits(MultiToken, createTokenClass(), {
type: 'url',
isLink: true,
var URL = function (_MultiToken4) {
_inherits(URL, _MultiToken4);
function URL(value) {
_classCallCheck(this, URL);
var _this26 = _possibleConstructorReturn(this, _MultiToken4.call(this, value));
_this26.type = 'url';
_this26.isLink = true;
return _this26;
}
/**

@@ -754,5 +426,3 @@ Lowercases relevant parts of the domain and adds the protocol if

*/
URL.prototype.toHref = function toHref() {
toHref: function toHref() {
var protocol = arguments.length <= 0 || arguments[0] === undefined ? 'http' : arguments[0];

@@ -799,11 +469,8 @@

return result;
};
URL.prototype.hasProtocol = function hasProtocol() {
},
hasProtocol: function hasProtocol() {
return this.v[0] instanceof PROTOCOL;
};
}
});
return URL;
}(MultiToken);
var MULTI_TOKENS = {

@@ -817,2 +484,9 @@ Base: MultiToken,

function createStateClass() {
return function (tClass) {
this.j = [];
this.T = tClass || null;
};
}
/**

@@ -831,5 +505,4 @@ A simple state machine that can emit token classes

*/
var BaseState = function () {
var BaseState = createStateClass();
BaseState.prototype = {
/**

@@ -841,9 +514,2 @@ @method constructor

function BaseState(tClass) {
_classCallCheck(this, BaseState);
this.j = [];
this.T = tClass || null;
}
/**

@@ -858,4 +524,3 @@ On the given symbol(s), this machine should go to the given state

BaseState.prototype.on = function on(symbol, state) {
on: function on(symbol, state) {
if (symbol instanceof Array) {

@@ -869,4 +534,5 @@ for (var i = 0; i < symbol.length; i++) {

return this;
};
},
/**

@@ -879,6 +545,4 @@ Given the next item, returns next state for that item

*/
next: function next(item) {
BaseState.prototype.next = function next(item) {
for (var i = 0; i < this.j.length; i++) {

@@ -897,4 +561,5 @@

return false;
};
},
/**

@@ -906,8 +571,7 @@ Does this state accept?

*/
accepts: function accepts() {
return !!this.T;
},
BaseState.prototype.accepts = function accepts() {
return !!this.T;
};
/**

@@ -922,8 +586,7 @@ Determine whether a given item "symbolizes" the symbol, where symbol is

*/
test: function test(item, symbol) {
return item === symbol;
},
BaseState.prototype.test = function test(item, symbol) {
return item === symbol;
};
/**

@@ -935,11 +598,7 @@ Emit the token for this State (just return it in this case)

*/
BaseState.prototype.emit = function emit() {
emit: function emit() {
return this.T;
};
}
};
return BaseState;
}();
/**

@@ -950,13 +609,3 @@ State machine for string-based input

*/
var CharacterState = function (_BaseState) {
_inherits(CharacterState, _BaseState);
function CharacterState() {
_classCallCheck(this, CharacterState);
return _possibleConstructorReturn(this, _BaseState.apply(this, arguments));
}
var CharacterState = inherits(BaseState, createStateClass(), {
/**

@@ -971,9 +620,7 @@ Does the given character match the given character or regular

CharacterState.prototype.test = function test(character, charOrRegExp) {
test: function test(character, charOrRegExp) {
return character === charOrRegExp || charOrRegExp instanceof RegExp && charOrRegExp.test(character);
};
}
});
return CharacterState;
}(BaseState);
/**

@@ -984,13 +631,4 @@ State machine for input in the form of TextTokens

*/
var State = inherits(BaseState, createStateClass(), {
var State = function (_BaseState2) {
_inherits(State, _BaseState2);
function State() {
_classCallCheck(this, State);
return _possibleConstructorReturn(this, _BaseState2.apply(this, arguments));
}
/**

@@ -1004,9 +642,7 @@ Is the given token an instance of the given token class?

State.prototype.test = function test(token, tokenClass) {
test: function test(token, tokenClass) {
return token instanceof tokenClass;
};
}
});
return State;
}(BaseState);
/**

@@ -1029,4 +665,2 @@ Given a non-empty target string, generates states (if required) for each

*/
function stateify(str, start, endToken, defaultToken) {

@@ -1063,3 +697,3 @@

var tlds = 'abogado|ac|academy|accountants|active|actor|ad|adult|ae|aero|af|ag|agency|ai|airforce|al|allfinanz|alsace|am|an|android|ao|aq|aquarelle|ar|archi|army|arpa|as|asia|associates|at|attorney|au|auction|audio|autos|aw|ax|axa|az|ba|band|bar|bargains|bayern|bb|bd|be|beer|berlin|best|bf|bg|bh|bi|bid|bike|bio|biz|bj|black|blackfriday|bloomberg|blue|bm|bmw|bn|bnpparibas|bo|boo|boutique|br|brussels|bs|bt|budapest|build|builders|business|buzz|bv|bw|by|bz|bzh|ca|cab|cal|camera|camp|cancerresearch|capetown|capital|caravan|cards|care|career|careers|casa|cash|cat|catering|cc|cd|center|ceo|cern|cf|cg|ch|channel|cheap|christmas|chrome|church|ci|citic|city|ck|cl|claims|cleaning|click|clinic|clothing|club|cm|cn|co|coach|codes|coffee|college|cologne|com|community|company|computer|condos|construction|consulting|contractors|cooking|cool|coop|country|cr|credit|creditcard|cricket|crs|cruises|cu|cuisinella|cv|cw|cx|cy|cymru|cz|dad|dance|dating|day|de|deals|degree|delivery|democrat|dental|dentist|desi|diamonds|diet|digital|direct|directory|discount|dj|dk|dm|dnp|do|domains|durban|dvag|dz|eat|ec|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|equipment|er|es|esq|estate|et|eu|eurovision|eus|events|everbank|exchange|expert|exposed|fail|farm|fashion|feedback|fi|finance|financial|firmdale|fish|fishing|fitness|fj|fk|flights|florist|flsmidth|fly|fm|fo|foo|forsale|foundation|fr|frl|frogans|fund|furniture|futbol|ga|gal|gallery|gb|gbiz|gd|ge|gent|gf|gg|gh|gi|gift|gifts|gives|gl|glass|gle|global|globo|gm|gmail|gmo|gmx|gn|google|gop|gov|gp|gq|gr|graphics|gratis|green|gripe|gs|gt|gu|guide|guitars|guru|gw|gy|hamburg|haus|healthcare|help|here|hiphop|hiv|hk|hm|hn|holdings|holiday|homes|horse|host|hosting|house|how|hr|ht|hu|ibm|id|ie|il|im|immo|immobilien|in|industries|info|ing|ink|institute|insure|int|international|investments|io|iq|ir|irish|is|it|je|jetzt|jm|jo|jobs|joburg|jp|juegos|kaufen|ke|kg|kh|ki|kim|kitchen|kiwi|km|kn|koeln|kp|kr|krd|kred|kw|ky|kz|la|lacaixa|land|latrobe|lawyer|lb|lc|lds|lease|legal|lgbt|li|life|lighting|limited|limo|link|lk|loans|local|london|lotto|lr|ls|lt|ltda|lu|luxe|luxury|lv|ly|ma|madrid|maison|management|mango|market|marketing|mc|md|me|media|meet|melbourne|meme|memorial|menu|mg|mh|miami|mil|mini|mk|ml|mm|mn|mo|mobi|moda|moe|monash|money|mormon|mortgage|moscow|motorcycles|mov|mp|mq|mr|ms|mt|mu|museum|mv|mw|mx|my|mz|na|nagoya|name|navy|nc|ne|net|network|neustar|new|nexus|nf|ng|ngo|nhk|ni|ninja|nl|no|np|nr|nra|nrw|nu|nyc|nz|okinawa|om|ong|onl|ooo|org|organic|otsuka|ovh|pa|paris|partners|parts|party|pe|pf|pg|ph|pharmacy|photo|photography|photos|physio|pics|pictures|pink|pizza|pk|pl|place|plumbing|pm|pn|pohl|poker|porn|post|pr|praxi|press|pro|prod|productions|prof|properties|property|ps|pt|pub|pw|py|qa|qpon|quebec|re|realtor|recipes|red|rehab|reise|reisen|reit|ren|rentals|repair|report|republican|rest|restaurant|reviews|rich|rio|rip|ro|rocks|rodeo|rs|rsvp|ru|ruhr|rw|ryukyu|sa|saarland|sarl|sb|sc|sca|scb|schmidt|schule|science|scot|sd|se|services|sexy|sg|sh|shiksha|shoes|si|singles|sj|sk|sl|sm|sn|so|social|software|sohu|solar|solutions|soy|space|spiegel|sr|st|su|supplies|supply|support|surf|surgery|suzuki|sv|sx|sy|sydney|systems|sz|taipei|tatar|tattoo|tax|tc|td|technology|tel|tf|tg|th|tienda|tips|tirol|tj|tk|tl|tm|tn|to|today|tokyo|tools|top|town|toys|tp|tr|trade|training|travel|trust|tt|tui|tv|tw|tz|ua|ug|uk|university|uno|uol|us|uy|uz|va|vacations|vc|ve|vegas|ventures|versicherung|vet|vg|vi|viajes|villas|vision|vlaanderen|vn|vodka|vote|voting|voto|voyage|vu|wales|wang|watch|webcam|website|wed|wedding|wf|whoswho|wien|wiki|williamhill|wme|work|works|world|ws|wtc|wtf|xxx|xyz|yachts|yandex|ye|yoga|yokohama|youtube|yt|za|zip|zm|zone|zw'.split('|'); // macro, see gulpfile.js
var tlds = 'aaa|aarp|abb|abbott|abogado|ac|academy|accenture|accountant|accountants|aco|active|actor|ad|adac|ads|adult|ae|aeg|aero|af|afl|ag|agency|ai|aig|airforce|airtel|al|alibaba|alipay|allfinanz|alsace|am|amica|amsterdam|an|analytics|android|ao|apartments|app|apple|aq|aquarelle|ar|aramco|archi|army|arpa|arte|as|asia|associates|at|attorney|au|auction|audi|audio|author|auto|autos|avianca|aw|ax|axa|az|azure|ba|baidu|band|bank|bar|barcelona|barclaycard|barclays|bargains|bauhaus|bayern|bb|bbc|bbva|bcg|bcn|bd|be|beats|beer|bentley|berlin|best|bet|bf|bg|bh|bharti|bi|bible|bid|bike|bing|bingo|bio|biz|bj|black|blackfriday|bloomberg|blue|bm|bms|bmw|bn|bnl|bnpparibas|bo|boats|boehringer|bom|bond|boo|book|boots|bosch|bostik|bot|boutique|br|bradesco|bridgestone|broadway|broker|brother|brussels|bs|bt|budapest|bugatti|build|builders|business|buy|buzz|bv|bw|by|bz|bzh|ca|cab|cafe|cal|call|camera|camp|cancerresearch|canon|capetown|capital|car|caravan|cards|care|career|careers|cars|cartier|casa|cash|casino|cat|catering|cba|cbn|cc|cd|ceb|center|ceo|cern|cf|cfa|cfd|cg|ch|chanel|channel|chase|chat|cheap|chloe|christmas|chrome|church|ci|cipriani|circle|cisco|citic|city|cityeats|ck|cl|claims|cleaning|click|clinic|clinique|clothing|cloud|club|clubmed|cm|cn|co|coach|codes|coffee|college|cologne|com|commbank|community|company|compare|computer|comsec|condos|construction|consulting|contact|contractors|cooking|cool|coop|corsica|country|coupon|coupons|courses|cr|credit|creditcard|creditunion|cricket|crown|crs|cruises|csc|cu|cuisinella|cv|cw|cx|cy|cymru|cyou|cz|dabur|dad|dance|date|dating|datsun|day|dclk|de|dealer|deals|degree|delivery|dell|deloitte|delta|democrat|dental|dentist|desi|design|dev|diamonds|diet|digital|direct|directory|discount|dj|dk|dm|dnp|do|docs|dog|doha|domains|download|drive|dubai|durban|dvag|dz|earth|eat|ec|edeka|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|epson|equipment|er|erni|es|esq|estate|et|eu|eurovision|eus|events|everbank|exchange|expert|exposed|express|fage|fail|fairwinds|faith|family|fan|fans|farm|fashion|fast|feedback|ferrero|fi|film|final|finance|financial|firestone|firmdale|fish|fishing|fit|fitness|fj|fk|flickr|flights|florist|flowers|flsmidth|fly|fm|fo|foo|football|ford|forex|forsale|forum|foundation|fox|fr|fresenius|frl|frogans|frontier|fund|furniture|futbol|fyi|ga|gal|gallery|gallup|game|garden|gb|gbiz|gd|gdn|ge|gea|gent|genting|gf|gg|ggee|gh|gi|gift|gifts|gives|giving|gl|glass|gle|global|globo|gm|gmail|gmbh|gmo|gmx|gn|gold|goldpoint|golf|goo|goog|google|gop|got|gov|gp|gq|gr|grainger|graphics|gratis|green|gripe|group|gs|gt|gu|gucci|guge|guide|guitars|guru|gw|gy|hamburg|hangout|haus|hdfcbank|health|healthcare|help|helsinki|here|hermes|hiphop|hitachi|hiv|hk|hm|hn|hockey|holdings|holiday|homedepot|homes|honda|horse|host|hosting|hoteles|hotmail|house|how|hr|hsbc|ht|hu|hyundai|ibm|icbc|ice|icu|id|ie|ifm|iinet|il|im|immo|immobilien|in|industries|infiniti|info|ing|ink|institute|insurance|insure|int|international|investments|io|ipiranga|iq|ir|irish|is|iselect|ist|istanbul|it|itau|iwc|jaguar|java|jcb|je|jetzt|jewelry|jlc|jll|jm|jmp|jo|jobs|joburg|jot|joy|jp|jpmorgan|jprs|juegos|kaufen|kddi|ke|kerryhotels|kerrylogistics|kerryproperties|kfh|kg|kh|ki|kia|kim|kinder|kitchen|kiwi|km|kn|koeln|komatsu|kp|kpn|kr|krd|kred|kuokgroup|kw|ky|kyoto|kz|la|lacaixa|lamborghini|lamer|lancaster|land|landrover|lanxess|lasalle|lat|latrobe|law|lawyer|lb|lc|lds|lease|leclerc|legal|lexus|lgbt|li|liaison|lidl|life|lifeinsurance|lifestyle|lighting|like|limited|limo|lincoln|linde|link|live|living|lixil|lk|loan|loans|local|locus|lol|london|lotte|lotto|love|lr|ls|lt|ltd|ltda|lu|lupin|luxe|luxury|lv|ly|ma|madrid|maif|maison|makeup|man|management|mango|market|marketing|markets|marriott|mba|mc|md|me|med|media|meet|melbourne|meme|memorial|men|menu|meo|mg|mh|miami|microsoft|mil|mini|mk|ml|mm|mma|mn|mo|mobi|mobily|moda|moe|moi|mom|monash|money|montblanc|mormon|mortgage|moscow|motorcycles|mov|movie|movistar|mp|mq|mr|ms|mt|mtn|mtpc|mtr|mu|museum|mutuelle|mv|mw|mx|my|mz|na|nadex|nagoya|name|natura|navy|nc|ne|nec|net|netbank|network|neustar|new|news|nexus|nf|ng|ngo|nhk|ni|nico|nikon|ninja|nissan|nl|no|nokia|norton|nowruz|np|nr|nra|nrw|ntt|nu|nyc|nz|obi|office|okinawa|om|omega|one|ong|onl|online|ooo|oracle|orange|org|organic|origins|osaka|otsuka|ovh|pa|page|pamperedchef|panerai|paris|pars|partners|parts|party|passagens|pe|pet|pf|pg|ph|pharmacy|philips|photo|photography|photos|physio|piaget|pics|pictet|pictures|pid|pin|ping|pink|pizza|pk|pl|place|play|playstation|plumbing|plus|pm|pn|pohl|poker|porn|post|pr|praxi|press|pro|prod|productions|prof|promo|properties|property|protection|ps|pt|pub|pw|pwc|py|qa|qpon|quebec|quest|racing|re|read|realtor|realty|recipes|red|redstone|redumbrella|rehab|reise|reisen|reit|ren|rent|rentals|repair|report|republican|rest|restaurant|review|reviews|rexroth|rich|ricoh|rio|rip|ro|rocher|rocks|rodeo|room|rs|rsvp|ru|ruhr|run|rw|rwe|ryukyu|sa|saarland|safe|safety|sakura|sale|salon|samsung|sandvik|sandvikcoromant|sanofi|sap|sapo|sarl|sas|saxo|sb|sbs|sc|sca|scb|schaeffler|schmidt|scholarships|school|schule|schwarz|science|scor|scot|sd|se|seat|security|seek|select|sener|services|seven|sew|sex|sexy|sfr|sg|sh|sharp|shell|shia|shiksha|shoes|show|shriram|si|singles|site|sj|sk|ski|skin|sky|skype|sl|sm|smile|sn|sncf|so|soccer|social|softbank|software|sohu|solar|solutions|song|sony|soy|space|spiegel|spot|spreadbetting|sr|srl|st|stada|star|starhub|statefarm|statoil|stc|stcgroup|stockholm|storage|store|studio|study|style|su|sucks|supplies|supply|support|surf|surgery|suzuki|sv|swatch|swiss|sx|sy|sydney|symantec|systems|sz|tab|taipei|taobao|tatamotors|tatar|tattoo|tax|taxi|tc|tci|td|team|tech|technology|tel|telecity|telefonica|temasek|tennis|tf|tg|th|thd|theater|theatre|tickets|tienda|tiffany|tips|tires|tirol|tj|tk|tl|tm|tmall|tn|to|today|tokyo|tools|top|toray|toshiba|total|tours|town|toyota|toys|tp|tr|trade|trading|training|travel|travelers|travelersinsurance|trust|trv|tt|tube|tui|tunes|tushu|tv|tvs|tw|tz|ua|ubs|ug|uk|unicom|university|uno|uol|us|uy|uz|va|vacations|vana|vc|ve|vegas|ventures|verisign|versicherung|vet|vg|vi|viajes|video|viking|villas|vin|vip|virgin|vision|vista|vistaprint|viva|vlaanderen|vn|vodka|volkswagen|vote|voting|voto|voyage|vu|vuelos|wales|walter|wang|wanggou|watch|watches|weather|weatherchannel|webcam|weber|website|wed|wedding|weir|wf|whoswho|wien|wiki|williamhill|win|windows|wine|wme|wolterskluwer|work|works|world|ws|wtc|wtf|xbox|xerox|xin|xperia|xxx|xyz|yachts|yahoo|yamaxun|yandex|ye|yodobashi|yoga|yokohama|youtube|yt|za|zara|zero|zip|zm|zone|zuerich|zw'.split('|'); // macro, see gulpfile.js

@@ -1540,2 +1174,3 @@ var REGEXP_NUM = /[0-9]/;

exports.find = find;
exports.inherits = inherits;
exports.options = options;

@@ -1542,0 +1177,0 @@ exports.parser = parser;

@@ -1,1 +0,1 @@

!function(){"use strict";function n(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function t(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}!function(e){function r(n){n=n||{};for(var t=n.newLine||!1,o=n.ignoreTags||[],e=0;e<o.length;e++)o[e]=o[e].toUpperCase();return{attributes:n.linkAttributes||null,defaultProtocol:n.defaultProtocol||"http",events:n.events||null,format:n.format||a,validate:n.validate||u,formatHref:n.formatHref||a,newLine:n.newLine||!1,nl2br:!!t||n.nl2br||!1,tagName:n.tagName||"a",target:n.target||c,linkClass:n.linkClass||"linkified",ignoreTags:o}}function i(n){for(var t=arguments.length,o=Array(t>1?t-1:0),e=1;t>e;e++)o[e-1]=arguments[e];return"function"==typeof n?n.apply(void 0,o):n}function s(n,t){for(var o=0;o<n.length;o++)if(n[o]==t)return!0;return!1}function a(n){return n}function u(n){return!0}function c(n,t){return"url"===t?"_blank":null}function l(n){return n instanceof g||n instanceof C}function h(n,t,o,e){for(var r=0,i=n.length,s=t,a=[],u=void 0;i>r&&(u=s.next(n[r]));)s=u,r++;if(r>=i)return[];for(;i-1>r;)u=new _(e),a.push(u),s.on(n[r],u),s=u,r++;return u=new _(o),a.push(u),s.on(n[i-1],u),a}var f=Object.freeze({normalize:r,resolve:i,contains:s}),p=function(){function n(t){o(this,n),this.v=t}return n.prototype.toString=function(){return this.v+""},n}(),g=function(e){function r(){return o(this,r),n(this,e.apply(this,arguments))}return t(r,e),r}(p),m=function(e){function r(){return o(this,r),n(this,e.call(this,"@"))}return t(r,e),r}(p),y=function(e){function r(){return o(this,r),n(this,e.call(this,":"))}return t(r,e),r}(p),d=function(e){function r(){return o(this,r),n(this,e.call(this,"."))}return t(r,e),r}(p),b=function(e){function r(){return o(this,r),n(this,e.apply(this,arguments))}return t(r,e),r}(p),v=function(e){function r(){return o(this,r),n(this,e.apply(this,arguments))}return t(r,e),r}(p),k=function(e){function r(){return o(this,r),n(this,e.call(this,"\n"))}return t(r,e),r}(p),w=function(e){function r(){return o(this,r),n(this,e.apply(this,arguments))}return t(r,e),r}(p),O=function(e){function r(){return o(this,r),n(this,e.call(this,"+"))}return t(r,e),r}(p),L=function(e){function r(){return o(this,r),n(this,e.call(this,"#"))}return t(r,e),r}(p),E=function(e){function r(){return o(this,r),n(this,e.apply(this,arguments))}return t(r,e),r}(p),A=function(e){function r(){return o(this,r),n(this,e.call(this,"?"))}return t(r,e),r}(p),S=function(e){function r(){return o(this,r),n(this,e.call(this,"/"))}return t(r,e),r}(p),N=function(e){function r(){return o(this,r),n(this,e.apply(this,arguments))}return t(r,e),r}(p),C=function(e){function r(){return o(this,r),n(this,e.apply(this,arguments))}return t(r,e),r}(p),T=function(e){function r(){return o(this,r),n(this,e.apply(this,arguments))}return t(r,e),r}(p),j=function(e){function r(){return o(this,r),n(this,e.call(this,"{"))}return t(r,e),r}(p),z=function(e){function r(){return o(this,r),n(this,e.call(this,"["))}return t(r,e),r}(p),P=function(e){function r(){return o(this,r),n(this,e.call(this,"("))}return t(r,e),r}(p),x=function(e){function r(){return o(this,r),n(this,e.call(this,"}"))}return t(r,e),r}(p),R=function(e){function r(){return o(this,r),n(this,e.call(this,"]"))}return t(r,e),r}(p),U=function(e){function r(){return o(this,r),n(this,e.call(this,")"))}return t(r,e),r}(p),B={Base:p,DOMAIN:g,AT:m,COLON:y,DOT:d,PUNCTUATION:b,LOCALHOST:v,NL:k,NUM:w,PLUS:O,POUND:L,QUERY:A,PROTOCOL:E,SLASH:S,SYM:N,TLD:C,WS:T,OPENBRACE:j,OPENBRACKET:z,OPENPAREN:P,CLOSEBRACE:x,CLOSEBRACKET:R,CLOSEPAREN:U},D=function(){function n(t){o(this,n),this.v=t,this.type="token",this.isLink=!1}return n.prototype.toString=function(){for(var n=[],t=0;t<this.v.length;t++)n.push(this.v[t].toString());return n.join("")},n.prototype.toHref=function(){return this.toString()},n.prototype.toObject=function(){var n=arguments.length<=0||void 0===arguments[0]?"http":arguments[0];return{type:this.type,value:this.toString(),href:this.toHref(n)}},n}(),H=function(e){function r(t){o(this,r);var i=n(this,e.call(this,t));return i.type="email",i.isLink=!0,i}return t(r,e),r.prototype.toHref=function(){return"mailto:"+this.toString()},r}(D),q=function(e){function r(t){o(this,r);var i=n(this,e.call(this,t));return i.type="text",i}return t(r,e),r}(D),M=function(e){function r(t){o(this,r);var i=n(this,e.call(this,t));return i.type="nl",i}return t(r,e),r}(D),I=function(e){function r(t){o(this,r);var i=n(this,e.call(this,t));return i.type="url",i.isLink=!0,i}return t(r,e),r.prototype.toHref=function(){for(var n=arguments.length<=0||void 0===arguments[0]?"http":arguments[0],t=!1,o=!1,e=this.v,r=[],i=0;e[i]instanceof E;)t=!0,r.push(e[i].toString().toLowerCase()),i++;for(;e[i]instanceof S;)o=!0,r.push(e[i].toString()),i++;for(;l(e[i]);)r.push(e[i].toString().toLowerCase()),i++;for(;i<e.length;i++)r.push(e[i].toString());return r=r.join(""),t||o||(r=n+"://"+r),r},r.prototype.hasProtocol=function(){return this.v[0]instanceof E},r}(D),K={Base:D,EMAIL:H,NL:M,TEXT:q,URL:I},Y=function(){function n(t){o(this,n),this.j=[],this.T=t||null}return n.prototype.on=function(n,t){if(n instanceof Array){for(var o=0;o<n.length;o++)this.j.push([n[o],t]);return this}return this.j.push([n,t]),this},n.prototype.next=function(n){for(var t=0;t<this.j.length;t++){var o=this.j[t],e=o[0],r=o[1];if(this.test(n,e))return r}return!1},n.prototype.accepts=function(){return!!this.T},n.prototype.test=function(n,t){return n===t},n.prototype.emit=function(){return this.T},n}(),_=function(e){function r(){return o(this,r),n(this,e.apply(this,arguments))}return t(r,e),r.prototype.test=function(n,t){return n===t||t instanceof RegExp&&t.test(n)},r}(Y),Q=function(e){function r(){return o(this,r),n(this,e.apply(this,arguments))}return t(r,e),r.prototype.test=function(n,t){return n instanceof t},r}(Y),W="abogado|ac|academy|accountants|active|actor|ad|adult|ae|aero|af|ag|agency|ai|airforce|al|allfinanz|alsace|am|an|android|ao|aq|aquarelle|ar|archi|army|arpa|as|asia|associates|at|attorney|au|auction|audio|autos|aw|ax|axa|az|ba|band|bar|bargains|bayern|bb|bd|be|beer|berlin|best|bf|bg|bh|bi|bid|bike|bio|biz|bj|black|blackfriday|bloomberg|blue|bm|bmw|bn|bnpparibas|bo|boo|boutique|br|brussels|bs|bt|budapest|build|builders|business|buzz|bv|bw|by|bz|bzh|ca|cab|cal|camera|camp|cancerresearch|capetown|capital|caravan|cards|care|career|careers|casa|cash|cat|catering|cc|cd|center|ceo|cern|cf|cg|ch|channel|cheap|christmas|chrome|church|ci|citic|city|ck|cl|claims|cleaning|click|clinic|clothing|club|cm|cn|co|coach|codes|coffee|college|cologne|com|community|company|computer|condos|construction|consulting|contractors|cooking|cool|coop|country|cr|credit|creditcard|cricket|crs|cruises|cu|cuisinella|cv|cw|cx|cy|cymru|cz|dad|dance|dating|day|de|deals|degree|delivery|democrat|dental|dentist|desi|diamonds|diet|digital|direct|directory|discount|dj|dk|dm|dnp|do|domains|durban|dvag|dz|eat|ec|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|equipment|er|es|esq|estate|et|eu|eurovision|eus|events|everbank|exchange|expert|exposed|fail|farm|fashion|feedback|fi|finance|financial|firmdale|fish|fishing|fitness|fj|fk|flights|florist|flsmidth|fly|fm|fo|foo|forsale|foundation|fr|frl|frogans|fund|furniture|futbol|ga|gal|gallery|gb|gbiz|gd|ge|gent|gf|gg|gh|gi|gift|gifts|gives|gl|glass|gle|global|globo|gm|gmail|gmo|gmx|gn|google|gop|gov|gp|gq|gr|graphics|gratis|green|gripe|gs|gt|gu|guide|guitars|guru|gw|gy|hamburg|haus|healthcare|help|here|hiphop|hiv|hk|hm|hn|holdings|holiday|homes|horse|host|hosting|house|how|hr|ht|hu|ibm|id|ie|il|im|immo|immobilien|in|industries|info|ing|ink|institute|insure|int|international|investments|io|iq|ir|irish|is|it|je|jetzt|jm|jo|jobs|joburg|jp|juegos|kaufen|ke|kg|kh|ki|kim|kitchen|kiwi|km|kn|koeln|kp|kr|krd|kred|kw|ky|kz|la|lacaixa|land|latrobe|lawyer|lb|lc|lds|lease|legal|lgbt|li|life|lighting|limited|limo|link|lk|loans|local|london|lotto|lr|ls|lt|ltda|lu|luxe|luxury|lv|ly|ma|madrid|maison|management|mango|market|marketing|mc|md|me|media|meet|melbourne|meme|memorial|menu|mg|mh|miami|mil|mini|mk|ml|mm|mn|mo|mobi|moda|moe|monash|money|mormon|mortgage|moscow|motorcycles|mov|mp|mq|mr|ms|mt|mu|museum|mv|mw|mx|my|mz|na|nagoya|name|navy|nc|ne|net|network|neustar|new|nexus|nf|ng|ngo|nhk|ni|ninja|nl|no|np|nr|nra|nrw|nu|nyc|nz|okinawa|om|ong|onl|ooo|org|organic|otsuka|ovh|pa|paris|partners|parts|party|pe|pf|pg|ph|pharmacy|photo|photography|photos|physio|pics|pictures|pink|pizza|pk|pl|place|plumbing|pm|pn|pohl|poker|porn|post|pr|praxi|press|pro|prod|productions|prof|properties|property|ps|pt|pub|pw|py|qa|qpon|quebec|re|realtor|recipes|red|rehab|reise|reisen|reit|ren|rentals|repair|report|republican|rest|restaurant|reviews|rich|rio|rip|ro|rocks|rodeo|rs|rsvp|ru|ruhr|rw|ryukyu|sa|saarland|sarl|sb|sc|sca|scb|schmidt|schule|science|scot|sd|se|services|sexy|sg|sh|shiksha|shoes|si|singles|sj|sk|sl|sm|sn|so|social|software|sohu|solar|solutions|soy|space|spiegel|sr|st|su|supplies|supply|support|surf|surgery|suzuki|sv|sx|sy|sydney|systems|sz|taipei|tatar|tattoo|tax|tc|td|technology|tel|tf|tg|th|tienda|tips|tirol|tj|tk|tl|tm|tn|to|today|tokyo|tools|top|town|toys|tp|tr|trade|training|travel|trust|tt|tui|tv|tw|tz|ua|ug|uk|university|uno|uol|us|uy|uz|va|vacations|vc|ve|vegas|ventures|versicherung|vet|vg|vi|viajes|villas|vision|vlaanderen|vn|vodka|vote|voting|voto|voyage|vu|wales|wang|watch|webcam|website|wed|wedding|wf|whoswho|wien|wiki|williamhill|wme|work|works|world|ws|wtc|wtf|xxx|xyz|yachts|yandex|ye|yoga|yokohama|youtube|yt|za|zip|zm|zone|zw".split("|"),X=/[0-9]/,Z=/[a-z0-9]/,F=":",G=[],J=function(n){return new _(n)},V=B.DOMAIN,$=B.LOCALHOST,nn=B.NUM,tn=B.PROTOCOL,on=B.TLD,en=B.WS,rn=J(),sn=J(nn),an=J(V),un=J(),cn=J(en);rn.on("@",J(B.AT)).on(".",J(B.DOT)).on("+",J(B.PLUS)).on("#",J(B.POUND)).on("?",J(B.QUERY)).on("/",J(B.SLASH)).on(F,J(B.COLON)).on("{",J(B.OPENBRACE)).on("[",J(B.OPENBRACKET)).on("(",J(B.OPENPAREN)).on("}",J(B.CLOSEBRACE)).on("]",J(B.CLOSEBRACKET)).on(")",J(B.CLOSEPAREN)).on(/[,;!]/,J(B.PUNCTUATION)),rn.on(/\n/,J(B.NL)).on(/\s/,cn),cn.on(/[^\S\n]/,cn);for(var ln=0;ln<W.length;ln++){var hn=h(W[ln],rn,on,V);G.push.apply(G,hn)}var fn=h("file",rn,V,V),pn=h("ftp",rn,V,V),gn=h("http",rn,V,V);G.push.apply(G,fn),G.push.apply(G,pn),G.push.apply(G,gn);var mn=fn.pop(),yn=pn.pop(),dn=gn.pop(),bn=J(V),vn=J(tn);yn.on("s",bn).on(F,vn),dn.on("s",bn).on(F,vn),G.push(bn),mn.on(F,vn),bn.on(F,vn);var kn=h("localhost",rn,$,V);G.push.apply(G,kn),rn.on(X,sn),sn.on("-",un).on(X,sn).on(Z,an),an.on("-",un).on(Z,an);for(var wn=0;wn<G.length;wn++)G[wn].on("-",un).on(Z,an);un.on("-",un).on(X,an).on(Z,an),rn.on(/./,J(B.SYM));var On=function(n){for(var t=n.replace(/[A-Z]/g,function(n){return n.toLowerCase()}),o=n.length,e=[],r=0;o>r;){for(var i=rn,s=null,a=null,u=0,c=null,l=-1;o>r&&(a=i.next(t[r]));)s=null,i=a,i.accepts()?(l=0,c=i):l>=0&&l++,u++,r++;if(!(0>l)){r-=l,u-=l;var h=c.emit();e.push(new h(n.substr(r-u,u)))}}return e},Ln=rn,En=Object.freeze({State:_,TOKENS:B,run:On,start:Ln}),An=function(n){return new Q(n)},Sn=B.DOMAIN,Nn=B.AT,Cn=B.COLON,Tn=B.DOT,jn=B.PUNCTUATION,zn=B.LOCALHOST,Pn=B.NL,xn=B.NUM,Rn=B.PLUS,Un=B.POUND,Bn=B.PROTOCOL,Dn=B.QUERY,Hn=B.SLASH,qn=B.SYM,Mn=B.TLD,In=B.OPENBRACE,Kn=B.OPENBRACKET,Yn=B.OPENPAREN,_n=B.CLOSEBRACE,Qn=B.CLOSEBRACKET,Wn=B.CLOSEPAREN,Xn=K.EMAIL,Zn=K.NL,Fn=K.TEXT,Gn=K.URL,Jn=An(),Vn=An(),$n=An(),nt=An(),tt=An(),ot=An(),et=An(Gn),rt=An(),it=An(Gn),st=An(Gn),at=An(),ut=An(),ct=An(),lt=An(),ht=An(Gn),ft=An(Gn),pt=An(Gn),gt=An(),mt=An(),yt=An(),dt=An(),bt=An(),vt=An(Xn),kt=An(),wt=An(Xn),Ot=An(),Lt=An(),Et=An(),At=An(Zn);Jn.on(Pn,At).on(Bn,Vn).on(Hn,$n),Vn.on(Hn,$n),$n.on(Hn,nt),Jn.on(Mn,tt).on(Sn,tt).on(zn,et).on(xn,tt),nt.on(Mn,st).on(Sn,st).on(xn,st).on(zn,st),tt.on(Tn,ot),dt.on(Tn,bt),ot.on(Mn,et).on(Sn,tt).on(xn,tt).on(zn,tt),bt.on(Mn,vt).on(Sn,dt).on(xn,dt).on(zn,dt),et.on(Tn,ot),vt.on(Tn,bt),et.on(Cn,rt).on(Hn,st),rt.on(xn,it),it.on(Hn,st),vt.on(Cn,kt),kt.on(xn,wt);var St=[Sn,Nn,zn,xn,Rn,Un,Bn,Hn,Mn],Nt=[Cn,Tn,Dn,jn,_n,Qn,Wn,In,Kn,Yn,qn];st.on(In,ut).on(Kn,ct).on(Yn,lt),at.on(In,ut).on(Kn,ct).on(Yn,lt),ut.on(_n,st),ct.on(Qn,st),lt.on(Wn,st),ht.on(_n,st),ft.on(Qn,st),pt.on(Wn,st),gt.on(_n,st),mt.on(Qn,st),yt.on(Wn,st),ut.on(St,ht),ct.on(St,ft),lt.on(St,pt),ut.on(Nt,gt),ct.on(Nt,mt),lt.on(Nt,yt),ht.on(St,ht),ft.on(St,ft),pt.on(St,pt),ht.on(Nt,ht),ft.on(Nt,ft),pt.on(Nt,pt),gt.on(St,ht),mt.on(St,ft),yt.on(St,pt),gt.on(Nt,gt),mt.on(Nt,mt),yt.on(Nt,yt),st.on(St,st),at.on(St,st),st.on(Nt,at),at.on(Nt,at);var Ct=[Sn,xn,Rn,Un,Dn,qn,Mn];tt.on(Ct,Ot).on(Nn,Lt),et.on(Ct,Ot).on(Nn,Lt),ot.on(Ct,Ot),Ot.on(Ct,Ot).on(Nn,Lt).on(Tn,Et),Et.on(Ct,Ot),Lt.on(Mn,dt).on(Sn,dt).on(zn,vt);var Tt=function(n){for(var t=n.length,o=0,e=[],r=[];t>o;){for(var i=Jn,s=null,a=null,u=0,c=null,l=-1;t>o&&!(s=i.next(n[o]));)r.push(n[o++]);for(;t>o&&(a=s||i.next(n[o]));)s=null,i=a,i.accepts()?(l=0,c=i):l>=0&&l++,o++,u++;if(0>l)for(var h=o-u;o>h;h++)r.push(n[h]);else{r.length>0&&(e.push(new Fn(r)),r=[]),o-=l,u-=l;var f=c.emit();e.push(new f(n.slice(o-u,o)))}}return r.length>0&&e.push(new Fn(r)),e},jt=K,zt=Jn,Pt=Object.freeze({State:Q,TOKENS:jt,run:Tt,start:zt});Array.isArray||(Array.isArray=function(n){return"[object Array]"===Object.prototype.toString.call(n)});var xt=function(n){return Tt(On(n))},Rt=function(n){for(var t=arguments.length<=1||void 0===arguments[1]?null:arguments[1],o=xt(n),e=[],r=0;r<o.length;r++)!o[r].isLink||t&&o[r].type!==t||e.push(o[r].toObject());return e},Ut=function(n){var t=arguments.length<=1||void 0===arguments[1]?null:arguments[1],o=xt(n);return 1===o.length&&o[0].isLink&&(!t||o[0].type===t)};e.find=Rt,e.options=f,e.parser=Pt,e.scanner=En,e.test=Ut,e.tokenize=xt}(window.linkify=window.linkify||{})}();
!function(){"use strict";!function(n){function e(n,e){var o=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],t=Object.create(n.prototype);for(var a in o)t[a]=o[a];return t.constructor=e,e.prototype=t,e}function o(n){n=n||{};for(var e=n.newLine||!1,o=n.ignoreTags||[],t=0;t<o.length;t++)o[t]=o[t].toUpperCase();return{attributes:n.linkAttributes||null,defaultProtocol:n.defaultProtocol||"http",events:n.events||null,format:n.format||r,validate:n.validate||i,formatHref:n.formatHref||r,newLine:n.newLine||!1,nl2br:!!e||n.nl2br||!1,tagName:n.tagName||"a",target:n.target||s,linkClass:n.linkClass||"linkified",ignoreTags:o}}function t(n){for(var e=arguments.length,o=Array(e>1?e-1:0),t=1;t<e;t++)o[t-1]=arguments[t];return"function"==typeof n?n.apply(void 0,o):n}function a(n,e){for(var o=0;o<n.length;o++)if(n[o]==e)return!0;return!1}function r(n){return n}function i(n){return!0}function s(n,e){return"url"===e?"_blank":null}function c(){return function(n){n&&(this.a=n)}}function l(n){var o=n?{a:n}:{};return e(f,c(),o)}function u(n){return n instanceof m||n instanceof C}function p(){return function(n){this.b=[],this.T=n||null}}function g(n,e,o,t){for(var a=0,r=n.length,i=e,s=[],c=void 0;a<r&&(c=i.next(n[a]));)i=c,a++;if(a>=r)return[];for(;a<r-1;)c=new W(t),s.push(c),i.on(n[a],c),i=c,a++;return c=new W(o),s.push(c),i.on(n[r-1],c),s}var h=Object.freeze({normalize:o,resolve:t,contains:a}),f=c();f.prototype={toString:function(){return this.a+""}};var m=l(),d=l("@"),b=l(":"),y=l("."),v=l(),k=l(),w=l("\n"),O=l(),L=l("+"),x=l("#"),E=l(),A=l("?"),N=l("/"),S=l(),C=l(),z=l(),T=l("{"),j=l("["),P=l("("),R=l("}"),U=l("]"),B=l(")"),q={Base:f,DOMAIN:m,AT:d,COLON:b,DOT:y,PUNCTUATION:v,LOCALHOST:k,NL:w,NUM:O,PLUS:L,POUND:x,QUERY:A,PROTOCOL:E,SLASH:N,SYM:S,TLD:C,WS:z,OPENBRACE:T,OPENBRACKET:j,OPENPAREN:P,CLOSEBRACE:R,CLOSEBRACKET:U,CLOSEPAREN:B},D=c();D.prototype={type:"token",isLink:!1,toString:function(){for(var n=[],e=0;e<this.a.length;e++)n.push(this.a[e].toString());return n.join("")},toHref:function(){return this.toString()},toObject:function(){var n=arguments.length<=0||void 0===arguments[0]?"http":arguments[0];return{type:this.type,value:this.toString(),href:this.toHref(n)}}};var H=e(D,c(),{type:"email",isLink:!0,toHref:function(){return"mailto:"+this.toString()}}),M=e(D,c(),{type:"text"}),I=e(D,c(),{type:"nl"}),K=e(D,c(),{type:"url",isLink:!0,toHref:function(){for(var n=arguments.length<=0||void 0===arguments[0]?"http":arguments[0],e=!1,o=!1,t=this.a,a=[],r=0;t[r]instanceof E;)e=!0,a.push(t[r].toString().toLowerCase()),r++;for(;t[r]instanceof N;)o=!0,a.push(t[r].toString()),r++;for(;u(t[r]);)a.push(t[r].toString().toLowerCase()),r++;for(;r<t.length;r++)a.push(t[r].toString());return a=a.join(""),e||o||(a=n+"://"+a),a},hasProtocol:function(){return this.a[0]instanceof E}}),Y={Base:D,EMAIL:H,NL:I,TEXT:M,URL:K},Q=p();Q.prototype={on:function(n,e){if(n instanceof Array){for(var o=0;o<n.length;o++)this.b.push([n[o],e]);return this}return this.b.push([n,e]),this},next:function(n){for(var e=0;e<this.b.length;e++){var o=this.b[e],t=o[0],a=o[1];if(this.test(n,t))return a}return!1},accepts:function(){return!!this.T},test:function(n,e){return n===e},emit:function(){return this.T}};var W=e(Q,p(),{test:function(n,e){return n===e||e instanceof RegExp&&e.test(n)}}),X=e(Q,p(),{test:function(n,e){return n instanceof e}}),Z="aaa|aarp|abb|abbott|abogado|ac|academy|accenture|accountant|accountants|aco|active|actor|ad|adac|ads|adult|ae|aeg|aero|af|afl|ag|agency|ai|aig|airforce|airtel|al|alibaba|alipay|allfinanz|alsace|am|amica|amsterdam|an|analytics|android|ao|apartments|app|apple|aq|aquarelle|ar|aramco|archi|army|arpa|arte|as|asia|associates|at|attorney|au|auction|audi|audio|author|auto|autos|avianca|aw|ax|axa|az|azure|ba|baidu|band|bank|bar|barcelona|barclaycard|barclays|bargains|bauhaus|bayern|bb|bbc|bbva|bcg|bcn|bd|be|beats|beer|bentley|berlin|best|bet|bf|bg|bh|bharti|bi|bible|bid|bike|bing|bingo|bio|biz|bj|black|blackfriday|bloomberg|blue|bm|bms|bmw|bn|bnl|bnpparibas|bo|boats|boehringer|bom|bond|boo|book|boots|bosch|bostik|bot|boutique|br|bradesco|bridgestone|broadway|broker|brother|brussels|bs|bt|budapest|bugatti|build|builders|business|buy|buzz|bv|bw|by|bz|bzh|ca|cab|cafe|cal|call|camera|camp|cancerresearch|canon|capetown|capital|car|caravan|cards|care|career|careers|cars|cartier|casa|cash|casino|cat|catering|cba|cbn|cc|cd|ceb|center|ceo|cern|cf|cfa|cfd|cg|ch|chanel|channel|chase|chat|cheap|chloe|christmas|chrome|church|ci|cipriani|circle|cisco|citic|city|cityeats|ck|cl|claims|cleaning|click|clinic|clinique|clothing|cloud|club|clubmed|cm|cn|co|coach|codes|coffee|college|cologne|com|commbank|community|company|compare|computer|comsec|condos|construction|consulting|contact|contractors|cooking|cool|coop|corsica|country|coupon|coupons|courses|cr|credit|creditcard|creditunion|cricket|crown|crs|cruises|csc|cu|cuisinella|cv|cw|cx|cy|cymru|cyou|cz|dabur|dad|dance|date|dating|datsun|day|dclk|de|dealer|deals|degree|delivery|dell|deloitte|delta|democrat|dental|dentist|desi|design|dev|diamonds|diet|digital|direct|directory|discount|dj|dk|dm|dnp|do|docs|dog|doha|domains|download|drive|dubai|durban|dvag|dz|earth|eat|ec|edeka|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|epson|equipment|er|erni|es|esq|estate|et|eu|eurovision|eus|events|everbank|exchange|expert|exposed|express|fage|fail|fairwinds|faith|family|fan|fans|farm|fashion|fast|feedback|ferrero|fi|film|final|finance|financial|firestone|firmdale|fish|fishing|fit|fitness|fj|fk|flickr|flights|florist|flowers|flsmidth|fly|fm|fo|foo|football|ford|forex|forsale|forum|foundation|fox|fr|fresenius|frl|frogans|frontier|fund|furniture|futbol|fyi|ga|gal|gallery|gallup|game|garden|gb|gbiz|gd|gdn|ge|gea|gent|genting|gf|gg|ggee|gh|gi|gift|gifts|gives|giving|gl|glass|gle|global|globo|gm|gmail|gmbh|gmo|gmx|gn|gold|goldpoint|golf|goo|goog|google|gop|got|gov|gp|gq|gr|grainger|graphics|gratis|green|gripe|group|gs|gt|gu|gucci|guge|guide|guitars|guru|gw|gy|hamburg|hangout|haus|hdfcbank|health|healthcare|help|helsinki|here|hermes|hiphop|hitachi|hiv|hk|hm|hn|hockey|holdings|holiday|homedepot|homes|honda|horse|host|hosting|hoteles|hotmail|house|how|hr|hsbc|ht|hu|hyundai|ibm|icbc|ice|icu|id|ie|ifm|iinet|il|im|immo|immobilien|in|industries|infiniti|info|ing|ink|institute|insurance|insure|int|international|investments|io|ipiranga|iq|ir|irish|is|iselect|ist|istanbul|it|itau|iwc|jaguar|java|jcb|je|jetzt|jewelry|jlc|jll|jm|jmp|jo|jobs|joburg|jot|joy|jp|jpmorgan|jprs|juegos|kaufen|kddi|ke|kerryhotels|kerrylogistics|kerryproperties|kfh|kg|kh|ki|kia|kim|kinder|kitchen|kiwi|km|kn|koeln|komatsu|kp|kpn|kr|krd|kred|kuokgroup|kw|ky|kyoto|kz|la|lacaixa|lamborghini|lamer|lancaster|land|landrover|lanxess|lasalle|lat|latrobe|law|lawyer|lb|lc|lds|lease|leclerc|legal|lexus|lgbt|li|liaison|lidl|life|lifeinsurance|lifestyle|lighting|like|limited|limo|lincoln|linde|link|live|living|lixil|lk|loan|loans|local|locus|lol|london|lotte|lotto|love|lr|ls|lt|ltd|ltda|lu|lupin|luxe|luxury|lv|ly|ma|madrid|maif|maison|makeup|man|management|mango|market|marketing|markets|marriott|mba|mc|md|me|med|media|meet|melbourne|meme|memorial|men|menu|meo|mg|mh|miami|microsoft|mil|mini|mk|ml|mm|mma|mn|mo|mobi|mobily|moda|moe|moi|mom|monash|money|montblanc|mormon|mortgage|moscow|motorcycles|mov|movie|movistar|mp|mq|mr|ms|mt|mtn|mtpc|mtr|mu|museum|mutuelle|mv|mw|mx|my|mz|na|nadex|nagoya|name|natura|navy|nc|ne|nec|net|netbank|network|neustar|new|news|nexus|nf|ng|ngo|nhk|ni|nico|nikon|ninja|nissan|nl|no|nokia|norton|nowruz|np|nr|nra|nrw|ntt|nu|nyc|nz|obi|office|okinawa|om|omega|one|ong|onl|online|ooo|oracle|orange|org|organic|origins|osaka|otsuka|ovh|pa|page|pamperedchef|panerai|paris|pars|partners|parts|party|passagens|pe|pet|pf|pg|ph|pharmacy|philips|photo|photography|photos|physio|piaget|pics|pictet|pictures|pid|pin|ping|pink|pizza|pk|pl|place|play|playstation|plumbing|plus|pm|pn|pohl|poker|porn|post|pr|praxi|press|pro|prod|productions|prof|promo|properties|property|protection|ps|pt|pub|pw|pwc|py|qa|qpon|quebec|quest|racing|re|read|realtor|realty|recipes|red|redstone|redumbrella|rehab|reise|reisen|reit|ren|rent|rentals|repair|report|republican|rest|restaurant|review|reviews|rexroth|rich|ricoh|rio|rip|ro|rocher|rocks|rodeo|room|rs|rsvp|ru|ruhr|run|rw|rwe|ryukyu|sa|saarland|safe|safety|sakura|sale|salon|samsung|sandvik|sandvikcoromant|sanofi|sap|sapo|sarl|sas|saxo|sb|sbs|sc|sca|scb|schaeffler|schmidt|scholarships|school|schule|schwarz|science|scor|scot|sd|se|seat|security|seek|select|sener|services|seven|sew|sex|sexy|sfr|sg|sh|sharp|shell|shia|shiksha|shoes|show|shriram|si|singles|site|sj|sk|ski|skin|sky|skype|sl|sm|smile|sn|sncf|so|soccer|social|softbank|software|sohu|solar|solutions|song|sony|soy|space|spiegel|spot|spreadbetting|sr|srl|st|stada|star|starhub|statefarm|statoil|stc|stcgroup|stockholm|storage|store|studio|study|style|su|sucks|supplies|supply|support|surf|surgery|suzuki|sv|swatch|swiss|sx|sy|sydney|symantec|systems|sz|tab|taipei|taobao|tatamotors|tatar|tattoo|tax|taxi|tc|tci|td|team|tech|technology|tel|telecity|telefonica|temasek|tennis|tf|tg|th|thd|theater|theatre|tickets|tienda|tiffany|tips|tires|tirol|tj|tk|tl|tm|tmall|tn|to|today|tokyo|tools|top|toray|toshiba|total|tours|town|toyota|toys|tp|tr|trade|trading|training|travel|travelers|travelersinsurance|trust|trv|tt|tube|tui|tunes|tushu|tv|tvs|tw|tz|ua|ubs|ug|uk|unicom|university|uno|uol|us|uy|uz|va|vacations|vana|vc|ve|vegas|ventures|verisign|versicherung|vet|vg|vi|viajes|video|viking|villas|vin|vip|virgin|vision|vista|vistaprint|viva|vlaanderen|vn|vodka|volkswagen|vote|voting|voto|voyage|vu|vuelos|wales|walter|wang|wanggou|watch|watches|weather|weatherchannel|webcam|weber|website|wed|wedding|weir|wf|whoswho|wien|wiki|williamhill|win|windows|wine|wme|wolterskluwer|work|works|world|ws|wtc|wtf|xbox|xerox|xin|xperia|xxx|xyz|yachts|yahoo|yamaxun|yandex|ye|yodobashi|yoga|yokohama|youtube|yt|za|zara|zero|zip|zm|zone|zuerich|zw".split("|"),_=/[0-9]/,F=/[a-z0-9]/,G=":",J=[],V=function(n){return new W(n)},$=q.DOMAIN,nn=q.LOCALHOST,en=q.NUM,on=q.PROTOCOL,tn=q.TLD,an=q.WS,rn=V(),sn=V(en),cn=V($),ln=V(),un=V(an);rn.on("@",V(q.AT)).on(".",V(q.DOT)).on("+",V(q.PLUS)).on("#",V(q.POUND)).on("?",V(q.QUERY)).on("/",V(q.SLASH)).on(G,V(q.COLON)).on("{",V(q.OPENBRACE)).on("[",V(q.OPENBRACKET)).on("(",V(q.OPENPAREN)).on("}",V(q.CLOSEBRACE)).on("]",V(q.CLOSEBRACKET)).on(")",V(q.CLOSEPAREN)).on(/[,;!]/,V(q.PUNCTUATION)),rn.on(/\n/,V(q.NL)).on(/\s/,un),un.on(/[^\S\n]/,un);for(var pn=0;pn<Z.length;pn++){var gn=g(Z[pn],rn,tn,$);J.push.apply(J,gn)}var hn=g("file",rn,$,$),fn=g("ftp",rn,$,$),mn=g("http",rn,$,$);J.push.apply(J,hn),J.push.apply(J,fn),J.push.apply(J,mn);var dn=hn.pop(),bn=fn.pop(),yn=mn.pop(),vn=V($),kn=V(on);bn.on("s",vn).on(G,kn),yn.on("s",vn).on(G,kn),J.push(vn),dn.on(G,kn),vn.on(G,kn);var wn=g("localhost",rn,nn,$);J.push.apply(J,wn),rn.on(_,sn),sn.on("-",ln).on(_,sn).on(F,cn),cn.on("-",ln).on(F,cn);for(var On=0;On<J.length;On++)J[On].on("-",ln).on(F,cn);ln.on("-",ln).on(_,cn).on(F,cn),rn.on(/./,V(q.SYM));var Ln=function(n){for(var e=n.replace(/[A-Z]/g,function(n){return n.toLowerCase()}),o=n.length,t=[],a=0;a<o;){for(var r=rn,i=null,s=null,c=0,l=null,u=-1;a<o&&(s=r.next(e[a]));)i=null,r=s,r.accepts()?(u=0,l=r):u>=0&&u++,c++,a++;if(!(u<0)){a-=u,c-=u;var p=l.emit();t.push(new p(n.substr(a-c,c)))}}return t},xn=rn,En=Object.freeze({State:W,TOKENS:q,run:Ln,start:xn}),An=function(n){return new X(n)},Nn=q.DOMAIN,Sn=q.AT,Cn=q.COLON,zn=q.DOT,Tn=q.PUNCTUATION,jn=q.LOCALHOST,Pn=q.NL,Rn=q.NUM,Un=q.PLUS,Bn=q.POUND,qn=q.PROTOCOL,Dn=q.QUERY,Hn=q.SLASH,Mn=q.SYM,In=q.TLD,Kn=q.OPENBRACE,Yn=q.OPENBRACKET,Qn=q.OPENPAREN,Wn=q.CLOSEBRACE,Xn=q.CLOSEBRACKET,Zn=q.CLOSEPAREN,_n=Y.EMAIL,Fn=Y.NL,Gn=Y.TEXT,Jn=Y.URL,Vn=An(),$n=An(),ne=An(),ee=An(),oe=An(),te=An(),ae=An(Jn),re=An(),ie=An(Jn),se=An(Jn),ce=An(),le=An(),ue=An(),pe=An(),ge=An(Jn),he=An(Jn),fe=An(Jn),me=An(),de=An(),be=An(),ye=An(),ve=An(),ke=An(_n),we=An(),Oe=An(_n),Le=An(),xe=An(),Ee=An(),Ae=An(Fn);Vn.on(Pn,Ae).on(qn,$n).on(Hn,ne),$n.on(Hn,ne),ne.on(Hn,ee),Vn.on(In,oe).on(Nn,oe).on(jn,ae).on(Rn,oe),ee.on(In,se).on(Nn,se).on(Rn,se).on(jn,se),oe.on(zn,te),ye.on(zn,ve),te.on(In,ae).on(Nn,oe).on(Rn,oe).on(jn,oe),ve.on(In,ke).on(Nn,ye).on(Rn,ye).on(jn,ye),ae.on(zn,te),ke.on(zn,ve),ae.on(Cn,re).on(Hn,se),re.on(Rn,ie),ie.on(Hn,se),ke.on(Cn,we),we.on(Rn,Oe);var Ne=[Nn,Sn,jn,Rn,Un,Bn,qn,Hn,In],Se=[Cn,zn,Dn,Tn,Wn,Xn,Zn,Kn,Yn,Qn,Mn];se.on(Kn,le).on(Yn,ue).on(Qn,pe),ce.on(Kn,le).on(Yn,ue).on(Qn,pe),le.on(Wn,se),ue.on(Xn,se),pe.on(Zn,se),ge.on(Wn,se),he.on(Xn,se),fe.on(Zn,se),me.on(Wn,se),de.on(Xn,se),be.on(Zn,se),le.on(Ne,ge),ue.on(Ne,he),pe.on(Ne,fe),le.on(Se,me),ue.on(Se,de),pe.on(Se,be),ge.on(Ne,ge),he.on(Ne,he),fe.on(Ne,fe),ge.on(Se,ge),he.on(Se,he),fe.on(Se,fe),me.on(Ne,ge),de.on(Ne,he),be.on(Ne,fe),me.on(Se,me),de.on(Se,de),be.on(Se,be),se.on(Ne,se),ce.on(Ne,se),se.on(Se,ce),ce.on(Se,ce);var Ce=[Nn,Rn,Un,Bn,Dn,Mn,In];oe.on(Ce,Le).on(Sn,xe),ae.on(Ce,Le).on(Sn,xe),te.on(Ce,Le),Le.on(Ce,Le).on(Sn,xe).on(zn,Ee),Ee.on(Ce,Le),xe.on(In,ye).on(Nn,ye).on(jn,ke);var ze=function(n){for(var e=n.length,o=0,t=[],a=[];o<e;){for(var r=Vn,i=null,s=null,c=0,l=null,u=-1;o<e&&!(i=r.next(n[o]));)a.push(n[o++]);for(;o<e&&(s=i||r.next(n[o]));)i=null,r=s,r.accepts()?(u=0,l=r):u>=0&&u++,o++,c++;if(u<0)for(var p=o-c;p<o;p++)a.push(n[p]);else{a.length>0&&(t.push(new Gn(a)),a=[]),o-=u,c-=u;var g=l.emit();t.push(new g(n.slice(o-c,o)))}}return a.length>0&&t.push(new Gn(a)),t},Te=Y,je=Vn,Pe=Object.freeze({State:X,TOKENS:Te,run:ze,start:je});Array.isArray||(Array.isArray=function(n){return"[object Array]"===Object.prototype.toString.call(n)});var Re=function(n){return ze(Ln(n))},Ue=function(n){for(var e=arguments.length<=1||void 0===arguments[1]?null:arguments[1],o=Re(n),t=[],a=0;a<o.length;a++)!o[a].isLink||e&&o[a].type!==e||t.push(o[a].toObject());return t},Be=function(n){var e=arguments.length<=1||void 0===arguments[1]?null:arguments[1],o=Re(n);return 1===o.length&&o[0].isLink&&(!e||o[0].type===e)};n.find=Ue,n.inherits=e,n.options=h,n.parser=Pe,n.scanner=En,n.test=Be,n.tokenize=Re}(window.linkify=window.linkify||{})}();

@@ -70,5 +70,5 @@ 'use strict';

case StartTag:
var attrs = attrsToStrings(_token.attributes);
var link = '<' + _token.tagName;
if (attrs.length > 0) {
if (_token.attributes.length > 0) {
var attrs = attrsToStrings(_token.attributes);
link += ' ' + attrs.join(' ');

@@ -75,0 +75,0 @@ }

'use strict';
exports.__esModule = true;
exports.default = apply;
exports.default = function ($) {
var _jquery = require('jquery');
var _jquery2 = _interopRequireDefault(_jquery);
var _linkifyElement = require('./linkify-element');
var _linkifyElement2 = _interopRequireDefault(_linkifyElement);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
// Applies the plugin to jQuery
function apply($) {
var doc = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1];

@@ -58,19 +70,7 @@

});
};
}
var _jquery = require('jquery');
var _jquery2 = _interopRequireDefault(_jquery);
var _linkifyElement = require('./linkify-element');
var _linkifyElement2 = _interopRequireDefault(_linkifyElement);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
// Try assigning linkifyElement to the browser scope
try {
window.linkifyElement = _linkifyElement2.default;
} catch (e) {}
// Applies the plugin to jQuery
var a = !define && (window.linkifyElement = _linkifyElement2.default);
} catch (e) {}
'use strict';
exports.__esModule = true;
exports.tokenize = exports.test = exports.scanner = exports.parser = exports.options = exports.find = undefined;
exports.tokenize = exports.test = exports.scanner = exports.parser = exports.options = exports.inherits = exports.find = undefined;
var _class = require('./linkify/utils/class');
var _options = require('./linkify/utils/options');

@@ -78,2 +80,3 @@

exports.find = find;
exports.inherits = _class.inherits;
exports.options = options;

@@ -80,0 +83,0 @@ exports.parser = parser;

@@ -19,3 +19,3 @@ 'use strict';

var tlds = 'abogado|ac|academy|accountants|active|actor|ad|adult|ae|aero|af|ag|agency|ai|airforce|al|allfinanz|alsace|am|an|android|ao|aq|aquarelle|ar|archi|army|arpa|as|asia|associates|at|attorney|au|auction|audio|autos|aw|ax|axa|az|ba|band|bar|bargains|bayern|bb|bd|be|beer|berlin|best|bf|bg|bh|bi|bid|bike|bio|biz|bj|black|blackfriday|bloomberg|blue|bm|bmw|bn|bnpparibas|bo|boo|boutique|br|brussels|bs|bt|budapest|build|builders|business|buzz|bv|bw|by|bz|bzh|ca|cab|cal|camera|camp|cancerresearch|capetown|capital|caravan|cards|care|career|careers|casa|cash|cat|catering|cc|cd|center|ceo|cern|cf|cg|ch|channel|cheap|christmas|chrome|church|ci|citic|city|ck|cl|claims|cleaning|click|clinic|clothing|club|cm|cn|co|coach|codes|coffee|college|cologne|com|community|company|computer|condos|construction|consulting|contractors|cooking|cool|coop|country|cr|credit|creditcard|cricket|crs|cruises|cu|cuisinella|cv|cw|cx|cy|cymru|cz|dad|dance|dating|day|de|deals|degree|delivery|democrat|dental|dentist|desi|diamonds|diet|digital|direct|directory|discount|dj|dk|dm|dnp|do|domains|durban|dvag|dz|eat|ec|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|equipment|er|es|esq|estate|et|eu|eurovision|eus|events|everbank|exchange|expert|exposed|fail|farm|fashion|feedback|fi|finance|financial|firmdale|fish|fishing|fitness|fj|fk|flights|florist|flsmidth|fly|fm|fo|foo|forsale|foundation|fr|frl|frogans|fund|furniture|futbol|ga|gal|gallery|gb|gbiz|gd|ge|gent|gf|gg|gh|gi|gift|gifts|gives|gl|glass|gle|global|globo|gm|gmail|gmo|gmx|gn|google|gop|gov|gp|gq|gr|graphics|gratis|green|gripe|gs|gt|gu|guide|guitars|guru|gw|gy|hamburg|haus|healthcare|help|here|hiphop|hiv|hk|hm|hn|holdings|holiday|homes|horse|host|hosting|house|how|hr|ht|hu|ibm|id|ie|il|im|immo|immobilien|in|industries|info|ing|ink|institute|insure|int|international|investments|io|iq|ir|irish|is|it|je|jetzt|jm|jo|jobs|joburg|jp|juegos|kaufen|ke|kg|kh|ki|kim|kitchen|kiwi|km|kn|koeln|kp|kr|krd|kred|kw|ky|kz|la|lacaixa|land|latrobe|lawyer|lb|lc|lds|lease|legal|lgbt|li|life|lighting|limited|limo|link|lk|loans|local|london|lotto|lr|ls|lt|ltda|lu|luxe|luxury|lv|ly|ma|madrid|maison|management|mango|market|marketing|mc|md|me|media|meet|melbourne|meme|memorial|menu|mg|mh|miami|mil|mini|mk|ml|mm|mn|mo|mobi|moda|moe|monash|money|mormon|mortgage|moscow|motorcycles|mov|mp|mq|mr|ms|mt|mu|museum|mv|mw|mx|my|mz|na|nagoya|name|navy|nc|ne|net|network|neustar|new|nexus|nf|ng|ngo|nhk|ni|ninja|nl|no|np|nr|nra|nrw|nu|nyc|nz|okinawa|om|ong|onl|ooo|org|organic|otsuka|ovh|pa|paris|partners|parts|party|pe|pf|pg|ph|pharmacy|photo|photography|photos|physio|pics|pictures|pink|pizza|pk|pl|place|plumbing|pm|pn|pohl|poker|porn|post|pr|praxi|press|pro|prod|productions|prof|properties|property|ps|pt|pub|pw|py|qa|qpon|quebec|re|realtor|recipes|red|rehab|reise|reisen|reit|ren|rentals|repair|report|republican|rest|restaurant|reviews|rich|rio|rip|ro|rocks|rodeo|rs|rsvp|ru|ruhr|rw|ryukyu|sa|saarland|sarl|sb|sc|sca|scb|schmidt|schule|science|scot|sd|se|services|sexy|sg|sh|shiksha|shoes|si|singles|sj|sk|sl|sm|sn|so|social|software|sohu|solar|solutions|soy|space|spiegel|sr|st|su|supplies|supply|support|surf|surgery|suzuki|sv|sx|sy|sydney|systems|sz|taipei|tatar|tattoo|tax|tc|td|technology|tel|tf|tg|th|tienda|tips|tirol|tj|tk|tl|tm|tn|to|today|tokyo|tools|top|town|toys|tp|tr|trade|training|travel|trust|tt|tui|tv|tw|tz|ua|ug|uk|university|uno|uol|us|uy|uz|va|vacations|vc|ve|vegas|ventures|versicherung|vet|vg|vi|viajes|villas|vision|vlaanderen|vn|vodka|vote|voting|voto|voyage|vu|wales|wang|watch|webcam|website|wed|wedding|wf|whoswho|wien|wiki|williamhill|wme|work|works|world|ws|wtc|wtf|xxx|xyz|yachts|yandex|ye|yoga|yokohama|youtube|yt|za|zip|zm|zone|zw'.split('|'); // macro, see gulpfile.js
var tlds = 'aaa|aarp|abb|abbott|abogado|ac|academy|accenture|accountant|accountants|aco|active|actor|ad|adac|ads|adult|ae|aeg|aero|af|afl|ag|agency|ai|aig|airforce|airtel|al|alibaba|alipay|allfinanz|alsace|am|amica|amsterdam|an|analytics|android|ao|apartments|app|apple|aq|aquarelle|ar|aramco|archi|army|arpa|arte|as|asia|associates|at|attorney|au|auction|audi|audio|author|auto|autos|avianca|aw|ax|axa|az|azure|ba|baidu|band|bank|bar|barcelona|barclaycard|barclays|bargains|bauhaus|bayern|bb|bbc|bbva|bcg|bcn|bd|be|beats|beer|bentley|berlin|best|bet|bf|bg|bh|bharti|bi|bible|bid|bike|bing|bingo|bio|biz|bj|black|blackfriday|bloomberg|blue|bm|bms|bmw|bn|bnl|bnpparibas|bo|boats|boehringer|bom|bond|boo|book|boots|bosch|bostik|bot|boutique|br|bradesco|bridgestone|broadway|broker|brother|brussels|bs|bt|budapest|bugatti|build|builders|business|buy|buzz|bv|bw|by|bz|bzh|ca|cab|cafe|cal|call|camera|camp|cancerresearch|canon|capetown|capital|car|caravan|cards|care|career|careers|cars|cartier|casa|cash|casino|cat|catering|cba|cbn|cc|cd|ceb|center|ceo|cern|cf|cfa|cfd|cg|ch|chanel|channel|chase|chat|cheap|chloe|christmas|chrome|church|ci|cipriani|circle|cisco|citic|city|cityeats|ck|cl|claims|cleaning|click|clinic|clinique|clothing|cloud|club|clubmed|cm|cn|co|coach|codes|coffee|college|cologne|com|commbank|community|company|compare|computer|comsec|condos|construction|consulting|contact|contractors|cooking|cool|coop|corsica|country|coupon|coupons|courses|cr|credit|creditcard|creditunion|cricket|crown|crs|cruises|csc|cu|cuisinella|cv|cw|cx|cy|cymru|cyou|cz|dabur|dad|dance|date|dating|datsun|day|dclk|de|dealer|deals|degree|delivery|dell|deloitte|delta|democrat|dental|dentist|desi|design|dev|diamonds|diet|digital|direct|directory|discount|dj|dk|dm|dnp|do|docs|dog|doha|domains|download|drive|dubai|durban|dvag|dz|earth|eat|ec|edeka|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|epson|equipment|er|erni|es|esq|estate|et|eu|eurovision|eus|events|everbank|exchange|expert|exposed|express|fage|fail|fairwinds|faith|family|fan|fans|farm|fashion|fast|feedback|ferrero|fi|film|final|finance|financial|firestone|firmdale|fish|fishing|fit|fitness|fj|fk|flickr|flights|florist|flowers|flsmidth|fly|fm|fo|foo|football|ford|forex|forsale|forum|foundation|fox|fr|fresenius|frl|frogans|frontier|fund|furniture|futbol|fyi|ga|gal|gallery|gallup|game|garden|gb|gbiz|gd|gdn|ge|gea|gent|genting|gf|gg|ggee|gh|gi|gift|gifts|gives|giving|gl|glass|gle|global|globo|gm|gmail|gmbh|gmo|gmx|gn|gold|goldpoint|golf|goo|goog|google|gop|got|gov|gp|gq|gr|grainger|graphics|gratis|green|gripe|group|gs|gt|gu|gucci|guge|guide|guitars|guru|gw|gy|hamburg|hangout|haus|hdfcbank|health|healthcare|help|helsinki|here|hermes|hiphop|hitachi|hiv|hk|hm|hn|hockey|holdings|holiday|homedepot|homes|honda|horse|host|hosting|hoteles|hotmail|house|how|hr|hsbc|ht|hu|hyundai|ibm|icbc|ice|icu|id|ie|ifm|iinet|il|im|immo|immobilien|in|industries|infiniti|info|ing|ink|institute|insurance|insure|int|international|investments|io|ipiranga|iq|ir|irish|is|iselect|ist|istanbul|it|itau|iwc|jaguar|java|jcb|je|jetzt|jewelry|jlc|jll|jm|jmp|jo|jobs|joburg|jot|joy|jp|jpmorgan|jprs|juegos|kaufen|kddi|ke|kerryhotels|kerrylogistics|kerryproperties|kfh|kg|kh|ki|kia|kim|kinder|kitchen|kiwi|km|kn|koeln|komatsu|kp|kpn|kr|krd|kred|kuokgroup|kw|ky|kyoto|kz|la|lacaixa|lamborghini|lamer|lancaster|land|landrover|lanxess|lasalle|lat|latrobe|law|lawyer|lb|lc|lds|lease|leclerc|legal|lexus|lgbt|li|liaison|lidl|life|lifeinsurance|lifestyle|lighting|like|limited|limo|lincoln|linde|link|live|living|lixil|lk|loan|loans|local|locus|lol|london|lotte|lotto|love|lr|ls|lt|ltd|ltda|lu|lupin|luxe|luxury|lv|ly|ma|madrid|maif|maison|makeup|man|management|mango|market|marketing|markets|marriott|mba|mc|md|me|med|media|meet|melbourne|meme|memorial|men|menu|meo|mg|mh|miami|microsoft|mil|mini|mk|ml|mm|mma|mn|mo|mobi|mobily|moda|moe|moi|mom|monash|money|montblanc|mormon|mortgage|moscow|motorcycles|mov|movie|movistar|mp|mq|mr|ms|mt|mtn|mtpc|mtr|mu|museum|mutuelle|mv|mw|mx|my|mz|na|nadex|nagoya|name|natura|navy|nc|ne|nec|net|netbank|network|neustar|new|news|nexus|nf|ng|ngo|nhk|ni|nico|nikon|ninja|nissan|nl|no|nokia|norton|nowruz|np|nr|nra|nrw|ntt|nu|nyc|nz|obi|office|okinawa|om|omega|one|ong|onl|online|ooo|oracle|orange|org|organic|origins|osaka|otsuka|ovh|pa|page|pamperedchef|panerai|paris|pars|partners|parts|party|passagens|pe|pet|pf|pg|ph|pharmacy|philips|photo|photography|photos|physio|piaget|pics|pictet|pictures|pid|pin|ping|pink|pizza|pk|pl|place|play|playstation|plumbing|plus|pm|pn|pohl|poker|porn|post|pr|praxi|press|pro|prod|productions|prof|promo|properties|property|protection|ps|pt|pub|pw|pwc|py|qa|qpon|quebec|quest|racing|re|read|realtor|realty|recipes|red|redstone|redumbrella|rehab|reise|reisen|reit|ren|rent|rentals|repair|report|republican|rest|restaurant|review|reviews|rexroth|rich|ricoh|rio|rip|ro|rocher|rocks|rodeo|room|rs|rsvp|ru|ruhr|run|rw|rwe|ryukyu|sa|saarland|safe|safety|sakura|sale|salon|samsung|sandvik|sandvikcoromant|sanofi|sap|sapo|sarl|sas|saxo|sb|sbs|sc|sca|scb|schaeffler|schmidt|scholarships|school|schule|schwarz|science|scor|scot|sd|se|seat|security|seek|select|sener|services|seven|sew|sex|sexy|sfr|sg|sh|sharp|shell|shia|shiksha|shoes|show|shriram|si|singles|site|sj|sk|ski|skin|sky|skype|sl|sm|smile|sn|sncf|so|soccer|social|softbank|software|sohu|solar|solutions|song|sony|soy|space|spiegel|spot|spreadbetting|sr|srl|st|stada|star|starhub|statefarm|statoil|stc|stcgroup|stockholm|storage|store|studio|study|style|su|sucks|supplies|supply|support|surf|surgery|suzuki|sv|swatch|swiss|sx|sy|sydney|symantec|systems|sz|tab|taipei|taobao|tatamotors|tatar|tattoo|tax|taxi|tc|tci|td|team|tech|technology|tel|telecity|telefonica|temasek|tennis|tf|tg|th|thd|theater|theatre|tickets|tienda|tiffany|tips|tires|tirol|tj|tk|tl|tm|tmall|tn|to|today|tokyo|tools|top|toray|toshiba|total|tours|town|toyota|toys|tp|tr|trade|trading|training|travel|travelers|travelersinsurance|trust|trv|tt|tube|tui|tunes|tushu|tv|tvs|tw|tz|ua|ubs|ug|uk|unicom|university|uno|uol|us|uy|uz|va|vacations|vana|vc|ve|vegas|ventures|verisign|versicherung|vet|vg|vi|viajes|video|viking|villas|vin|vip|virgin|vision|vista|vistaprint|viva|vlaanderen|vn|vodka|volkswagen|vote|voting|voto|voyage|vu|vuelos|wales|walter|wang|wanggou|watch|watches|weather|weatherchannel|webcam|weber|website|wed|wedding|weir|wf|whoswho|wien|wiki|williamhill|win|windows|wine|wme|wolterskluwer|work|works|world|ws|wtc|wtf|xbox|xerox|xin|xperia|xxx|xyz|yachts|yahoo|yamaxun|yandex|ye|yodobashi|yoga|yokohama|youtube|yt|za|zara|zero|zip|zm|zone|zuerich|zw'.split('|'); // macro, see gulpfile.js

@@ -22,0 +22,0 @@ var REGEXP_NUM = /[0-9]/,

@@ -1,11 +0,15 @@

"use strict";
'use strict';
exports.__esModule = true;
exports.stateify = exports.TokenState = exports.CharacterState = undefined;
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
var _class = require('../utils/class');
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
function createStateClass() {
return function (tClass) {
this.j = [];
this.T = tClass || null;
};
}
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
/**

@@ -30,5 +34,4 @@ A simple state machine that can emit token classes

*/
var BaseState = function () {
var BaseState = createStateClass();
BaseState.prototype = {
/**

@@ -40,9 +43,2 @@ @method constructor

function BaseState(tClass) {
_classCallCheck(this, BaseState);
this.j = [];
this.T = tClass || null;
}
/**

@@ -57,4 +53,3 @@ On the given symbol(s), this machine should go to the given state

BaseState.prototype.on = function on(symbol, state) {
on: function on(symbol, state) {
if (symbol instanceof Array) {

@@ -68,4 +63,5 @@ for (var i = 0; i < symbol.length; i++) {

return this;
};
},
/**

@@ -78,6 +74,4 @@ Given the next item, returns next state for that item

*/
next: function next(item) {
BaseState.prototype.next = function next(item) {
for (var i = 0; i < this.j.length; i++) {

@@ -96,4 +90,5 @@

return false;
};
},
/**

@@ -105,8 +100,7 @@ Does this state accept?

*/
accepts: function accepts() {
return !!this.T;
},
BaseState.prototype.accepts = function accepts() {
return !!this.T;
};
/**

@@ -121,8 +115,7 @@ Determine whether a given item "symbolizes" the symbol, where symbol is

*/
test: function test(item, symbol) {
return item === symbol;
},
BaseState.prototype.test = function test(item, symbol) {
return item === symbol;
};
/**

@@ -134,11 +127,7 @@ Emit the token for this State (just return it in this case)

*/
BaseState.prototype.emit = function emit() {
emit: function emit() {
return this.T;
};
}
};
return BaseState;
}();
/**

@@ -150,13 +139,3 @@ State machine for string-based input

*/
var CharacterState = function (_BaseState) {
_inherits(CharacterState, _BaseState);
function CharacterState() {
_classCallCheck(this, CharacterState);
return _possibleConstructorReturn(this, _BaseState.apply(this, arguments));
}
var CharacterState = (0, _class.inherits)(BaseState, createStateClass(), {
/**

@@ -171,9 +150,7 @@ Does the given character match the given character or regular

CharacterState.prototype.test = function test(character, charOrRegExp) {
test: function test(character, charOrRegExp) {
return character === charOrRegExp || charOrRegExp instanceof RegExp && charOrRegExp.test(character);
};
}
});
return CharacterState;
}(BaseState);
/**

@@ -185,13 +162,4 @@ State machine for input in the form of TextTokens

*/
var TokenState = (0, _class.inherits)(BaseState, createStateClass(), {
var TokenState = function (_BaseState2) {
_inherits(TokenState, _BaseState2);
function TokenState() {
_classCallCheck(this, TokenState);
return _possibleConstructorReturn(this, _BaseState2.apply(this, arguments));
}
/**

@@ -205,9 +173,7 @@ Is the given token an instance of the given token class?

TokenState.prototype.test = function test(token, tokenClass) {
test: function test(token, tokenClass) {
return token instanceof tokenClass;
};
}
});
return TokenState;
}(BaseState);
/**

@@ -233,4 +199,2 @@ Given a non-empty target string, generates states (if required) for each

*/
function stateify(str, start, endToken, defaultToken) {

@@ -237,0 +201,0 @@

'use strict';
exports.__esModule = true;
exports.multi = exports.text = undefined;
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
var _class = require('../utils/class');
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
function createTokenClass() {
return function (value) {
if (value) {
this.v = value;
}
};
}
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
/******************************************************************************

@@ -24,27 +29,15 @@ Text Tokens

var TextToken = function () {
/**
@method constructor
@param {String} value The string of characters representing this particular Token
*/
var TextToken = createTokenClass();
function TextToken(value) {
_classCallCheck(this, TextToken);
this.v = value;
TextToken.prototype = {
toString: function toString() {
return this.v + '';
}
};
/**
String representing the type for this token
@property type
@default 'TOKEN'
*/
function inheritsToken(value) {
var props = value ? { v: value } : {};
return (0, _class.inherits)(TextToken, createTokenClass(), props);
}
TextToken.prototype.toString = function toString() {
return this.v + '';
};
return TextToken;
}();
/**

@@ -55,16 +48,4 @@ A valid domain token

*/
var DOMAIN = inheritsToken();
var DOMAIN = function (_TextToken) {
_inherits(DOMAIN, _TextToken);
function DOMAIN() {
_classCallCheck(this, DOMAIN);
return _possibleConstructorReturn(this, _TextToken.apply(this, arguments));
}
return DOMAIN;
}(TextToken);
/**

@@ -74,16 +55,4 @@ @class AT

*/
var AT = inheritsToken('@');
var AT = function (_TextToken2) {
_inherits(AT, _TextToken2);
function AT() {
_classCallCheck(this, AT);
return _possibleConstructorReturn(this, _TextToken2.call(this, '@'));
}
return AT;
}(TextToken);
/**

@@ -95,16 +64,4 @@ Represents a single colon `:` character

*/
var COLON = inheritsToken(':');
var COLON = function (_TextToken3) {
_inherits(COLON, _TextToken3);
function COLON() {
_classCallCheck(this, COLON);
return _possibleConstructorReturn(this, _TextToken3.call(this, ':'));
}
return COLON;
}(TextToken);
/**

@@ -114,16 +71,4 @@ @class DOT

*/
var DOT = inheritsToken('.');
var DOT = function (_TextToken4) {
_inherits(DOT, _TextToken4);
function DOT() {
_classCallCheck(this, DOT);
return _possibleConstructorReturn(this, _TextToken4.call(this, '.'));
}
return DOT;
}(TextToken);
/**

@@ -136,16 +81,4 @@ A character class that can surround the URL, but which the URL cannot begin

*/
var PUNCTUATION = inheritsToken();
var PUNCTUATION = function (_TextToken5) {
_inherits(PUNCTUATION, _TextToken5);
function PUNCTUATION() {
_classCallCheck(this, PUNCTUATION);
return _possibleConstructorReturn(this, _TextToken5.apply(this, arguments));
}
return PUNCTUATION;
}(TextToken);
/**

@@ -156,16 +89,4 @@ The word localhost (by itself)

*/
var LOCALHOST = inheritsToken();
var LOCALHOST = function (_TextToken6) {
_inherits(LOCALHOST, _TextToken6);
function LOCALHOST() {
_classCallCheck(this, LOCALHOST);
return _possibleConstructorReturn(this, _TextToken6.apply(this, arguments));
}
return LOCALHOST;
}(TextToken);
/**

@@ -176,16 +97,4 @@ Newline token

*/
var TNL = inheritsToken('\n');
var TNL = function (_TextToken7) {
_inherits(TNL, _TextToken7);
function TNL() {
_classCallCheck(this, TNL);
return _possibleConstructorReturn(this, _TextToken7.call(this, '\n'));
}
return TNL;
}(TextToken);
/**

@@ -195,16 +104,4 @@ @class NUM

*/
var NUM = inheritsToken();
var NUM = function (_TextToken8) {
_inherits(NUM, _TextToken8);
function NUM() {
_classCallCheck(this, NUM);
return _possibleConstructorReturn(this, _TextToken8.apply(this, arguments));
}
return NUM;
}(TextToken);
/**

@@ -214,16 +111,4 @@ @class PLUS

*/
var PLUS = inheritsToken('+');
var PLUS = function (_TextToken9) {
_inherits(PLUS, _TextToken9);
function PLUS() {
_classCallCheck(this, PLUS);
return _possibleConstructorReturn(this, _TextToken9.call(this, '+'));
}
return PLUS;
}(TextToken);
/**

@@ -233,16 +118,4 @@ @class POUND

*/
var POUND = inheritsToken('#');
var POUND = function (_TextToken10) {
_inherits(POUND, _TextToken10);
function POUND() {
_classCallCheck(this, POUND);
return _possibleConstructorReturn(this, _TextToken10.call(this, '#'));
}
return POUND;
}(TextToken);
/**

@@ -260,16 +133,4 @@ Represents a web URL protocol. Supported types include

*/
var PROTOCOL = inheritsToken();
var PROTOCOL = function (_TextToken11) {
_inherits(PROTOCOL, _TextToken11);
function PROTOCOL() {
_classCallCheck(this, PROTOCOL);
return _possibleConstructorReturn(this, _TextToken11.apply(this, arguments));
}
return PROTOCOL;
}(TextToken);
/**

@@ -279,16 +140,4 @@ @class QUERY

*/
var QUERY = inheritsToken('?');
var QUERY = function (_TextToken12) {
_inherits(QUERY, _TextToken12);
function QUERY() {
_classCallCheck(this, QUERY);
return _possibleConstructorReturn(this, _TextToken12.call(this, '?'));
}
return QUERY;
}(TextToken);
/**

@@ -298,16 +147,4 @@ @class SLASH

*/
var SLASH = inheritsToken('/');
var SLASH = function (_TextToken13) {
_inherits(SLASH, _TextToken13);
function SLASH() {
_classCallCheck(this, SLASH);
return _possibleConstructorReturn(this, _TextToken13.call(this, '/'));
}
return SLASH;
}(TextToken);
/**

@@ -318,16 +155,4 @@ One ore more non-whitespace symbol.

*/
var SYM = inheritsToken();
var SYM = function (_TextToken14) {
_inherits(SYM, _TextToken14);
function SYM() {
_classCallCheck(this, SYM);
return _possibleConstructorReturn(this, _TextToken14.apply(this, arguments));
}
return SYM;
}(TextToken);
/**

@@ -337,16 +162,4 @@ @class TLD

*/
var TLD = inheritsToken();
var TLD = function (_TextToken15) {
_inherits(TLD, _TextToken15);
function TLD() {
_classCallCheck(this, TLD);
return _possibleConstructorReturn(this, _TextToken15.apply(this, arguments));
}
return TLD;
}(TextToken);
/**

@@ -358,16 +171,4 @@ Represents a string of consecutive whitespace characters

*/
var WS = inheritsToken();
var WS = function (_TextToken16) {
_inherits(WS, _TextToken16);
function WS() {
_classCallCheck(this, WS);
return _possibleConstructorReturn(this, _TextToken16.apply(this, arguments));
}
return WS;
}(TextToken);
/**

@@ -377,74 +178,9 @@ Opening/closing bracket classes

var OPENBRACE = function (_TextToken17) {
_inherits(OPENBRACE, _TextToken17);
var OPENBRACE = inheritsToken('{');
var OPENBRACKET = inheritsToken('[');
var OPENPAREN = inheritsToken('(');
var CLOSEBRACE = inheritsToken('}');
var CLOSEBRACKET = inheritsToken(']');
var CLOSEPAREN = inheritsToken(')');
function OPENBRACE() {
_classCallCheck(this, OPENBRACE);
return _possibleConstructorReturn(this, _TextToken17.call(this, '{'));
}
return OPENBRACE;
}(TextToken);
var OPENBRACKET = function (_TextToken18) {
_inherits(OPENBRACKET, _TextToken18);
function OPENBRACKET() {
_classCallCheck(this, OPENBRACKET);
return _possibleConstructorReturn(this, _TextToken18.call(this, '['));
}
return OPENBRACKET;
}(TextToken);
var OPENPAREN = function (_TextToken19) {
_inherits(OPENPAREN, _TextToken19);
function OPENPAREN() {
_classCallCheck(this, OPENPAREN);
return _possibleConstructorReturn(this, _TextToken19.call(this, '('));
}
return OPENPAREN;
}(TextToken);
var CLOSEBRACE = function (_TextToken20) {
_inherits(CLOSEBRACE, _TextToken20);
function CLOSEBRACE() {
_classCallCheck(this, CLOSEBRACE);
return _possibleConstructorReturn(this, _TextToken20.call(this, '}'));
}
return CLOSEBRACE;
}(TextToken);
var CLOSEBRACKET = function (_TextToken21) {
_inherits(CLOSEBRACKET, _TextToken21);
function CLOSEBRACKET() {
_classCallCheck(this, CLOSEBRACKET);
return _possibleConstructorReturn(this, _TextToken21.call(this, ']'));
}
return CLOSEBRACKET;
}(TextToken);
var CLOSEPAREN = function (_TextToken22) {
_inherits(CLOSEPAREN, _TextToken22);
function CLOSEPAREN() {
_classCallCheck(this, CLOSEPAREN);
return _possibleConstructorReturn(this, _TextToken22.call(this, ')'));
}
return CLOSEPAREN;
}(TextToken);
var text = {

@@ -498,30 +234,19 @@ Base: TextToken,

*/
var MultiToken = createTokenClass();
var MultiToken = function () {
MultiToken.prototype = {
/**
@method constructor
@param {Array} value The array of `TextToken`s representing this
particular MultiToken
String representing the type for this token
@property type
@default 'TOKEN'
*/
type: 'token',
function MultiToken(value) {
_classCallCheck(this, MultiToken);
/**
Is this multitoken a link?
@property isLink
@default false
*/
isLink: false,
this.v = value;
/**
String representing the type for this token
@property type
@default 'TOKEN'
*/
this.type = 'token';
/**
Is this multitoken a link?
@property isLink
@default false
*/
this.isLink = false;
}
/**

@@ -532,5 +257,3 @@ Return the string this token represents.

*/
MultiToken.prototype.toString = function toString() {
toString: function toString() {
var result = [];

@@ -541,4 +264,5 @@ for (var i = 0; i < this.v.length; i++) {

return result.join('');
};
},
/**

@@ -550,8 +274,7 @@ What should the value for this token be in the `href` HTML attribute?

*/
toHref: function toHref() {
return this.toString();
},
MultiToken.prototype.toHref = function toHref() {
return this.toString();
};
/**

@@ -567,5 +290,3 @@ Returns a hash of relevant values for this token, which includes keys

*/
MultiToken.prototype.toObject = function toObject() {
toObject: function toObject() {
var protocol = arguments.length <= 0 || arguments[0] === undefined ? 'http' : arguments[0];

@@ -578,7 +299,5 @@

};
};
}
};
return MultiToken;
}();
/**

@@ -589,24 +308,10 @@ Represents a list of tokens making up a valid email address

*/
var EMAIL = function (_MultiToken) {
_inherits(EMAIL, _MultiToken);
function EMAIL(value) {
_classCallCheck(this, EMAIL);
var _this23 = _possibleConstructorReturn(this, _MultiToken.call(this, value));
_this23.type = 'email';
_this23.isLink = true;
return _this23;
var EMAIL = (0, _class.inherits)(MultiToken, createTokenClass(), {
type: 'email',
isLink: true,
toHref: function toHref() {
return 'mailto:' + this.toString();
}
});
EMAIL.prototype.toHref = function toHref() {
return 'mailto:' + this.toString();
};
return EMAIL;
}(MultiToken);
/**

@@ -617,19 +322,4 @@ Represents some plain text

*/
var TEXT = (0, _class.inherits)(MultiToken, createTokenClass(), { type: 'text' });
var TEXT = function (_MultiToken2) {
_inherits(TEXT, _MultiToken2);
function TEXT(value) {
_classCallCheck(this, TEXT);
var _this24 = _possibleConstructorReturn(this, _MultiToken2.call(this, value));
_this24.type = 'text';
return _this24;
}
return TEXT;
}(MultiToken);
/**

@@ -640,19 +330,4 @@ Multi-linebreak token - represents a line break

*/
var MNL = (0, _class.inherits)(MultiToken, createTokenClass(), { type: 'nl' });
var MNL = function (_MultiToken3) {
_inherits(MNL, _MultiToken3);
function MNL(value) {
_classCallCheck(this, MNL);
var _this25 = _possibleConstructorReturn(this, _MultiToken3.call(this, value));
_this25.type = 'nl';
return _this25;
}
return MNL;
}(MultiToken);
/**

@@ -663,17 +338,6 @@ Represents a list of tokens making up a valid URL

*/
var URL = (0, _class.inherits)(MultiToken, createTokenClass(), {
type: 'url',
isLink: true,
var URL = function (_MultiToken4) {
_inherits(URL, _MultiToken4);
function URL(value) {
_classCallCheck(this, URL);
var _this26 = _possibleConstructorReturn(this, _MultiToken4.call(this, value));
_this26.type = 'url';
_this26.isLink = true;
return _this26;
}
/**

@@ -687,5 +351,3 @@ Lowercases relevant parts of the domain and adds the protocol if

*/
URL.prototype.toHref = function toHref() {
toHref: function toHref() {
var protocol = arguments.length <= 0 || arguments[0] === undefined ? 'http' : arguments[0];

@@ -732,11 +394,8 @@

return result;
};
URL.prototype.hasProtocol = function hasProtocol() {
},
hasProtocol: function hasProtocol() {
return this.v[0] instanceof PROTOCOL;
};
}
});
return URL;
}(MultiToken);
var multi = {

@@ -743,0 +402,0 @@ Base: MultiToken,

@@ -5,9 +5,2 @@ 'use strict';

exports.default = hashtag;
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
/**

@@ -26,18 +19,11 @@ Quick Hashtag parser plugin for linkify

var HASHTAG = function (_MultiToken) {
_inherits(HASHTAG, _MultiToken);
function HASHTAG(value) {
this.v = value;
}
function HASHTAG(value) {
_classCallCheck(this, HASHTAG);
linkify.inherits(MultiToken, HASHTAG, {
type: 'hashtag',
isLink: true
});
var _this = _possibleConstructorReturn(this, _MultiToken.call(this, value));
_this.type = 'hashtag';
_this.isLink = true;
return _this;
}
return HASHTAG;
}(MultiToken);
S_HASH = new linkify.parser.State();

@@ -44,0 +30,0 @@ S_HASHTAG = new linkify.parser.State(HASHTAG);

{
"name": "linkifyjs",
"version": "2.0.3",
"version": "2.0.4",
"description": "Intelligent link recognition, made easy",

@@ -32,3 +32,3 @@ "repository": {

"amd-optimize": "^0.6.1",
"babel-plugin-add-module-exports": "^0.1.3",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-transform-es2015-modules-amd": "^6.6.5",

@@ -43,3 +43,3 @@ "babel-preset-es2015": "^6.6.0",

"gulp-concat": "^2.6.0",
"gulp-istanbul": "^0.10.2",
"gulp-istanbul": "^1.0.0",
"gulp-jshint": "^2.0.0",

@@ -51,12 +51,12 @@ "gulp-mocha": "^2.1.3",

"gulp-util": "^3.0.7",
"gulp-wrap": "^0.11.0",
"jsdom": "^8.4.0",
"gulp-wrap": "^0.13.0",
"jsdom": "^9.3.0",
"jshint": "^2.9.1",
"jshint-stylish": "^2.0.1",
"karma": "^0.13.15",
"karma-chrome-launcher": "^0.2.1",
"karma-firefox-launcher": "^0.1.6",
"karma": "^1.1.0",
"karma-chrome-launcher": "^1.0.1",
"karma-firefox-launcher": "^1.0.0",
"karma-phantomjs-launcher": "^1.0.0",
"karma-qunit": "^1.0.0",
"karma-sauce-launcher": "^0.3.0",
"karma-sauce-launcher": "^1.0.0",
"lazypipe": "^1.0.1",

@@ -67,5 +67,5 @@ "lodash": "^4.11.1",

"phantomjs-prebuilt": "^2.1.7",
"qunitjs": ">=1.23.1",
"qunitjs": "^1.14.0",
"requirejs": "^2.1.22",
"rollup": "^0.26.0",
"rollup": "^0.33.0",
"run-sequence": "^1.1.5",

@@ -72,0 +72,0 @@ "simple-html-tokenizer": "git+https://github.com/nfrasser/simple-html-tokenizer.git#master",

@@ -6,5 +6,6 @@ # Linkify

[![Build Status](https://travis-ci.org/SoapBox/linkifyjs.svg)](https://travis-ci.org/SoapBox/linkifyjs)
[![Build Status](https://saucelabs.com/open_sauce/build_status/nfrasser.svg)](https://saucelabs.com/beta/builds/c63720f642964f77927b2fda198b4a94)
[![Coverage Status](https://coveralls.io/repos/SoapBox/linkifyjs/badge.svg?branch=master)](https://coveralls.io/r/SoapBox/linkifyjs?branch=master)
[![Sauce Test Status](https://saucelabs.com/browser-matrix/nfrasser.svg)](https://saucelabs.com/u/nfrasser)
[![Build Status](https://saucelabs.com/open_sauce/build_matrix/nfrasser.svg)](https://saucelabs.com/beta/builds/c63720f642964f77927b2fda198b4a94)

@@ -11,0 +12,0 @@ Linkify is a small yet comprehensive JavaScript plugin for finding URLs in plain-text and converting them to HTML links. It works with all valid URLs and email addresses.

// To be updated with the values in this list
// http://data.iana.org/TLD/tlds-alpha-by-domain.txt
// Updated 20160318
module.exports = [
'aaa',
'aarp',
'abb',
'abbott',
'abogado',
'ac',
'academy',
'accenture',
'accountant',
'accountants',
'aco',
'active',
'actor',
'ad',
'adac',
'ads',
'adult',
'ae',
'aeg',
'aero',
'af',
'afl',
'ag',
'agency',
'ai',
'aig',
'airforce',
'airtel',
'al',
'alibaba',
'alipay',
'allfinanz',
'alsace',
'am',
'amica',
'amsterdam',
'an',
'analytics',
'android',
'ao',
'apartments',
'app',
'apple',
'aq',
'aquarelle',
'ar',
'aramco',
'archi',
'army',
'arpa',
'arte',
'as',

@@ -39,4 +63,8 @@ 'asia',

'auction',
'audi',
'audio',
'author',
'auto',
'autos',
'avianca',
'aw',

@@ -46,19 +74,37 @@ 'ax',

'az',
'azure',
'ba',
'baidu',
'band',
'bank',
'bar',
'barcelona',
'barclaycard',
'barclays',
'bargains',
'bauhaus',
'bayern',
'bb',
'bbc',
'bbva',
'bcg',
'bcn',
'bd',
'be',
'beats',
'beer',
'bentley',
'berlin',
'best',
'bet',
'bf',
'bg',
'bh',
'bharti',
'bi',
'bible',
'bid',
'bike',
'bing',
'bingo',
'bio',

@@ -72,9 +118,25 @@ 'biz',

'bm',
'bms',
'bmw',
'bn',
'bnl',
'bnpparibas',
'bo',
'boats',
'boehringer',
'bom',
'bond',
'boo',
'book',
'boots',
'bosch',
'bostik',
'bot',
'boutique',
'br',
'bradesco',
'bridgestone',
'broadway',
'broker',
'brother',
'brussels',

@@ -84,5 +146,7 @@ 'bs',

'budapest',
'bugatti',
'build',
'builders',
'business',
'buy',
'buzz',

@@ -96,8 +160,12 @@ 'bv',

'cab',
'cafe',
'cal',
'call',
'camera',
'camp',
'cancerresearch',
'canon',
'capetown',
'capital',
'car',
'caravan',

@@ -108,8 +176,14 @@ 'cards',

'careers',
'cars',
'cartier',
'casa',
'cash',
'casino',
'cat',
'catering',
'cba',
'cbn',
'cc',
'cd',
'ceb',
'center',

@@ -119,6 +193,12 @@ 'ceo',

'cf',
'cfa',
'cfd',
'cg',
'ch',
'chanel',
'channel',
'chase',
'chat',
'cheap',
'chloe',
'christmas',

@@ -128,4 +208,8 @@ 'chrome',

'ci',
'cipriani',
'circle',
'cisco',
'citic',
'city',
'cityeats',
'ck',

@@ -137,4 +221,7 @@ 'cl',

'clinic',
'clinique',
'clothing',
'cloud',
'club',
'clubmed',
'cm',

@@ -149,8 +236,12 @@ 'cn',

'com',
'commbank',
'community',
'company',
'compare',
'computer',
'comsec',
'condos',
'construction',
'consulting',
'contact',
'contractors',

@@ -160,9 +251,16 @@ 'cooking',

'coop',
'corsica',
'country',
'coupon',
'coupons',
'courses',
'cr',
'credit',
'creditcard',
'creditunion',
'cricket',
'crown',
'crs',
'cruises',
'csc',
'cu',

@@ -175,11 +273,20 @@ 'cuisinella',

'cymru',
'cyou',
'cz',
'dabur',
'dad',
'dance',
'date',
'dating',
'datsun',
'day',
'dclk',
'de',
'dealer',
'deals',
'degree',
'delivery',
'dell',
'deloitte',
'delta',
'democrat',

@@ -189,2 +296,4 @@ 'dental',

'desi',
'design',
'dev',
'diamonds',

@@ -201,8 +310,16 @@ 'diet',

'do',
'docs',
'dog',
'doha',
'domains',
'download',
'drive',
'dubai',
'durban',
'dvag',
'dz',
'earth',
'eat',
'ec',
'edeka',
'edu',

@@ -218,4 +335,6 @@ 'education',

'enterprises',
'epson',
'equipment',
'er',
'erni',
'es',

@@ -233,17 +352,32 @@ 'esq',

'exposed',
'express',
'fage',
'fail',
'fairwinds',
'faith',
'family',
'fan',
'fans',
'farm',
'fashion',
'fast',
'feedback',
'ferrero',
'fi',
'film',
'final',
'finance',
'financial',
'firestone',
'firmdale',
'fish',
'fishing',
'fit',
'fitness',
'fj',
'fk',
'flickr',
'flights',
'florist',
'flowers',
'flsmidth',

@@ -254,20 +388,35 @@ 'fly',

'foo',
'football',
'ford',
'forex',
'forsale',
'forum',
'foundation',
'fox',
'fr',
'fresenius',
'frl',
'frogans',
'frontier',
'fund',
'furniture',
'futbol',
'fyi',
'ga',
'gal',
'gallery',
'gallup',
'game',
'garden',
'gb',
'gbiz',
'gd',
'gdn',
'ge',
'gea',
'gent',
'genting',
'gf',
'gg',
'ggee',
'gh',

@@ -278,2 +427,3 @@ 'gi',

'gives',
'giving',
'gl',

@@ -286,7 +436,14 @@ 'glass',

'gmail',
'gmbh',
'gmo',
'gmx',
'gn',
'gold',
'goldpoint',
'golf',
'goo',
'goog',
'google',
'gop',
'got',
'gov',

@@ -296,2 +453,3 @@ 'gp',

'gr',
'grainger',
'graphics',

@@ -301,5 +459,8 @@ 'gratis',

'gripe',
'group',
'gs',
'gt',
'gu',
'gucci',
'guge',
'guide',

@@ -311,7 +472,13 @@ 'guitars',

'hamburg',
'hangout',
'haus',
'hdfcbank',
'health',
'healthcare',
'help',
'helsinki',
'here',
'hermes',
'hiphop',
'hitachi',
'hiv',

@@ -321,16 +488,28 @@ 'hk',

'hn',
'hockey',
'holdings',
'holiday',
'homedepot',
'homes',
'honda',
'horse',
'host',
'hosting',
'hoteles',
'hotmail',
'house',
'how',
'hr',
'hsbc',
'ht',
'hu',
'hyundai',
'ibm',
'icbc',
'ice',
'icu',
'id',
'ie',
'ifm',
'iinet',
'il',

@@ -342,2 +521,3 @@ 'im',

'industries',
'infiniti',
'info',

@@ -347,2 +527,3 @@ 'ing',

'institute',
'insurance',
'insure',

@@ -353,2 +534,3 @@ 'int',

'io',
'ipiranga',
'iq',

@@ -358,17 +540,40 @@ 'ir',

'is',
'iselect',
'ist',
'istanbul',
'it',
'itau',
'iwc',
'jaguar',
'java',
'jcb',
'je',
'jetzt',
'jewelry',
'jlc',
'jll',
'jm',
'jmp',
'jo',
'jobs',
'joburg',
'jot',
'joy',
'jp',
'jpmorgan',
'jprs',
'juegos',
'kaufen',
'kddi',
'ke',
'kerryhotels',
'kerrylogistics',
'kerryproperties',
'kfh',
'kg',
'kh',
'ki',
'kia',
'kim',
'kinder',
'kitchen',

@@ -379,13 +584,25 @@ 'kiwi',

'koeln',
'komatsu',
'kp',
'kpn',
'kr',
'krd',
'kred',
'kuokgroup',
'kw',
'ky',
'kyoto',
'kz',
'la',
'lacaixa',
'lamborghini',
'lamer',
'lancaster',
'land',
'landrover',
'lanxess',
'lasalle',
'lat',
'latrobe',
'law',
'lawyer',

@@ -396,20 +613,39 @@ 'lb',

'lease',
'leclerc',
'legal',
'lexus',
'lgbt',
'li',
'liaison',
'lidl',
'life',
'lifeinsurance',
'lifestyle',
'lighting',
'like',
'limited',
'limo',
'lincoln',
'linde',
'link',
'live',
'living',
'lixil',
'lk',
'loan',
'loans',
'local',
'locus',
'lol',
'london',
'lotte',
'lotto',
'love',
'lr',
'ls',
'lt',
'ltd',
'ltda',
'lu',
'lupin',
'luxe',

@@ -421,3 +657,6 @@ 'luxury',

'madrid',
'maif',
'maison',
'makeup',
'man',
'management',

@@ -427,5 +666,9 @@ 'mango',

'marketing',
'markets',
'marriott',
'mba',
'mc',
'md',
'me',
'med',
'media',

@@ -436,6 +679,9 @@ 'meet',

'memorial',
'men',
'menu',
'meo',
'mg',
'mh',
'miami',
'microsoft',
'mil',

@@ -446,9 +692,14 @@ 'mini',

'mm',
'mma',
'mn',
'mo',
'mobi',
'mobily',
'moda',
'moe',
'moi',
'mom',
'monash',
'money',
'montblanc',
'mormon',

@@ -459,2 +710,4 @@ 'mortgage',

'mov',
'movie',
'movistar',
'mp',

@@ -465,4 +718,8 @@ 'mq',

'mt',
'mtn',
'mtpc',
'mtr',
'mu',
'museum',
'mutuelle',
'mv',

@@ -474,11 +731,16 @@ 'mw',

'na',
'nadex',
'nagoya',
'name',
'natura',
'navy',
'nc',
'ne',
'nec',
'net',
'netbank',
'network',
'neustar',
'new',
'news',
'nexus',

@@ -490,5 +752,11 @@ 'nf',

'ni',
'nico',
'nikon',
'ninja',
'nissan',
'nl',
'no',
'nokia',
'norton',
'nowruz',
'np',

@@ -498,20 +766,36 @@ 'nr',

'nrw',
'ntt',
'nu',
'nyc',
'nz',
'obi',
'office',
'okinawa',
'om',
'omega',
'one',
'ong',
'onl',
'online',
'ooo',
'oracle',
'orange',
'org',
'organic',
'origins',
'osaka',
'otsuka',
'ovh',
'pa',
'page',
'pamperedchef',
'panerai',
'paris',
'pars',
'partners',
'parts',
'party',
'passagens',
'pe',
'pet',
'pf',

@@ -521,2 +805,3 @@ 'pg',

'pharmacy',
'philips',
'photo',

@@ -526,4 +811,9 @@ 'photography',

'physio',
'piaget',
'pics',
'pictet',
'pictures',
'pid',
'pin',
'ping',
'pink',

@@ -534,3 +824,6 @@ 'pizza',

'place',
'play',
'playstation',
'plumbing',
'plus',
'pm',

@@ -549,4 +842,6 @@ 'pn',

'prof',
'promo',
'properties',
'property',
'protection',
'ps',

@@ -556,2 +851,3 @@ 'pt',

'pw',
'pwc',
'py',

@@ -561,6 +857,12 @@ 'qa',

'quebec',
'quest',
'racing',
're',
'read',
'realtor',
'realty',
'recipes',
'red',
'redstone',
'redumbrella',
'rehab',

@@ -571,2 +873,3 @@ 'reise',

'ren',
'rent',
'rentals',

@@ -578,9 +881,14 @@ 'repair',

'restaurant',
'review',
'reviews',
'rexroth',
'rich',
'ricoh',
'rio',
'rip',
'ro',
'rocher',
'rocks',
'rodeo',
'room',
'rs',

@@ -590,32 +898,76 @@ 'rsvp',

'ruhr',
'run',
'rw',
'rwe',
'ryukyu',
'sa',
'saarland',
'safe',
'safety',
'sakura',
'sale',
'salon',
'samsung',
'sandvik',
'sandvikcoromant',
'sanofi',
'sap',
'sapo',
'sarl',
'sas',
'saxo',
'sb',
'sbs',
'sc',
'sca',
'scb',
'schaeffler',
'schmidt',
'scholarships',
'school',
'schule',
'schwarz',
'science',
'scor',
'scot',
'sd',
'se',
'seat',
'security',
'seek',
'select',
'sener',
'services',
'seven',
'sew',
'sex',
'sexy',
'sfr',
'sg',
'sh',
'sharp',
'shell',
'shia',
'shiksha',
'shoes',
'show',
'shriram',
'si',
'singles',
'site',
'sj',
'sk',
'ski',
'skin',
'sky',
'skype',
'sl',
'sm',
'smile',
'sn',
'sncf',
'so',
'soccer',
'social',
'softbank',
'software',

@@ -625,8 +977,27 @@ 'sohu',

'solutions',
'song',
'sony',
'soy',
'space',
'spiegel',
'spot',
'spreadbetting',
'sr',
'srl',
'st',
'stada',
'star',
'starhub',
'statefarm',
'statoil',
'stc',
'stcgroup',
'stockholm',
'storage',
'store',
'studio',
'study',
'style',
'su',
'sucks',
'supplies',

@@ -639,20 +1010,40 @@ 'supply',

'sv',
'swatch',
'swiss',
'sx',
'sy',
'sydney',
'symantec',
'systems',
'sz',
'tab',
'taipei',
'taobao',
'tatamotors',
'tatar',
'tattoo',
'tax',
'taxi',
'tc',
'tci',
'td',
'team',
'tech',
'technology',
'tel',
'telecity',
'telefonica',
'temasek',
'tennis',
'tf',
'tg',
'th',
'thd',
'theater',
'theatre',
'tickets',
'tienda',
'tiffany',
'tips',
'tires',
'tirol',

@@ -663,2 +1054,3 @@ 'tj',

'tm',
'tmall',
'tn',

@@ -670,3 +1062,8 @@ 'to',

'top',
'toray',
'toshiba',
'total',
'tours',
'town',
'toyota',
'toys',

@@ -676,13 +1073,23 @@ 'tp',

'trade',
'trading',
'training',
'travel',
'travelers',
'travelersinsurance',
'trust',
'trv',
'tt',
'tube',
'tui',
'tunes',
'tushu',
'tv',
'tvs',
'tw',
'tz',
'ua',
'ubs',
'ug',
'uk',
'unicom',
'university',

@@ -696,2 +1103,3 @@ 'uno',

'vacations',
'vana',
'vc',

@@ -701,2 +1109,3 @@ 've',

'ventures',
'verisign',
'versicherung',

@@ -707,7 +1116,16 @@ 'vet',

'viajes',
'video',
'viking',
'villas',
'vin',
'vip',
'virgin',
'vision',
'vista',
'vistaprint',
'viva',
'vlaanderen',
'vn',
'vodka',
'volkswagen',
'vote',

@@ -718,9 +1136,17 @@ 'voting',

'vu',
'vuelos',
'wales',
'walter',
'wang',
'wanggou',
'watch',
'watches',
'weather',
'weatherchannel',
'webcam',
'weber',
'website',
'wed',
'wedding',
'weir',
'wf',

@@ -731,3 +1157,7 @@ 'whoswho',

'williamhill',
'win',
'windows',
'wine',
'wme',
'wolterskluwer',
'work',

@@ -739,7 +1169,14 @@ 'works',

'wtf',
'xbox',
'xerox',
'xin',
'xperia',
'xxx',
'xyz',
'yachts',
'yahoo',
'yamaxun',
'yandex',
'ye',
'yodobashi',
'yoga',

@@ -750,6 +1187,9 @@ 'yokohama',

'za',
'zara',
'zero',
'zip',
'zm',
'zone',
'zw',
'zuerich',
'zw'
];

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc