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.1.5 to 2.1.6

.nyc_output/363dd961e1f1ccc884c966d8d298ef93.json

9

CHANGELOG.md
# Linkify Changelog
### v2.1.6
* Fix a bug where unique element IDs aren't unique (#215)
* Update tlds.js (#213)
* Automated browser test fixes (#224)
* Add partialProtocolMailtoStates to domainStates (#210)
* Use Object.defineProperty to extend String prototype so that 'linkify' function is not enumerable (#197)
* Allow null overrides in options for target and className (#189)
### v2.1.5

@@ -4,0 +13,0 @@

30

dist/linkify-element.amd.js

@@ -147,2 +147,5 @@ define('linkify-element', ['module', 'exports', './linkify'], function (module, exports, _linkify) {

while (childElement) {
var str = void 0,
tokens = void 0,
nodes = void 0;

@@ -154,20 +157,21 @@ switch (childElement.nodeType) {

case TXT_NODE:
{
str = childElement.nodeValue;
tokens = tokenize(str);
var str = childElement.nodeValue;
var tokens = tokenize(str);
if (tokens.length === 0 || tokens.length === 1 && tokens[0] instanceof TEXT_TOKEN) {
// No node replacement required
break;
}
if (tokens.length === 0 || tokens.length === 1 && tokens[0] instanceof TEXT_TOKEN) {
// No node replacement required
break;
}
nodes = tokensToNodes(tokens, opts, doc);
var nodes = tokensToNodes(tokens, opts, doc);
// Swap out the current child for the set of nodes
replaceChildWithChildren(element, childElement, nodes);
// Swap out the current child for the set of nodes
replaceChildWithChildren(element, childElement, nodes);
// so that the correct sibling is selected next
childElement = nodes[nodes.length - 1];
// so that the correct sibling is selected next
childElement = nodes[nodes.length - 1];
break;
break;
}
}

@@ -174,0 +178,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 a(e,t,n){var r=n[n.length-1];e.replaceChild(r,t);for(var a=n.length-2;a>=0;a--)e.insertBefore(n[a],r),r=n[a]}function i(e,t,n){for(var r=[],a=e,i=Array.isArray(a),o=0,a=i?a:a[Symbol.iterator]();;){var l;if(i){if(o>=a.length)break;l=a[o++]}else{if(o=a.next(),o.done)break;l=o.value}var s=l;if("nl"===s.type&&t.nl2br)r.push(n.createElement("br"));else if(s.isLink&&t.check(s)){var f=t.resolve(s),u=f.formatted,d=f.formattedHref,c=f.tagName,h=f.className,v=f.target,m=f.events,p=f.attributes,g=n.createElement(c);if(g.setAttribute("href",d),h&&g.setAttribute("class",h),v&&g.setAttribute("target",v),p)for(var b in p)g.setAttribute(b,p[b]);if(m)for(var y in m)g.addEventListener?g.addEventListener(y,m[y]):g.attachEvent&&g.attachEvent("on"+y,m[y]);g.appendChild(n.createTextNode(u)),r.push(g)}else r.push(n.createTextNode(s.toString()))}return r}function o(e,t,n){if(!e||e.nodeType!==v)throw new Error("Cannot linkify "+e+" - Invalid DOM Node type");var r=t.ignoreTags;if("A"===e.tagName||d.contains(r,e.tagName))return e;for(var l=e.firstChild;l;){switch(l.nodeType){case v:o(l,t,n);break;case m:var s=l.nodeValue,f=u(s);if(0===f.length||1===f.length&&f[0]instanceof h)break;var c=i(f,t,n);a(e,l,c),l=c[c.length-1]}l=l.nextSibling}return e}function l(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{n=n||document||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=new c(t),o(e,t,n)}try{try{Object.defineProperty(t,"__esModule",{value:!0})}catch(s){t.__esModule=!0}}catch(s){t.__esModule=!0}var f=r(n),u=f.tokenize,d=f.options,c=d.Options,h=f.parser.TOKENS.TEXT,v=1,m=3;l.helper=o,l.normalize=function(e){return new c(e)},t["default"]=l,e.exports=t["default"]});
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 a(e,t,n){var r=n[n.length-1];e.replaceChild(r,t);for(var a=n.length-2;a>=0;a--)e.insertBefore(n[a],r),r=n[a]}function i(e,t,n){for(var r=[],a=e,i=Array.isArray(a),o=0,a=i?a:a[Symbol.iterator]();;){var l;if(i){if(o>=a.length)break;l=a[o++]}else{if(o=a.next(),o.done)break;l=o.value}var s=l;if("nl"===s.type&&t.nl2br)r.push(n.createElement("br"));else if(s.isLink&&t.check(s)){var f=t.resolve(s),d=f.formatted,u=f.formattedHref,c=f.tagName,v=f.className,h=f.target,m=f.events,p=f.attributes,g=n.createElement(c);if(g.setAttribute("href",u),v&&g.setAttribute("class",v),h&&g.setAttribute("target",h),p)for(var b in p)g.setAttribute(b,p[b]);if(m)for(var y in m)g.addEventListener?g.addEventListener(y,m[y]):g.attachEvent&&g.attachEvent("on"+y,m[y]);g.appendChild(n.createTextNode(d)),r.push(g)}else r.push(n.createTextNode(s.toString()))}return r}function o(e,t,n){if(!e||e.nodeType!==h)throw new Error("Cannot linkify "+e+" - Invalid DOM Node type");var r=t.ignoreTags;if("A"===e.tagName||u.contains(r,e.tagName))return e;for(var l=e.firstChild;l;){var s=void 0,f=void 0,c=void 0;switch(l.nodeType){case h:o(l,t,n);break;case m:if(s=l.nodeValue,f=d(s),0===f.length||1===f.length&&f[0]instanceof v)break;c=i(f,t,n),a(e,l,c),l=c[c.length-1]}l=l.nextSibling}return e}function l(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{n=n||document||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=new c(t),o(e,t,n)}try{try{Object.defineProperty(t,"__esModule",{value:!0})}catch(s){t.__esModule=!0}}catch(s){t.__esModule=!0}var f=r(n),d=f.tokenize,u=f.options,c=u.Options,v=f.parser.TOKENS.TEXT,h=1,m=3;l.helper=o,l.normalize=function(e){return new c(e)},t["default"]=l,e.exports=t["default"]});

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

while (childElement) {
var str = void 0,
tokens = void 0,
nodes = void 0;

@@ -140,20 +143,21 @@ switch (childElement.nodeType) {

case TXT_NODE:
{
str = childElement.nodeValue;
tokens = tokenize(str);
var str = childElement.nodeValue;
var tokens = tokenize(str);
if (tokens.length === 0 || tokens.length === 1 && tokens[0] instanceof TEXT_TOKEN) {
// No node replacement required
break;
}
if (tokens.length === 0 || tokens.length === 1 && tokens[0] instanceof TEXT_TOKEN) {
// No node replacement required
break;
}
nodes = tokensToNodes(tokens, opts, doc);
var nodes = tokensToNodes(tokens, opts, doc);
// Swap out the current child for the set of nodes
replaceChildWithChildren(element, childElement, nodes);
// Swap out the current child for the set of nodes
replaceChildWithChildren(element, childElement, nodes);
// so that the correct sibling is selected next
childElement = nodes[nodes.length - 1];
// so that the correct sibling is selected next
childElement = nodes[nodes.length - 1];
break;
break;
}
}

@@ -160,0 +164,0 @@

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

"use strict";!function(e,t){var n=function(t){function n(e,t,n){var r=n[n.length-1];e.replaceChild(r,t);for(var a=n.length-2;a>=0;a--)e.insertBefore(n[a],r),r=n[a]}function r(e,t,n){for(var r=[],a=e,i=Array.isArray(a),o=0,a=i?a:a[Symbol.iterator]();;){var l;if(i){if(o>=a.length)break;l=a[o++]}else{if(o=a.next(),o.done)break;l=o.value}var s=l;if("nl"===s.type&&t.nl2br)r.push(n.createElement("br"));else if(s.isLink&&t.check(s)){var f=t.resolve(s),c=f.formatted,u=f.formattedHref,d=f.tagName,h=f.className,v=f.target,m=f.events,g=f.attributes,p=n.createElement(d);if(p.setAttribute("href",u),h&&p.setAttribute("class",h),v&&p.setAttribute("target",v),g)for(var b in g)p.setAttribute(b,g[b]);if(m)for(var y in m)p.addEventListener?p.addEventListener(y,m[y]):p.attachEvent&&p.attachEvent("on"+y,m[y]);p.appendChild(n.createTextNode(c)),r.push(p)}else r.push(n.createTextNode(s.toString()))}return r}function a(e,t,i){if(!e||e.nodeType!==c)throw new Error("Cannot linkify "+e+" - Invalid DOM Node type");var s=t.ignoreTags;if("A"===e.tagName||l.contains(s,e.tagName))return e;for(var d=e.firstChild;d;){switch(d.nodeType){case c:a(d,t,i);break;case u:var h=d.nodeValue,v=o(h);if(0===v.length||1===v.length&&v[0]instanceof f)break;var m=r(v,t,i);n(e,d,m),d=m[m.length-1]}d=d.nextSibling}return e}function i(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{r=r||document||e&&e.document||global&&global.document}catch(i){}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 n=new s(n),a(t,n,r)}var o=t.tokenize,l=t.options,s=l.Options,f=t.parser.TOKENS.TEXT,c=1,u=3;return i.helper=a,i.normalize=function(e){return new s(e)},i}(t);e.linkifyElement=n}(window,linkify);
"use strict";!function(e,t){var n=function(t){function n(e,t,n){var r=n[n.length-1];e.replaceChild(r,t);for(var i=n.length-2;i>=0;i--)e.insertBefore(n[i],r),r=n[i]}function r(e,t,n){for(var r=[],i=e,a=Array.isArray(i),o=0,i=a?i:i[Symbol.iterator]();;){var l;if(a){if(o>=i.length)break;l=i[o++]}else{if(o=i.next(),o.done)break;l=o.value}var s=l;if("nl"===s.type&&t.nl2br)r.push(n.createElement("br"));else if(s.isLink&&t.check(s)){var f=t.resolve(s),c=f.formatted,d=f.formattedHref,u=f.tagName,v=f.className,h=f.target,m=f.events,g=f.attributes,p=n.createElement(u);if(p.setAttribute("href",d),v&&p.setAttribute("class",v),h&&p.setAttribute("target",h),g)for(var b in g)p.setAttribute(b,g[b]);if(m)for(var y in m)p.addEventListener?p.addEventListener(y,m[y]):p.attachEvent&&p.attachEvent("on"+y,m[y]);p.appendChild(n.createTextNode(c)),r.push(p)}else r.push(n.createTextNode(s.toString()))}return r}function i(e,t,a){if(!e||e.nodeType!==c)throw new Error("Cannot linkify "+e+" - Invalid DOM Node type");var s=t.ignoreTags;if("A"===e.tagName||l.contains(s,e.tagName))return e;for(var u=e.firstChild;u;){var v=void 0,h=void 0,m=void 0;switch(u.nodeType){case c:i(u,t,a);break;case d:if(v=u.nodeValue,h=o(v),0===h.length||1===h.length&&h[0]instanceof f)break;m=r(h,t,a),n(e,u,m),u=m[m.length-1]}u=u.nextSibling}return e}function a(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{r=r||document||e&&e.document||global&&global.document}catch(a){}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 n=new s(n),i(t,n,r)}var o=t.tokenize,l=t.options,s=l.Options,f=t.parser.TOKENS.TEXT,c=1,d=3;return a.helper=i,a.normalize=function(e){return new s(e)},a}(t);e.linkifyElement=n}(window,linkify);

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

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

@@ -924,3 +926,2 @@ linkified.push('</' + _token.tagName + '>');

var _opts$resolve = opts.resolve(token),
href = _opts$resolve.href,
formatted = _opts$resolve.formatted,

@@ -927,0 +928,0 @@ formattedHref = _opts$resolve.formattedHref,

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

define("simple-html-tokenizer/entity-parser",["module","exports"],function(t,e){"use strict";function i(t){this.a=t}try{try{Object.defineProperty(e,"__esModule",{value:!0})}catch(s){e.__esModule=!0}}catch(s){e.__esModule=!0}var n=/^#[xX]([A-Fa-f0-9]+)$/,r=/^#([0-9]+)$/,h=/^([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(h),e?this.a[e[1]]||"&"+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{try{Object.defineProperty(e,"__esModule",{value:!0})}catch(n){e.__esModule=!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);if(i){for(var s=e.length;s;)this.p(),s--;return this.p(),i}}},r:function(){this.h=this.f,this.i=this.g,this.b.tagOpen&&this.b.tagOpen()},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.p(),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.o();return(0,i.A)(t)?void this.p():void("/"===t?(this.d="selfClosingStartTag",this.p()):">"===t?(this.p(),this.b.B(),this.d="beforeData"):(this.d="attributeName",this.b.C(),this.p(),this.b.D(t)))},attributeName:function(){var t=this.o();(0,i.A)(t)?(this.d="afterAttributeName",this.p()):"/"===t?(this.b.F(!1),this.b.G(),this.p(),this.d="selfClosingStartTag"):"="===t?(this.d="beforeAttributeValue",this.p()):">"===t?(this.b.F(!1),this.b.G(),this.p(),this.b.B(),this.d="beforeData"):(this.p(),this.b.D(t))},afterAttributeName:function(){var t=this.o();return(0,i.A)(t)?void this.p():void("/"===t?(this.b.F(!1),this.b.G(),this.p(),this.d="selfClosingStartTag"):"="===t?(this.p(),this.d="beforeAttributeValue"):">"===t?(this.b.F(!1),this.b.G(),this.p(),this.b.B(),this.d="beforeData"):(this.b.F(!1),this.b.G(),this.p(),this.d="attributeName",this.b.C(),this.b.D(t)))},beforeAttributeValue:function(){var t=this.o();(0,i.A)(t)?this.p():'"'===t?(this.d="attributeValueDoubleQuoted",this.b.F(!0),this.p()):"'"===t?(this.d="attributeValueSingleQuoted",this.b.F(!0),this.p()):">"===t?(this.b.F(!1),this.b.G(),this.p(),this.b.B(),this.d="beforeData"):(this.d="attributeValueUnquoted",this.b.F(!1),this.p(),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.o();(0,i.A)(t)?(this.b.G(),this.p(),this.d="beforeAttributeName"):"&"===t?(this.p(),this.b.H(this.q(">")||"&")):">"===t?(this.b.G(),this.p(),this.b.B(),this.d="beforeData"):(this.p(),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{try{Object.defineProperty(e,"__esModule",{value:!0})}catch(i){e.__esModule=!0}}catch(i){e.__esModule=!0}var s={K:" "};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 h(t){return t&&t.__esModule?t:{"default":t}}try{try{Object.defineProperty(t,"__esModule",{value:!0})}catch(a){t.__esModule=!0}}catch(a){t.__esModule=!0}Object.defineProperty(t,"HTML5NamedCharRefs",{L:!0,get:function(){return h(e)["default"]}}),Object.defineProperty(t,"EntityParser",{L:!0,get:function(){return h(i)["default"]}}),Object.defineProperty(t,"EventedTokenizer",{L:!0,get:function(){return h(s)["default"]}}),Object.defineProperty(t,"Tokenizer",{L:!0,get:function(){return h(n)["default"]}}),Object.defineProperty(t,"tokenize",{L:!0,get:function(){return h(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 h(t,e){var i=new o["default"](new u["default"](f["default"]),e);return i.tokenize(t)}try{try{Object.defineProperty(e,"__esModule",{value:!0})}catch(a){e.__esModule=!0}}catch(a){e.__esModule=!0}e["default"]=h;var o=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 h["default"](this,t)}try{try{Object.defineProperty(e,"__esModule",{value:!0})}catch(r){e.__esModule=!0}}catch(r){e.__esModule=!0}var h=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 h.test(t)}function s(t){return t.replace(a,"\n")}try{try{Object.defineProperty(t,"__esModule",{value:!0})}catch(n){t.__esModule=!0}}catch(n){t.__esModule=!0}t.A=e,t.u=i,t.k=s;var r=/[\t\n\f ]/,h=/[A-Za-z]/,a=/\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,h){"use strict";function a(t){return t&&t.__esModule?t:{"default":t}}try{try{Object.defineProperty(e,"__esModule",{value:!0})}catch(o){e.__esModule=!0}}catch(o){e.__esModule=!0}var u=a(i),f=a(s),c=a(n),l=a(r),d=a(h),p={HTML5NamedCharRefs:u["default"],EntityParser:f["default"],EventedTokenizer:c["default"],Tokenizer:l["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 h(t){var e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=d["default"].tokenize(t),n=[],r=[];for(i=new m(i),e=0;e<s.length;e++){var h=s[e];if(h.type!==v)if(h.type===g){var f=a(h.chars,i);n.push.apply(n,f)}else n.push(h);else{n.push(h);var l=h.tagName.toUpperCase(),p="A"===l||b.contains(i.ignoreTags,l);if(!p)continue;var k=n.length;o(l,s,++e,n),e+=n.length-k-1}}for(e=0;e<n.length;e++){var z=n[e];switch(z.type){case v:var M="<"+z.tagName;if(z.attributes.length>0){var N=c(z.attributes);M+=" "+N.join(" ")}M+=">",r.push(M);break;case _:r.push("</"+z.tagName+">");break;case g:r.push(u(z.chars));break;case y:r.push("<!--"+u(z.chars)+"-->")}}return r.join("")}function a(t,e){for(var i=p.tokenize(t),s=[],n=0;n<i.length;n++){var r=i[n];if("nl"===r.type&&e.nl2br)s.push({type:v,tagName:"br",attributes:[],R:!0});else if(r.isLink&&e.check(r)){var h=e.resolve(r),a=(h.href,h.formatted),o=h.formattedHref,u=h.tagName,f=h.className,c=h.target,l=h.attributes,d=[["href",o]];f&&d.push(["class",f]),c&&d.push(["target",c]);for(var b in l)d.push([b,l[b]]);s.push({type:v,tagName:u,attributes:d,R:!1}),s.push({type:g,chars:a}),s.push({type:_,tagName:u})}else s.push({type:g,chars:r.toString()})}return s}function o(t,e,i,s){for(var n=1;i<e.length&&n>0;){var r=e[i];r.type===v&&r.tagName.toUpperCase()===t?n++:r.type===_&&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 c(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{try{Object.defineProperty(e,"__esModule",{value:!0})}catch(l){e.__esModule=!0}}catch(l){e.__esModule=!0}e["default"]=h;var d=r(i),p=n(s),b=p.options,m=b.Options,v="StartTag",_="EndTag",g="Chars",y="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{try{Object.defineProperty(e,"__esModule",{value:!0})}catch(s){e.__esModule=!0}}catch(s){e.__esModule=!0}var n=/^#[xX]([A-Fa-f0-9]+)$/,r=/^#([0-9]+)$/,h=/^([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(h),e?this.a[e[1]]||"&"+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{try{Object.defineProperty(e,"__esModule",{value:!0})}catch(n){e.__esModule=!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);if(i){for(var s=e.length;s;)this.p(),s--;return this.p(),i}}},r:function(){this.h=this.f,this.i=this.g,this.b.tagOpen&&this.b.tagOpen()},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.p(),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.o();return(0,i.A)(t)?void this.p():void("/"===t?(this.d="selfClosingStartTag",this.p()):">"===t?(this.p(),this.b.B(),this.d="beforeData"):(this.d="attributeName",this.b.C(),this.p(),this.b.D(t)))},attributeName:function(){var t=this.o();(0,i.A)(t)?(this.d="afterAttributeName",this.p()):"/"===t?(this.b.F(!1),this.b.G(),this.p(),this.d="selfClosingStartTag"):"="===t?(this.d="beforeAttributeValue",this.p()):">"===t?(this.b.F(!1),this.b.G(),this.p(),this.b.B(),this.d="beforeData"):(this.p(),this.b.D(t))},afterAttributeName:function(){var t=this.o();return(0,i.A)(t)?void this.p():void("/"===t?(this.b.F(!1),this.b.G(),this.p(),this.d="selfClosingStartTag"):"="===t?(this.p(),this.d="beforeAttributeValue"):">"===t?(this.b.F(!1),this.b.G(),this.p(),this.b.B(),this.d="beforeData"):(this.b.F(!1),this.b.G(),this.p(),this.d="attributeName",this.b.C(),this.b.D(t)))},beforeAttributeValue:function(){var t=this.o();(0,i.A)(t)?this.p():'"'===t?(this.d="attributeValueDoubleQuoted",this.b.F(!0),this.p()):"'"===t?(this.d="attributeValueSingleQuoted",this.b.F(!0),this.p()):">"===t?(this.b.F(!1),this.b.G(),this.p(),this.b.B(),this.d="beforeData"):(this.d="attributeValueUnquoted",this.b.F(!1),this.p(),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.o();(0,i.A)(t)?(this.b.G(),this.p(),this.d="beforeAttributeName"):"&"===t?(this.p(),this.b.H(this.q(">")||"&")):">"===t?(this.b.G(),this.p(),this.b.B(),this.d="beforeData"):(this.p(),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{try{Object.defineProperty(e,"__esModule",{value:!0})}catch(i){e.__esModule=!0}}catch(i){e.__esModule=!0}var s={K:" "};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 h(t){return t&&t.__esModule?t:{"default":t}}try{try{Object.defineProperty(t,"__esModule",{value:!0})}catch(a){t.__esModule=!0}}catch(a){t.__esModule=!0}Object.defineProperty(t,"HTML5NamedCharRefs",{L:!0,get:function(){return h(e)["default"]}}),Object.defineProperty(t,"EntityParser",{L:!0,get:function(){return h(i)["default"]}}),Object.defineProperty(t,"EventedTokenizer",{L:!0,get:function(){return h(s)["default"]}}),Object.defineProperty(t,"Tokenizer",{L:!0,get:function(){return h(n)["default"]}}),Object.defineProperty(t,"tokenize",{L:!0,get:function(){return h(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 h(t,e){var i=new o["default"](new u["default"](f["default"]),e);return i.tokenize(t)}try{try{Object.defineProperty(e,"__esModule",{value:!0})}catch(a){e.__esModule=!0}}catch(a){e.__esModule=!0}e["default"]=h;var o=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 h["default"](this,t)}try{try{Object.defineProperty(e,"__esModule",{value:!0})}catch(r){e.__esModule=!0}}catch(r){e.__esModule=!0}var h=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 h.test(t)}function s(t){return t.replace(a,"\n")}try{try{Object.defineProperty(t,"__esModule",{value:!0})}catch(n){t.__esModule=!0}}catch(n){t.__esModule=!0}t.A=e,t.u=i,t.k=s;var r=/[\t\n\f ]/,h=/[A-Za-z]/,a=/\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,h){"use strict";function a(t){return t&&t.__esModule?t:{"default":t}}try{try{Object.defineProperty(e,"__esModule",{value:!0})}catch(o){e.__esModule=!0}}catch(o){e.__esModule=!0}var u=a(i),f=a(s),c=a(n),l=a(r),d=a(h),p={HTML5NamedCharRefs:u["default"],EntityParser:f["default"],EventedTokenizer:c["default"],Tokenizer:l["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 h(t){var e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=d["default"].tokenize(t),n=[],r=[];for(i=new m(i),e=0;e<s.length;e++){var h=s[e];if(h.type!==v)if(h.type===g){var f=a(h.chars,i);n.push.apply(n,f)}else n.push(h);else{n.push(h);var l=h.tagName.toUpperCase(),p="A"===l||b.contains(i.ignoreTags,l);if(!p)continue;var k=n.length;o(l,s,++e,n),e+=n.length-k-1}}for(e=0;e<n.length;e++){var z=n[e];switch(z.type){case v:var M="<"+z.tagName;if(z.attributes.length>0){var N=c(z.attributes);M+=" "+N.join(" ")}M+=">",r.push(M);break;case _:r.push("</"+z.tagName+">");break;case g:r.push(u(z.chars));break;case y:r.push("<!--"+u(z.chars)+"-->")}}return r.join("")}function a(t,e){for(var i=p.tokenize(t),s=[],n=0;n<i.length;n++){var r=i[n];if("nl"===r.type&&e.nl2br)s.push({type:v,tagName:"br",attributes:[],R:!0});else if(r.isLink&&e.check(r)){var h=e.resolve(r),a=h.formatted,o=h.formattedHref,u=h.tagName,f=h.className,c=h.target,l=h.attributes,d=[["href",o]];f&&d.push(["class",f]),c&&d.push(["target",c]);for(var b in l)d.push([b,l[b]]);s.push({type:v,tagName:u,attributes:d,R:!1}),s.push({type:g,chars:a}),s.push({type:_,tagName:u})}else s.push({type:g,chars:r.toString()})}return s}function o(t,e,i,s){for(var n=1;i<e.length&&n>0;){var r=e[i];r.type===v&&r.tagName.toUpperCase()===t?n++:r.type===_&&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 c(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{try{Object.defineProperty(e,"__esModule",{value:!0})}catch(l){e.__esModule=!0}}catch(l){e.__esModule=!0}e["default"]=h;var d=r(i),p=n(s),b=p.options,m=b.Options,v="StartTag",_="EndTag",g="Chars",y="Comment";t.exports=e["default"]});

@@ -701,10 +701,12 @@ "use strict";

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

@@ -750,3 +752,2 @@ linkified.push("</" + _token.tagName + ">");

var _opts$resolve = opts.resolve(token),
href = _opts$resolve.href,
formatted = _opts$resolve.formatted,

@@ -753,0 +754,0 @@ formattedHref = _opts$resolve.formattedHref,

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

"use strict";!function(t,i){var s=function(t){function i(t){this.a=t}function s(t){return v.test(t)}function e(t){return k.test(t)}function h(t){return t.replace(A,"\n")}function r(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 n(t,i){this.k=null,this.startLine=1,this.startColumn=0,this.options=i||{},this.tokenizer=new r(this,t)}function a(t,s){var e=new n(new i(p),s);return e.tokenize(t)}function o(t){var i,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=z.tokenize(t),h=[],r=[];for(s=new D(s),i=0;i<e.length;i++){var n=e[i];if(n.type!==y)if(n.type===T){var a=u(n.chars,s);h.push.apply(h,a)}else h.push(n);else{h.push(n);var o=n.tagName.toUpperCase(),c="A"===o||N.contains(s.ignoreTags,o);if(!c)continue;var p=h.length;f(o,e,++i,h),i+=h.length-p-1}}for(i=0;i<h.length;i++){var l=h[i];switch(l.type){case y:var m="<"+l.tagName;if(l.attributes.length>0){var g=d(l.attributes);m+=" "+g.join(" ")}m+=">",r.push(m);break;case C:r.push("</"+l.tagName+">");break;case T:r.push(b(l.chars));break;case F:r.push("<!--"+b(l.chars)+"-->")}}return r.join("")}function u(i,s){for(var e=t.tokenize(i),h=[],r=0;r<e.length;r++){var n=e[r];if("nl"===n.type&&s.nl2br)h.push({type:y,tagName:"br",attributes:[],l:!0});else if(n.isLink&&s.check(n)){var a=s.resolve(n),o=(a.href,a.formatted),u=a.formattedHref,f=a.tagName,b=a.className,c=a.target,d=a.attributes,p=[["href",u]];b&&p.push(["class",b]),c&&p.push(["target",c]);for(var l in d)p.push([l,d[l]]);h.push({type:y,tagName:f,attributes:p,l:!1}),h.push({type:T,chars:o}),h.push({type:C,tagName:f})}else h.push({type:T,chars:n.toString()})}return h}function f(t,i,s,e){for(var h=1;s<i.length&&h>0;){var r=i[s];r.type===y&&r.tagName.toUpperCase()===t?h++:r.type===C&&r.tagName.toUpperCase()===t&&h--,e.push(r),s++}return e}function b(t){return t}function c(t){return t.replace(/"/g,"&quot;")}function d(t){for(var i=[],s=0;s<t.length;s++){var e=t[s],h=e[0],r=e[1];i.push(h+'="'+c(r)+'"')}return i}var p={m:" "},l=/^#[xX]([A-Fa-f0-9]+)$/,m=/^#([0-9]+)$/,g=/^([A-Za-z0-9]+)$/;i.prototype.parse=function(t){if(t){var i=t.match(l);return i?"&#x"+i[1]+";":(i=t.match(m))?"&#"+i[1]+";":(i=t.match(g),i?this.a[i[1]]||"&"+i[1]+";":void 0)}};var v=/[\t\n\f ]/,k=/[A-Za-z]/,A=/\r\n?/g;r.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.n[this.d].call(this)},tokenizeEOF:function(){this.o()},o:function(){"data"===this.d&&(this.b.p(),this.d="beforeData")},q:function(){return this.input.charAt(this.e)},r:function(){var t=this.q();return this.e++,"\n"===t?(this.f++,this.g=0):this.g++,t},s:function(){var t=this.input.indexOf(";",this.e);if(t!==-1){var i=this.input.slice(this.e,t),s=this.c.parse(i);if(s){for(var e=i.length;e;)this.r(),e--;return this.r(),s}}},t:function(){this.h=this.f,this.i=this.g,this.b.tagOpen&&this.b.tagOpen()},n:{beforeData:function(){var t=this.q();"<"===t?(this.d="tagOpen",this.t(),this.r()):(this.d="data",this.b.u())},data:function(){var t=this.q();"<"===t?(this.b.p(),this.d="tagOpen",this.t(),this.r()):"&"===t?(this.r(),this.b.v(this.s()||"&")):(this.r(),this.b.v(t))},tagOpen:function(){var t=this.r();"!"===t?this.d="markupDeclaration":"/"===t?this.d="endTagOpen":e(t)&&(this.d="tagName",this.b.w(),this.b.x(t.toLowerCase()))},markupDeclaration:function(){var t=this.r();"-"===t&&"-"===this.input.charAt(this.e)&&(this.r(),this.d="commentStart",this.b.y())},commentStart:function(){var t=this.r();"-"===t?this.d="commentStartDash":">"===t?(this.b.z(),this.d="beforeData"):(this.b.A(t),this.d="comment")},commentStartDash:function(){var t=this.r();"-"===t?this.d="commentEnd":">"===t?(this.b.z(),this.d="beforeData"):(this.b.A("-"),this.d="comment")},comment:function(){var t=this.r();"-"===t?this.d="commentEndDash":this.b.A(t)},commentEndDash:function(){var t=this.r();"-"===t?this.d="commentEnd":(this.b.A("-"+t),this.d="comment")},commentEnd:function(){var t=this.r();">"===t?(this.b.z(),this.d="beforeData"):(this.b.A("--"+t),this.d="comment")},tagName:function(){var t=this.r();s(t)?this.d="beforeAttributeName":"/"===t?this.d="selfClosingStartTag":">"===t?(this.b.B(),this.d="beforeData"):this.b.x(t)},beforeAttributeName:function(){var t=this.q();return s(t)?void this.r():void("/"===t?(this.d="selfClosingStartTag",this.r()):">"===t?(this.r(),this.b.B(),this.d="beforeData"):(this.d="attributeName",this.b.C(),this.r(),this.b.D(t)))},attributeName:function(){var t=this.q();s(t)?(this.d="afterAttributeName",this.r()):"/"===t?(this.b.F(!1),this.b.G(),this.r(),this.d="selfClosingStartTag"):"="===t?(this.d="beforeAttributeValue",this.r()):">"===t?(this.b.F(!1),this.b.G(),this.r(),this.b.B(),this.d="beforeData"):(this.r(),this.b.D(t))},afterAttributeName:function(){var t=this.q();return s(t)?void this.r():void("/"===t?(this.b.F(!1),this.b.G(),this.r(),this.d="selfClosingStartTag"):"="===t?(this.r(),this.d="beforeAttributeValue"):">"===t?(this.b.F(!1),this.b.G(),this.r(),this.b.B(),this.d="beforeData"):(this.b.F(!1),this.b.G(),this.r(),this.d="attributeName",this.b.C(),this.b.D(t)))},beforeAttributeValue:function(){var t=this.q();s(t)?this.r():'"'===t?(this.d="attributeValueDoubleQuoted",this.b.F(!0),this.r()):"'"===t?(this.d="attributeValueSingleQuoted",this.b.F(!0),this.r()):">"===t?(this.b.F(!1),this.b.G(),this.r(),this.b.B(),this.d="beforeData"):(this.d="attributeValueUnquoted",this.b.F(!1),this.r(),this.b.H(t))},attributeValueDoubleQuoted:function(){var t=this.r();'"'===t?(this.b.G(),this.d="afterAttributeValueQuoted"):"&"===t?this.b.H(this.s('"')||"&"):this.b.H(t)},attributeValueSingleQuoted:function(){var t=this.r();"'"===t?(this.b.G(),this.d="afterAttributeValueQuoted"):"&"===t?this.b.H(this.s("'")||"&"):this.b.H(t)},attributeValueUnquoted:function(){var t=this.q();s(t)?(this.b.G(),this.r(),this.d="beforeAttributeName"):"&"===t?(this.r(),this.b.H(this.s(">")||"&")):">"===t?(this.b.G(),this.r(),this.b.B(),this.d="beforeData"):(this.r(),this.b.H(t))},afterAttributeValueQuoted:function(){var t=this.q();s(t)?(this.r(),this.d="beforeAttributeName"):"/"===t?(this.r(),this.d="selfClosingStartTag"):">"===t?(this.r(),this.b.B(),this.d="beforeData"):this.d="beforeAttributeName"},selfClosingStartTag:function(){var t=this.q();">"===t?(this.r(),this.b.I(),this.b.B(),this.d="beforeData"):this.d="beforeAttributeName"},endTagOpen:function(){var t=this.r();e(t)&&(this.d="tagName",this.b.J(),this.b.x(t.toLowerCase()))}}},n.prototype={tokenize:function(t){return this.K=[],this.tokenizer.tokenize(t),this.K},tokenizePart:function(t){return this.K=[],this.tokenizer.tokenizePart(t),this.K},tokenizeEOF:function(){return this.K=[],this.tokenizer.tokenizeEOF(),this.K[0]},j:function(){this.k=null,this.startLine=1,this.startColumn=0},L:function(){this.options.M&&(this.k.M={start:{f:this.startLine,g:this.startColumn},N:{f:this.tokenizer.f,g:this.tokenizer.g}}),this.startLine=this.tokenizer.f,this.startColumn=this.tokenizer.g},u:function(){this.k={type:"Chars",chars:""},this.K.push(this.k)},v:function(t){this.k.chars+=t},p:function(){this.L()},y:function(){this.k={type:"Comment",chars:""},this.K.push(this.k)},A:function(t){this.k.chars+=t},z:function(){this.L()},w:function(){this.k={type:"StartTag",tagName:"",attributes:[],l:!1},this.K.push(this.k)},J:function(){this.k={type:"EndTag",tagName:""},this.K.push(this.k)},B:function(){this.L()},I:function(){this.k.l=!0},x:function(t){this.k.tagName+=t},C:function(){this._currentAttribute=["","",null],this.k.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(){}};var z={HTML5NamedCharRefs:p,EntityParser:i,EventedTokenizer:r,Tokenizer:n,tokenize:a},N=t.options,D=N.Options,y="StartTag",C="EndTag",T="Chars",F="Comment";return o}(i);t.linkifyHtml=s}(window,linkify);
"use strict";!function(t,i){var s=function(t){function i(t){this.a=t}function s(t){return v.test(t)}function e(t){return k.test(t)}function h(t){return t.replace(A,"\n")}function r(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 n(t,i){this.k=null,this.startLine=1,this.startColumn=0,this.options=i||{},this.tokenizer=new r(this,t)}function a(t,s){var e=new n(new i(p),s);return e.tokenize(t)}function o(t){var i,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=z.tokenize(t),h=[],r=[];for(s=new D(s),i=0;i<e.length;i++){var n=e[i];if(n.type!==y)if(n.type===T){var a=u(n.chars,s);h.push.apply(h,a)}else h.push(n);else{h.push(n);var o=n.tagName.toUpperCase(),c="A"===o||N.contains(s.ignoreTags,o);if(!c)continue;var p=h.length;f(o,e,++i,h),i+=h.length-p-1}}for(i=0;i<h.length;i++){var l=h[i];switch(l.type){case y:var m="<"+l.tagName;if(l.attributes.length>0){var g=d(l.attributes);m+=" "+g.join(" ")}m+=">",r.push(m);break;case C:r.push("</"+l.tagName+">");break;case T:r.push(b(l.chars));break;case F:r.push("<!--"+b(l.chars)+"-->")}}return r.join("")}function u(i,s){for(var e=t.tokenize(i),h=[],r=0;r<e.length;r++){var n=e[r];if("nl"===n.type&&s.nl2br)h.push({type:y,tagName:"br",attributes:[],l:!0});else if(n.isLink&&s.check(n)){var a=s.resolve(n),o=a.formatted,u=a.formattedHref,f=a.tagName,b=a.className,c=a.target,d=a.attributes,p=[["href",u]];b&&p.push(["class",b]),c&&p.push(["target",c]);for(var l in d)p.push([l,d[l]]);h.push({type:y,tagName:f,attributes:p,l:!1}),h.push({type:T,chars:o}),h.push({type:C,tagName:f})}else h.push({type:T,chars:n.toString()})}return h}function f(t,i,s,e){for(var h=1;s<i.length&&h>0;){var r=i[s];r.type===y&&r.tagName.toUpperCase()===t?h++:r.type===C&&r.tagName.toUpperCase()===t&&h--,e.push(r),s++}return e}function b(t){return t}function c(t){return t.replace(/"/g,"&quot;")}function d(t){for(var i=[],s=0;s<t.length;s++){var e=t[s],h=e[0],r=e[1];i.push(h+'="'+c(r)+'"')}return i}var p={m:" "},l=/^#[xX]([A-Fa-f0-9]+)$/,m=/^#([0-9]+)$/,g=/^([A-Za-z0-9]+)$/;i.prototype.parse=function(t){if(t){var i=t.match(l);return i?"&#x"+i[1]+";":(i=t.match(m))?"&#"+i[1]+";":(i=t.match(g),i?this.a[i[1]]||"&"+i[1]+";":void 0)}};var v=/[\t\n\f ]/,k=/[A-Za-z]/,A=/\r\n?/g;r.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.n[this.d].call(this)},tokenizeEOF:function(){this.o()},o:function(){"data"===this.d&&(this.b.p(),this.d="beforeData")},q:function(){return this.input.charAt(this.e)},r:function(){var t=this.q();return this.e++,"\n"===t?(this.f++,this.g=0):this.g++,t},s:function(){var t=this.input.indexOf(";",this.e);if(t!==-1){var i=this.input.slice(this.e,t),s=this.c.parse(i);if(s){for(var e=i.length;e;)this.r(),e--;return this.r(),s}}},t:function(){this.h=this.f,this.i=this.g,this.b.tagOpen&&this.b.tagOpen()},n:{beforeData:function(){var t=this.q();"<"===t?(this.d="tagOpen",this.t(),this.r()):(this.d="data",this.b.u())},data:function(){var t=this.q();"<"===t?(this.b.p(),this.d="tagOpen",this.t(),this.r()):"&"===t?(this.r(),this.b.v(this.s()||"&")):(this.r(),this.b.v(t))},tagOpen:function(){var t=this.r();"!"===t?this.d="markupDeclaration":"/"===t?this.d="endTagOpen":e(t)&&(this.d="tagName",this.b.w(),this.b.x(t.toLowerCase()))},markupDeclaration:function(){var t=this.r();"-"===t&&"-"===this.input.charAt(this.e)&&(this.r(),this.d="commentStart",this.b.y())},commentStart:function(){var t=this.r();"-"===t?this.d="commentStartDash":">"===t?(this.b.z(),this.d="beforeData"):(this.b.A(t),this.d="comment")},commentStartDash:function(){var t=this.r();"-"===t?this.d="commentEnd":">"===t?(this.b.z(),this.d="beforeData"):(this.b.A("-"),this.d="comment")},comment:function(){var t=this.r();"-"===t?this.d="commentEndDash":this.b.A(t)},commentEndDash:function(){var t=this.r();"-"===t?this.d="commentEnd":(this.b.A("-"+t),this.d="comment")},commentEnd:function(){var t=this.r();">"===t?(this.b.z(),this.d="beforeData"):(this.b.A("--"+t),this.d="comment")},tagName:function(){var t=this.r();s(t)?this.d="beforeAttributeName":"/"===t?this.d="selfClosingStartTag":">"===t?(this.b.B(),this.d="beforeData"):this.b.x(t)},beforeAttributeName:function(){var t=this.q();return s(t)?void this.r():void("/"===t?(this.d="selfClosingStartTag",this.r()):">"===t?(this.r(),this.b.B(),this.d="beforeData"):(this.d="attributeName",this.b.C(),this.r(),this.b.D(t)))},attributeName:function(){var t=this.q();s(t)?(this.d="afterAttributeName",this.r()):"/"===t?(this.b.F(!1),this.b.G(),this.r(),this.d="selfClosingStartTag"):"="===t?(this.d="beforeAttributeValue",this.r()):">"===t?(this.b.F(!1),this.b.G(),this.r(),this.b.B(),this.d="beforeData"):(this.r(),this.b.D(t))},afterAttributeName:function(){var t=this.q();return s(t)?void this.r():void("/"===t?(this.b.F(!1),this.b.G(),this.r(),this.d="selfClosingStartTag"):"="===t?(this.r(),this.d="beforeAttributeValue"):">"===t?(this.b.F(!1),this.b.G(),this.r(),this.b.B(),this.d="beforeData"):(this.b.F(!1),this.b.G(),this.r(),this.d="attributeName",this.b.C(),this.b.D(t)))},beforeAttributeValue:function(){var t=this.q();s(t)?this.r():'"'===t?(this.d="attributeValueDoubleQuoted",this.b.F(!0),this.r()):"'"===t?(this.d="attributeValueSingleQuoted",this.b.F(!0),this.r()):">"===t?(this.b.F(!1),this.b.G(),this.r(),this.b.B(),this.d="beforeData"):(this.d="attributeValueUnquoted",this.b.F(!1),this.r(),this.b.H(t))},attributeValueDoubleQuoted:function(){var t=this.r();'"'===t?(this.b.G(),this.d="afterAttributeValueQuoted"):"&"===t?this.b.H(this.s('"')||"&"):this.b.H(t)},attributeValueSingleQuoted:function(){var t=this.r();"'"===t?(this.b.G(),this.d="afterAttributeValueQuoted"):"&"===t?this.b.H(this.s("'")||"&"):this.b.H(t)},attributeValueUnquoted:function(){var t=this.q();s(t)?(this.b.G(),this.r(),this.d="beforeAttributeName"):"&"===t?(this.r(),this.b.H(this.s(">")||"&")):">"===t?(this.b.G(),this.r(),this.b.B(),this.d="beforeData"):(this.r(),this.b.H(t))},afterAttributeValueQuoted:function(){var t=this.q();s(t)?(this.r(),this.d="beforeAttributeName"):"/"===t?(this.r(),this.d="selfClosingStartTag"):">"===t?(this.r(),this.b.B(),this.d="beforeData"):this.d="beforeAttributeName"},selfClosingStartTag:function(){var t=this.q();">"===t?(this.r(),this.b.I(),this.b.B(),this.d="beforeData"):this.d="beforeAttributeName"},endTagOpen:function(){var t=this.r();e(t)&&(this.d="tagName",this.b.J(),this.b.x(t.toLowerCase()))}}},n.prototype={tokenize:function(t){return this.K=[],this.tokenizer.tokenize(t),this.K},tokenizePart:function(t){return this.K=[],this.tokenizer.tokenizePart(t),this.K},tokenizeEOF:function(){return this.K=[],this.tokenizer.tokenizeEOF(),this.K[0]},j:function(){this.k=null,this.startLine=1,this.startColumn=0},L:function(){this.options.M&&(this.k.M={start:{f:this.startLine,g:this.startColumn},N:{f:this.tokenizer.f,g:this.tokenizer.g}}),this.startLine=this.tokenizer.f,this.startColumn=this.tokenizer.g},u:function(){this.k={type:"Chars",chars:""},this.K.push(this.k)},v:function(t){this.k.chars+=t},p:function(){this.L()},y:function(){this.k={type:"Comment",chars:""},this.K.push(this.k)},A:function(t){this.k.chars+=t},z:function(){this.L()},w:function(){this.k={type:"StartTag",tagName:"",attributes:[],l:!1},this.K.push(this.k)},J:function(){this.k={type:"EndTag",tagName:""},this.K.push(this.k)},B:function(){this.L()},I:function(){this.k.l=!0},x:function(t){this.k.tagName+=t},C:function(){this._currentAttribute=["","",null],this.k.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(){}};var z={HTML5NamedCharRefs:p,EntityParser:i,EventedTokenizer:r,Tokenizer:n,tokenize:a},N=t.options,D=N.Options,y="StartTag",C="EndTag",T="Chars",F="Comment";return o}(i);t.linkifyHtml=s}(window,linkify);

@@ -147,2 +147,5 @@ define('linkify-element', ['module', 'exports', './linkify'], function (module, exports, _linkify) {

while (childElement) {
var str = void 0,
tokens = void 0,
nodes = void 0;

@@ -154,20 +157,21 @@ switch (childElement.nodeType) {

case TXT_NODE:
{
str = childElement.nodeValue;
tokens = tokenize(str);
var str = childElement.nodeValue;
var tokens = tokenize(str);
if (tokens.length === 0 || tokens.length === 1 && tokens[0] instanceof TEXT_TOKEN) {
// No node replacement required
break;
}
if (tokens.length === 0 || tokens.length === 1 && tokens[0] instanceof TEXT_TOKEN) {
// No node replacement required
break;
}
nodes = tokensToNodes(tokens, opts, doc);
var nodes = tokensToNodes(tokens, opts, doc);
// Swap out the current child for the set of nodes
replaceChildWithChildren(element, childElement, nodes);
// Swap out the current child for the set of nodes
replaceChildWithChildren(element, childElement, nodes);
// so that the correct sibling is selected next
childElement = nodes[nodes.length - 1];
// so that the correct sibling is selected next
childElement = nodes[nodes.length - 1];
break;
break;
}
}

@@ -206,3 +210,3 @@

});
define('linkify-jquery', ['module', 'exports', 'jquery', './linkify-element'], function (module, exports, _jquery, _linkifyElement) {
define('linkify-jquery', ['module', 'exports', './linkify-element'], function (module, exports, _linkifyElement) {
'use strict';

@@ -215,4 +219,2 @@

var _jquery2 = _interopRequireDefault(_jquery);
var _linkifyElement2 = _interopRequireDefault(_linkifyElement);

@@ -261,15 +263,52 @@

var nl2br = data.linkifyNlbr;
var options = {
attributes: data.linkifyAttributes,
defaultProtocol: data.linkifyDefaultProtocol,
events: data.linkifyEvents,
format: data.linkifyFormat,
formatHref: data.linkifyFormatHref,
nl2br: !!nl2br && nl2br !== 0 && nl2br !== 'false',
tagName: data.linkifyTagname,
target: data.linkifyTarget,
className: data.linkifyClassName || data.linkifyLinkclass, // linkClass is deprecated
validate: data.linkifyValidate,
ignoreTags: data.linkifyIgnoreTags
nl2br: !!nl2br && nl2br !== 0 && nl2br !== 'false'
};
if ('linkifyAttributes' in data) {
options.attributes = data.linkifyAttributes;
}
if ('linkifyDefaultProtocol' in data) {
options.defaultProtocol = data.linkifyDefaultProtocol;
}
if ('linkifyEvents' in data) {
options.events = data.linkifyEvents;
}
if ('linkifyFormat' in data) {
options.format = data.linkifyFormat;
}
if ('linkifyFormatHref' in data) {
options.formatHref = data.linkifyFormatHref;
}
if ('linkifyTagname' in data) {
options.tagName = data.linkifyTagname;
}
if ('linkifyTarget' in data) {
options.target = data.linkifyTarget;
}
if ('linkifyValidate' in data) {
options.validate = data.linkifyValidate;
}
if ('linkifyIgnoreTags' in data) {
options.ignoreTags = data.linkifyIgnoreTags;
}
if ('linkifyClassName' in data) {
options.className = data.linkifyClassName;
} else if ('linkifyLinkclass' in data) {
// linkClass is deprecated
options.className = data.linkifyLinkclass;
}
options = _linkifyElement2['default'].normalize(options);
var $target = target === 'this' ? $this : $this.find(target);

@@ -283,4 +322,4 @@ $target.linkify(options);

try {
var a = !define && (window.linkifyElement = _linkifyElement2['default']);
} catch (e) {}
!undefined.define && (window.linkifyElement = _linkifyElement2['default']);
} catch (e) {/**/}
module.exports = exports['default'];

@@ -287,0 +326,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 a(e,t,n){for(var i=[],r=e,a=Array.isArray(r),o=0,r=a?r:r[Symbol.iterator]();;){var l;if(a){if(o>=r.length)break;l=r[o++]}else{if(o=r.next(),o.done)break;l=o.value}var f=l;if("nl"===f.type&&t.nl2br)i.push(n.createElement("br"));else if(f.isLink&&t.check(f)){var u=t.resolve(f),s=u.formatted,d=u.formattedHref,c=u.tagName,y=u.className,m=u.target,h=u.events,k=u.attributes,v=n.createElement(c);if(v.setAttribute("href",d),y&&v.setAttribute("class",y),m&&v.setAttribute("target",m),k)for(var p in k)v.setAttribute(p,k[p]);if(h)for(var g in h)v.addEventListener?v.addEventListener(g,h[g]):v.attachEvent&&v.attachEvent("on"+g,h[g]);v.appendChild(n.createTextNode(s)),i.push(v)}else i.push(n.createTextNode(f.toString()))}return i}function o(e,t,n){if(!e||e.nodeType!==m)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 l=e.firstChild;l;){switch(l.nodeType){case m:o(l,t,n);break;case h:var f=l.nodeValue,u=s(f);if(0===u.length||1===u.length&&u[0]instanceof y)break;var c=a(u,t,n);r(e,l,c),l=c[c.length-1]}l=l.nextSibling}return e}function l(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{n=n||document||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=new c(t),o(e,t,n)}try{try{Object.defineProperty(t,"__esModule",{value:!0})}catch(f){t.__esModule=!0}}catch(f){t.__esModule=!0}var u=i(n),s=u.tokenize,d=u.options,c=d.Options,y=u.parser.TOKENS.TEXT,m=1,h=3;l.helper=o,l.normalize=function(e){return new c(e)},t["default"]=l,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 a(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]&&arguments[1];e.fn=e.fn||{};try{n=n||document||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,a={attributes:n.linkifyAttributes,defaultProtocol:n.linkifyDefaultProtocol,events:n.linkifyEvents,format:n.linkifyFormat,formatHref:n.linkifyFormatHref,nl2br:!!r&&0!==r&&"false"!==r,tagName:n.linkifyTagname,target:n.linkifyTarget,className:n.linkifyClassName||n.linkifyLinkclass,validate:n.linkifyValidate,ignoreTags:n.linkifyIgnoreTags},o="this"===i?t:t.find(i);o.linkify(a)})}))}try{try{Object.defineProperty(t,"__esModule",{value:!0})}catch(o){t.__esModule=!0}}catch(o){t.__esModule=!0}t["default"]=a;var l=(r(n),r(i));try{!define&&(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 a(e,t,n){for(var i=[],r=e,a=Array.isArray(r),o=0,r=a?r:r[Symbol.iterator]();;){var l;if(a){if(o>=r.length)break;l=r[o++]}else{if(o=r.next(),o.done)break;l=o.value}var f=l;if("nl"===f.type&&t.nl2br)i.push(n.createElement("br"));else if(f.isLink&&t.check(f)){var s=t.resolve(f),u=s.formatted,d=s.formattedHref,c=s.tagName,y=s.className,m=s.target,k=s.events,h=s.attributes,v=n.createElement(c);if(v.setAttribute("href",d),y&&v.setAttribute("class",y),m&&v.setAttribute("target",m),h)for(var g in h)v.setAttribute(g,h[g]);if(k)for(var p in k)v.addEventListener?v.addEventListener(p,k[p]):v.attachEvent&&v.attachEvent("on"+p,k[p]);v.appendChild(n.createTextNode(u)),i.push(v)}else i.push(n.createTextNode(f.toString()))}return i}function o(e,t,n){if(!e||e.nodeType!==m)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 l=e.firstChild;l;){var f=void 0,s=void 0,c=void 0;switch(l.nodeType){case m:o(l,t,n);break;case k:if(f=l.nodeValue,s=u(f),0===s.length||1===s.length&&s[0]instanceof y)break;c=a(s,t,n),r(e,l,c),l=c[c.length-1]}l=l.nextSibling}return e}function l(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{n=n||document||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=new c(t),o(e,t,n)}try{try{Object.defineProperty(t,"__esModule",{value:!0})}catch(f){t.__esModule=!0}}catch(f){t.__esModule=!0}var s=i(n),u=s.tokenize,d=s.options,c=d.Options,y=s.parser.TOKENS.TEXT,m=1,k=3;l.helper=o,l.normalize=function(e){return new c(e)},t["default"]=l,e.exports=t["default"]}),define("linkify-jquery",["module","exports","./linkify-element"],function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}function r(e){function t(e){return e=o["default"].normalize(e),this.each(function(){o["default"].helper(this,e,n)})}var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e.fn=e.fn||{};try{n=n||document||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,a={nl2br:!!r&&0!==r&&"false"!==r};"linkifyAttributes"in n&&(a.attributes=n.linkifyAttributes),"linkifyDefaultProtocol"in n&&(a.defaultProtocol=n.linkifyDefaultProtocol),"linkifyEvents"in n&&(a.events=n.linkifyEvents),"linkifyFormat"in n&&(a.format=n.linkifyFormat),"linkifyFormatHref"in n&&(a.formatHref=n.linkifyFormatHref),"linkifyTagname"in n&&(a.tagName=n.linkifyTagname),"linkifyTarget"in n&&(a.target=n.linkifyTarget),"linkifyValidate"in n&&(a.validate=n.linkifyValidate),"linkifyIgnoreTags"in n&&(a.ignoreTags=n.linkifyIgnoreTags),"linkifyClassName"in n?a.className=n.linkifyClassName:"linkifyLinkclass"in n&&(a.className=n.linkifyLinkclass),a=o["default"].normalize(a);var l="this"===i?t:t.find(i);l.linkify(a)})}))}try{try{Object.defineProperty(t,"__esModule",{value:!0})}catch(a){t.__esModule=!0}}catch(a){t.__esModule=!0}t["default"]=r;var o=i(n);try{!(void 0).define&&(window.linkifyElement=o["default"])}catch(a){}e.exports=t["default"]}),require(["jquery","linkify-jquery"],function(e,t){"function"!=typeof e.fn.linkify&&t(e)});
'use strict';
;(function (window, linkify, $) {
var linkifyJquery = function (jquery, linkify) {
var linkifyJquery = function (linkify) {
'use strict';
jquery = 'default' in jquery ? jquery['default'] : jquery;
/**

@@ -135,2 +133,5 @@ Linkify a HTML DOM node

while (childElement) {
var str = void 0,
tokens = void 0,
nodes = void 0;

@@ -142,20 +143,21 @@ switch (childElement.nodeType) {

case TXT_NODE:
{
str = childElement.nodeValue;
tokens = tokenize(str);
var str = childElement.nodeValue;
var tokens = tokenize(str);
if (tokens.length === 0 || tokens.length === 1 && tokens[0] instanceof TEXT_TOKEN) {
// No node replacement required
break;
}
if (tokens.length === 0 || tokens.length === 1 && tokens[0] instanceof TEXT_TOKEN) {
// No node replacement required
break;
}
nodes = tokensToNodes(tokens, opts, doc);
var nodes = tokensToNodes(tokens, opts, doc);
// Swap out the current child for the set of nodes
replaceChildWithChildren(element, childElement, nodes);
// Swap out the current child for the set of nodes
replaceChildWithChildren(element, childElement, nodes);
// so that the correct sibling is selected next
childElement = nodes[nodes.length - 1];
// so that the correct sibling is selected next
childElement = nodes[nodes.length - 1];
break;
break;
}
}

@@ -226,15 +228,52 @@

var nl2br = data.linkifyNlbr;
var options = {
attributes: data.linkifyAttributes,
defaultProtocol: data.linkifyDefaultProtocol,
events: data.linkifyEvents,
format: data.linkifyFormat,
formatHref: data.linkifyFormatHref,
nl2br: !!nl2br && nl2br !== 0 && nl2br !== 'false',
tagName: data.linkifyTagname,
target: data.linkifyTarget,
className: data.linkifyClassName || data.linkifyLinkclass, // linkClass is deprecated
validate: data.linkifyValidate,
ignoreTags: data.linkifyIgnoreTags
nl2br: !!nl2br && nl2br !== 0 && nl2br !== 'false'
};
if ('linkifyAttributes' in data) {
options.attributes = data.linkifyAttributes;
}
if ('linkifyDefaultProtocol' in data) {
options.defaultProtocol = data.linkifyDefaultProtocol;
}
if ('linkifyEvents' in data) {
options.events = data.linkifyEvents;
}
if ('linkifyFormat' in data) {
options.format = data.linkifyFormat;
}
if ('linkifyFormatHref' in data) {
options.formatHref = data.linkifyFormatHref;
}
if ('linkifyTagname' in data) {
options.tagName = data.linkifyTagname;
}
if ('linkifyTarget' in data) {
options.target = data.linkifyTarget;
}
if ('linkifyValidate' in data) {
options.validate = data.linkifyValidate;
}
if ('linkifyIgnoreTags' in data) {
options.ignoreTags = data.linkifyIgnoreTags;
}
if ('linkifyClassName' in data) {
options.className = data.linkifyClassName;
} else if ('linkifyLinkclass' in data) {
// linkClass is deprecated
options.className = data.linkifyLinkclass;
}
options = linkifyElement.normalize(options);
var $target = target === 'this' ? $this : $this.find(target);

@@ -248,7 +287,7 @@ $target.linkify(options);

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

@@ -255,0 +294,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=e,a=Array.isArray(r),o=0,r=a?r:r[Symbol.iterator]();;){var l;if(a){if(o>=r.length)break;l=r[o++]}else{if(o=r.next(),o.done)break;l=o.value}var f=l;if("nl"===f.type&&t.nl2br)i.push(n.createElement("br"));else if(f.isLink&&t.check(f)){var s=t.resolve(f),c=s.formatted,u=s.formattedHref,d=s.tagName,m=s.className,y=s.target,h=s.events,k=s.attributes,v=n.createElement(d);if(v.setAttribute("href",u),m&&v.setAttribute("class",m),y&&v.setAttribute("target",y),k)for(var g in k)v.setAttribute(g,k[g]);if(h)for(var b in h)v.addEventListener?v.addEventListener(b,h[b]):v.attachEvent&&v.attachEvent("on"+b,h[b]);v.appendChild(n.createTextNode(c)),i.push(v)}else i.push(n.createTextNode(f.toString()))}return i}function a(e,t,n){if(!e||e.nodeType!==d)throw new Error("Cannot linkify "+e+" - Invalid DOM Node type");var o=t.ignoreTags;if("A"===e.tagName||s.contains(o,e.tagName))return e;for(var l=e.firstChild;l;){switch(l.nodeType){case d:a(l,t,n);break;case m:var c=l.nodeValue,y=f(c);if(0===y.length||1===y.length&&y[0]instanceof u)break;var h=r(y,t,n);i(e,l,h),l=h[h.length-1]}l=l.nextSibling}return e}function o(t,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{i=i||document||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=new c(n),a(t,n,i)}function l(t){function n(e){return e=o.normalize(e),this.each(function(){o.helper(this,e,i)})}var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t.fn=t.fn||{};try{i=i||document||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,a={attributes:n.linkifyAttributes,defaultProtocol:n.linkifyDefaultProtocol,events:n.linkifyEvents,format:n.linkifyFormat,formatHref:n.linkifyFormatHref,nl2br:!!r&&0!==r&&"false"!==r,tagName:n.linkifyTagname,target:n.linkifyTarget,className:n.linkifyClassName||n.linkifyLinkclass,validate:n.linkifyValidate,ignoreTags:n.linkifyIgnoreTags},o="this"===i?e:e.find(i);o.linkify(a)})}))}t="default"in t?t["default"]:t;var f=n.tokenize,s=n.options,c=s.Options,u=n.parser.TOKENS.TEXT,d=1,m=3;o.helper=a,o.normalize=function(e){return new c(e)};try{!define&&(e.linkifyElement=o)}catch(y){}return l}(n,t);"function"!=typeof n.fn.linkify&&i(n)}(window,linkify,jQuery);
"use strict";!function(e,n,t){var i=function(n){function t(e,n,t){var i=t[t.length-1];e.replaceChild(i,n);for(var a=t.length-2;a>=0;a--)e.insertBefore(t[a],i),i=t[a]}function i(e,n,t){for(var i=[],a=e,r=Array.isArray(a),o=0,a=r?a:a[Symbol.iterator]();;){var l;if(r){if(o>=a.length)break;l=a[o++]}else{if(o=a.next(),o.done)break;l=o.value}var f=l;if("nl"===f.type&&n.nl2br)i.push(t.createElement("br"));else if(f.isLink&&n.check(f)){var s=n.resolve(f),c=s.formatted,u=s.formattedHref,y=s.tagName,d=s.className,m=s.target,k=s.events,h=s.attributes,v=t.createElement(y);if(v.setAttribute("href",u),d&&v.setAttribute("class",d),m&&v.setAttribute("target",m),h)for(var g in h)v.setAttribute(g,h[g]);if(k)for(var b in k)v.addEventListener?v.addEventListener(b,k[b]):v.attachEvent&&v.attachEvent("on"+b,k[b]);v.appendChild(t.createTextNode(c)),i.push(v)}else i.push(t.createTextNode(f.toString()))}return i}function a(e,n,r){if(!e||e.nodeType!==u)throw new Error("Cannot linkify "+e+" - Invalid DOM Node type");var o=n.ignoreTags;if("A"===e.tagName||f.contains(o,e.tagName))return e;for(var s=e.firstChild;s;){var d=void 0,m=void 0,k=void 0;switch(s.nodeType){case u:a(s,n,r);break;case y:if(d=s.nodeValue,m=l(d),0===m.length||1===m.length&&m[0]instanceof c)break;k=i(m,n,r),t(e,s,k),s=k[k.length-1]}s=s.nextSibling}return e}function r(n,t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{i=i||document||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 t=new s(t),a(n,t,i)}function o(n){function t(e){return e=r.normalize(e),this.each(function(){r.helper(this,e,i)})}var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];n.fn=n.fn||{};try{i=i||document||e&&e.document||global&&global.document}catch(a){}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 n.fn.linkify&&(n.fn.linkify=t,n(i).ready(function(){n("[data-linkify]").each(function(){var e=n(this),t=e.data(),i=t.linkify,a=t.linkifyNlbr,o={nl2br:!!a&&0!==a&&"false"!==a};"linkifyAttributes"in t&&(o.attributes=t.linkifyAttributes),"linkifyDefaultProtocol"in t&&(o.defaultProtocol=t.linkifyDefaultProtocol),"linkifyEvents"in t&&(o.events=t.linkifyEvents),"linkifyFormat"in t&&(o.format=t.linkifyFormat),"linkifyFormatHref"in t&&(o.formatHref=t.linkifyFormatHref),"linkifyTagname"in t&&(o.tagName=t.linkifyTagname),"linkifyTarget"in t&&(o.target=t.linkifyTarget),"linkifyValidate"in t&&(o.validate=t.linkifyValidate),"linkifyIgnoreTags"in t&&(o.ignoreTags=t.linkifyIgnoreTags),"linkifyClassName"in t?o.className=t.linkifyClassName:"linkifyLinkclass"in t&&(o.className=t.linkifyLinkclass),o=r.normalize(o);var l="this"===i?e:e.find(i);l.linkify(o)})}))}var l=n.tokenize,f=n.options,s=f.Options,c=n.parser.TOKENS.TEXT,u=1,y=3;r.helper=a,r.normalize=function(e){return new s(e)};try{!(void 0).define&&(e.linkifyElement=r)}catch(d){}return o}(n);"function"!=typeof t.fn.linkify&&i(t)}(window,linkify,jQuery);

@@ -90,3 +90,2 @@ define('linkify-react', ['module', 'exports', 'react', './linkify'], function (module, exports, _react, _linkify) {

var _opts$resolve = opts.resolve(token),
href = _opts$resolve.href,
formatted = _opts$resolve.formatted,

@@ -97,4 +96,3 @@ formattedHref = _opts$resolve.formattedHref,

target = _opts$resolve.target,
attributes = _opts$resolve.attributes,
events = _opts$resolve.events;
attributes = _opts$resolve.attributes;

@@ -141,2 +139,4 @@ var props = {

if (typeof child === 'string') {
// ensure that we always generate unique element IDs for keys
elementId = elementId + 1;
children.push.apply(children, stringToElements(child, opts));

@@ -143,0 +143,0 @@ } else if (_react2['default'].isValidElement(child)) {

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

define("linkify-react",["module","exports","react","./linkify"],function(e,t,r,n){"use strict";function o(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 i(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(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 f(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,a:!1,b:!0,c:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e,t){for(var r=d.tokenize(e),n=[],o=0,i=0;i<r.length;i++){var a=r[i];if("nl"===a.type&&t.nl2br)n.push(c["default"].createElement("br",{key:"linkified-"+ ++o}));else if(a.isLink&&t.check(a)){var s=t.resolve(a),f=(s.href,s.formatted),l=s.formattedHref,p=s.tagName,u=s.className,h=s.target,y=s.attributes,v=(s.events,{key:"linkified-"+ ++o,href:l});if(u&&(v.className=u),h&&(v.target=h),y)for(var m in y)v[m]=y[m];n.push(c["default"].createElement(p,v,f))}else n.push(a.toString())}return n}function p(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(0===c["default"].Children.count(e.props.children))return e;var n=[];c["default"].Children.forEach(e.props.children,function(e){"string"==typeof e?n.push.apply(n,l(e,t)):c["default"].isValidElement(e)?"string"==typeof e.type&&h.contains(t.ignoreTags,e.type.toUpperCase())?n.push(e):n.push(p(e,t,++r)):n.push(e)});var o={key:"linkified-element-"+r};for(var i in e.props)o[i]=e.props[i];return c["default"].cloneElement(e,o,n)}try{try{Object.defineProperty(t,"__esModule",{value:!0})}catch(u){t.__esModule=!0}}catch(u){t.__esModule=!0}var c=i(r),d=o(n),h=d.options,y=h.Options,v=function(e){function t(){return a(this,t),s(this,e.apply(this,arguments))}return f(t,e),t.prototype.render=function(){var e={key:"linkified-element-0"};for(var t in this.props)"options"!==t&&"tagName"!==t&&(e[t]=this.props[t]);var r=new y(this.props.options),n=this.props.tagName||"span",o=c["default"].createElement(n,e);return p(o,r,0)},t}(c["default"].Component);t["default"]=v,e.exports=t["default"]});
define("linkify-react",["module","exports","react","./linkify"],function(e,t,r,n){"use strict";function o(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 i(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(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 f(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,a:!1,b:!0,c:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e,t){for(var r=d.tokenize(e),n=[],o=0,i=0;i<r.length;i++){var a=r[i];if("nl"===a.type&&t.nl2br)n.push(c["default"].createElement("br",{key:"linkified-"+ ++o}));else if(a.isLink&&t.check(a)){var s=t.resolve(a),f=s.formatted,l=s.formattedHref,p=s.tagName,u=s.className,h=s.target,y=s.attributes,v={key:"linkified-"+ ++o,href:l};if(u&&(v.className=u),h&&(v.target=h),y)for(var m in y)v[m]=y[m];n.push(c["default"].createElement(p,v,f))}else n.push(a.toString())}return n}function p(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(0===c["default"].Children.count(e.props.children))return e;var n=[];c["default"].Children.forEach(e.props.children,function(e){"string"==typeof e?(r+=1,n.push.apply(n,l(e,t))):c["default"].isValidElement(e)?"string"==typeof e.type&&h.contains(t.ignoreTags,e.type.toUpperCase())?n.push(e):n.push(p(e,t,++r)):n.push(e)});var o={key:"linkified-element-"+r};for(var i in e.props)o[i]=e.props[i];return c["default"].cloneElement(e,o,n)}try{try{Object.defineProperty(t,"__esModule",{value:!0})}catch(u){t.__esModule=!0}}catch(u){t.__esModule=!0}var c=i(r),d=o(n),h=d.options,y=h.Options,v=function(e){function t(){return a(this,t),s(this,e.apply(this,arguments))}return f(t,e),t.prototype.render=function(){var e={key:"linkified-element-0"};for(var t in this.props)"options"!==t&&"tagName"!==t&&(e[t]=this.props[t]);var r=new y(this.props.options),n=this.props.tagName||"span",o=c["default"].createElement(n,e);return p(o,r,0)},t}(c["default"].Component);t["default"]=v,e.exports=t["default"]});

@@ -40,3 +40,2 @@ 'use strict';

var _opts$resolve = opts.resolve(token),
href = _opts$resolve.href,
formatted = _opts$resolve.formatted,

@@ -47,4 +46,3 @@ formattedHref = _opts$resolve.formattedHref,

target = _opts$resolve.target,
attributes = _opts$resolve.attributes,
events = _opts$resolve.events;
attributes = _opts$resolve.attributes;

@@ -91,2 +89,4 @@ var props = {

if (typeof child === 'string') {
// ensure that we always generate unique element IDs for keys
elementId = elementId + 1;
children.push.apply(children, stringToElements(child, opts));

@@ -93,0 +93,0 @@ } else if (React.isValidElement(child)) {

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

"use strict";function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(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 _inherits(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,a:!1,b:!0,c:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}!function(e,t,n){var r=function(e,t){function n(n,r){for(var i=t.tokenize(n),o=[],s=0,a=0;a<i.length;a++){var p=i[a];if("nl"===p.type&&r.nl2br)o.push(e.createElement("br",{key:"linkified-"+ ++s}));else if(p.isLink&&r.check(p)){var f=r.resolve(p),c=(f.href,f.formatted),l=f.formattedHref,u=f.tagName,h=f.className,y=f.target,d=f.attributes,v=(f.events,{key:"linkified-"+ ++s,href:l});if(h&&(v.className=h),y&&(v.target=y),d)for(var k in d)v[k]=d[k];o.push(e.createElement(u,v,c))}else o.push(p.toString())}return o}function r(t,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(0===e.Children.count(t.props.children))return t;var a=[];e.Children.forEach(t.props.children,function(t){"string"==typeof t?a.push.apply(a,n(t,o)):e.isValidElement(t)?"string"==typeof t.type&&i.contains(o.ignoreTags,t.type.toUpperCase())?a.push(t):a.push(r(t,o,++s)):a.push(t)});var p={key:"linkified-element-"+s};for(var f in t.props)p[f]=t.props[f];return e.cloneElement(t,p,a)}e="default"in e?e["default"]:e;var i=t.options,o=i.Options,s=function(t){function n(){return _classCallCheck(this,n),_possibleConstructorReturn(this,t.apply(this,arguments))}return _inherits(n,t),n.prototype.render=function(){var t={key:"linkified-element-0"};for(var n in this.props)"options"!==n&&"tagName"!==n&&(t[n]=this.props[n]);var i=new o(this.props.options),s=this.props.tagName||"span",a=e.createElement(s,t);return r(a,i,0)},n}(e.Component);return s}(t,n);e.Linkify=e.LinkifyReact=r}(window,React,linkify);
"use strict";function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(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 _inherits(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,a:!1,b:!0,c:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}!function(e,t,n){var r=function(e,t){function n(n,r){for(var i=t.tokenize(n),o=[],s=0,a=0;a<i.length;a++){var p=i[a];if("nl"===p.type&&r.nl2br)o.push(e.createElement("br",{key:"linkified-"+ ++s}));else if(p.isLink&&r.check(p)){var c=r.resolve(p),f=c.formatted,l=c.formattedHref,u=c.tagName,h=c.className,y=c.target,d=c.attributes,k={key:"linkified-"+ ++s,href:l};if(h&&(k.className=h),y&&(k.target=y),d)for(var m in d)k[m]=d[m];o.push(e.createElement(u,k,f))}else o.push(p.toString())}return o}function r(t,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(0===e.Children.count(t.props.children))return t;var a=[];e.Children.forEach(t.props.children,function(t){"string"==typeof t?(s+=1,a.push.apply(a,n(t,o))):e.isValidElement(t)?"string"==typeof t.type&&i.contains(o.ignoreTags,t.type.toUpperCase())?a.push(t):a.push(r(t,o,++s)):a.push(t)});var p={key:"linkified-element-"+s};for(var c in t.props)p[c]=t.props[c];return e.cloneElement(t,p,a)}e="default"in e?e["default"]:e;var i=t.options,o=i.Options,s=function(t){function n(){return _classCallCheck(this,n),_possibleConstructorReturn(this,t.apply(this,arguments))}return _inherits(n,t),n.prototype.render=function(){var t={key:"linkified-element-0"};for(var n in this.props)"options"!==n&&"tagName"!==n&&(t[n]=this.props[n]);var i=new o(this.props.options),s=this.props.tagName||"span",a=e.createElement(s,t);return r(a,i,0)},n}(e.Component);return s}(t,n);e.Linkify=e.LinkifyReact=r}(window,React,linkify);

@@ -102,5 +102,19 @@ define('linkify-string', ['module', 'exports', './linkify'], function (module, exports, _linkify) {

if (!String.prototype.linkify) {
String.prototype.linkify = function (opts) {
return linkifyStr(this, opts);
};
try {
Object.defineProperty(String.prototype, 'linkify', {
set: function set() {},
get: function get() {
return function linkify(opts) {
return linkifyStr(this, opts);
};
}
});
} catch (e) {
// IE 8 doesn't like Object.defineProperty on non-DOM objects
if (!String.prototype.linkify) {
String.prototype.linkify = function (opts) {
return linkifyStr(this, opts);
};
}
}
}

@@ -107,0 +121,0 @@

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

define("linkify-string",["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 i(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function o(e){return e.replace(/"/g,"&quot;")}function a(e){if(!e)return"";var t=[];for(var r in e){var n=e[r]+"";t.push(r+'="'+o(n)+'"')}return t.join(" ")}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=new p(t);for(var r=s(e),n=[],u=0;u<r.length;u++){var l=r[u];if("nl"===l.type&&t.nl2br)n.push("<br>\n");else if(l.isLink&&t.check(l)){var f=t.resolve(l),c=f.formatted,g=f.formattedHref,d=f.tagName,v=f.className,h=f.target,y=f.attributes,_="<"+d+' href="'+o(g)+'"';v&&(_+=' class="'+o(v)+'"'),h&&(_+=' target="'+o(h)+'"'),y&&(_+=" "+a(y)),_+=">"+i(c)+"</"+d+">",n.push(_)}else n.push(i(l.toString()))}return n.join("")}try{try{Object.defineProperty(t,"__esModule",{value:!0})}catch(l){t.__esModule=!0}}catch(l){t.__esModule=!0}var f=n(r),s=f.tokenize,c=f.options,p=c.Options;String.prototype.linkify||(String.prototype.linkify=function(e){return u(this,e)}),t["default"]=u,e.exports=t["default"]});
define("linkify-string",["module","exports","./linkify"],function(t,e,r){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e["default"]=t,e}function i(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function o(t){return t.replace(/"/g,"&quot;")}function u(t){if(!t)return"";var e=[];for(var r in t){var n=t[r]+"";e.push(r+'="'+o(n)+'"')}return e.join(" ")}function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=new s(e);for(var r=c(t),n=[],a=0;a<r.length;a++){var f=r[a];if("nl"===f.type&&e.nl2br)n.push("<br>\n");else if(f.isLink&&e.check(f)){var l=e.resolve(f),p=l.formatted,y=l.formattedHref,g=l.tagName,d=l.className,h=l.target,v=l.attributes,k="<"+g+' href="'+o(y)+'"';d&&(k+=' class="'+o(d)+'"'),h&&(k+=' target="'+o(h)+'"'),v&&(k+=" "+u(v)),k+=">"+i(p)+"</"+g+">",n.push(k)}else n.push(i(f.toString()))}return n.join("")}try{try{Object.defineProperty(e,"__esModule",{value:!0})}catch(f){e.__esModule=!0}}catch(f){e.__esModule=!0}var l=n(r),c=l.tokenize,p=l.options,s=p.Options;if(!String.prototype.linkify)try{Object.defineProperty(String.prototype,"linkify",{a:function(){},get:function(){return function(t){return a(this,t)}}})}catch(f){String.prototype.linkify||(String.prototype.linkify=function(t){return a(this,t)})}e["default"]=a,t.exports=e["default"]});

@@ -86,5 +86,19 @@ 'use strict';

if (!String.prototype.linkify) {
String.prototype.linkify = function (opts) {
return linkifyStr(this, opts);
};
try {
Object.defineProperty(String.prototype, 'linkify', {
set: function set() {},
get: function get() {
return function linkify$$1(opts) {
return linkifyStr(this, opts);
};
}
});
} catch (e) {
// IE 8 doesn't like Object.defineProperty on non-DOM objects
if (!String.prototype.linkify) {
String.prototype.linkify = function (opts) {
return linkifyStr(this, opts);
};
}
}
}

@@ -91,0 +105,0 @@

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

"use strict";!function(t,r){var n=function(t){function r(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function n(t){return t.replace(/"/g,"&quot;")}function e(t){if(!t)return"";var r=[];for(var e in t){var i=t[e]+"";r.push(e+'="'+n(i)+'"')}return r.join(" ")}function i(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i=new u(i);for(var a=o(t),f=[],l=0;l<a.length;l++){var s=a[l];if("nl"===s.type&&i.nl2br)f.push("<br>\n");else if(s.isLink&&i.check(s)){var c=i.resolve(s),p=c.formatted,g=c.formattedHref,v=c.tagName,h=c.className,k=c.target,y=c.attributes,m="<"+v+' href="'+n(g)+'"';h&&(m+=' class="'+n(h)+'"'),k&&(m+=' target="'+n(k)+'"'),y&&(m+=" "+e(y)),m+=">"+r(p)+"</"+v+">",f.push(m)}else f.push(r(s.toString()))}return f.join("")}var o=t.tokenize,a=t.options,u=a.Options;return String.prototype.linkify||(String.prototype.linkify=function(t){return i(this,t)}),i}(r);t.linkifyStr=n}(window,linkify);
"use strict";!function(t,r){var n=function(t){function r(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function n(t){return t.replace(/"/g,"&quot;")}function e(t){if(!t)return"";var r=[];for(var e in t){var i=t[e]+"";r.push(e+'="'+n(i)+'"')}return r.join(" ")}function i(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i=new a(i);for(var f=o(t),u=[],c=0;c<f.length;c++){var p=f[c];if("nl"===p.type&&i.nl2br)u.push("<br>\n");else if(p.isLink&&i.check(p)){var l=i.resolve(p),s=l.formatted,g=l.formattedHref,y=l.tagName,h=l.className,v=l.target,k=l.attributes,S="<"+y+' href="'+n(g)+'"';h&&(S+=' class="'+n(h)+'"'),v&&(S+=' target="'+n(v)+'"'),k&&(S+=" "+e(k)),S+=">"+r(s)+"</"+y+">",u.push(S)}else u.push(r(p.toString()))}return u.join("")}var o=t.tokenize,f=t.options,a=f.Options;if(!String.prototype.linkify)try{Object.defineProperty(String.prototype,"linkify",{a:function(){},get:function(){return function(t){return i(this,t)}}})}catch(u){String.prototype.linkify||(String.prototype.linkify=function(t){return i(this,t)})}return i}(r);t.linkifyStr=n}(window,linkify);

@@ -31,3 +31,4 @@ 'use strict';

attributes: null,
className: 'linkified' };
className: 'linkified' // Deprecated value - no default class will be provided in the future
};

@@ -37,10 +38,10 @@ function Options(opts) {

this.defaultProtocol = opts.defaultProtocol || defaults.defaultProtocol;
this.events = opts.events || defaults.events;
this.format = opts.format || defaults.format;
this.formatHref = opts.formatHref || defaults.formatHref;
this.nl2br = opts.nl2br || defaults.nl2br;
this.tagName = opts.tagName || defaults.tagName;
this.target = opts.target || defaults.target;
this.validate = opts.validate || defaults.validate;
this.defaultProtocol = opts.hasOwnProperty('defaultProtocol') ? opts.defaultProtocol : defaults.defaultProtocol;
this.events = opts.hasOwnProperty('events') ? opts.events : defaults.events;
this.format = opts.hasOwnProperty('format') ? opts.format : defaults.format;
this.formatHref = opts.hasOwnProperty('formatHref') ? opts.formatHref : defaults.formatHref;
this.nl2br = opts.hasOwnProperty('nl2br') ? opts.nl2br : defaults.nl2br;
this.tagName = opts.hasOwnProperty('tagName') ? opts.tagName : defaults.tagName;
this.target = opts.hasOwnProperty('target') ? opts.target : defaults.target;
this.validate = opts.hasOwnProperty('validate') ? opts.validate : defaults.validate;
this.ignoreTags = [];

@@ -50,7 +51,6 @@

this.attributes = opts.attributes || opts.linkAttributes || defaults.attributes;
this.className = opts.className || opts.linkClass || defaults.className;
this.className = opts.hasOwnProperty('className') ? opts.className : opts.linkClass || defaults.className;
// Make all tags names upper case
var ignoredTags = opts.ignoreTags || defaults.ignoreTags;
var ignoredTags = opts.hasOwnProperty('ignoreTags') ? opts.ignoreTags : defaults.ignoreTags;
for (var i = 0; i < ignoredTags.length; i++) {

@@ -93,9 +93,9 @@ this.ignoreTags.push(ignoredTags[i].toUpperCase());

* params.
* @param [String] key Name of option to use
* @param {String} key Name of option to use
* @param operator will be passed to the target option if it's method
* @param [MultiToken] token The token from linkify.tokenize
* @param {MultiToken} token The token from linkify.tokenize
*/
get: function get(key, operator, token) {
var option = this[key];
var optionValue = void 0,
option = this[key];
if (!option) {

@@ -109,3 +109,3 @@ return option;

case 'object':
var optionValue = option[token.type] || defaults[key];
optionValue = option.hasOwnProperty(token.type) ? option[token.type] : defaults[key];
return typeof optionValue === 'function' ? optionValue(operator, token.type) : optionValue;

@@ -594,3 +594,3 @@ }

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
var tlds = 'aaa|aarp|abarth|abb|abbott|abbvie|abc|able|abogado|abudhabi|ac|academy|accenture|accountant|accountants|aco|active|actor|ad|adac|ads|adult|ae|aeg|aero|aetna|af|afamilycompany|afl|africa|ag|agakhan|agency|ai|aig|aigo|airbus|airforce|airtel|akdn|al|alfaromeo|alibaba|alipay|allfinanz|allstate|ally|alsace|alstom|am|americanexpress|americanfamily|amex|amfam|amica|amsterdam|analytics|android|anquan|anz|ao|aol|apartments|app|apple|aq|aquarelle|ar|arab|aramco|archi|army|arpa|art|arte|as|asda|asia|associates|at|athleta|attorney|au|auction|audi|audible|audio|auspost|author|auto|autos|avianca|aw|aws|ax|axa|az|azure|ba|baby|baidu|banamex|bananarepublic|band|bank|bar|barcelona|barclaycard|barclays|barefoot|bargains|baseball|basketball|bauhaus|bayern|bb|bbc|bbt|bbva|bcg|bcn|bd|be|beats|beauty|beer|bentley|berlin|best|bestbuy|bet|bf|bg|bh|bharti|bi|bible|bid|bike|bing|bingo|bio|biz|bj|black|blackfriday|blanco|blockbuster|blog|bloomberg|blue|bm|bms|bmw|bn|bnl|bnpparibas|bo|boats|boehringer|bofa|bom|bond|boo|book|booking|boots|bosch|bostik|boston|bot|boutique|box|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|calvinklein|cam|camera|camp|cancerresearch|canon|capetown|capital|capitalone|car|caravan|cards|care|career|careers|cars|cartier|casa|case|caseih|cash|casino|cat|catering|catholic|cba|cbn|cbre|cbs|cc|cd|ceb|center|ceo|cern|cf|cfa|cfd|cg|ch|chanel|channel|chase|chat|cheap|chintai|chloe|christmas|chrome|chrysler|church|ci|cipriani|circle|cisco|citadel|citi|citic|city|cityeats|ck|cl|claims|cleaning|click|clinic|clinique|clothing|cloud|club|clubmed|cm|cn|co|coach|codes|coffee|college|cologne|com|comcast|commbank|community|company|compare|computer|comsec|condos|construction|consulting|contact|contractors|cooking|cookingchannel|cool|coop|corsica|country|coupon|coupons|courses|cr|credit|creditcard|creditunion|cricket|crown|crs|cruise|cruises|csc|cu|cuisinella|cv|cw|cx|cy|cymru|cyou|cz|dabur|dad|dance|data|date|dating|datsun|day|dclk|dds|de|deal|dealer|deals|degree|delivery|dell|deloitte|delta|democrat|dental|dentist|desi|design|dev|dhl|diamonds|diet|digital|direct|directory|discount|discover|dish|diy|dj|dk|dm|dnp|do|docs|doctor|dodge|dog|doha|domains|dot|download|drive|dtv|dubai|duck|dunlop|duns|dupont|durban|dvag|dvr|dz|earth|eat|ec|eco|edeka|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|epost|epson|equipment|er|ericsson|erni|es|esq|estate|esurance|et|etisalat|eu|eurovision|eus|events|everbank|exchange|expert|exposed|express|extraspace|fage|fail|fairwinds|faith|family|fan|fans|farm|farmers|fashion|fast|fedex|feedback|ferrari|ferrero|fi|fiat|fidelity|fido|film|final|finance|financial|fire|firestone|firmdale|fish|fishing|fit|fitness|fj|fk|flickr|flights|flir|florist|flowers|fly|fm|fo|foo|food|foodnetwork|football|ford|forex|forsale|forum|foundation|fox|fr|free|fresenius|frl|frogans|frontdoor|frontier|ftr|fujitsu|fujixerox|fun|fund|furniture|futbol|fyi|ga|gal|gallery|gallo|gallup|game|games|gap|garden|gb|gbiz|gd|gdn|ge|gea|gent|genting|george|gf|gg|ggee|gh|gi|gift|gifts|gives|giving|gl|glade|glass|gle|global|globo|gm|gmail|gmbh|gmo|gmx|gn|godaddy|gold|goldpoint|golf|goo|goodhands|goodyear|goog|google|gop|got|gov|gp|gq|gr|grainger|graphics|gratis|green|gripe|grocery|group|gs|gt|gu|guardian|gucci|guge|guide|guitars|guru|gw|gy|hair|hamburg|hangout|haus|hbo|hdfc|hdfcbank|health|healthcare|help|helsinki|here|hermes|hgtv|hiphop|hisamitsu|hitachi|hiv|hk|hkt|hm|hn|hockey|holdings|holiday|homedepot|homegoods|homes|homesense|honda|honeywell|horse|hospital|host|hosting|hot|hoteles|hotels|hotmail|house|how|hr|hsbc|ht|htc|hu|hughes|hyatt|hyundai|ibm|icbc|ice|icu|id|ie|ieee|ifm|ikano|il|im|imamat|imdb|immo|immobilien|in|industries|infiniti|info|ing|ink|institute|insurance|insure|int|intel|international|intuit|investments|io|ipiranga|iq|ir|irish|is|iselect|ismaili|ist|istanbul|it|itau|itv|iveco|iwc|jaguar|java|jcb|jcp|je|jeep|jetzt|jewelry|jio|jlc|jll|jm|jmp|jnj|jo|jobs|joburg|jot|joy|jp|jpmorgan|jprs|juegos|juniper|kaufen|kddi|ke|kerryhotels|kerrylogistics|kerryproperties|kfh|kg|kh|ki|kia|kim|kinder|kindle|kitchen|kiwi|km|kn|koeln|komatsu|kosher|kp|kpmg|kpn|kr|krd|kred|kuokgroup|kw|ky|kyoto|kz|la|lacaixa|ladbrokes|lamborghini|lamer|lancaster|lancia|lancome|land|landrover|lanxess|lasalle|lat|latino|latrobe|law|lawyer|lb|lc|lds|lease|leclerc|lefrak|legal|lego|lexus|lgbt|li|liaison|lidl|life|lifeinsurance|lifestyle|lighting|like|lilly|limited|limo|lincoln|linde|link|lipsy|live|living|lixil|lk|loan|loans|locker|locus|loft|lol|london|lotte|lotto|love|lpl|lplfinancial|lr|ls|lt|ltd|ltda|lu|lundbeck|lupin|luxe|luxury|lv|ly|ma|macys|madrid|maif|maison|makeup|man|management|mango|map|market|marketing|markets|marriott|marshalls|maserati|mattel|mba|mc|mckinsey|md|me|med|media|meet|melbourne|meme|memorial|men|menu|meo|merckmsd|metlife|mg|mh|miami|microsoft|mil|mini|mint|mit|mitsubishi|mk|ml|mlb|mls|mm|mma|mn|mo|mobi|mobile|mobily|moda|moe|moi|mom|monash|money|monster|mopar|mormon|mortgage|moscow|moto|motorcycles|mov|movie|movistar|mp|mq|mr|ms|msd|mt|mtn|mtr|mu|museum|mutual|mv|mw|mx|my|mz|na|nab|nadex|nagoya|name|nationwide|natura|navy|nba|nc|ne|nec|net|netbank|netflix|network|neustar|new|newholland|news|next|nextdirect|nexus|nf|nfl|ng|ngo|nhk|ni|nico|nike|nikon|ninja|nissan|nissay|nl|no|nokia|northwesternmutual|norton|now|nowruz|nowtv|np|nr|nra|nrw|ntt|nu|nyc|nz|obi|observer|off|office|okinawa|olayan|olayangroup|oldnavy|ollo|om|omega|one|ong|onl|online|onyourside|ooo|open|oracle|orange|org|organic|origins|osaka|otsuka|ott|ovh|pa|page|panasonic|panerai|paris|pars|partners|parts|party|passagens|pay|pccw|pe|pet|pf|pfizer|pg|ph|pharmacy|phd|philips|phone|photo|photography|photos|physio|piaget|pics|pictet|pictures|pid|pin|ping|pink|pioneer|pizza|pk|pl|place|play|playstation|plumbing|plus|pm|pn|pnc|pohl|poker|politie|porn|post|pr|pramerica|praxi|press|prime|pro|prod|productions|prof|progressive|promo|properties|property|protection|pru|prudential|ps|pt|pub|pw|pwc|py|qa|qpon|quebec|quest|qvc|racing|radio|raid|re|read|realestate|realtor|realty|recipes|red|redstone|redumbrella|rehab|reise|reisen|reit|reliance|ren|rent|rentals|repair|report|republican|rest|restaurant|review|reviews|rexroth|rich|richardli|ricoh|rightathome|ril|rio|rip|rmit|ro|rocher|rocks|rodeo|rogers|room|rs|rsvp|ru|rugby|ruhr|run|rw|rwe|ryukyu|sa|saarland|safe|safety|sakura|sale|salon|samsclub|samsung|sandvik|sandvikcoromant|sanofi|sap|sapo|sarl|sas|save|saxo|sb|sbi|sbs|sc|sca|scb|schaeffler|schmidt|scholarships|school|schule|schwarz|science|scjohnson|scor|scot|sd|se|search|seat|secure|security|seek|select|sener|services|ses|seven|sew|sex|sexy|sfr|sg|sh|shangrila|sharp|shaw|shell|shia|shiksha|shoes|shop|shopping|shouji|show|showtime|shriram|si|silk|sina|singles|site|sj|sk|ski|skin|sky|skype|sl|sling|sm|smart|smile|sn|sncf|so|soccer|social|softbank|software|sohu|solar|solutions|song|sony|soy|space|spiegel|spot|spreadbetting|sr|srl|srt|st|stada|staples|star|starhub|statebank|statefarm|statoil|stc|stcgroup|stockholm|storage|store|stream|studio|study|style|su|sucks|supplies|supply|support|surf|surgery|suzuki|sv|swatch|swiftcover|swiss|sx|sy|sydney|symantec|systems|sz|tab|taipei|talk|taobao|target|tatamotors|tatar|tattoo|tax|taxi|tc|tci|td|tdk|team|tech|technology|tel|telecity|telefonica|temasek|tennis|teva|tf|tg|th|thd|theater|theatre|tiaa|tickets|tienda|tiffany|tips|tires|tirol|tj|tjmaxx|tjx|tk|tkmaxx|tl|tm|tmall|tn|to|today|tokyo|tools|top|toray|toshiba|total|tours|town|toyota|toys|tr|trade|trading|training|travel|travelchannel|travelers|travelersinsurance|trust|trv|tt|tube|tui|tunes|tushu|tv|tvs|tw|tz|ua|ubank|ubs|uconnect|ug|uk|unicom|university|uno|uol|ups|us|uy|uz|va|vacations|vana|vanguard|vc|ve|vegas|ventures|verisign|versicherung|vet|vg|vi|viajes|video|vig|viking|villas|vin|vip|virgin|visa|vision|vista|vistaprint|viva|vivo|vlaanderen|vn|vodka|volkswagen|volvo|vote|voting|voto|voyage|vu|vuelos|wales|walmart|walter|wang|wanggou|warman|watch|watches|weather|weatherchannel|webcam|weber|website|wed|wedding|weibo|weir|wf|whoswho|wien|wiki|williamhill|win|windows|wine|winners|wme|wolterskluwer|woodside|work|works|world|wow|ws|wtc|wtf|xbox|xerox|xfinity|xihuan|xin|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--30rr7y|xn--3bst00m|xn--3ds443g|xn--3e0b707e|xn--3hcrj9c|xn--3oq18vl8pn36a|xn--3pxu8k|xn--42c2d9a|xn--45br5cyl|xn--45brj9c|xn--45q11c|xn--4gbrim|xn--54b7fta0cc|xn--55qw42g|xn--55qx5d|xn--5su34j936bgsg|xn--5tzm5g|xn--6frz82g|xn--6qq986b3xl|xn--80adxhks|xn--80ao21a|xn--80aqecdr1a|xn--80asehdb|xn--80aswg|xn--8y0a063a|xn--90a3ac|xn--90ae|xn--90ais|xn--9dbq2a|xn--9et52u|xn--9krt00a|xn--b4w605ferd|xn--bck1b9a5dre4c|xn--c1avg|xn--c2br7g|xn--cck2b3b|xn--cg4bki|xn--clchc0ea0b2g2a9gcd|xn--czr694b|xn--czrs0t|xn--czru2d|xn--d1acj3b|xn--d1alf|xn--e1a4c|xn--eckvdtc9d|xn--efvy88h|xn--estv75g|xn--fct429k|xn--fhbei|xn--fiq228c5hs|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--fjq720a|xn--flw351e|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--fzys8d69uvgm|xn--g2xx48c|xn--gckr3f0f|xn--gecrj9c|xn--gk3at1e|xn--h2breg3eve|xn--h2brj9c|xn--h2brj9c8c|xn--hxt814e|xn--i1b6b1a6a2e|xn--imr513n|xn--io0a7i|xn--j1aef|xn--j1amh|xn--j6w193g|xn--jlq61u9w7b|xn--jvr189m|xn--kcrx77d1x4a|xn--kprw13d|xn--kpry57d|xn--kpu716f|xn--kput3i|xn--l1acc|xn--lgbbat1ad8j|xn--mgb9awbf|xn--mgba3a3ejt|xn--mgba3a4f16a|xn--mgba7c0bbn0a|xn--mgbaakc7dvf|xn--mgbaam7a8h|xn--mgbab2bd|xn--mgbai9azgqp6j|xn--mgbayh7gpa|xn--mgbb9fbpob|xn--mgbbh1a|xn--mgbbh1a71e|xn--mgbc0a9azcg|xn--mgbca7dzdo|xn--mgberp4a5d4ar|xn--mgbgu82a|xn--mgbi4ecexp|xn--mgbpl2fh|xn--mgbt3dhd|xn--mgbtx2b|xn--mgbx4cd0ab|xn--mix891f|xn--mk1bu44c|xn--mxtq1m|xn--ngbc5azd|xn--ngbe9e0a|xn--ngbrx|xn--node|xn--nqv7f|xn--nqv7fs00ema|xn--nyqy26a|xn--o3cw4h|xn--ogbpf8fl|xn--p1acf|xn--p1ai|xn--pbt977c|xn--pgbs0dh|xn--pssy2u|xn--q9jyb4c|xn--qcka1pmc|xn--qxam|xn--rhqv96g|xn--rovu88b|xn--rvc1e0am3e|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--tckwe|xn--tiq49xqyj|xn--unup4y|xn--vermgensberater-ctb|xn--vermgensberatung-pwb|xn--vhquv|xn--vuq861b|xn--w4r85el8fhu5dnra|xn--w4rs40l|xn--wgbh1c|xn--wgbl6a|xn--xhq521b|xn--xkc2al3hye2a|xn--xkc2dl3a5ee0h|xn--y9a3aq|xn--yfro4i67o|xn--ygbi2ammx|xn--zfr164b|xperia|xxx|xyz|yachts|yahoo|yamaxun|yandex|ye|yodobashi|yoga|yokohama|you|youtube|yt|yun|za|zappos|zara|zero|zip|zippo|zm|zone|zuerich|zw'.split('|'); // macro, see gulpfile.js

@@ -640,2 +640,3 @@ var NUMBERS = '0123456789'.split('');

domainStates.push.apply(domainStates, partialProtocolHttpStates);
domainStates.push.apply(domainStates, partialProtocolMailtoStates);

@@ -710,3 +711,2 @@ // Protocol states

var state = S_START;
var secondState = null;
var nextState = null;

@@ -718,3 +718,2 @@ var tokenLength = 0;

while (cursor < len && (nextState = state.next(lowerStr[cursor]))) {
secondState = null;
state = nextState;

@@ -865,3 +864,2 @@

toHref: function toHref() {
var tokens = this.v;
return 'mailto:' + this.toString();

@@ -868,0 +866,0 @@ }

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

"use strict";var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};define("linkify",["exports"],function(e){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}function n(e){e=e||{},this.defaultProtocol=e.defaultProtocol||p.defaultProtocol,this.events=e.events||p.events,this.format=e.format||p.format,this.formatHref=e.formatHref||p.formatHref,this.nl2br=e.nl2br||p.nl2br,this.tagName=e.tagName||p.tagName,this.target=e.target||p.target,this.validate=e.validate||p.validate,this.ignoreTags=[],this.attributes=e.attributes||e.linkAttributes||p.attributes,this.className=e.className||e.linkClass||p.className;for(var t=e.ignoreTags||p.ignoreTags,n=0;n<t.length;n++)this.ignoreTags.push(t[n].toUpperCase())}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,t){return"url"===t?"_blank":null}function i(){return function(e){this.j=[],this.T=e||null}}function s(e,t,n,o){for(var a=0,r=e.length,i=t,s=[],c=void 0;a<r&&(c=i.next(e[a]));)i=c,a++;if(a>=r)return[];for(;a<r-1;)c=new f(o),s.push(c),i.on(e[a],c),i=c,a++;return c=new f(n),s.push(c),i.on(e[r-1],c),s}function c(){return function(e){e&&(this.v=e)}}function l(e){var n=e?{v:e}:{};return t(d,c(),n)}function u(e){return e instanceof b||e instanceof P}var p={defaultProtocol:"http",events:null,format:a,formatHref:a,nl2br:!1,tagName:"a",target:r,validate:!0,ignoreTags:[],attributes:null,className:"linkified"};n.prototype={resolve:function(e){var t=e.toHref(this.defaultProtocol);return{formatted:this.get("format",e.toString(),e),formattedHref:this.get("formatHref",t,e),tagName:this.get("tagName",t,e),className:this.get("className",t,e),target:this.get("target",t,e),events:this.getObject("events",t,e),attributes:this.getObject("attributes",t,e)}},check:function(e){return this.get("validate",e.toString(),e)},get:function(e,t,n){var o=this[e];if(!o)return o;switch("undefined"==typeof o?"undefined":_typeof(o)){case"function":return o(t,n.type);case"object":var a=o[n.type]||p[e];return"function"==typeof a?a(t,n.type):a}return o},getObject:function(e,t,n){var o=this[e];return"function"==typeof o?o(t,n.type):o}};var h=Object.freeze({defaults:p,Options:n,contains:o}),g=i();g.prototype={defaultTransition:!1,on:function(e,t){if(e instanceof Array){for(var n=0;n<e.length;n++)this.j.push([e[n],t]);return this}return this.j.push([e,t]),this},next:function(e){for(var t=0;t<this.j.length;t++){var n=this.j[t],o=n[0],a=n[1];if(this.test(e,o))return a}return this.defaultTransition},accepts:function(){return!!this.T},test:function(e,t){return e===t},emit:function(){return this.T}};var f=t(g,i(),{test:function(e,t){return e===t||t instanceof RegExp&&t.test(e)}}),m=t(g,i(),{jump:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.next(new e(""));return n===this.defaultTransition?(n=new this.constructor(t),this.on(e,n)):t&&(n.T=t),n},test:function(e,t){return e instanceof t}}),d=c();d.prototype={toString:function(){return this.v+""}};var b=l(),y=l("@"),v=l(":"),k=l("."),w=l(),j=l(),x=l("\n"),z=l(),O=l("+"),S=l("#"),N=l(),T=l("mailto:"),A=l("?"),L=l("/"),E=l("_"),C=l(),P=l(),R=l(),q=l("{"),H=l("["),M=l("<"),B=l("("),U=l("}"),_=l("]"),D=l(">"),I=l(")"),K=l("&"),G=Object.freeze({Base:d,DOMAIN:b,AT:y,COLON:v,DOT:k,PUNCTUATION:w,LOCALHOST:j,NL:x,NUM:z,PLUS:O,POUND:S,QUERY:A,PROTOCOL:N,MAILTO:T,SLASH:L,UNDERSCORE:E,SYM:C,TLD:P,WS:R,OPENBRACE:q,OPENBRACKET:H,OPENANGLEBRACKET:M,OPENPAREN:B,CLOSEBRACE:U,CLOSEBRACKET:_,CLOSEANGLEBRACKET:D,CLOSEPAREN:I,AMPERSAND:K}),Y="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("|"),Q="0123456789".split(""),W="0123456789abcdefghijklmnopqrstuvwxyz".split(""),X=[" ","\f","\r","\t","\x0B"," "," ","᠎"],Z=[],F=function(e){return new f(e)},J=F(),V=F(z),$=F(b),ee=F(),te=F(R);J.on("@",F(y)).on(".",F(k)).on("+",F(O)).on("#",F(S)).on("?",F(A)).on("/",F(L)).on("_",F(E)).on(":",F(v)).on("{",F(q)).on("[",F(H)).on("<",F(M)).on("(",F(B)).on("}",F(U)).on("]",F(_)).on(">",F(D)).on(")",F(I)).on("&",F(K)).on([",",";","!",'"',"'"],F(w)),J.on("\n",F(x)).on(X,te),te.on(X,te);for(var ne=0;ne<Y.length;ne++){var oe=s(Y[ne],J,P,b);Z.push.apply(Z,oe)}var ae=s("file",J,b,b),re=s("ftp",J,b,b),ie=s("http",J,b,b),se=s("mailto",J,b,b);Z.push.apply(Z,ae),Z.push.apply(Z,re),Z.push.apply(Z,ie);var ce=ae.pop(),le=re.pop(),ue=ie.pop(),pe=se.pop(),he=F(b),ge=F(N),fe=F(T);le.on("s",he).on(":",ge),ue.on("s",he).on(":",ge),Z.push(he),ce.on(":",ge),he.on(":",ge),pe.on(":",fe);var me=s("localhost",J,j,b);Z.push.apply(Z,me),J.on(Q,V),V.on("-",ee).on(Q,V).on(W,$),$.on("-",ee).on(W,$);for(var de=0;de<Z.length;de++)Z[de].on("-",ee).on(W,$);ee.on("-",ee).on(Q,$).on(W,$),J.defaultTransition=F(C);var be=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=J,i=null,s=null,c=0,l=null,u=-1;a<n&&(s=r.next(t[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();o.push(new p(e.substr(a-c,c)))}}return o},ye=J,ve=Object.freeze({State:f,TOKENS:G,run:be,start:ye}),ke=c();ke.prototype={type:"token",isLink:!1,toString:function(){for(var e=[],t=0;t<this.v.length;t++)e.push(this.v[t].toString());return e.join("")},toHref:function(){return this.toString()},toObject:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"http";return{type:this.type,value:this.toString(),href:this.toHref(e)}}};var we=t(ke,c(),{type:"email",isLink:!0}),je=t(ke,c(),{type:"email",isLink:!0,toHref:function(){this.v;return"mailto:"+this.toString()}}),xe=t(ke,c(),{type:"text"}),ze=t(ke,c(),{type:"nl"}),Oe=t(ke,c(),{type:"url",isLink:!0,toHref:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"http",t=!1,n=!1,o=this.v,a=[],r=0;o[r]instanceof N;)t=!0,a.push(o[r].toString().toLowerCase()),r++;for(;o[r]instanceof L;)n=!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(""),t||n||(a=e+"://"+a),a},hasProtocol:function(){return this.v[0]instanceof N}}),Se=Object.freeze({Base:ke,MAILTOEMAIL:we,EMAIL:je,NL:ze,TEXT:xe,URL:Oe}),Ne=function(e){return new m(e)},Te=Ne(),Ae=Ne(),Le=Ne(),Ee=Ne(),Ce=Ne(),Pe=Ne(),Re=Ne(),qe=Ne(Oe),He=Ne(),Me=Ne(Oe),Be=Ne(Oe),Ue=Ne(),_e=Ne(),De=Ne(),Ie=Ne(),Ke=Ne(),Ge=Ne(Oe),Ye=Ne(Oe),Qe=Ne(Oe),We=Ne(Oe),Xe=Ne(),Ze=Ne(),Fe=Ne(),Je=Ne(),Ve=Ne(),$e=Ne(),et=Ne(je),tt=Ne(),nt=Ne(je),ot=Ne(we),at=Ne(),rt=Ne(),it=Ne(),st=Ne(),ct=Ne(ze);Te.on(x,ct).on(N,Ae).on(T,Le).on(L,Ee),Ae.on(L,Ee),Ee.on(L,Ce),Te.on(P,Pe).on(b,Pe).on(j,qe).on(z,Pe),Ce.on(P,Be).on(b,Be).on(z,Be).on(j,Be),Pe.on(k,Re),Ve.on(k,$e),Re.on(P,qe).on(b,Pe).on(z,Pe).on(j,Pe),$e.on(P,et).on(b,Ve).on(z,Ve).on(j,Ve),qe.on(k,Re),et.on(k,$e),qe.on(v,He).on(L,Be),He.on(z,Me),Me.on(L,Be),et.on(v,tt),tt.on(z,nt);var lt=[b,y,j,z,O,S,N,L,P,E,C,K],ut=[v,k,A,w,U,_,D,I,q,H,M,B];Be.on(q,_e).on(H,De).on(M,Ie).on(B,Ke),Ue.on(q,_e).on(H,De).on(M,Ie).on(B,Ke),_e.on(U,Be),De.on(_,Be),Ie.on(D,Be),Ke.on(I,Be),Ge.on(U,Be),Ye.on(_,Be),Qe.on(D,Be),We.on(I,Be),Xe.on(U,Be),Ze.on(_,Be),Fe.on(D,Be),Je.on(I,Be),_e.on(lt,Ge),De.on(lt,Ye),Ie.on(lt,Qe),Ke.on(lt,We),_e.on(ut,Xe),De.on(ut,Ze),Ie.on(ut,Fe),Ke.on(ut,Je),Ge.on(lt,Ge),Ye.on(lt,Ye),Qe.on(lt,Qe),We.on(lt,We),Ge.on(ut,Ge),Ye.on(ut,Ye),Qe.on(ut,Qe),We.on(ut,We),Xe.on(lt,Ge),Ze.on(lt,Ye),Fe.on(lt,Qe),Je.on(lt,We),Xe.on(ut,Xe),Ze.on(ut,Ze),Fe.on(ut,Fe),Je.on(ut,Je),Be.on(lt,Be),Ue.on(lt,Be),Be.on(ut,Ue),Ue.on(ut,Ue),Le.on(P,ot).on(b,ot).on(z,ot).on(j,ot),ot.on(lt,ot).on(ut,at),at.on(lt,ot).on(ut,at);var pt=[b,z,O,S,A,E,C,K,P];Pe.on(pt,rt).on(y,it),qe.on(pt,rt).on(y,it),Re.on(pt,rt),rt.on(pt,rt).on(y,it).on(k,st),st.on(pt,rt),it.on(P,Ve).on(b,Ve).on(j,et);var ht=function(e){for(var t=e.length,n=0,o=[],a=[];n<t;){for(var r=Te,i=null,s=null,c=0,l=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,l=r):u>=0&&u++,n++,c++;if(u<0)for(var p=n-c;p<n;p++)a.push(e[p]);else{a.length>0&&(o.push(new xe(a)),a=[]),n-=u,c-=u;var h=l.emit();o.push(new h(e.slice(n-c,n)))}}return a.length>0&&o.push(new xe(a)),o},gt=Object.freeze({State:m,TOKENS:Se,run:ht,start:Te});Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)});var ft=function(e){return ht(be(e))},mt=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=ft(e),o=[],a=0;a<n.length;a++){var r=n[a];!r.isLink||t&&r.type!==t||o.push(r.toObject())}return o},dt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=ft(e);return 1===n.length&&n[0].isLink&&(!t||n[0].type===t)};e.find=mt,e.inherits=t,e.options=h,e.parser=gt,e.scanner=ve,e.test=dt,e.tokenize=ft;try{Object.defineProperty(e,"__esModule",{value:!0})}catch(bt){e.__esModule=!0}});
"use strict";var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n};define("linkify",["exports"],function(n){function e(n,e){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},t=Object.create(n.prototype);for(var o in a)t[o]=a[o];return t.constructor=e,e.prototype=t,e}function a(n){n=n||{},this.defaultProtocol=n.hasOwnProperty("defaultProtocol")?n.defaultProtocol:g.defaultProtocol,this.events=n.hasOwnProperty("events")?n.events:g.events,this.format=n.hasOwnProperty("format")?n.format:g.format,this.formatHref=n.hasOwnProperty("formatHref")?n.formatHref:g.formatHref,this.nl2br=n.hasOwnProperty("nl2br")?n.nl2br:g.nl2br,this.tagName=n.hasOwnProperty("tagName")?n.tagName:g.tagName,this.target=n.hasOwnProperty("target")?n.target:g.target,this.validate=n.hasOwnProperty("validate")?n.validate:g.validate,this.ignoreTags=[],this.attributes=n.attributes||n.linkAttributes||g.attributes,this.className=n.hasOwnProperty("className")?n.className:n.linkClass||g.className;for(var e=n.hasOwnProperty("ignoreTags")?n.ignoreTags:g.ignoreTags,a=0;a<e.length;a++)this.ignoreTags.push(e[a].toUpperCase())}function t(n,e){for(var a=0;a<n.length;a++)if(n[a]===e)return!0;return!1}function o(n){return n}function r(n,e){return"url"===e?"_blank":null}function i(){return function(n){this.j=[],this.T=n||null}}function s(n,e,a,t){for(var o=0,r=n.length,i=e,s=[],c=void 0;o<r&&(c=i.next(n[o]));)i=c,o++;if(o>=r)return[];for(;o<r-1;)c=new b(t),s.push(c),i.on(n[o],c),i=c,o++;return c=new b(a),s.push(c),i.on(n[r-1],c),s}function c(){return function(n){n&&(this.v=n)}}function l(n){var a=n?{v:n}:{};return e(f,c(),a)}function u(n){return n instanceof d||n instanceof E}var g={defaultProtocol:"http",events:null,format:o,formatHref:o,nl2br:!1,tagName:"a",target:r,validate:!0,ignoreTags:[],attributes:null,className:"linkified"};a.prototype={resolve:function(n){var e=n.toHref(this.defaultProtocol);return{formatted:this.get("format",n.toString(),n),formattedHref:this.get("formatHref",e,n),tagName:this.get("tagName",e,n),className:this.get("className",e,n),target:this.get("target",e,n),events:this.getObject("events",e,n),attributes:this.getObject("attributes",e,n)}},check:function(n){return this.get("validate",n.toString(),n)},get:function(n,e,a){var t=void 0,o=this[n];if(!o)return o;switch("undefined"==typeof o?"undefined":_typeof(o)){case"function":return o(e,a.type);case"object":return t=o.hasOwnProperty(a.type)?o[a.type]:g[n],"function"==typeof t?t(e,a.type):t}return o},getObject:function(n,e,a){var t=this[n];return"function"==typeof t?t(e,a.type):t}};var h=Object.freeze({defaults:g,Options:a,contains:t}),p=i();p.prototype={defaultTransition:!1,on:function(n,e){if(n instanceof Array){for(var a=0;a<n.length;a++)this.j.push([n[a],e]);return this}return this.j.push([n,e]),this},next:function(n){for(var e=0;e<this.j.length;e++){var a=this.j[e],t=a[0],o=a[1];if(this.test(n,t))return o}return this.defaultTransition},accepts:function(){return!!this.T},test:function(n,e){return n===e},emit:function(){return this.T}};var b=e(p,i(),{test:function(n,e){return n===e||e instanceof RegExp&&e.test(n)}}),m=e(p,i(),{jump:function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=this.next(new n(""));return a===this.defaultTransition?(a=new this.constructor(e),this.on(n,a)):e&&(a.T=e),a},test:function(n,e){return n instanceof e}}),f=c();f.prototype={toString:function(){return this.v+""}};var d=l(),x=l("@"),y=l(":"),v=l("."),k=l(),w=l(),j=l("\n"),z=l(),O=l("+"),q=l("#"),N=l(),S=l("mailto:"),T=l("?"),P=l("/"),A=l("_"),L=l(),E=l(),C=l(),R=l("{"),H=l("["),M=l("<"),B=l("("),U=l("}"),_=l("]"),D=l(">"),I=l(")"),K=l("&"),G=Object.freeze({Base:f,DOMAIN:d,AT:x,COLON:y,DOT:v,PUNCTUATION:k,LOCALHOST:w,NL:j,NUM:z,PLUS:O,POUND:q,QUERY:T,PROTOCOL:N,MAILTO:S,SLASH:P,UNDERSCORE:A,SYM:L,TLD:E,WS:C,OPENBRACE:R,OPENBRACKET:H,OPENANGLEBRACKET:M,OPENPAREN:B,CLOSEBRACE:U,CLOSEBRACKET:_,CLOSEANGLEBRACKET:D,CLOSEPAREN:I,AMPERSAND:K}),Y="aaa|aarp|abarth|abb|abbott|abbvie|abc|able|abogado|abudhabi|ac|academy|accenture|accountant|accountants|aco|active|actor|ad|adac|ads|adult|ae|aeg|aero|aetna|af|afamilycompany|afl|africa|ag|agakhan|agency|ai|aig|aigo|airbus|airforce|airtel|akdn|al|alfaromeo|alibaba|alipay|allfinanz|allstate|ally|alsace|alstom|am|americanexpress|americanfamily|amex|amfam|amica|amsterdam|analytics|android|anquan|anz|ao|aol|apartments|app|apple|aq|aquarelle|ar|arab|aramco|archi|army|arpa|art|arte|as|asda|asia|associates|at|athleta|attorney|au|auction|audi|audible|audio|auspost|author|auto|autos|avianca|aw|aws|ax|axa|az|azure|ba|baby|baidu|banamex|bananarepublic|band|bank|bar|barcelona|barclaycard|barclays|barefoot|bargains|baseball|basketball|bauhaus|bayern|bb|bbc|bbt|bbva|bcg|bcn|bd|be|beats|beauty|beer|bentley|berlin|best|bestbuy|bet|bf|bg|bh|bharti|bi|bible|bid|bike|bing|bingo|bio|biz|bj|black|blackfriday|blanco|blockbuster|blog|bloomberg|blue|bm|bms|bmw|bn|bnl|bnpparibas|bo|boats|boehringer|bofa|bom|bond|boo|book|booking|boots|bosch|bostik|boston|bot|boutique|box|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|calvinklein|cam|camera|camp|cancerresearch|canon|capetown|capital|capitalone|car|caravan|cards|care|career|careers|cars|cartier|casa|case|caseih|cash|casino|cat|catering|catholic|cba|cbn|cbre|cbs|cc|cd|ceb|center|ceo|cern|cf|cfa|cfd|cg|ch|chanel|channel|chase|chat|cheap|chintai|chloe|christmas|chrome|chrysler|church|ci|cipriani|circle|cisco|citadel|citi|citic|city|cityeats|ck|cl|claims|cleaning|click|clinic|clinique|clothing|cloud|club|clubmed|cm|cn|co|coach|codes|coffee|college|cologne|com|comcast|commbank|community|company|compare|computer|comsec|condos|construction|consulting|contact|contractors|cooking|cookingchannel|cool|coop|corsica|country|coupon|coupons|courses|cr|credit|creditcard|creditunion|cricket|crown|crs|cruise|cruises|csc|cu|cuisinella|cv|cw|cx|cy|cymru|cyou|cz|dabur|dad|dance|data|date|dating|datsun|day|dclk|dds|de|deal|dealer|deals|degree|delivery|dell|deloitte|delta|democrat|dental|dentist|desi|design|dev|dhl|diamonds|diet|digital|direct|directory|discount|discover|dish|diy|dj|dk|dm|dnp|do|docs|doctor|dodge|dog|doha|domains|dot|download|drive|dtv|dubai|duck|dunlop|duns|dupont|durban|dvag|dvr|dz|earth|eat|ec|eco|edeka|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|epost|epson|equipment|er|ericsson|erni|es|esq|estate|esurance|et|etisalat|eu|eurovision|eus|events|everbank|exchange|expert|exposed|express|extraspace|fage|fail|fairwinds|faith|family|fan|fans|farm|farmers|fashion|fast|fedex|feedback|ferrari|ferrero|fi|fiat|fidelity|fido|film|final|finance|financial|fire|firestone|firmdale|fish|fishing|fit|fitness|fj|fk|flickr|flights|flir|florist|flowers|fly|fm|fo|foo|food|foodnetwork|football|ford|forex|forsale|forum|foundation|fox|fr|free|fresenius|frl|frogans|frontdoor|frontier|ftr|fujitsu|fujixerox|fun|fund|furniture|futbol|fyi|ga|gal|gallery|gallo|gallup|game|games|gap|garden|gb|gbiz|gd|gdn|ge|gea|gent|genting|george|gf|gg|ggee|gh|gi|gift|gifts|gives|giving|gl|glade|glass|gle|global|globo|gm|gmail|gmbh|gmo|gmx|gn|godaddy|gold|goldpoint|golf|goo|goodhands|goodyear|goog|google|gop|got|gov|gp|gq|gr|grainger|graphics|gratis|green|gripe|grocery|group|gs|gt|gu|guardian|gucci|guge|guide|guitars|guru|gw|gy|hair|hamburg|hangout|haus|hbo|hdfc|hdfcbank|health|healthcare|help|helsinki|here|hermes|hgtv|hiphop|hisamitsu|hitachi|hiv|hk|hkt|hm|hn|hockey|holdings|holiday|homedepot|homegoods|homes|homesense|honda|honeywell|horse|hospital|host|hosting|hot|hoteles|hotels|hotmail|house|how|hr|hsbc|ht|htc|hu|hughes|hyatt|hyundai|ibm|icbc|ice|icu|id|ie|ieee|ifm|ikano|il|im|imamat|imdb|immo|immobilien|in|industries|infiniti|info|ing|ink|institute|insurance|insure|int|intel|international|intuit|investments|io|ipiranga|iq|ir|irish|is|iselect|ismaili|ist|istanbul|it|itau|itv|iveco|iwc|jaguar|java|jcb|jcp|je|jeep|jetzt|jewelry|jio|jlc|jll|jm|jmp|jnj|jo|jobs|joburg|jot|joy|jp|jpmorgan|jprs|juegos|juniper|kaufen|kddi|ke|kerryhotels|kerrylogistics|kerryproperties|kfh|kg|kh|ki|kia|kim|kinder|kindle|kitchen|kiwi|km|kn|koeln|komatsu|kosher|kp|kpmg|kpn|kr|krd|kred|kuokgroup|kw|ky|kyoto|kz|la|lacaixa|ladbrokes|lamborghini|lamer|lancaster|lancia|lancome|land|landrover|lanxess|lasalle|lat|latino|latrobe|law|lawyer|lb|lc|lds|lease|leclerc|lefrak|legal|lego|lexus|lgbt|li|liaison|lidl|life|lifeinsurance|lifestyle|lighting|like|lilly|limited|limo|lincoln|linde|link|lipsy|live|living|lixil|lk|loan|loans|locker|locus|loft|lol|london|lotte|lotto|love|lpl|lplfinancial|lr|ls|lt|ltd|ltda|lu|lundbeck|lupin|luxe|luxury|lv|ly|ma|macys|madrid|maif|maison|makeup|man|management|mango|map|market|marketing|markets|marriott|marshalls|maserati|mattel|mba|mc|mckinsey|md|me|med|media|meet|melbourne|meme|memorial|men|menu|meo|merckmsd|metlife|mg|mh|miami|microsoft|mil|mini|mint|mit|mitsubishi|mk|ml|mlb|mls|mm|mma|mn|mo|mobi|mobile|mobily|moda|moe|moi|mom|monash|money|monster|mopar|mormon|mortgage|moscow|moto|motorcycles|mov|movie|movistar|mp|mq|mr|ms|msd|mt|mtn|mtr|mu|museum|mutual|mv|mw|mx|my|mz|na|nab|nadex|nagoya|name|nationwide|natura|navy|nba|nc|ne|nec|net|netbank|netflix|network|neustar|new|newholland|news|next|nextdirect|nexus|nf|nfl|ng|ngo|nhk|ni|nico|nike|nikon|ninja|nissan|nissay|nl|no|nokia|northwesternmutual|norton|now|nowruz|nowtv|np|nr|nra|nrw|ntt|nu|nyc|nz|obi|observer|off|office|okinawa|olayan|olayangroup|oldnavy|ollo|om|omega|one|ong|onl|online|onyourside|ooo|open|oracle|orange|org|organic|origins|osaka|otsuka|ott|ovh|pa|page|panasonic|panerai|paris|pars|partners|parts|party|passagens|pay|pccw|pe|pet|pf|pfizer|pg|ph|pharmacy|phd|philips|phone|photo|photography|photos|physio|piaget|pics|pictet|pictures|pid|pin|ping|pink|pioneer|pizza|pk|pl|place|play|playstation|plumbing|plus|pm|pn|pnc|pohl|poker|politie|porn|post|pr|pramerica|praxi|press|prime|pro|prod|productions|prof|progressive|promo|properties|property|protection|pru|prudential|ps|pt|pub|pw|pwc|py|qa|qpon|quebec|quest|qvc|racing|radio|raid|re|read|realestate|realtor|realty|recipes|red|redstone|redumbrella|rehab|reise|reisen|reit|reliance|ren|rent|rentals|repair|report|republican|rest|restaurant|review|reviews|rexroth|rich|richardli|ricoh|rightathome|ril|rio|rip|rmit|ro|rocher|rocks|rodeo|rogers|room|rs|rsvp|ru|rugby|ruhr|run|rw|rwe|ryukyu|sa|saarland|safe|safety|sakura|sale|salon|samsclub|samsung|sandvik|sandvikcoromant|sanofi|sap|sapo|sarl|sas|save|saxo|sb|sbi|sbs|sc|sca|scb|schaeffler|schmidt|scholarships|school|schule|schwarz|science|scjohnson|scor|scot|sd|se|search|seat|secure|security|seek|select|sener|services|ses|seven|sew|sex|sexy|sfr|sg|sh|shangrila|sharp|shaw|shell|shia|shiksha|shoes|shop|shopping|shouji|show|showtime|shriram|si|silk|sina|singles|site|sj|sk|ski|skin|sky|skype|sl|sling|sm|smart|smile|sn|sncf|so|soccer|social|softbank|software|sohu|solar|solutions|song|sony|soy|space|spiegel|spot|spreadbetting|sr|srl|srt|st|stada|staples|star|starhub|statebank|statefarm|statoil|stc|stcgroup|stockholm|storage|store|stream|studio|study|style|su|sucks|supplies|supply|support|surf|surgery|suzuki|sv|swatch|swiftcover|swiss|sx|sy|sydney|symantec|systems|sz|tab|taipei|talk|taobao|target|tatamotors|tatar|tattoo|tax|taxi|tc|tci|td|tdk|team|tech|technology|tel|telecity|telefonica|temasek|tennis|teva|tf|tg|th|thd|theater|theatre|tiaa|tickets|tienda|tiffany|tips|tires|tirol|tj|tjmaxx|tjx|tk|tkmaxx|tl|tm|tmall|tn|to|today|tokyo|tools|top|toray|toshiba|total|tours|town|toyota|toys|tr|trade|trading|training|travel|travelchannel|travelers|travelersinsurance|trust|trv|tt|tube|tui|tunes|tushu|tv|tvs|tw|tz|ua|ubank|ubs|uconnect|ug|uk|unicom|university|uno|uol|ups|us|uy|uz|va|vacations|vana|vanguard|vc|ve|vegas|ventures|verisign|versicherung|vet|vg|vi|viajes|video|vig|viking|villas|vin|vip|virgin|visa|vision|vista|vistaprint|viva|vivo|vlaanderen|vn|vodka|volkswagen|volvo|vote|voting|voto|voyage|vu|vuelos|wales|walmart|walter|wang|wanggou|warman|watch|watches|weather|weatherchannel|webcam|weber|website|wed|wedding|weibo|weir|wf|whoswho|wien|wiki|williamhill|win|windows|wine|winners|wme|wolterskluwer|woodside|work|works|world|wow|ws|wtc|wtf|xbox|xerox|xfinity|xihuan|xin|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--30rr7y|xn--3bst00m|xn--3ds443g|xn--3e0b707e|xn--3hcrj9c|xn--3oq18vl8pn36a|xn--3pxu8k|xn--42c2d9a|xn--45br5cyl|xn--45brj9c|xn--45q11c|xn--4gbrim|xn--54b7fta0cc|xn--55qw42g|xn--55qx5d|xn--5su34j936bgsg|xn--5tzm5g|xn--6frz82g|xn--6qq986b3xl|xn--80adxhks|xn--80ao21a|xn--80aqecdr1a|xn--80asehdb|xn--80aswg|xn--8y0a063a|xn--90a3ac|xn--90ae|xn--90ais|xn--9dbq2a|xn--9et52u|xn--9krt00a|xn--b4w605ferd|xn--bck1b9a5dre4c|xn--c1avg|xn--c2br7g|xn--cck2b3b|xn--cg4bki|xn--clchc0ea0b2g2a9gcd|xn--czr694b|xn--czrs0t|xn--czru2d|xn--d1acj3b|xn--d1alf|xn--e1a4c|xn--eckvdtc9d|xn--efvy88h|xn--estv75g|xn--fct429k|xn--fhbei|xn--fiq228c5hs|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--fjq720a|xn--flw351e|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--fzys8d69uvgm|xn--g2xx48c|xn--gckr3f0f|xn--gecrj9c|xn--gk3at1e|xn--h2breg3eve|xn--h2brj9c|xn--h2brj9c8c|xn--hxt814e|xn--i1b6b1a6a2e|xn--imr513n|xn--io0a7i|xn--j1aef|xn--j1amh|xn--j6w193g|xn--jlq61u9w7b|xn--jvr189m|xn--kcrx77d1x4a|xn--kprw13d|xn--kpry57d|xn--kpu716f|xn--kput3i|xn--l1acc|xn--lgbbat1ad8j|xn--mgb9awbf|xn--mgba3a3ejt|xn--mgba3a4f16a|xn--mgba7c0bbn0a|xn--mgbaakc7dvf|xn--mgbaam7a8h|xn--mgbab2bd|xn--mgbai9azgqp6j|xn--mgbayh7gpa|xn--mgbb9fbpob|xn--mgbbh1a|xn--mgbbh1a71e|xn--mgbc0a9azcg|xn--mgbca7dzdo|xn--mgberp4a5d4ar|xn--mgbgu82a|xn--mgbi4ecexp|xn--mgbpl2fh|xn--mgbt3dhd|xn--mgbtx2b|xn--mgbx4cd0ab|xn--mix891f|xn--mk1bu44c|xn--mxtq1m|xn--ngbc5azd|xn--ngbe9e0a|xn--ngbrx|xn--node|xn--nqv7f|xn--nqv7fs00ema|xn--nyqy26a|xn--o3cw4h|xn--ogbpf8fl|xn--p1acf|xn--p1ai|xn--pbt977c|xn--pgbs0dh|xn--pssy2u|xn--q9jyb4c|xn--qcka1pmc|xn--qxam|xn--rhqv96g|xn--rovu88b|xn--rvc1e0am3e|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--tckwe|xn--tiq49xqyj|xn--unup4y|xn--vermgensberater-ctb|xn--vermgensberatung-pwb|xn--vhquv|xn--vuq861b|xn--w4r85el8fhu5dnra|xn--w4rs40l|xn--wgbh1c|xn--wgbl6a|xn--xhq521b|xn--xkc2al3hye2a|xn--xkc2dl3a5ee0h|xn--y9a3aq|xn--yfro4i67o|xn--ygbi2ammx|xn--zfr164b|xperia|xxx|xyz|yachts|yahoo|yamaxun|yandex|ye|yodobashi|yoga|yokohama|you|youtube|yt|yun|za|zappos|zara|zero|zip|zippo|zm|zone|zuerich|zw".split("|"),Q="0123456789".split(""),W="0123456789abcdefghijklmnopqrstuvwxyz".split(""),X=[" ","\f","\r","\t","\x0B"," "," ","᠎"],Z=[],F=function(n){return new b(n)},J=F(),V=F(z),$=F(d),nn=F(),en=F(C);J.on("@",F(x)).on(".",F(v)).on("+",F(O)).on("#",F(q)).on("?",F(T)).on("/",F(P)).on("_",F(A)).on(":",F(y)).on("{",F(R)).on("[",F(H)).on("<",F(M)).on("(",F(B)).on("}",F(U)).on("]",F(_)).on(">",F(D)).on(")",F(I)).on("&",F(K)).on([",",";","!",'"',"'"],F(k)),J.on("\n",F(j)).on(X,en),en.on(X,en);for(var an=0;an<Y.length;an++){var tn=s(Y[an],J,E,d);Z.push.apply(Z,tn)}var on=s("file",J,d,d),rn=s("ftp",J,d,d),sn=s("http",J,d,d),cn=s("mailto",J,d,d);Z.push.apply(Z,on),Z.push.apply(Z,rn),Z.push.apply(Z,sn),Z.push.apply(Z,cn);var ln=on.pop(),un=rn.pop(),gn=sn.pop(),hn=cn.pop(),pn=F(d),bn=F(N),mn=F(S);un.on("s",pn).on(":",bn),gn.on("s",pn).on(":",bn),Z.push(pn),ln.on(":",bn),pn.on(":",bn),hn.on(":",mn);var fn=s("localhost",J,w,d);Z.push.apply(Z,fn),J.on(Q,V),V.on("-",nn).on(Q,V).on(W,$),$.on("-",nn).on(W,$);for(var dn=0;dn<Z.length;dn++)Z[dn].on("-",nn).on(W,$);nn.on("-",nn).on(Q,$).on(W,$),J.defaultTransition=F(L);var xn=function(n){for(var e=n.replace(/[A-Z]/g,function(n){return n.toLowerCase()}),a=n.length,t=[],o=0;o<a;){for(var r=J,i=null,s=0,c=null,l=-1;o<a&&(i=r.next(e[o]));)r=i,r.accepts()?(l=0,c=r):l>=0&&l++,s++,o++;if(!(l<0)){o-=l,s-=l;var u=c.emit();t.push(new u(n.substr(o-s,s)))}}return t},yn=J,vn=Object.freeze({State:b,TOKENS:G,run:xn,start:yn}),kn=c();kn.prototype={type:"token",isLink:!1,toString:function(){for(var n=[],e=0;e<this.v.length;e++)n.push(this.v[e].toString());return n.join("")},toHref:function(){return this.toString()},toObject:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"http";return{type:this.type,value:this.toString(),href:this.toHref(n)}}};var wn=e(kn,c(),{type:"email",isLink:!0}),jn=e(kn,c(),{type:"email",isLink:!0,toHref:function(){return"mailto:"+this.toString()}}),zn=e(kn,c(),{type:"text"}),On=e(kn,c(),{type:"nl"}),qn=e(kn,c(),{type:"url",isLink:!0,toHref:function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"http",e=!1,a=!1,t=this.v,o=[],r=0;t[r]instanceof N;)e=!0,o.push(t[r].toString().toLowerCase()),r++;for(;t[r]instanceof P;)a=!0,o.push(t[r].toString()),r++;for(;u(t[r]);)o.push(t[r].toString().toLowerCase()),r++;for(;r<t.length;r++)o.push(t[r].toString());return o=o.join(""),e||a||(o=n+"://"+o),o},hasProtocol:function(){return this.v[0]instanceof N}}),Nn=Object.freeze({Base:kn,MAILTOEMAIL:wn,EMAIL:jn,NL:On,TEXT:zn,URL:qn}),Sn=function(n){return new m(n)},Tn=Sn(),Pn=Sn(),An=Sn(),Ln=Sn(),En=Sn(),Cn=Sn(),Rn=Sn(),Hn=Sn(qn),Mn=Sn(),Bn=Sn(qn),Un=Sn(qn),_n=Sn(),Dn=Sn(),In=Sn(),Kn=Sn(),Gn=Sn(),Yn=Sn(qn),Qn=Sn(qn),Wn=Sn(qn),Xn=Sn(qn),Zn=Sn(),Fn=Sn(),Jn=Sn(),Vn=Sn(),$n=Sn(),ne=Sn(),ee=Sn(jn),ae=Sn(),te=Sn(jn),oe=Sn(wn),re=Sn(),ie=Sn(),se=Sn(),ce=Sn(),le=Sn(On);Tn.on(j,le).on(N,Pn).on(S,An).on(P,Ln),Pn.on(P,Ln),Ln.on(P,En),Tn.on(E,Cn).on(d,Cn).on(w,Hn).on(z,Cn),En.on(E,Un).on(d,Un).on(z,Un).on(w,Un),Cn.on(v,Rn),$n.on(v,ne),Rn.on(E,Hn).on(d,Cn).on(z,Cn).on(w,Cn),ne.on(E,ee).on(d,$n).on(z,$n).on(w,$n),Hn.on(v,Rn),ee.on(v,ne),Hn.on(y,Mn).on(P,Un),Mn.on(z,Bn),Bn.on(P,Un),ee.on(y,ae),ae.on(z,te);var ue=[d,x,w,z,O,q,N,P,E,A,L,K],ge=[y,v,T,k,U,_,D,I,R,H,M,B];Un.on(R,Dn).on(H,In).on(M,Kn).on(B,Gn),_n.on(R,Dn).on(H,In).on(M,Kn).on(B,Gn),Dn.on(U,Un),In.on(_,Un),Kn.on(D,Un),Gn.on(I,Un),Yn.on(U,Un),Qn.on(_,Un),Wn.on(D,Un),Xn.on(I,Un),Zn.on(U,Un),Fn.on(_,Un),Jn.on(D,Un),Vn.on(I,Un),Dn.on(ue,Yn),In.on(ue,Qn),Kn.on(ue,Wn),Gn.on(ue,Xn),Dn.on(ge,Zn),In.on(ge,Fn),Kn.on(ge,Jn),Gn.on(ge,Vn),Yn.on(ue,Yn),Qn.on(ue,Qn),Wn.on(ue,Wn),Xn.on(ue,Xn),Yn.on(ge,Yn),Qn.on(ge,Qn),Wn.on(ge,Wn),Xn.on(ge,Xn),Zn.on(ue,Yn),Fn.on(ue,Qn),Jn.on(ue,Wn),Vn.on(ue,Xn),Zn.on(ge,Zn),Fn.on(ge,Fn),Jn.on(ge,Jn),Vn.on(ge,Vn),Un.on(ue,Un),_n.on(ue,Un),Un.on(ge,_n),_n.on(ge,_n),An.on(E,oe).on(d,oe).on(z,oe).on(w,oe),oe.on(ue,oe).on(ge,re),re.on(ue,oe).on(ge,re);var he=[d,z,O,q,T,A,L,K,E];Cn.on(he,ie).on(x,se),Hn.on(he,ie).on(x,se),Rn.on(he,ie),ie.on(he,ie).on(x,se).on(v,ce),ce.on(he,ie),se.on(E,$n).on(d,$n).on(w,ee);var pe=function(n){for(var e=n.length,a=0,t=[],o=[];a<e;){for(var r=Tn,i=null,s=null,c=0,l=null,u=-1;a<e&&!(i=r.next(n[a]));)o.push(n[a++]);for(;a<e&&(s=i||r.next(n[a]));)i=null,r=s,r.accepts()?(u=0,l=r):u>=0&&u++,a++,c++;if(u<0)for(var g=a-c;g<a;g++)o.push(n[g]);else{o.length>0&&(t.push(new zn(o)),o=[]),a-=u,c-=u;var h=l.emit();t.push(new h(n.slice(a-c,a)))}}return o.length>0&&t.push(new zn(o)),t},be=Object.freeze({State:m,TOKENS:Nn,run:pe,start:Tn});Array.isArray||(Array.isArray=function(n){return"[object Array]"===Object.prototype.toString.call(n)});var me=function(n){return pe(xn(n))},fe=function(n){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=me(n),t=[],o=0;o<a.length;o++){var r=a[o];!r.isLink||e&&r.type!==e||t.push(r.toObject())}return t},de=function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=me(n);return 1===a.length&&a[0].isLink&&(!e||a[0].type===e)};n.find=fe,n.inherits=e,n.options=h,n.parser=be,n.scanner=vn,n.test=de,n.tokenize=me;try{Object.defineProperty(n,"__esModule",{value:!0})}catch(xe){n.__esModule=!0}});

@@ -32,3 +32,4 @@ ;(function () {

attributes: null,
className: 'linkified' };
className: 'linkified' // Deprecated value - no default class will be provided in the future
};

@@ -38,10 +39,10 @@ function Options(opts) {

this.defaultProtocol = opts.defaultProtocol || defaults.defaultProtocol;
this.events = opts.events || defaults.events;
this.format = opts.format || defaults.format;
this.formatHref = opts.formatHref || defaults.formatHref;
this.nl2br = opts.nl2br || defaults.nl2br;
this.tagName = opts.tagName || defaults.tagName;
this.target = opts.target || defaults.target;
this.validate = opts.validate || defaults.validate;
this.defaultProtocol = opts.hasOwnProperty('defaultProtocol') ? opts.defaultProtocol : defaults.defaultProtocol;
this.events = opts.hasOwnProperty('events') ? opts.events : defaults.events;
this.format = opts.hasOwnProperty('format') ? opts.format : defaults.format;
this.formatHref = opts.hasOwnProperty('formatHref') ? opts.formatHref : defaults.formatHref;
this.nl2br = opts.hasOwnProperty('nl2br') ? opts.nl2br : defaults.nl2br;
this.tagName = opts.hasOwnProperty('tagName') ? opts.tagName : defaults.tagName;
this.target = opts.hasOwnProperty('target') ? opts.target : defaults.target;
this.validate = opts.hasOwnProperty('validate') ? opts.validate : defaults.validate;
this.ignoreTags = [];

@@ -51,7 +52,6 @@

this.attributes = opts.attributes || opts.linkAttributes || defaults.attributes;
this.className = opts.className || opts.linkClass || defaults.className;
this.className = opts.hasOwnProperty('className') ? opts.className : opts.linkClass || defaults.className;
// Make all tags names upper case
var ignoredTags = opts.ignoreTags || defaults.ignoreTags;
var ignoredTags = opts.hasOwnProperty('ignoreTags') ? opts.ignoreTags : defaults.ignoreTags;
for (var i = 0; i < ignoredTags.length; i++) {

@@ -94,9 +94,9 @@ this.ignoreTags.push(ignoredTags[i].toUpperCase());

* params.
* @param [String] key Name of option to use
* @param {String} key Name of option to use
* @param operator will be passed to the target option if it's method
* @param [MultiToken] token The token from linkify.tokenize
* @param {MultiToken} token The token from linkify.tokenize
*/
get: function get(key, operator, token) {
var option = this[key];
var optionValue = void 0,
option = this[key];
if (!option) {

@@ -110,3 +110,3 @@ return option;

case 'object':
var optionValue = option[token.type] || defaults[key];
optionValue = option.hasOwnProperty(token.type) ? option[token.type] : defaults[key];
return typeof optionValue === 'function' ? optionValue(operator, token.type) : optionValue;

@@ -595,3 +595,3 @@ }

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
var tlds = 'aaa|aarp|abarth|abb|abbott|abbvie|abc|able|abogado|abudhabi|ac|academy|accenture|accountant|accountants|aco|active|actor|ad|adac|ads|adult|ae|aeg|aero|aetna|af|afamilycompany|afl|africa|ag|agakhan|agency|ai|aig|aigo|airbus|airforce|airtel|akdn|al|alfaromeo|alibaba|alipay|allfinanz|allstate|ally|alsace|alstom|am|americanexpress|americanfamily|amex|amfam|amica|amsterdam|analytics|android|anquan|anz|ao|aol|apartments|app|apple|aq|aquarelle|ar|arab|aramco|archi|army|arpa|art|arte|as|asda|asia|associates|at|athleta|attorney|au|auction|audi|audible|audio|auspost|author|auto|autos|avianca|aw|aws|ax|axa|az|azure|ba|baby|baidu|banamex|bananarepublic|band|bank|bar|barcelona|barclaycard|barclays|barefoot|bargains|baseball|basketball|bauhaus|bayern|bb|bbc|bbt|bbva|bcg|bcn|bd|be|beats|beauty|beer|bentley|berlin|best|bestbuy|bet|bf|bg|bh|bharti|bi|bible|bid|bike|bing|bingo|bio|biz|bj|black|blackfriday|blanco|blockbuster|blog|bloomberg|blue|bm|bms|bmw|bn|bnl|bnpparibas|bo|boats|boehringer|bofa|bom|bond|boo|book|booking|boots|bosch|bostik|boston|bot|boutique|box|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|calvinklein|cam|camera|camp|cancerresearch|canon|capetown|capital|capitalone|car|caravan|cards|care|career|careers|cars|cartier|casa|case|caseih|cash|casino|cat|catering|catholic|cba|cbn|cbre|cbs|cc|cd|ceb|center|ceo|cern|cf|cfa|cfd|cg|ch|chanel|channel|chase|chat|cheap|chintai|chloe|christmas|chrome|chrysler|church|ci|cipriani|circle|cisco|citadel|citi|citic|city|cityeats|ck|cl|claims|cleaning|click|clinic|clinique|clothing|cloud|club|clubmed|cm|cn|co|coach|codes|coffee|college|cologne|com|comcast|commbank|community|company|compare|computer|comsec|condos|construction|consulting|contact|contractors|cooking|cookingchannel|cool|coop|corsica|country|coupon|coupons|courses|cr|credit|creditcard|creditunion|cricket|crown|crs|cruise|cruises|csc|cu|cuisinella|cv|cw|cx|cy|cymru|cyou|cz|dabur|dad|dance|data|date|dating|datsun|day|dclk|dds|de|deal|dealer|deals|degree|delivery|dell|deloitte|delta|democrat|dental|dentist|desi|design|dev|dhl|diamonds|diet|digital|direct|directory|discount|discover|dish|diy|dj|dk|dm|dnp|do|docs|doctor|dodge|dog|doha|domains|dot|download|drive|dtv|dubai|duck|dunlop|duns|dupont|durban|dvag|dvr|dz|earth|eat|ec|eco|edeka|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|epost|epson|equipment|er|ericsson|erni|es|esq|estate|esurance|et|etisalat|eu|eurovision|eus|events|everbank|exchange|expert|exposed|express|extraspace|fage|fail|fairwinds|faith|family|fan|fans|farm|farmers|fashion|fast|fedex|feedback|ferrari|ferrero|fi|fiat|fidelity|fido|film|final|finance|financial|fire|firestone|firmdale|fish|fishing|fit|fitness|fj|fk|flickr|flights|flir|florist|flowers|fly|fm|fo|foo|food|foodnetwork|football|ford|forex|forsale|forum|foundation|fox|fr|free|fresenius|frl|frogans|frontdoor|frontier|ftr|fujitsu|fujixerox|fun|fund|furniture|futbol|fyi|ga|gal|gallery|gallo|gallup|game|games|gap|garden|gb|gbiz|gd|gdn|ge|gea|gent|genting|george|gf|gg|ggee|gh|gi|gift|gifts|gives|giving|gl|glade|glass|gle|global|globo|gm|gmail|gmbh|gmo|gmx|gn|godaddy|gold|goldpoint|golf|goo|goodhands|goodyear|goog|google|gop|got|gov|gp|gq|gr|grainger|graphics|gratis|green|gripe|grocery|group|gs|gt|gu|guardian|gucci|guge|guide|guitars|guru|gw|gy|hair|hamburg|hangout|haus|hbo|hdfc|hdfcbank|health|healthcare|help|helsinki|here|hermes|hgtv|hiphop|hisamitsu|hitachi|hiv|hk|hkt|hm|hn|hockey|holdings|holiday|homedepot|homegoods|homes|homesense|honda|honeywell|horse|hospital|host|hosting|hot|hoteles|hotels|hotmail|house|how|hr|hsbc|ht|htc|hu|hughes|hyatt|hyundai|ibm|icbc|ice|icu|id|ie|ieee|ifm|ikano|il|im|imamat|imdb|immo|immobilien|in|industries|infiniti|info|ing|ink|institute|insurance|insure|int|intel|international|intuit|investments|io|ipiranga|iq|ir|irish|is|iselect|ismaili|ist|istanbul|it|itau|itv|iveco|iwc|jaguar|java|jcb|jcp|je|jeep|jetzt|jewelry|jio|jlc|jll|jm|jmp|jnj|jo|jobs|joburg|jot|joy|jp|jpmorgan|jprs|juegos|juniper|kaufen|kddi|ke|kerryhotels|kerrylogistics|kerryproperties|kfh|kg|kh|ki|kia|kim|kinder|kindle|kitchen|kiwi|km|kn|koeln|komatsu|kosher|kp|kpmg|kpn|kr|krd|kred|kuokgroup|kw|ky|kyoto|kz|la|lacaixa|ladbrokes|lamborghini|lamer|lancaster|lancia|lancome|land|landrover|lanxess|lasalle|lat|latino|latrobe|law|lawyer|lb|lc|lds|lease|leclerc|lefrak|legal|lego|lexus|lgbt|li|liaison|lidl|life|lifeinsurance|lifestyle|lighting|like|lilly|limited|limo|lincoln|linde|link|lipsy|live|living|lixil|lk|loan|loans|locker|locus|loft|lol|london|lotte|lotto|love|lpl|lplfinancial|lr|ls|lt|ltd|ltda|lu|lundbeck|lupin|luxe|luxury|lv|ly|ma|macys|madrid|maif|maison|makeup|man|management|mango|map|market|marketing|markets|marriott|marshalls|maserati|mattel|mba|mc|mckinsey|md|me|med|media|meet|melbourne|meme|memorial|men|menu|meo|merckmsd|metlife|mg|mh|miami|microsoft|mil|mini|mint|mit|mitsubishi|mk|ml|mlb|mls|mm|mma|mn|mo|mobi|mobile|mobily|moda|moe|moi|mom|monash|money|monster|mopar|mormon|mortgage|moscow|moto|motorcycles|mov|movie|movistar|mp|mq|mr|ms|msd|mt|mtn|mtr|mu|museum|mutual|mv|mw|mx|my|mz|na|nab|nadex|nagoya|name|nationwide|natura|navy|nba|nc|ne|nec|net|netbank|netflix|network|neustar|new|newholland|news|next|nextdirect|nexus|nf|nfl|ng|ngo|nhk|ni|nico|nike|nikon|ninja|nissan|nissay|nl|no|nokia|northwesternmutual|norton|now|nowruz|nowtv|np|nr|nra|nrw|ntt|nu|nyc|nz|obi|observer|off|office|okinawa|olayan|olayangroup|oldnavy|ollo|om|omega|one|ong|onl|online|onyourside|ooo|open|oracle|orange|org|organic|origins|osaka|otsuka|ott|ovh|pa|page|panasonic|panerai|paris|pars|partners|parts|party|passagens|pay|pccw|pe|pet|pf|pfizer|pg|ph|pharmacy|phd|philips|phone|photo|photography|photos|physio|piaget|pics|pictet|pictures|pid|pin|ping|pink|pioneer|pizza|pk|pl|place|play|playstation|plumbing|plus|pm|pn|pnc|pohl|poker|politie|porn|post|pr|pramerica|praxi|press|prime|pro|prod|productions|prof|progressive|promo|properties|property|protection|pru|prudential|ps|pt|pub|pw|pwc|py|qa|qpon|quebec|quest|qvc|racing|radio|raid|re|read|realestate|realtor|realty|recipes|red|redstone|redumbrella|rehab|reise|reisen|reit|reliance|ren|rent|rentals|repair|report|republican|rest|restaurant|review|reviews|rexroth|rich|richardli|ricoh|rightathome|ril|rio|rip|rmit|ro|rocher|rocks|rodeo|rogers|room|rs|rsvp|ru|rugby|ruhr|run|rw|rwe|ryukyu|sa|saarland|safe|safety|sakura|sale|salon|samsclub|samsung|sandvik|sandvikcoromant|sanofi|sap|sapo|sarl|sas|save|saxo|sb|sbi|sbs|sc|sca|scb|schaeffler|schmidt|scholarships|school|schule|schwarz|science|scjohnson|scor|scot|sd|se|search|seat|secure|security|seek|select|sener|services|ses|seven|sew|sex|sexy|sfr|sg|sh|shangrila|sharp|shaw|shell|shia|shiksha|shoes|shop|shopping|shouji|show|showtime|shriram|si|silk|sina|singles|site|sj|sk|ski|skin|sky|skype|sl|sling|sm|smart|smile|sn|sncf|so|soccer|social|softbank|software|sohu|solar|solutions|song|sony|soy|space|spiegel|spot|spreadbetting|sr|srl|srt|st|stada|staples|star|starhub|statebank|statefarm|statoil|stc|stcgroup|stockholm|storage|store|stream|studio|study|style|su|sucks|supplies|supply|support|surf|surgery|suzuki|sv|swatch|swiftcover|swiss|sx|sy|sydney|symantec|systems|sz|tab|taipei|talk|taobao|target|tatamotors|tatar|tattoo|tax|taxi|tc|tci|td|tdk|team|tech|technology|tel|telecity|telefonica|temasek|tennis|teva|tf|tg|th|thd|theater|theatre|tiaa|tickets|tienda|tiffany|tips|tires|tirol|tj|tjmaxx|tjx|tk|tkmaxx|tl|tm|tmall|tn|to|today|tokyo|tools|top|toray|toshiba|total|tours|town|toyota|toys|tr|trade|trading|training|travel|travelchannel|travelers|travelersinsurance|trust|trv|tt|tube|tui|tunes|tushu|tv|tvs|tw|tz|ua|ubank|ubs|uconnect|ug|uk|unicom|university|uno|uol|ups|us|uy|uz|va|vacations|vana|vanguard|vc|ve|vegas|ventures|verisign|versicherung|vet|vg|vi|viajes|video|vig|viking|villas|vin|vip|virgin|visa|vision|vista|vistaprint|viva|vivo|vlaanderen|vn|vodka|volkswagen|volvo|vote|voting|voto|voyage|vu|vuelos|wales|walmart|walter|wang|wanggou|warman|watch|watches|weather|weatherchannel|webcam|weber|website|wed|wedding|weibo|weir|wf|whoswho|wien|wiki|williamhill|win|windows|wine|winners|wme|wolterskluwer|woodside|work|works|world|wow|ws|wtc|wtf|xbox|xerox|xfinity|xihuan|xin|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--30rr7y|xn--3bst00m|xn--3ds443g|xn--3e0b707e|xn--3hcrj9c|xn--3oq18vl8pn36a|xn--3pxu8k|xn--42c2d9a|xn--45br5cyl|xn--45brj9c|xn--45q11c|xn--4gbrim|xn--54b7fta0cc|xn--55qw42g|xn--55qx5d|xn--5su34j936bgsg|xn--5tzm5g|xn--6frz82g|xn--6qq986b3xl|xn--80adxhks|xn--80ao21a|xn--80aqecdr1a|xn--80asehdb|xn--80aswg|xn--8y0a063a|xn--90a3ac|xn--90ae|xn--90ais|xn--9dbq2a|xn--9et52u|xn--9krt00a|xn--b4w605ferd|xn--bck1b9a5dre4c|xn--c1avg|xn--c2br7g|xn--cck2b3b|xn--cg4bki|xn--clchc0ea0b2g2a9gcd|xn--czr694b|xn--czrs0t|xn--czru2d|xn--d1acj3b|xn--d1alf|xn--e1a4c|xn--eckvdtc9d|xn--efvy88h|xn--estv75g|xn--fct429k|xn--fhbei|xn--fiq228c5hs|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--fjq720a|xn--flw351e|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--fzys8d69uvgm|xn--g2xx48c|xn--gckr3f0f|xn--gecrj9c|xn--gk3at1e|xn--h2breg3eve|xn--h2brj9c|xn--h2brj9c8c|xn--hxt814e|xn--i1b6b1a6a2e|xn--imr513n|xn--io0a7i|xn--j1aef|xn--j1amh|xn--j6w193g|xn--jlq61u9w7b|xn--jvr189m|xn--kcrx77d1x4a|xn--kprw13d|xn--kpry57d|xn--kpu716f|xn--kput3i|xn--l1acc|xn--lgbbat1ad8j|xn--mgb9awbf|xn--mgba3a3ejt|xn--mgba3a4f16a|xn--mgba7c0bbn0a|xn--mgbaakc7dvf|xn--mgbaam7a8h|xn--mgbab2bd|xn--mgbai9azgqp6j|xn--mgbayh7gpa|xn--mgbb9fbpob|xn--mgbbh1a|xn--mgbbh1a71e|xn--mgbc0a9azcg|xn--mgbca7dzdo|xn--mgberp4a5d4ar|xn--mgbgu82a|xn--mgbi4ecexp|xn--mgbpl2fh|xn--mgbt3dhd|xn--mgbtx2b|xn--mgbx4cd0ab|xn--mix891f|xn--mk1bu44c|xn--mxtq1m|xn--ngbc5azd|xn--ngbe9e0a|xn--ngbrx|xn--node|xn--nqv7f|xn--nqv7fs00ema|xn--nyqy26a|xn--o3cw4h|xn--ogbpf8fl|xn--p1acf|xn--p1ai|xn--pbt977c|xn--pgbs0dh|xn--pssy2u|xn--q9jyb4c|xn--qcka1pmc|xn--qxam|xn--rhqv96g|xn--rovu88b|xn--rvc1e0am3e|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--tckwe|xn--tiq49xqyj|xn--unup4y|xn--vermgensberater-ctb|xn--vermgensberatung-pwb|xn--vhquv|xn--vuq861b|xn--w4r85el8fhu5dnra|xn--w4rs40l|xn--wgbh1c|xn--wgbl6a|xn--xhq521b|xn--xkc2al3hye2a|xn--xkc2dl3a5ee0h|xn--y9a3aq|xn--yfro4i67o|xn--ygbi2ammx|xn--zfr164b|xperia|xxx|xyz|yachts|yahoo|yamaxun|yandex|ye|yodobashi|yoga|yokohama|you|youtube|yt|yun|za|zappos|zara|zero|zip|zippo|zm|zone|zuerich|zw'.split('|'); // macro, see gulpfile.js

@@ -641,2 +641,3 @@ var NUMBERS = '0123456789'.split('');

domainStates.push.apply(domainStates, partialProtocolHttpStates);
domainStates.push.apply(domainStates, partialProtocolMailtoStates);

@@ -711,3 +712,2 @@ // Protocol states

var state = S_START;
var secondState = null;
var nextState = null;

@@ -719,3 +719,2 @@ var tokenLength = 0;

while (cursor < len && (nextState = state.next(lowerStr[cursor]))) {
secondState = null;
state = nextState;

@@ -866,3 +865,2 @@

toHref: function toHref() {
var tokens = this.v;
return 'mailto:' + this.toString();

@@ -869,0 +867,0 @@ }

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

!function(){"use strict";var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(e){function n(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=Object.create(t.prototype);for(var a in n)o[a]=n[a];return o.constructor=e,e.prototype=o,e}function o(t){t=t||{},this.defaultProtocol=t.defaultProtocol||h.defaultProtocol,this.events=t.events||h.events,this.format=t.format||h.format,this.formatHref=t.formatHref||h.formatHref,this.nl2br=t.nl2br||h.nl2br,this.tagName=t.tagName||h.tagName,this.target=t.target||h.target,this.validate=t.validate||h.validate,this.ignoreTags=[],this.attributes=t.attributes||t.linkAttributes||h.attributes,this.className=t.className||t.linkClass||h.className;for(var e=t.ignoreTags||h.ignoreTags,n=0;n<e.length;n++)this.ignoreTags.push(e[n].toUpperCase())}function a(t,e){for(var n=0;n<t.length;n++)if(t[n]===e)return!0;return!1}function r(t){return t}function i(t,e){return"url"===e?"_blank":null}function s(){return function(t){this.j=[],this.T=t||null}}function c(t,e,n,o){for(var a=0,r=t.length,i=e,s=[],c=void 0;a<r&&(c=i.next(t[a]));)i=c,a++;if(a>=r)return[];for(;a<r-1;)c=new m(o),s.push(c),i.on(t[a],c),i=c,a++;return c=new m(n),s.push(c),i.on(t[r-1],c),s}function l(){return function(t){t&&(this.v=t)}}function u(t){var e=t?{v:t}:{};return n(b,l(),e)}function p(t){return t instanceof v||t instanceof R}var h={defaultProtocol:"http",events:null,format:r,formatHref:r,nl2br:!1,tagName:"a",target:i,validate:!0,ignoreTags:[],attributes:null,className:"linkified"};o.prototype={resolve:function(t){var e=t.toHref(this.defaultProtocol);return{formatted:this.get("format",t.toString(),t),formattedHref:this.get("formatHref",e,t),tagName:this.get("tagName",e,t),className:this.get("className",e,t),target:this.get("target",e,t),events:this.getObject("events",e,t),attributes:this.getObject("attributes",e,t)}},check:function(t){return this.get("validate",t.toString(),t)},get:function(e,n,o){var a=this[e];if(!a)return a;switch("undefined"==typeof a?"undefined":t(a)){case"function":return a(n,o.type);case"object":var r=a[o.type]||h[e];return"function"==typeof r?r(n,o.type):r}return a},getObject:function(t,e,n){var o=this[t];return"function"==typeof o?o(e,n.type):o}};var g=Object.freeze({defaults:h,Options:o,contains:a}),f=s();f.prototype={defaultTransition:!1,on:function(t,e){if(t instanceof Array){for(var n=0;n<t.length;n++)this.j.push([t[n],e]);return this}return this.j.push([t,e]),this},next:function(t){for(var e=0;e<this.j.length;e++){var n=this.j[e],o=n[0],a=n[1];if(this.test(t,o))return a}return this.defaultTransition},accepts:function(){return!!this.T},test:function(t,e){return t===e},emit:function(){return this.T}};var m=n(f,s(),{test:function(t,e){return t===e||e instanceof RegExp&&e.test(t)}}),d=n(f,s(),{jump:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.next(new t(""));return n===this.defaultTransition?(n=new this.constructor(e),this.on(t,n)):e&&(n.T=e),n},test:function(t,e){return t instanceof e}}),b=l();b.prototype={toString:function(){return this.v+""}};var v=u(),y=u("@"),k=u(":"),w=u("."),j=u(),x=u(),z=u("\n"),O=u(),S=u("+"),N=u("#"),T=u(),A=u("mailto:"),L=u("?"),E=u("/"),C=u("_"),P=u(),R=u(),q=u(),H=u("{"),B=u("["),U=u("<"),M=u("("),D=u("}"),I=u("]"),K=u(">"),_=u(")"),G=u("&"),Y=Object.freeze({Base:b,DOMAIN:v,AT:y,COLON:k,DOT:w,PUNCTUATION:j,LOCALHOST:x,NL:z,NUM:O,PLUS:S,POUND:N,QUERY:L,PROTOCOL:T,MAILTO:A,SLASH:E,UNDERSCORE:C,SYM:P,TLD:R,WS:q,OPENBRACE:H,OPENBRACKET:B,OPENANGLEBRACKET:U,OPENPAREN:M,CLOSEBRACE:D,CLOSEBRACKET:I,CLOSEANGLEBRACKET:K,CLOSEPAREN:_,AMPERSAND:G}),Q="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("|"),W="0123456789".split(""),X="0123456789abcdefghijklmnopqrstuvwxyz".split(""),Z=[" ","\f","\r","\t","\x0B"," "," ","᠎"],F=[],J=function(t){return new m(t)},V=J(),$=J(O),tt=J(v),et=J(),nt=J(q);V.on("@",J(y)).on(".",J(w)).on("+",J(S)).on("#",J(N)).on("?",J(L)).on("/",J(E)).on("_",J(C)).on(":",J(k)).on("{",J(H)).on("[",J(B)).on("<",J(U)).on("(",J(M)).on("}",J(D)).on("]",J(I)).on(">",J(K)).on(")",J(_)).on("&",J(G)).on([",",";","!",'"',"'"],J(j)),V.on("\n",J(z)).on(Z,nt),nt.on(Z,nt);for(var ot=0;ot<Q.length;ot++){var at=c(Q[ot],V,R,v);F.push.apply(F,at)}var rt=c("file",V,v,v),it=c("ftp",V,v,v),st=c("http",V,v,v),ct=c("mailto",V,v,v);F.push.apply(F,rt),F.push.apply(F,it),F.push.apply(F,st);var lt=rt.pop(),ut=it.pop(),pt=st.pop(),ht=ct.pop(),gt=J(v),ft=J(T),mt=J(A);ut.on("s",gt).on(":",ft),pt.on("s",gt).on(":",ft),F.push(gt),lt.on(":",ft),gt.on(":",ft),ht.on(":",mt);var dt=c("localhost",V,x,v);F.push.apply(F,dt),V.on(W,$),$.on("-",et).on(W,$).on(X,tt),tt.on("-",et).on(X,tt);for(var bt=0;bt<F.length;bt++)F[bt].on("-",et).on(X,tt);et.on("-",et).on(W,tt).on(X,tt),V.defaultTransition=J(P);var vt=function(t){for(var e=t.replace(/[A-Z]/g,function(t){return t.toLowerCase()}),n=t.length,o=[],a=0;a<n;){for(var r=V,i=null,s=null,c=0,l=null,u=-1;a<n&&(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();o.push(new p(t.substr(a-c,c)))}}return o},yt=V,kt=Object.freeze({State:m,TOKENS:Y,run:vt,start:yt}),wt=l();wt.prototype={type:"token",isLink:!1,toString:function(){for(var t=[],e=0;e<this.v.length;e++)t.push(this.v[e].toString());return t.join("")},toHref:function(){return this.toString()},toObject:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"http";return{type:this.type,value:this.toString(),href:this.toHref(t)}}};var jt=n(wt,l(),{type:"email",isLink:!0}),xt=n(wt,l(),{type:"email",isLink:!0,toHref:function(){this.v;return"mailto:"+this.toString()}}),zt=n(wt,l(),{type:"text"}),Ot=n(wt,l(),{type:"nl"}),St=n(wt,l(),{type:"url",isLink:!0,toHref:function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"http",e=!1,n=!1,o=this.v,a=[],r=0;o[r]instanceof T;)e=!0,a.push(o[r].toString().toLowerCase()),r++;for(;o[r]instanceof E;)n=!0,a.push(o[r].toString()),r++;for(;p(o[r]);)a.push(o[r].toString().toLowerCase()),r++;for(;r<o.length;r++)a.push(o[r].toString());return a=a.join(""),e||n||(a=t+"://"+a),a},hasProtocol:function(){return this.v[0]instanceof T}}),Nt=Object.freeze({Base:wt,MAILTOEMAIL:jt,EMAIL:xt,NL:Ot,TEXT:zt,URL:St}),Tt=function(t){return new d(t)},At=Tt(),Lt=Tt(),Et=Tt(),Ct=Tt(),Pt=Tt(),Rt=Tt(),qt=Tt(),Ht=Tt(St),Bt=Tt(),Ut=Tt(St),Mt=Tt(St),Dt=Tt(),It=Tt(),Kt=Tt(),_t=Tt(),Gt=Tt(),Yt=Tt(St),Qt=Tt(St),Wt=Tt(St),Xt=Tt(St),Zt=Tt(),Ft=Tt(),Jt=Tt(),Vt=Tt(),$t=Tt(),te=Tt(),ee=Tt(xt),ne=Tt(),oe=Tt(xt),ae=Tt(jt),re=Tt(),ie=Tt(),se=Tt(),ce=Tt(),le=Tt(Ot);At.on(z,le).on(T,Lt).on(A,Et).on(E,Ct),Lt.on(E,Ct),Ct.on(E,Pt),At.on(R,Rt).on(v,Rt).on(x,Ht).on(O,Rt),Pt.on(R,Mt).on(v,Mt).on(O,Mt).on(x,Mt),Rt.on(w,qt),$t.on(w,te),qt.on(R,Ht).on(v,Rt).on(O,Rt).on(x,Rt),te.on(R,ee).on(v,$t).on(O,$t).on(x,$t),Ht.on(w,qt),ee.on(w,te),Ht.on(k,Bt).on(E,Mt),Bt.on(O,Ut),Ut.on(E,Mt),ee.on(k,ne),ne.on(O,oe);var ue=[v,y,x,O,S,N,T,E,R,C,P,G],pe=[k,w,L,j,D,I,K,_,H,B,U,M];Mt.on(H,It).on(B,Kt).on(U,_t).on(M,Gt),Dt.on(H,It).on(B,Kt).on(U,_t).on(M,Gt),It.on(D,Mt),Kt.on(I,Mt),_t.on(K,Mt),Gt.on(_,Mt),Yt.on(D,Mt),Qt.on(I,Mt),Wt.on(K,Mt),Xt.on(_,Mt),Zt.on(D,Mt),Ft.on(I,Mt),Jt.on(K,Mt),Vt.on(_,Mt),It.on(ue,Yt),Kt.on(ue,Qt),_t.on(ue,Wt),Gt.on(ue,Xt),It.on(pe,Zt),Kt.on(pe,Ft),_t.on(pe,Jt),Gt.on(pe,Vt),Yt.on(ue,Yt),Qt.on(ue,Qt),Wt.on(ue,Wt),Xt.on(ue,Xt),Yt.on(pe,Yt),Qt.on(pe,Qt),Wt.on(pe,Wt),Xt.on(pe,Xt),Zt.on(ue,Yt),Ft.on(ue,Qt),Jt.on(ue,Wt),Vt.on(ue,Xt),Zt.on(pe,Zt),Ft.on(pe,Ft),Jt.on(pe,Jt),Vt.on(pe,Vt),Mt.on(ue,Mt),Dt.on(ue,Mt),Mt.on(pe,Dt),Dt.on(pe,Dt),Et.on(R,ae).on(v,ae).on(O,ae).on(x,ae),ae.on(ue,ae).on(pe,re),re.on(ue,ae).on(pe,re);var he=[v,O,S,N,L,C,P,G,R];Rt.on(he,ie).on(y,se),Ht.on(he,ie).on(y,se),qt.on(he,ie),ie.on(he,ie).on(y,se).on(w,ce),ce.on(he,ie),se.on(R,$t).on(v,$t).on(x,ee);var ge=function(t){for(var e=t.length,n=0,o=[],a=[];n<e;){for(var r=At,i=null,s=null,c=0,l=null,u=-1;n<e&&!(i=r.next(t[n]));)a.push(t[n++]);for(;n<e&&(s=i||r.next(t[n]));)i=null,r=s,r.accepts()?(u=0,l=r):u>=0&&u++,n++,c++;if(u<0)for(var p=n-c;p<n;p++)a.push(t[p]);else{a.length>0&&(o.push(new zt(a)),a=[]),n-=u,c-=u;var h=l.emit();o.push(new h(t.slice(n-c,n)))}}return a.length>0&&o.push(new zt(a)),o},fe=Object.freeze({State:d,TOKENS:Nt,run:ge,start:At});Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)});var me=function(t){return ge(vt(t))},de=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=me(t),o=[],a=0;a<n.length;a++){var r=n[a];!r.isLink||e&&r.type!==e||o.push(r.toObject())}return o},be=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=me(t);return 1===n.length&&n[0].isLink&&(!e||n[0].type===e)};e.find=de,e.inherits=n,e.options=g,e.parser=fe,e.scanner=kt,e.test=be,e.tokenize=me}(self.linkify=self.linkify||{})}();
!function(){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n};!function(e){function a(n,e){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},t=Object.create(n.prototype);for(var o in a)t[o]=a[o];return t.constructor=e,e.prototype=t,e}function t(n){n=n||{},this.defaultProtocol=n.hasOwnProperty("defaultProtocol")?n.defaultProtocol:h.defaultProtocol,this.events=n.hasOwnProperty("events")?n.events:h.events,this.format=n.hasOwnProperty("format")?n.format:h.format,this.formatHref=n.hasOwnProperty("formatHref")?n.formatHref:h.formatHref,this.nl2br=n.hasOwnProperty("nl2br")?n.nl2br:h.nl2br,this.tagName=n.hasOwnProperty("tagName")?n.tagName:h.tagName,this.target=n.hasOwnProperty("target")?n.target:h.target,this.validate=n.hasOwnProperty("validate")?n.validate:h.validate,this.ignoreTags=[],this.attributes=n.attributes||n.linkAttributes||h.attributes,this.className=n.hasOwnProperty("className")?n.className:n.linkClass||h.className;for(var e=n.hasOwnProperty("ignoreTags")?n.ignoreTags:h.ignoreTags,a=0;a<e.length;a++)this.ignoreTags.push(e[a].toUpperCase())}function o(n,e){for(var a=0;a<n.length;a++)if(n[a]===e)return!0;return!1}function r(n){return n}function i(n,e){return"url"===e?"_blank":null}function s(){return function(n){this.j=[],this.T=n||null}}function c(n,e,a,t){for(var o=0,r=n.length,i=e,s=[],c=void 0;o<r&&(c=i.next(n[o]));)i=c,o++;if(o>=r)return[];for(;o<r-1;)c=new m(t),s.push(c),i.on(n[o],c),i=c,o++;return c=new m(a),s.push(c),i.on(n[r-1],c),s}function l(){return function(n){n&&(this.v=n)}}function u(n){var e=n?{v:n}:{};return a(d,l(),e)}function g(n){return n instanceof x||n instanceof C}var h={defaultProtocol:"http",events:null,format:r,formatHref:r,nl2br:!1,tagName:"a",target:i,validate:!0,ignoreTags:[],attributes:null,className:"linkified"};t.prototype={resolve:function(n){var e=n.toHref(this.defaultProtocol);return{formatted:this.get("format",n.toString(),n),formattedHref:this.get("formatHref",e,n),tagName:this.get("tagName",e,n),className:this.get("className",e,n),target:this.get("target",e,n),events:this.getObject("events",e,n),attributes:this.getObject("attributes",e,n)}},check:function(n){return this.get("validate",n.toString(),n)},get:function(e,a,t){var o=void 0,r=this[e];if(!r)return r;switch("undefined"==typeof r?"undefined":n(r)){case"function":return r(a,t.type);case"object":return o=r.hasOwnProperty(t.type)?r[t.type]:h[e],"function"==typeof o?o(a,t.type):o}return r},getObject:function(n,e,a){var t=this[n];return"function"==typeof t?t(e,a.type):t}};var b=Object.freeze({defaults:h,Options:t,contains:o}),p=s();p.prototype={defaultTransition:!1,on:function(n,e){if(n instanceof Array){for(var a=0;a<n.length;a++)this.j.push([n[a],e]);return this}return this.j.push([n,e]),this},next:function(n){for(var e=0;e<this.j.length;e++){var a=this.j[e],t=a[0],o=a[1];if(this.test(n,t))return o}return this.defaultTransition},accepts:function(){return!!this.T},test:function(n,e){return n===e},emit:function(){return this.T}};var m=a(p,s(),{test:function(n,e){return n===e||e instanceof RegExp&&e.test(n)}}),f=a(p,s(),{jump:function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=this.next(new n(""));return a===this.defaultTransition?(a=new this.constructor(e),this.on(n,a)):e&&(a.T=e),a},test:function(n,e){return n instanceof e}}),d=l();d.prototype={toString:function(){return this.v+""}};var x=u(),y=u("@"),v=u(":"),k=u("."),w=u(),j=u(),z=u("\n"),O=u(),q=u("+"),N=u("#"),S=u(),T=u("mailto:"),A=u("?"),L=u("/"),P=u("_"),E=u(),C=u(),R=u(),H=u("{"),B=u("["),U=u("<"),M=u("("),D=u("}"),I=u("]"),K=u(">"),_=u(")"),G=u("&"),Y=Object.freeze({Base:d,DOMAIN:x,AT:y,COLON:v,DOT:k,PUNCTUATION:w,LOCALHOST:j,NL:z,NUM:O,PLUS:q,POUND:N,QUERY:A,PROTOCOL:S,MAILTO:T,SLASH:L,UNDERSCORE:P,SYM:E,TLD:C,WS:R,OPENBRACE:H,OPENBRACKET:B,OPENANGLEBRACKET:U,OPENPAREN:M,CLOSEBRACE:D,CLOSEBRACKET:I,CLOSEANGLEBRACKET:K,CLOSEPAREN:_,AMPERSAND:G}),Q="aaa|aarp|abarth|abb|abbott|abbvie|abc|able|abogado|abudhabi|ac|academy|accenture|accountant|accountants|aco|active|actor|ad|adac|ads|adult|ae|aeg|aero|aetna|af|afamilycompany|afl|africa|ag|agakhan|agency|ai|aig|aigo|airbus|airforce|airtel|akdn|al|alfaromeo|alibaba|alipay|allfinanz|allstate|ally|alsace|alstom|am|americanexpress|americanfamily|amex|amfam|amica|amsterdam|analytics|android|anquan|anz|ao|aol|apartments|app|apple|aq|aquarelle|ar|arab|aramco|archi|army|arpa|art|arte|as|asda|asia|associates|at|athleta|attorney|au|auction|audi|audible|audio|auspost|author|auto|autos|avianca|aw|aws|ax|axa|az|azure|ba|baby|baidu|banamex|bananarepublic|band|bank|bar|barcelona|barclaycard|barclays|barefoot|bargains|baseball|basketball|bauhaus|bayern|bb|bbc|bbt|bbva|bcg|bcn|bd|be|beats|beauty|beer|bentley|berlin|best|bestbuy|bet|bf|bg|bh|bharti|bi|bible|bid|bike|bing|bingo|bio|biz|bj|black|blackfriday|blanco|blockbuster|blog|bloomberg|blue|bm|bms|bmw|bn|bnl|bnpparibas|bo|boats|boehringer|bofa|bom|bond|boo|book|booking|boots|bosch|bostik|boston|bot|boutique|box|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|calvinklein|cam|camera|camp|cancerresearch|canon|capetown|capital|capitalone|car|caravan|cards|care|career|careers|cars|cartier|casa|case|caseih|cash|casino|cat|catering|catholic|cba|cbn|cbre|cbs|cc|cd|ceb|center|ceo|cern|cf|cfa|cfd|cg|ch|chanel|channel|chase|chat|cheap|chintai|chloe|christmas|chrome|chrysler|church|ci|cipriani|circle|cisco|citadel|citi|citic|city|cityeats|ck|cl|claims|cleaning|click|clinic|clinique|clothing|cloud|club|clubmed|cm|cn|co|coach|codes|coffee|college|cologne|com|comcast|commbank|community|company|compare|computer|comsec|condos|construction|consulting|contact|contractors|cooking|cookingchannel|cool|coop|corsica|country|coupon|coupons|courses|cr|credit|creditcard|creditunion|cricket|crown|crs|cruise|cruises|csc|cu|cuisinella|cv|cw|cx|cy|cymru|cyou|cz|dabur|dad|dance|data|date|dating|datsun|day|dclk|dds|de|deal|dealer|deals|degree|delivery|dell|deloitte|delta|democrat|dental|dentist|desi|design|dev|dhl|diamonds|diet|digital|direct|directory|discount|discover|dish|diy|dj|dk|dm|dnp|do|docs|doctor|dodge|dog|doha|domains|dot|download|drive|dtv|dubai|duck|dunlop|duns|dupont|durban|dvag|dvr|dz|earth|eat|ec|eco|edeka|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|epost|epson|equipment|er|ericsson|erni|es|esq|estate|esurance|et|etisalat|eu|eurovision|eus|events|everbank|exchange|expert|exposed|express|extraspace|fage|fail|fairwinds|faith|family|fan|fans|farm|farmers|fashion|fast|fedex|feedback|ferrari|ferrero|fi|fiat|fidelity|fido|film|final|finance|financial|fire|firestone|firmdale|fish|fishing|fit|fitness|fj|fk|flickr|flights|flir|florist|flowers|fly|fm|fo|foo|food|foodnetwork|football|ford|forex|forsale|forum|foundation|fox|fr|free|fresenius|frl|frogans|frontdoor|frontier|ftr|fujitsu|fujixerox|fun|fund|furniture|futbol|fyi|ga|gal|gallery|gallo|gallup|game|games|gap|garden|gb|gbiz|gd|gdn|ge|gea|gent|genting|george|gf|gg|ggee|gh|gi|gift|gifts|gives|giving|gl|glade|glass|gle|global|globo|gm|gmail|gmbh|gmo|gmx|gn|godaddy|gold|goldpoint|golf|goo|goodhands|goodyear|goog|google|gop|got|gov|gp|gq|gr|grainger|graphics|gratis|green|gripe|grocery|group|gs|gt|gu|guardian|gucci|guge|guide|guitars|guru|gw|gy|hair|hamburg|hangout|haus|hbo|hdfc|hdfcbank|health|healthcare|help|helsinki|here|hermes|hgtv|hiphop|hisamitsu|hitachi|hiv|hk|hkt|hm|hn|hockey|holdings|holiday|homedepot|homegoods|homes|homesense|honda|honeywell|horse|hospital|host|hosting|hot|hoteles|hotels|hotmail|house|how|hr|hsbc|ht|htc|hu|hughes|hyatt|hyundai|ibm|icbc|ice|icu|id|ie|ieee|ifm|ikano|il|im|imamat|imdb|immo|immobilien|in|industries|infiniti|info|ing|ink|institute|insurance|insure|int|intel|international|intuit|investments|io|ipiranga|iq|ir|irish|is|iselect|ismaili|ist|istanbul|it|itau|itv|iveco|iwc|jaguar|java|jcb|jcp|je|jeep|jetzt|jewelry|jio|jlc|jll|jm|jmp|jnj|jo|jobs|joburg|jot|joy|jp|jpmorgan|jprs|juegos|juniper|kaufen|kddi|ke|kerryhotels|kerrylogistics|kerryproperties|kfh|kg|kh|ki|kia|kim|kinder|kindle|kitchen|kiwi|km|kn|koeln|komatsu|kosher|kp|kpmg|kpn|kr|krd|kred|kuokgroup|kw|ky|kyoto|kz|la|lacaixa|ladbrokes|lamborghini|lamer|lancaster|lancia|lancome|land|landrover|lanxess|lasalle|lat|latino|latrobe|law|lawyer|lb|lc|lds|lease|leclerc|lefrak|legal|lego|lexus|lgbt|li|liaison|lidl|life|lifeinsurance|lifestyle|lighting|like|lilly|limited|limo|lincoln|linde|link|lipsy|live|living|lixil|lk|loan|loans|locker|locus|loft|lol|london|lotte|lotto|love|lpl|lplfinancial|lr|ls|lt|ltd|ltda|lu|lundbeck|lupin|luxe|luxury|lv|ly|ma|macys|madrid|maif|maison|makeup|man|management|mango|map|market|marketing|markets|marriott|marshalls|maserati|mattel|mba|mc|mckinsey|md|me|med|media|meet|melbourne|meme|memorial|men|menu|meo|merckmsd|metlife|mg|mh|miami|microsoft|mil|mini|mint|mit|mitsubishi|mk|ml|mlb|mls|mm|mma|mn|mo|mobi|mobile|mobily|moda|moe|moi|mom|monash|money|monster|mopar|mormon|mortgage|moscow|moto|motorcycles|mov|movie|movistar|mp|mq|mr|ms|msd|mt|mtn|mtr|mu|museum|mutual|mv|mw|mx|my|mz|na|nab|nadex|nagoya|name|nationwide|natura|navy|nba|nc|ne|nec|net|netbank|netflix|network|neustar|new|newholland|news|next|nextdirect|nexus|nf|nfl|ng|ngo|nhk|ni|nico|nike|nikon|ninja|nissan|nissay|nl|no|nokia|northwesternmutual|norton|now|nowruz|nowtv|np|nr|nra|nrw|ntt|nu|nyc|nz|obi|observer|off|office|okinawa|olayan|olayangroup|oldnavy|ollo|om|omega|one|ong|onl|online|onyourside|ooo|open|oracle|orange|org|organic|origins|osaka|otsuka|ott|ovh|pa|page|panasonic|panerai|paris|pars|partners|parts|party|passagens|pay|pccw|pe|pet|pf|pfizer|pg|ph|pharmacy|phd|philips|phone|photo|photography|photos|physio|piaget|pics|pictet|pictures|pid|pin|ping|pink|pioneer|pizza|pk|pl|place|play|playstation|plumbing|plus|pm|pn|pnc|pohl|poker|politie|porn|post|pr|pramerica|praxi|press|prime|pro|prod|productions|prof|progressive|promo|properties|property|protection|pru|prudential|ps|pt|pub|pw|pwc|py|qa|qpon|quebec|quest|qvc|racing|radio|raid|re|read|realestate|realtor|realty|recipes|red|redstone|redumbrella|rehab|reise|reisen|reit|reliance|ren|rent|rentals|repair|report|republican|rest|restaurant|review|reviews|rexroth|rich|richardli|ricoh|rightathome|ril|rio|rip|rmit|ro|rocher|rocks|rodeo|rogers|room|rs|rsvp|ru|rugby|ruhr|run|rw|rwe|ryukyu|sa|saarland|safe|safety|sakura|sale|salon|samsclub|samsung|sandvik|sandvikcoromant|sanofi|sap|sapo|sarl|sas|save|saxo|sb|sbi|sbs|sc|sca|scb|schaeffler|schmidt|scholarships|school|schule|schwarz|science|scjohnson|scor|scot|sd|se|search|seat|secure|security|seek|select|sener|services|ses|seven|sew|sex|sexy|sfr|sg|sh|shangrila|sharp|shaw|shell|shia|shiksha|shoes|shop|shopping|shouji|show|showtime|shriram|si|silk|sina|singles|site|sj|sk|ski|skin|sky|skype|sl|sling|sm|smart|smile|sn|sncf|so|soccer|social|softbank|software|sohu|solar|solutions|song|sony|soy|space|spiegel|spot|spreadbetting|sr|srl|srt|st|stada|staples|star|starhub|statebank|statefarm|statoil|stc|stcgroup|stockholm|storage|store|stream|studio|study|style|su|sucks|supplies|supply|support|surf|surgery|suzuki|sv|swatch|swiftcover|swiss|sx|sy|sydney|symantec|systems|sz|tab|taipei|talk|taobao|target|tatamotors|tatar|tattoo|tax|taxi|tc|tci|td|tdk|team|tech|technology|tel|telecity|telefonica|temasek|tennis|teva|tf|tg|th|thd|theater|theatre|tiaa|tickets|tienda|tiffany|tips|tires|tirol|tj|tjmaxx|tjx|tk|tkmaxx|tl|tm|tmall|tn|to|today|tokyo|tools|top|toray|toshiba|total|tours|town|toyota|toys|tr|trade|trading|training|travel|travelchannel|travelers|travelersinsurance|trust|trv|tt|tube|tui|tunes|tushu|tv|tvs|tw|tz|ua|ubank|ubs|uconnect|ug|uk|unicom|university|uno|uol|ups|us|uy|uz|va|vacations|vana|vanguard|vc|ve|vegas|ventures|verisign|versicherung|vet|vg|vi|viajes|video|vig|viking|villas|vin|vip|virgin|visa|vision|vista|vistaprint|viva|vivo|vlaanderen|vn|vodka|volkswagen|volvo|vote|voting|voto|voyage|vu|vuelos|wales|walmart|walter|wang|wanggou|warman|watch|watches|weather|weatherchannel|webcam|weber|website|wed|wedding|weibo|weir|wf|whoswho|wien|wiki|williamhill|win|windows|wine|winners|wme|wolterskluwer|woodside|work|works|world|wow|ws|wtc|wtf|xbox|xerox|xfinity|xihuan|xin|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--30rr7y|xn--3bst00m|xn--3ds443g|xn--3e0b707e|xn--3hcrj9c|xn--3oq18vl8pn36a|xn--3pxu8k|xn--42c2d9a|xn--45br5cyl|xn--45brj9c|xn--45q11c|xn--4gbrim|xn--54b7fta0cc|xn--55qw42g|xn--55qx5d|xn--5su34j936bgsg|xn--5tzm5g|xn--6frz82g|xn--6qq986b3xl|xn--80adxhks|xn--80ao21a|xn--80aqecdr1a|xn--80asehdb|xn--80aswg|xn--8y0a063a|xn--90a3ac|xn--90ae|xn--90ais|xn--9dbq2a|xn--9et52u|xn--9krt00a|xn--b4w605ferd|xn--bck1b9a5dre4c|xn--c1avg|xn--c2br7g|xn--cck2b3b|xn--cg4bki|xn--clchc0ea0b2g2a9gcd|xn--czr694b|xn--czrs0t|xn--czru2d|xn--d1acj3b|xn--d1alf|xn--e1a4c|xn--eckvdtc9d|xn--efvy88h|xn--estv75g|xn--fct429k|xn--fhbei|xn--fiq228c5hs|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--fjq720a|xn--flw351e|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--fzys8d69uvgm|xn--g2xx48c|xn--gckr3f0f|xn--gecrj9c|xn--gk3at1e|xn--h2breg3eve|xn--h2brj9c|xn--h2brj9c8c|xn--hxt814e|xn--i1b6b1a6a2e|xn--imr513n|xn--io0a7i|xn--j1aef|xn--j1amh|xn--j6w193g|xn--jlq61u9w7b|xn--jvr189m|xn--kcrx77d1x4a|xn--kprw13d|xn--kpry57d|xn--kpu716f|xn--kput3i|xn--l1acc|xn--lgbbat1ad8j|xn--mgb9awbf|xn--mgba3a3ejt|xn--mgba3a4f16a|xn--mgba7c0bbn0a|xn--mgbaakc7dvf|xn--mgbaam7a8h|xn--mgbab2bd|xn--mgbai9azgqp6j|xn--mgbayh7gpa|xn--mgbb9fbpob|xn--mgbbh1a|xn--mgbbh1a71e|xn--mgbc0a9azcg|xn--mgbca7dzdo|xn--mgberp4a5d4ar|xn--mgbgu82a|xn--mgbi4ecexp|xn--mgbpl2fh|xn--mgbt3dhd|xn--mgbtx2b|xn--mgbx4cd0ab|xn--mix891f|xn--mk1bu44c|xn--mxtq1m|xn--ngbc5azd|xn--ngbe9e0a|xn--ngbrx|xn--node|xn--nqv7f|xn--nqv7fs00ema|xn--nyqy26a|xn--o3cw4h|xn--ogbpf8fl|xn--p1acf|xn--p1ai|xn--pbt977c|xn--pgbs0dh|xn--pssy2u|xn--q9jyb4c|xn--qcka1pmc|xn--qxam|xn--rhqv96g|xn--rovu88b|xn--rvc1e0am3e|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--tckwe|xn--tiq49xqyj|xn--unup4y|xn--vermgensberater-ctb|xn--vermgensberatung-pwb|xn--vhquv|xn--vuq861b|xn--w4r85el8fhu5dnra|xn--w4rs40l|xn--wgbh1c|xn--wgbl6a|xn--xhq521b|xn--xkc2al3hye2a|xn--xkc2dl3a5ee0h|xn--y9a3aq|xn--yfro4i67o|xn--ygbi2ammx|xn--zfr164b|xperia|xxx|xyz|yachts|yahoo|yamaxun|yandex|ye|yodobashi|yoga|yokohama|you|youtube|yt|yun|za|zappos|zara|zero|zip|zippo|zm|zone|zuerich|zw".split("|"),W="0123456789".split(""),X="0123456789abcdefghijklmnopqrstuvwxyz".split(""),Z=[" ","\f","\r","\t","\x0B"," "," ","᠎"],F=[],J=function(n){return new m(n)},V=J(),$=J(O),nn=J(x),en=J(),an=J(R);V.on("@",J(y)).on(".",J(k)).on("+",J(q)).on("#",J(N)).on("?",J(A)).on("/",J(L)).on("_",J(P)).on(":",J(v)).on("{",J(H)).on("[",J(B)).on("<",J(U)).on("(",J(M)).on("}",J(D)).on("]",J(I)).on(">",J(K)).on(")",J(_)).on("&",J(G)).on([",",";","!",'"',"'"],J(w)),V.on("\n",J(z)).on(Z,an),an.on(Z,an);for(var tn=0;tn<Q.length;tn++){var on=c(Q[tn],V,C,x);F.push.apply(F,on)}var rn=c("file",V,x,x),sn=c("ftp",V,x,x),cn=c("http",V,x,x),ln=c("mailto",V,x,x);F.push.apply(F,rn),F.push.apply(F,sn),F.push.apply(F,cn),F.push.apply(F,ln);var un=rn.pop(),gn=sn.pop(),hn=cn.pop(),bn=ln.pop(),pn=J(x),mn=J(S),fn=J(T);gn.on("s",pn).on(":",mn),hn.on("s",pn).on(":",mn),F.push(pn),un.on(":",mn),pn.on(":",mn),bn.on(":",fn);var dn=c("localhost",V,j,x);F.push.apply(F,dn),V.on(W,$),$.on("-",en).on(W,$).on(X,nn),nn.on("-",en).on(X,nn);for(var xn=0;xn<F.length;xn++)F[xn].on("-",en).on(X,nn);en.on("-",en).on(W,nn).on(X,nn),V.defaultTransition=J(E);var yn=function(n){for(var e=n.replace(/[A-Z]/g,function(n){return n.toLowerCase()}),a=n.length,t=[],o=0;o<a;){for(var r=V,i=null,s=0,c=null,l=-1;o<a&&(i=r.next(e[o]));)r=i,r.accepts()?(l=0,c=r):l>=0&&l++,s++,o++;if(!(l<0)){o-=l,s-=l;var u=c.emit();t.push(new u(n.substr(o-s,s)))}}return t},vn=V,kn=Object.freeze({State:m,TOKENS:Y,run:yn,start:vn}),wn=l();wn.prototype={type:"token",isLink:!1,toString:function(){for(var n=[],e=0;e<this.v.length;e++)n.push(this.v[e].toString());return n.join("")},toHref:function(){return this.toString()},toObject:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"http";return{type:this.type,value:this.toString(),href:this.toHref(n)}}};var jn=a(wn,l(),{type:"email",isLink:!0}),zn=a(wn,l(),{type:"email",isLink:!0,toHref:function(){return"mailto:"+this.toString()}}),On=a(wn,l(),{type:"text"}),qn=a(wn,l(),{type:"nl"}),Nn=a(wn,l(),{type:"url",isLink:!0,toHref:function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"http",e=!1,a=!1,t=this.v,o=[],r=0;t[r]instanceof S;)e=!0,o.push(t[r].toString().toLowerCase()),r++;for(;t[r]instanceof L;)a=!0,o.push(t[r].toString()),r++;for(;g(t[r]);)o.push(t[r].toString().toLowerCase()),r++;for(;r<t.length;r++)o.push(t[r].toString());return o=o.join(""),e||a||(o=n+"://"+o),o},hasProtocol:function(){return this.v[0]instanceof S}}),Sn=Object.freeze({Base:wn,MAILTOEMAIL:jn,EMAIL:zn,NL:qn,TEXT:On,URL:Nn}),Tn=function(n){return new f(n)},An=Tn(),Ln=Tn(),Pn=Tn(),En=Tn(),Cn=Tn(),Rn=Tn(),Hn=Tn(),Bn=Tn(Nn),Un=Tn(),Mn=Tn(Nn),Dn=Tn(Nn),In=Tn(),Kn=Tn(),_n=Tn(),Gn=Tn(),Yn=Tn(),Qn=Tn(Nn),Wn=Tn(Nn),Xn=Tn(Nn),Zn=Tn(Nn),Fn=Tn(),Jn=Tn(),Vn=Tn(),$n=Tn(),ne=Tn(),ee=Tn(),ae=Tn(zn),te=Tn(),oe=Tn(zn),re=Tn(jn),ie=Tn(),se=Tn(),ce=Tn(),le=Tn(),ue=Tn(qn);An.on(z,ue).on(S,Ln).on(T,Pn).on(L,En),Ln.on(L,En),En.on(L,Cn),An.on(C,Rn).on(x,Rn).on(j,Bn).on(O,Rn),Cn.on(C,Dn).on(x,Dn).on(O,Dn).on(j,Dn),Rn.on(k,Hn),ne.on(k,ee),Hn.on(C,Bn).on(x,Rn).on(O,Rn).on(j,Rn),ee.on(C,ae).on(x,ne).on(O,ne).on(j,ne),Bn.on(k,Hn),ae.on(k,ee),Bn.on(v,Un).on(L,Dn),Un.on(O,Mn),Mn.on(L,Dn),ae.on(v,te),te.on(O,oe);var ge=[x,y,j,O,q,N,S,L,C,P,E,G],he=[v,k,A,w,D,I,K,_,H,B,U,M];Dn.on(H,Kn).on(B,_n).on(U,Gn).on(M,Yn),In.on(H,Kn).on(B,_n).on(U,Gn).on(M,Yn),Kn.on(D,Dn),_n.on(I,Dn),Gn.on(K,Dn),Yn.on(_,Dn),Qn.on(D,Dn),Wn.on(I,Dn),Xn.on(K,Dn),Zn.on(_,Dn),Fn.on(D,Dn),Jn.on(I,Dn),Vn.on(K,Dn),$n.on(_,Dn),Kn.on(ge,Qn),_n.on(ge,Wn),Gn.on(ge,Xn),Yn.on(ge,Zn),Kn.on(he,Fn),_n.on(he,Jn),Gn.on(he,Vn),Yn.on(he,$n),Qn.on(ge,Qn),Wn.on(ge,Wn),Xn.on(ge,Xn),Zn.on(ge,Zn),Qn.on(he,Qn),Wn.on(he,Wn),Xn.on(he,Xn),Zn.on(he,Zn),Fn.on(ge,Qn),Jn.on(ge,Wn),Vn.on(ge,Xn),$n.on(ge,Zn),Fn.on(he,Fn),Jn.on(he,Jn),Vn.on(he,Vn),$n.on(he,$n),Dn.on(ge,Dn),In.on(ge,Dn),Dn.on(he,In),In.on(he,In),Pn.on(C,re).on(x,re).on(O,re).on(j,re),re.on(ge,re).on(he,ie),ie.on(ge,re).on(he,ie);var be=[x,O,q,N,A,P,E,G,C];Rn.on(be,se).on(y,ce),Bn.on(be,se).on(y,ce),Hn.on(be,se),se.on(be,se).on(y,ce).on(k,le),le.on(be,se),ce.on(C,ne).on(x,ne).on(j,ae);var pe=function(n){for(var e=n.length,a=0,t=[],o=[];a<e;){for(var r=An,i=null,s=null,c=0,l=null,u=-1;a<e&&!(i=r.next(n[a]));)o.push(n[a++]);for(;a<e&&(s=i||r.next(n[a]));)i=null,r=s,r.accepts()?(u=0,l=r):u>=0&&u++,a++,c++;if(u<0)for(var g=a-c;g<a;g++)o.push(n[g]);else{o.length>0&&(t.push(new On(o)),o=[]),a-=u,c-=u;var h=l.emit();t.push(new h(n.slice(a-c,a)))}}return o.length>0&&t.push(new On(o)),t},me=Object.freeze({State:f,TOKENS:Sn,run:pe,start:An});Array.isArray||(Array.isArray=function(n){return"[object Array]"===Object.prototype.toString.call(n)});var fe=function(n){return pe(yn(n))},de=function(n){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=fe(n),t=[],o=0;o<a.length;o++){var r=a[o];!r.isLink||e&&r.type!==e||t.push(r.toObject())}return t},xe=function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=fe(n);return 1===a.length&&a[0].isLink&&(!e||a[0].type===e)};e.find=de,e.inherits=a,e.options=b,e.parser=me,e.scanner=kn,e.test=xe,e.tokenize=fe}(self.linkify=self.linkify||{})}();

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

while (childElement) {
var str = void 0,
tokens = void 0,
nodes = void 0;

@@ -143,20 +146,21 @@ switch (childElement.nodeType) {

case TXT_NODE:
{
str = childElement.nodeValue;
tokens = tokenize(str);
var str = childElement.nodeValue;
var tokens = tokenize(str);
if (tokens.length === 0 || tokens.length === 1 && tokens[0] instanceof TEXT_TOKEN) {
// No node replacement required
break;
}
if (tokens.length === 0 || tokens.length === 1 && tokens[0] instanceof TEXT_TOKEN) {
// No node replacement required
break;
}
nodes = tokensToNodes(tokens, opts, doc);
var nodes = tokensToNodes(tokens, opts, doc);
// Swap out the current child for the set of nodes
replaceChildWithChildren(element, childElement, nodes);
// Swap out the current child for the set of nodes
replaceChildWithChildren(element, childElement, nodes);
// so that the correct sibling is selected next
childElement = nodes[nodes.length - 1];
// so that the correct sibling is selected next
childElement = nodes[nodes.length - 1];
break;
break;
}
}

@@ -163,0 +167,0 @@

@@ -75,10 +75,12 @@ 'use strict';

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

@@ -124,3 +126,2 @@ linkified.push('</' + _token.tagName + '>');

var _opts$resolve = opts.resolve(token),
href = _opts$resolve.href,
formatted = _opts$resolve.formatted,

@@ -127,0 +128,0 @@ formattedHref = _opts$resolve.formattedHref,

@@ -6,6 +6,2 @@ 'use strict';

var _jquery = require('jquery');
var _jquery2 = _interopRequireDefault(_jquery);
var _linkifyElement = require('./linkify-element');

@@ -52,15 +48,52 @@

var nl2br = data.linkifyNlbr;
var options = {
attributes: data.linkifyAttributes,
defaultProtocol: data.linkifyDefaultProtocol,
events: data.linkifyEvents,
format: data.linkifyFormat,
formatHref: data.linkifyFormatHref,
nl2br: !!nl2br && nl2br !== 0 && nl2br !== 'false',
tagName: data.linkifyTagname,
target: data.linkifyTarget,
className: data.linkifyClassName || data.linkifyLinkclass, // linkClass is deprecated
validate: data.linkifyValidate,
ignoreTags: data.linkifyIgnoreTags
nl2br: !!nl2br && nl2br !== 0 && nl2br !== 'false'
};
if ('linkifyAttributes' in data) {
options.attributes = data.linkifyAttributes;
}
if ('linkifyDefaultProtocol' in data) {
options.defaultProtocol = data.linkifyDefaultProtocol;
}
if ('linkifyEvents' in data) {
options.events = data.linkifyEvents;
}
if ('linkifyFormat' in data) {
options.format = data.linkifyFormat;
}
if ('linkifyFormatHref' in data) {
options.formatHref = data.linkifyFormatHref;
}
if ('linkifyTagname' in data) {
options.tagName = data.linkifyTagname;
}
if ('linkifyTarget' in data) {
options.target = data.linkifyTarget;
}
if ('linkifyValidate' in data) {
options.validate = data.linkifyValidate;
}
if ('linkifyIgnoreTags' in data) {
options.ignoreTags = data.linkifyIgnoreTags;
}
if ('linkifyClassName' in data) {
options.className = data.linkifyClassName;
} else if ('linkifyLinkclass' in data) {
// linkClass is deprecated
options.className = data.linkifyLinkclass;
}
options = _linkifyElement2.default.normalize(options);
var $target = target === 'this' ? $this : $this.find(target);

@@ -74,3 +107,3 @@ $target.linkify(options);

try {
var a = !define && (window.linkifyElement = _linkifyElement2.default);
} catch (e) {}
!undefined.define && (window.linkifyElement = _linkifyElement2.default);
} catch (e) {/**/}

@@ -48,3 +48,2 @@ 'use strict';

var _opts$resolve = opts.resolve(token),
href = _opts$resolve.href,
formatted = _opts$resolve.formatted,

@@ -55,4 +54,3 @@ formattedHref = _opts$resolve.formattedHref,

target = _opts$resolve.target,
attributes = _opts$resolve.attributes,
events = _opts$resolve.events;
attributes = _opts$resolve.attributes;

@@ -99,2 +97,4 @@ var props = {

if (typeof child === 'string') {
// ensure that we always generate unique element IDs for keys
elementId = elementId + 1;
children.push.apply(children, stringToElements(child, opts));

@@ -101,0 +101,0 @@ } else if (_react2.default.isValidElement(child)) {

@@ -89,7 +89,21 @@ 'use strict';

if (!String.prototype.linkify) {
String.prototype.linkify = function (opts) {
return linkifyStr(this, opts);
};
try {
Object.defineProperty(String.prototype, 'linkify', {
set: function set() {},
get: function get() {
return function linkify(opts) {
return linkifyStr(this, opts);
};
}
});
} catch (e) {
// IE 8 doesn't like Object.defineProperty on non-DOM objects
if (!String.prototype.linkify) {
String.prototype.linkify = function (opts) {
return linkifyStr(this, opts);
};
}
}
}
exports.default = linkifyStr;

@@ -8,6 +8,2 @@ 'use strict';

var _text = require('./tokens/text');
var TEXT_TOKENS = _interopRequireWildcard(_text);
var _multi = require('./tokens/multi');

@@ -17,9 +13,6 @@

var _text = require('./tokens/text');
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
var makeState = function makeState(tokenClass) {
return new _state.TokenState(tokenClass);
};
// The universal starting state.
/**

@@ -40,2 +33,7 @@ Not exactly parser, more like the second-stage scanner (although we can

var makeState = function makeState(tokenClass) {
return new _state.TokenState(tokenClass);
};
// The universal starting state.
var S_START = makeState();

@@ -42,0 +40,0 @@

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

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
var tlds = 'aaa|aarp|abarth|abb|abbott|abbvie|abc|able|abogado|abudhabi|ac|academy|accenture|accountant|accountants|aco|active|actor|ad|adac|ads|adult|ae|aeg|aero|aetna|af|afamilycompany|afl|africa|ag|agakhan|agency|ai|aig|aigo|airbus|airforce|airtel|akdn|al|alfaromeo|alibaba|alipay|allfinanz|allstate|ally|alsace|alstom|am|americanexpress|americanfamily|amex|amfam|amica|amsterdam|analytics|android|anquan|anz|ao|aol|apartments|app|apple|aq|aquarelle|ar|arab|aramco|archi|army|arpa|art|arte|as|asda|asia|associates|at|athleta|attorney|au|auction|audi|audible|audio|auspost|author|auto|autos|avianca|aw|aws|ax|axa|az|azure|ba|baby|baidu|banamex|bananarepublic|band|bank|bar|barcelona|barclaycard|barclays|barefoot|bargains|baseball|basketball|bauhaus|bayern|bb|bbc|bbt|bbva|bcg|bcn|bd|be|beats|beauty|beer|bentley|berlin|best|bestbuy|bet|bf|bg|bh|bharti|bi|bible|bid|bike|bing|bingo|bio|biz|bj|black|blackfriday|blanco|blockbuster|blog|bloomberg|blue|bm|bms|bmw|bn|bnl|bnpparibas|bo|boats|boehringer|bofa|bom|bond|boo|book|booking|boots|bosch|bostik|boston|bot|boutique|box|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|calvinklein|cam|camera|camp|cancerresearch|canon|capetown|capital|capitalone|car|caravan|cards|care|career|careers|cars|cartier|casa|case|caseih|cash|casino|cat|catering|catholic|cba|cbn|cbre|cbs|cc|cd|ceb|center|ceo|cern|cf|cfa|cfd|cg|ch|chanel|channel|chase|chat|cheap|chintai|chloe|christmas|chrome|chrysler|church|ci|cipriani|circle|cisco|citadel|citi|citic|city|cityeats|ck|cl|claims|cleaning|click|clinic|clinique|clothing|cloud|club|clubmed|cm|cn|co|coach|codes|coffee|college|cologne|com|comcast|commbank|community|company|compare|computer|comsec|condos|construction|consulting|contact|contractors|cooking|cookingchannel|cool|coop|corsica|country|coupon|coupons|courses|cr|credit|creditcard|creditunion|cricket|crown|crs|cruise|cruises|csc|cu|cuisinella|cv|cw|cx|cy|cymru|cyou|cz|dabur|dad|dance|data|date|dating|datsun|day|dclk|dds|de|deal|dealer|deals|degree|delivery|dell|deloitte|delta|democrat|dental|dentist|desi|design|dev|dhl|diamonds|diet|digital|direct|directory|discount|discover|dish|diy|dj|dk|dm|dnp|do|docs|doctor|dodge|dog|doha|domains|dot|download|drive|dtv|dubai|duck|dunlop|duns|dupont|durban|dvag|dvr|dz|earth|eat|ec|eco|edeka|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|epost|epson|equipment|er|ericsson|erni|es|esq|estate|esurance|et|etisalat|eu|eurovision|eus|events|everbank|exchange|expert|exposed|express|extraspace|fage|fail|fairwinds|faith|family|fan|fans|farm|farmers|fashion|fast|fedex|feedback|ferrari|ferrero|fi|fiat|fidelity|fido|film|final|finance|financial|fire|firestone|firmdale|fish|fishing|fit|fitness|fj|fk|flickr|flights|flir|florist|flowers|fly|fm|fo|foo|food|foodnetwork|football|ford|forex|forsale|forum|foundation|fox|fr|free|fresenius|frl|frogans|frontdoor|frontier|ftr|fujitsu|fujixerox|fun|fund|furniture|futbol|fyi|ga|gal|gallery|gallo|gallup|game|games|gap|garden|gb|gbiz|gd|gdn|ge|gea|gent|genting|george|gf|gg|ggee|gh|gi|gift|gifts|gives|giving|gl|glade|glass|gle|global|globo|gm|gmail|gmbh|gmo|gmx|gn|godaddy|gold|goldpoint|golf|goo|goodhands|goodyear|goog|google|gop|got|gov|gp|gq|gr|grainger|graphics|gratis|green|gripe|grocery|group|gs|gt|gu|guardian|gucci|guge|guide|guitars|guru|gw|gy|hair|hamburg|hangout|haus|hbo|hdfc|hdfcbank|health|healthcare|help|helsinki|here|hermes|hgtv|hiphop|hisamitsu|hitachi|hiv|hk|hkt|hm|hn|hockey|holdings|holiday|homedepot|homegoods|homes|homesense|honda|honeywell|horse|hospital|host|hosting|hot|hoteles|hotels|hotmail|house|how|hr|hsbc|ht|htc|hu|hughes|hyatt|hyundai|ibm|icbc|ice|icu|id|ie|ieee|ifm|ikano|il|im|imamat|imdb|immo|immobilien|in|industries|infiniti|info|ing|ink|institute|insurance|insure|int|intel|international|intuit|investments|io|ipiranga|iq|ir|irish|is|iselect|ismaili|ist|istanbul|it|itau|itv|iveco|iwc|jaguar|java|jcb|jcp|je|jeep|jetzt|jewelry|jio|jlc|jll|jm|jmp|jnj|jo|jobs|joburg|jot|joy|jp|jpmorgan|jprs|juegos|juniper|kaufen|kddi|ke|kerryhotels|kerrylogistics|kerryproperties|kfh|kg|kh|ki|kia|kim|kinder|kindle|kitchen|kiwi|km|kn|koeln|komatsu|kosher|kp|kpmg|kpn|kr|krd|kred|kuokgroup|kw|ky|kyoto|kz|la|lacaixa|ladbrokes|lamborghini|lamer|lancaster|lancia|lancome|land|landrover|lanxess|lasalle|lat|latino|latrobe|law|lawyer|lb|lc|lds|lease|leclerc|lefrak|legal|lego|lexus|lgbt|li|liaison|lidl|life|lifeinsurance|lifestyle|lighting|like|lilly|limited|limo|lincoln|linde|link|lipsy|live|living|lixil|lk|loan|loans|locker|locus|loft|lol|london|lotte|lotto|love|lpl|lplfinancial|lr|ls|lt|ltd|ltda|lu|lundbeck|lupin|luxe|luxury|lv|ly|ma|macys|madrid|maif|maison|makeup|man|management|mango|map|market|marketing|markets|marriott|marshalls|maserati|mattel|mba|mc|mckinsey|md|me|med|media|meet|melbourne|meme|memorial|men|menu|meo|merckmsd|metlife|mg|mh|miami|microsoft|mil|mini|mint|mit|mitsubishi|mk|ml|mlb|mls|mm|mma|mn|mo|mobi|mobile|mobily|moda|moe|moi|mom|monash|money|monster|mopar|mormon|mortgage|moscow|moto|motorcycles|mov|movie|movistar|mp|mq|mr|ms|msd|mt|mtn|mtr|mu|museum|mutual|mv|mw|mx|my|mz|na|nab|nadex|nagoya|name|nationwide|natura|navy|nba|nc|ne|nec|net|netbank|netflix|network|neustar|new|newholland|news|next|nextdirect|nexus|nf|nfl|ng|ngo|nhk|ni|nico|nike|nikon|ninja|nissan|nissay|nl|no|nokia|northwesternmutual|norton|now|nowruz|nowtv|np|nr|nra|nrw|ntt|nu|nyc|nz|obi|observer|off|office|okinawa|olayan|olayangroup|oldnavy|ollo|om|omega|one|ong|onl|online|onyourside|ooo|open|oracle|orange|org|organic|origins|osaka|otsuka|ott|ovh|pa|page|panasonic|panerai|paris|pars|partners|parts|party|passagens|pay|pccw|pe|pet|pf|pfizer|pg|ph|pharmacy|phd|philips|phone|photo|photography|photos|physio|piaget|pics|pictet|pictures|pid|pin|ping|pink|pioneer|pizza|pk|pl|place|play|playstation|plumbing|plus|pm|pn|pnc|pohl|poker|politie|porn|post|pr|pramerica|praxi|press|prime|pro|prod|productions|prof|progressive|promo|properties|property|protection|pru|prudential|ps|pt|pub|pw|pwc|py|qa|qpon|quebec|quest|qvc|racing|radio|raid|re|read|realestate|realtor|realty|recipes|red|redstone|redumbrella|rehab|reise|reisen|reit|reliance|ren|rent|rentals|repair|report|republican|rest|restaurant|review|reviews|rexroth|rich|richardli|ricoh|rightathome|ril|rio|rip|rmit|ro|rocher|rocks|rodeo|rogers|room|rs|rsvp|ru|rugby|ruhr|run|rw|rwe|ryukyu|sa|saarland|safe|safety|sakura|sale|salon|samsclub|samsung|sandvik|sandvikcoromant|sanofi|sap|sapo|sarl|sas|save|saxo|sb|sbi|sbs|sc|sca|scb|schaeffler|schmidt|scholarships|school|schule|schwarz|science|scjohnson|scor|scot|sd|se|search|seat|secure|security|seek|select|sener|services|ses|seven|sew|sex|sexy|sfr|sg|sh|shangrila|sharp|shaw|shell|shia|shiksha|shoes|shop|shopping|shouji|show|showtime|shriram|si|silk|sina|singles|site|sj|sk|ski|skin|sky|skype|sl|sling|sm|smart|smile|sn|sncf|so|soccer|social|softbank|software|sohu|solar|solutions|song|sony|soy|space|spiegel|spot|spreadbetting|sr|srl|srt|st|stada|staples|star|starhub|statebank|statefarm|statoil|stc|stcgroup|stockholm|storage|store|stream|studio|study|style|su|sucks|supplies|supply|support|surf|surgery|suzuki|sv|swatch|swiftcover|swiss|sx|sy|sydney|symantec|systems|sz|tab|taipei|talk|taobao|target|tatamotors|tatar|tattoo|tax|taxi|tc|tci|td|tdk|team|tech|technology|tel|telecity|telefonica|temasek|tennis|teva|tf|tg|th|thd|theater|theatre|tiaa|tickets|tienda|tiffany|tips|tires|tirol|tj|tjmaxx|tjx|tk|tkmaxx|tl|tm|tmall|tn|to|today|tokyo|tools|top|toray|toshiba|total|tours|town|toyota|toys|tr|trade|trading|training|travel|travelchannel|travelers|travelersinsurance|trust|trv|tt|tube|tui|tunes|tushu|tv|tvs|tw|tz|ua|ubank|ubs|uconnect|ug|uk|unicom|university|uno|uol|ups|us|uy|uz|va|vacations|vana|vanguard|vc|ve|vegas|ventures|verisign|versicherung|vet|vg|vi|viajes|video|vig|viking|villas|vin|vip|virgin|visa|vision|vista|vistaprint|viva|vivo|vlaanderen|vn|vodka|volkswagen|volvo|vote|voting|voto|voyage|vu|vuelos|wales|walmart|walter|wang|wanggou|warman|watch|watches|weather|weatherchannel|webcam|weber|website|wed|wedding|weibo|weir|wf|whoswho|wien|wiki|williamhill|win|windows|wine|winners|wme|wolterskluwer|woodside|work|works|world|wow|ws|wtc|wtf|xbox|xerox|xfinity|xihuan|xin|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--30rr7y|xn--3bst00m|xn--3ds443g|xn--3e0b707e|xn--3hcrj9c|xn--3oq18vl8pn36a|xn--3pxu8k|xn--42c2d9a|xn--45br5cyl|xn--45brj9c|xn--45q11c|xn--4gbrim|xn--54b7fta0cc|xn--55qw42g|xn--55qx5d|xn--5su34j936bgsg|xn--5tzm5g|xn--6frz82g|xn--6qq986b3xl|xn--80adxhks|xn--80ao21a|xn--80aqecdr1a|xn--80asehdb|xn--80aswg|xn--8y0a063a|xn--90a3ac|xn--90ae|xn--90ais|xn--9dbq2a|xn--9et52u|xn--9krt00a|xn--b4w605ferd|xn--bck1b9a5dre4c|xn--c1avg|xn--c2br7g|xn--cck2b3b|xn--cg4bki|xn--clchc0ea0b2g2a9gcd|xn--czr694b|xn--czrs0t|xn--czru2d|xn--d1acj3b|xn--d1alf|xn--e1a4c|xn--eckvdtc9d|xn--efvy88h|xn--estv75g|xn--fct429k|xn--fhbei|xn--fiq228c5hs|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--fjq720a|xn--flw351e|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--fzys8d69uvgm|xn--g2xx48c|xn--gckr3f0f|xn--gecrj9c|xn--gk3at1e|xn--h2breg3eve|xn--h2brj9c|xn--h2brj9c8c|xn--hxt814e|xn--i1b6b1a6a2e|xn--imr513n|xn--io0a7i|xn--j1aef|xn--j1amh|xn--j6w193g|xn--jlq61u9w7b|xn--jvr189m|xn--kcrx77d1x4a|xn--kprw13d|xn--kpry57d|xn--kpu716f|xn--kput3i|xn--l1acc|xn--lgbbat1ad8j|xn--mgb9awbf|xn--mgba3a3ejt|xn--mgba3a4f16a|xn--mgba7c0bbn0a|xn--mgbaakc7dvf|xn--mgbaam7a8h|xn--mgbab2bd|xn--mgbai9azgqp6j|xn--mgbayh7gpa|xn--mgbb9fbpob|xn--mgbbh1a|xn--mgbbh1a71e|xn--mgbc0a9azcg|xn--mgbca7dzdo|xn--mgberp4a5d4ar|xn--mgbgu82a|xn--mgbi4ecexp|xn--mgbpl2fh|xn--mgbt3dhd|xn--mgbtx2b|xn--mgbx4cd0ab|xn--mix891f|xn--mk1bu44c|xn--mxtq1m|xn--ngbc5azd|xn--ngbe9e0a|xn--ngbrx|xn--node|xn--nqv7f|xn--nqv7fs00ema|xn--nyqy26a|xn--o3cw4h|xn--ogbpf8fl|xn--p1acf|xn--p1ai|xn--pbt977c|xn--pgbs0dh|xn--pssy2u|xn--q9jyb4c|xn--qcka1pmc|xn--qxam|xn--rhqv96g|xn--rovu88b|xn--rvc1e0am3e|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--tckwe|xn--tiq49xqyj|xn--unup4y|xn--vermgensberater-ctb|xn--vermgensberatung-pwb|xn--vhquv|xn--vuq861b|xn--w4r85el8fhu5dnra|xn--w4rs40l|xn--wgbh1c|xn--wgbl6a|xn--xhq521b|xn--xkc2al3hye2a|xn--xkc2dl3a5ee0h|xn--y9a3aq|xn--yfro4i67o|xn--ygbi2ammx|xn--zfr164b|xperia|xxx|xyz|yachts|yahoo|yamaxun|yandex|ye|yodobashi|yoga|yokohama|you|youtube|yt|yun|za|zappos|zara|zero|zip|zippo|zm|zone|zuerich|zw'.split('|'); // macro, see gulpfile.js

@@ -69,2 +69,3 @@ /**

domainStates.push.apply(domainStates, partialProtocolHttpStates);
domainStates.push.apply(domainStates, partialProtocolMailtoStates);

@@ -139,3 +140,2 @@ // Protocol states

var state = S_START;
var secondState = null;
var nextState = null;

@@ -147,3 +147,2 @@ var tokenLength = 0;

while (cursor < len && (nextState = state.next(lowerStr[cursor]))) {
secondState = null;
state = nextState;

@@ -150,0 +149,0 @@

@@ -116,3 +116,2 @@ 'use strict';

toHref: function toHref() {
var tokens = this.v;
return 'mailto:' + this.toString();

@@ -119,0 +118,0 @@ }

@@ -18,3 +18,4 @@ 'use strict';

attributes: null,
className: 'linkified' };
className: 'linkified' // Deprecated value - no default class will be provided in the future
};

@@ -29,10 +30,10 @@ exports.defaults = defaults;

this.defaultProtocol = opts.defaultProtocol || defaults.defaultProtocol;
this.events = opts.events || defaults.events;
this.format = opts.format || defaults.format;
this.formatHref = opts.formatHref || defaults.formatHref;
this.nl2br = opts.nl2br || defaults.nl2br;
this.tagName = opts.tagName || defaults.tagName;
this.target = opts.target || defaults.target;
this.validate = opts.validate || defaults.validate;
this.defaultProtocol = opts.hasOwnProperty('defaultProtocol') ? opts.defaultProtocol : defaults.defaultProtocol;
this.events = opts.hasOwnProperty('events') ? opts.events : defaults.events;
this.format = opts.hasOwnProperty('format') ? opts.format : defaults.format;
this.formatHref = opts.hasOwnProperty('formatHref') ? opts.formatHref : defaults.formatHref;
this.nl2br = opts.hasOwnProperty('nl2br') ? opts.nl2br : defaults.nl2br;
this.tagName = opts.hasOwnProperty('tagName') ? opts.tagName : defaults.tagName;
this.target = opts.hasOwnProperty('target') ? opts.target : defaults.target;
this.validate = opts.hasOwnProperty('validate') ? opts.validate : defaults.validate;
this.ignoreTags = [];

@@ -42,7 +43,6 @@

this.attributes = opts.attributes || opts.linkAttributes || defaults.attributes;
this.className = opts.className || opts.linkClass || defaults.className;
this.className = opts.hasOwnProperty('className') ? opts.className : opts.linkClass || defaults.className;
// Make all tags names upper case
var ignoredTags = opts.ignoreTags || defaults.ignoreTags;
var ignoredTags = opts.hasOwnProperty('ignoreTags') ? opts.ignoreTags : defaults.ignoreTags;
for (var i = 0; i < ignoredTags.length; i++) {

@@ -85,9 +85,9 @@ this.ignoreTags.push(ignoredTags[i].toUpperCase());

* params.
* @param [String] key Name of option to use
* @param {String} key Name of option to use
* @param operator will be passed to the target option if it's method
* @param [MultiToken] token The token from linkify.tokenize
* @param {MultiToken} token The token from linkify.tokenize
*/
get: function get(key, operator, token) {
var option = this[key];
var optionValue = void 0,
option = this[key];
if (!option) {

@@ -101,3 +101,3 @@ return option;

case 'object':
var optionValue = option[token.type] || defaults[key];
optionValue = option.hasOwnProperty(token.type) ? option[token.type] : defaults[key];
return typeof optionValue === 'function' ? optionValue(operator, token.type) : optionValue;

@@ -104,0 +104,0 @@ }

{
"name": "linkifyjs",
"version": "2.1.5",
"version": "2.1.6",
"description": "Intelligent link recognition, made easy",

@@ -11,6 +11,5 @@ "repository": {

"scripts": {
"prepublish": "rm -rf lib/* && node_modules/.bin/gulp build",
"test": "node_modules/.bin/gulp test",
"test-ci": "node_modules/.bin/gulp test-ci",
"coverage": "./node_modules/coveralls/bin/coveralls.js < coverage/lcov.info"
"test": "nyc --reporter=html --reporter=text gulp test",
"test:ci": "gulp test-ci",
"coverage": "nyc report --reporter=text-lcov | coveralls"
},

@@ -32,16 +31,17 @@ "author": "SoapBox Innovations (@SoapBoxHQ)",

"devDependencies": {
"amd-optimize": "^0.6.1",
"babel-core": "^6.26.0",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-transform-es2015-modules-amd": "^6.24.1",
"babel-polyfill": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"chai": "^3.5.0",
"coveralls": "^2.13.1",
"chai": "^4.1.2",
"coveralls": "^3.0.0",
"glob": "^7.1.2",
"gulp": "^3.8.11",
"gulp-babel": "^6.1.2",
"gulp-babel": "^7.0.1",
"gulp-clean": "^0.3.2",
"gulp-cli": "^2.0.1",
"gulp-concat": "^2.6.0",
"gulp-eslint": "^3.0.1",
"gulp-istanbul": "^1.1.2",
"gulp-mocha": "^3.0.1",
"gulp-eslint": "^4.0.2",
"gulp-mocha": "^5.0.0",
"gulp-rename": "^1.2.0",

@@ -52,4 +52,4 @@ "gulp-replace": "^0.5.4",

"gulp-wrap": "^0.13.0",
"jsdom": "^9.12.0",
"karma": "^1.7.1",
"jsdom": "^11.6.1",
"karma": "^2.0.0",
"karma-chrome-launcher": "^2.2.0",

@@ -63,3 +63,4 @@ "karma-firefox-launcher": "^1.0.1",

"merge-stream": "^1.0.0",
"mocha": "^3.5.3",
"mocha": "^5.0.0",
"nyc": "^11.4.1",
"phantomjs-prebuilt": "^2.1.15",

@@ -69,3 +70,3 @@ "qunitjs": "^1.14.0",

"rollup": "~0.40.0",
"run-sequence": "^1.1.5",
"run-sequence": "^2.2.1",
"simple-html-tokenizer": "git+https://github.com/nfrasser/simple-html-tokenizer.git#04799f4638ec5ed903a4e5aa6e832269fa59be6b",

@@ -75,6 +76,6 @@ "through2": "^2.0.1"

"optionalDependencies": {
"jquery": ">=1.9.0",
"react": ">=0.14.0",
"react-dom": ">=0.14.0"
"jquery": "^3.3.1",
"react": "^16.2.0",
"react-dom": "^16.2.0"
}
}

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

'use strict';
/* istanbul ignore file */

@@ -9,3 +9,3 @@ const replace = require('gulp-replace');

.pipe(replace, /\.default([^a-zA-Z0-9])/g, '[\'default\']$1')
.pipe(replace, /([^a-zA-Z0-9\.])default:/g, '$1\'default\':')
.pipe(replace, /([^a-zA-Z0-9.])default:/g, '$1\'default\':')
.pipe(

@@ -12,0 +12,0 @@ replace,

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

'use strict';
/* istanbul ignore file */

@@ -31,8 +31,8 @@ const util = require('gulp-util');

}).catch(err => {
let message = originalError.annotated || originalError.message;
let message = err.annotated || err.message;
let details = {
name: originalError.name,
stack: originalError.stack,
fileName: originalError.fileName,
lineNumber: originalError.lineNumber
name: err.name,
stack: err.stack,
fileName: err.fileName,
lineNumber: err.lineNumber
};

@@ -39,0 +39,0 @@ this.emit('error', new PluginError(PLUGIN_NAME, message, details));

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

/* istanbul ignore file */
// All object properties that will cause parts of the plugin to fail if mangled

@@ -41,2 +43,3 @@ // Uglify will skip all of these when mangling

'find',
'firstChild',
'fn',

@@ -68,2 +71,4 @@ 'format',

'nl2br',
'nodeType',
'nodeValue',
'normalize',

@@ -70,0 +75,0 @@ 'on',

// To be updated with the values in this list
// http://data.iana.org/TLD/tlds-alpha-by-domain.txt
// Updated 20160318
// version 2017100301, last updated tue oct 3 07:07:01 2017 utc
module.exports = [
'aaa',
'aarp',
'abarth',
'abb',
'abbott',
'abbvie',
'abc',
'able',
'abogado',
'abudhabi',
'ac',

@@ -25,22 +30,39 @@ 'academy',

'aero',
'aetna',
'af',
'afamilycompany',
'afl',
'africa',
'ag',
'agakhan',
'agency',
'ai',
'aig',
'aigo',
'airbus',
'airforce',
'airtel',
'akdn',
'al',
'alfaromeo',
'alibaba',
'alipay',
'allfinanz',
'allstate',
'ally',
'alsace',
'alstom',
'am',
'americanexpress',
'americanfamily',
'amex',
'amfam',
'amica',
'amsterdam',
'an',
'analytics',
'android',
'anquan',
'anz',
'ao',
'aol',
'apartments',

@@ -52,2 +74,3 @@ 'app',

'ar',
'arab',
'aramco',

@@ -57,7 +80,10 @@ 'archi',

'arpa',
'art',
'arte',
'as',
'asda',
'asia',
'associates',
'at',
'athleta',
'attorney',

@@ -67,3 +93,5 @@ 'au',

'audi',
'audible',
'audio',
'auspost',
'author',

@@ -74,2 +102,3 @@ 'auto',

'aw',
'aws',
'ax',

@@ -80,3 +109,6 @@ 'axa',

'ba',
'baby',
'baidu',
'banamex',
'bananarepublic',
'band',

@@ -88,3 +120,6 @@ 'bank',

'barclays',
'barefoot',
'bargains',
'baseball',
'basketball',
'bauhaus',

@@ -94,2 +129,3 @@ 'bayern',

'bbc',
'bbt',
'bbva',

@@ -101,2 +137,3 @@ 'bcg',

'beats',
'beauty',
'beer',

@@ -106,2 +143,3 @@ 'bentley',

'best',
'bestbuy',
'bet',

@@ -123,2 +161,5 @@ 'bf',

'blackfriday',
'blanco',
'blockbuster',
'blog',
'bloomberg',

@@ -135,2 +176,3 @@ 'blue',

'boehringer',
'bofa',
'bom',

@@ -140,7 +182,10 @@ 'bond',

'book',
'booking',
'boots',
'bosch',
'bostik',
'boston',
'bot',
'boutique',
'box',
'br',

@@ -172,2 +217,4 @@ 'bradesco',

'call',
'calvinklein',
'cam',
'camera',

@@ -179,2 +226,3 @@ 'camp',

'capital',
'capitalone',
'car',

@@ -189,2 +237,4 @@ 'caravan',

'casa',
'case',
'caseih',
'cash',

@@ -194,4 +244,7 @@ 'casino',

'catering',
'catholic',
'cba',
'cbn',
'cbre',
'cbs',
'cc',

@@ -213,5 +266,7 @@ 'cd',

'cheap',
'chintai',
'chloe',
'christmas',
'chrome',
'chrysler',
'church',

@@ -222,2 +277,4 @@ 'ci',

'cisco',
'citadel',
'citi',
'citic',

@@ -246,2 +303,3 @@ 'city',

'com',
'comcast',
'commbank',

@@ -259,2 +317,3 @@ 'community',

'cooking',
'cookingchannel',
'cool',

@@ -274,2 +333,3 @@ 'coop',

'crs',
'cruise',
'cruises',

@@ -289,2 +349,3 @@ 'csc',

'dance',
'data',
'date',

@@ -295,3 +356,5 @@ 'dating',

'dclk',
'dds',
'de',
'deal',
'dealer',

@@ -310,2 +373,3 @@ 'deals',

'dev',
'dhl',
'diamonds',

@@ -317,2 +381,5 @@ 'diet',

'discount',
'discover',
'dish',
'diy',
'dj',

@@ -324,10 +391,19 @@ 'dk',

'docs',
'doctor',
'dodge',
'dog',
'doha',
'domains',
'dot',
'download',
'drive',
'dtv',
'dubai',
'duck',
'dunlop',
'duns',
'dupont',
'durban',
'dvag',
'dvr',
'dz',

@@ -337,2 +413,3 @@ 'earth',

'ec',
'eco',
'edeka',

@@ -349,5 +426,7 @@ 'edu',

'enterprises',
'epost',
'epson',
'equipment',
'er',
'ericsson',
'erni',

@@ -357,3 +436,5 @@ 'es',

'estate',
'esurance',
'et',
'etisalat',
'eu',

@@ -368,2 +449,3 @@ 'eurovision',

'express',
'extraspace',
'fage',

@@ -377,7 +459,13 @@ 'fail',

'farm',
'farmers',
'fashion',
'fast',
'fedex',
'feedback',
'ferrari',
'ferrero',
'fi',
'fiat',
'fidelity',
'fido',
'film',

@@ -387,2 +475,3 @@ 'final',

'financial',
'fire',
'firestone',

@@ -398,5 +487,5 @@ 'firmdale',

'flights',
'flir',
'florist',
'flowers',
'flsmidth',
'fly',

@@ -406,2 +495,4 @@ 'fm',

'foo',
'food',
'foodnetwork',
'football',

@@ -415,6 +506,12 @@ 'ford',

'fr',
'free',
'fresenius',
'frl',
'frogans',
'frontdoor',
'frontier',
'ftr',
'fujitsu',
'fujixerox',
'fun',
'fund',

@@ -427,4 +524,7 @@ 'furniture',

'gallery',
'gallo',
'gallup',
'game',
'games',
'gap',
'garden',

@@ -439,2 +539,3 @@ 'gb',

'genting',
'george',
'gf',

@@ -450,2 +551,3 @@ 'gg',

'gl',
'glade',
'glass',

@@ -461,2 +563,3 @@ 'gle',

'gn',
'godaddy',
'gold',

@@ -466,2 +569,4 @@ 'goldpoint',

'goo',
'goodhands',
'goodyear',
'goog',

@@ -480,2 +585,3 @@ 'google',

'gripe',
'grocery',
'group',

@@ -485,2 +591,3 @@ 'gs',

'gu',
'guardian',
'gucci',

@@ -493,5 +600,8 @@ 'guge',

'gy',
'hair',
'hamburg',
'hangout',
'haus',
'hbo',
'hdfc',
'hdfcbank',

@@ -504,6 +614,9 @@ 'health',

'hermes',
'hgtv',
'hiphop',
'hisamitsu',
'hitachi',
'hiv',
'hk',
'hkt',
'hm',

@@ -515,8 +628,14 @@ 'hn',

'homedepot',
'homegoods',
'homes',
'homesense',
'honda',
'honeywell',
'horse',
'hospital',
'host',
'hosting',
'hot',
'hoteles',
'hotels',
'hotmail',

@@ -528,3 +647,6 @@ 'house',

'ht',
'htc',
'hu',
'hughes',
'hyatt',
'hyundai',

@@ -537,6 +659,9 @@ 'ibm',

'ie',
'ieee',
'ifm',
'iinet',
'ikano',
'il',
'im',
'imamat',
'imdb',
'immo',

@@ -554,3 +679,5 @@ 'immobilien',

'int',
'intel',
'international',
'intuit',
'investments',

@@ -564,2 +691,3 @@ 'io',

'iselect',
'ismaili',
'ist',

@@ -569,2 +697,4 @@ 'istanbul',

'itau',
'itv',
'iveco',
'iwc',

@@ -574,5 +704,8 @@ 'jaguar',

'jcb',
'jcp',
'je',
'jeep',
'jetzt',
'jewelry',
'jio',
'jlc',

@@ -582,2 +715,3 @@ 'jll',

'jmp',
'jnj',
'jo',

@@ -592,2 +726,3 @@ 'jobs',

'juegos',
'juniper',
'kaufen',

@@ -606,2 +741,3 @@ 'kddi',

'kinder',
'kindle',
'kitchen',

@@ -613,3 +749,5 @@ 'kiwi',

'komatsu',
'kosher',
'kp',
'kpmg',
'kpn',

@@ -626,5 +764,8 @@ 'kr',

'lacaixa',
'ladbrokes',
'lamborghini',
'lamer',
'lancaster',
'lancia',
'lancome',
'land',

@@ -635,2 +776,3 @@ 'landrover',

'lat',
'latino',
'latrobe',

@@ -644,3 +786,5 @@ 'law',

'leclerc',
'lefrak',
'legal',
'lego',
'lexus',

@@ -656,2 +800,3 @@ 'lgbt',

'like',
'lilly',
'limited',

@@ -662,2 +807,3 @@ 'limo',

'link',
'lipsy',
'live',

@@ -669,4 +815,5 @@ 'living',

'loans',
'local',
'locker',
'locus',
'loft',
'lol',

@@ -677,2 +824,4 @@ 'london',

'love',
'lpl',
'lplfinancial',
'lr',

@@ -684,2 +833,3 @@ 'ls',

'lu',
'lundbeck',
'lupin',

@@ -691,2 +841,3 @@ 'luxe',

'ma',
'macys',
'madrid',

@@ -699,2 +850,3 @@ 'maif',

'mango',
'map',
'market',

@@ -704,4 +856,8 @@ 'marketing',

'marriott',
'marshalls',
'maserati',
'mattel',
'mba',
'mc',
'mckinsey',
'md',

@@ -718,2 +874,4 @@ 'me',

'meo',
'merckmsd',
'metlife',
'mg',

@@ -725,4 +883,9 @@ 'mh',

'mini',
'mint',
'mit',
'mitsubishi',
'mk',
'ml',
'mlb',
'mls',
'mm',

@@ -733,2 +896,3 @@ 'mma',

'mobi',
'mobile',
'mobily',

@@ -741,6 +905,8 @@ 'moda',

'money',
'montblanc',
'monster',
'mopar',
'mormon',
'mortgage',
'moscow',
'moto',
'motorcycles',

@@ -754,9 +920,9 @@ 'mov',

'ms',
'msd',
'mt',
'mtn',
'mtpc',
'mtr',
'mu',
'museum',
'mutuelle',
'mutual',
'mv',

@@ -768,7 +934,10 @@ 'mw',

'na',
'nab',
'nadex',
'nagoya',
'name',
'nationwide',
'natura',
'navy',
'nba',
'nc',

@@ -779,8 +948,13 @@ 'ne',

'netbank',
'netflix',
'network',
'neustar',
'new',
'newholland',
'news',
'next',
'nextdirect',
'nexus',
'nf',
'nfl',
'ng',

@@ -791,10 +965,15 @@ 'ngo',

'nico',
'nike',
'nikon',
'ninja',
'nissan',
'nissay',
'nl',
'no',
'nokia',
'northwesternmutual',
'norton',
'now',
'nowruz',
'nowtv',
'np',

@@ -809,4 +988,10 @@ 'nr',

'obi',
'observer',
'off',
'office',
'okinawa',
'olayan',
'olayangroup',
'oldnavy',
'ollo',
'om',

@@ -818,3 +1003,5 @@ 'omega',

'online',
'onyourside',
'ooo',
'open',
'oracle',

@@ -827,6 +1014,7 @@ 'orange',

'otsuka',
'ott',
'ovh',
'pa',
'page',
'pamperedchef',
'panasonic',
'panerai',

@@ -839,9 +1027,14 @@ 'paris',

'passagens',
'pay',
'pccw',
'pe',
'pet',
'pf',
'pfizer',
'pg',
'ph',
'pharmacy',
'phd',
'philips',
'phone',
'photo',

@@ -859,2 +1052,3 @@ 'photography',

'pink',
'pioneer',
'pizza',

@@ -870,9 +1064,13 @@ 'pk',

'pn',
'pnc',
'pohl',
'poker',
'politie',
'porn',
'post',
'pr',
'pramerica',
'praxi',
'press',
'prime',
'pro',

@@ -882,2 +1080,3 @@ 'prod',

'prof',
'progressive',
'promo',

@@ -887,2 +1086,4 @@ 'properties',

'protection',
'pru',
'prudential',
'ps',

@@ -898,5 +1099,9 @@ 'pt',

'quest',
'qvc',
'racing',
'radio',
'raid',
're',
'read',
'realestate',
'realtor',

@@ -912,2 +1117,3 @@ 'realty',

'reit',
'reliance',
'ren',

@@ -925,5 +1131,9 @@ 'rent',

'rich',
'richardli',
'ricoh',
'rightathome',
'ril',
'rio',
'rip',
'rmit',
'ro',

@@ -933,2 +1143,3 @@ 'rocher',

'rodeo',
'rogers',
'room',

@@ -938,2 +1149,3 @@ 'rs',

'ru',
'rugby',
'ruhr',

@@ -951,2 +1163,3 @@ 'run',

'salon',
'samsclub',
'samsung',

@@ -960,4 +1173,6 @@ 'sandvik',

'sas',
'save',
'saxo',
'sb',
'sbi',
'sbs',

@@ -974,2 +1189,3 @@ 'sc',

'science',
'scjohnson',
'scor',

@@ -979,3 +1195,5 @@ 'scot',

'se',
'search',
'seat',
'secure',
'security',

@@ -986,2 +1204,3 @@ 'seek',

'services',
'ses',
'seven',

@@ -994,3 +1213,5 @@ 'sew',

'sh',
'shangrila',
'sharp',
'shaw',
'shell',

@@ -1000,5 +1221,11 @@ 'shia',

'shoes',
'shop',
'shopping',
'shouji',
'show',
'showtime',
'shriram',
'si',
'silk',
'sina',
'singles',

@@ -1013,3 +1240,5 @@ 'site',

'sl',
'sling',
'sm',
'smart',
'smile',

@@ -1035,6 +1264,9 @@ 'sn',

'srl',
'srt',
'st',
'stada',
'staples',
'star',
'starhub',
'statebank',
'statefarm',

@@ -1047,2 +1279,3 @@ 'statoil',

'store',
'stream',
'studio',

@@ -1061,2 +1294,3 @@ 'study',

'swatch',
'swiftcover',
'swiss',

@@ -1071,3 +1305,5 @@ 'sx',

'taipei',
'talk',
'taobao',
'target',
'tatamotors',

@@ -1081,2 +1317,3 @@ 'tatar',

'td',
'tdk',
'team',

@@ -1090,2 +1327,3 @@ 'tech',

'tennis',
'teva',
'tf',

@@ -1097,2 +1335,3 @@ 'tg',

'theatre',
'tiaa',
'tickets',

@@ -1105,3 +1344,6 @@ 'tienda',

'tj',
'tjmaxx',
'tjx',
'tk',
'tkmaxx',
'tl',

@@ -1123,3 +1365,2 @@ 'tm',

'toys',
'tp',
'tr',

@@ -1130,2 +1371,3 @@ 'trade',

'travel',
'travelchannel',
'travelers',

@@ -1145,3 +1387,5 @@ 'travelersinsurance',

'ua',
'ubank',
'ubs',
'uconnect',
'ug',

@@ -1153,2 +1397,3 @@ 'uk',

'uol',
'ups',
'us',

@@ -1160,2 +1405,3 @@ 'uy',

'vana',
'vanguard',
'vc',

@@ -1172,2 +1418,3 @@ 've',

'video',
'vig',
'viking',

@@ -1178,2 +1425,3 @@ 'villas',

'virgin',
'visa',
'vision',

@@ -1183,2 +1431,3 @@ 'vista',

'viva',
'vivo',
'vlaanderen',

@@ -1188,2 +1437,3 @@ 'vn',

'volkswagen',
'volvo',
'vote',

@@ -1196,5 +1446,7 @@ 'voting',

'wales',
'walmart',
'walter',
'wang',
'wanggou',
'warman',
'watch',

@@ -1209,2 +1461,3 @@ 'watches',

'wedding',
'weibo',
'weir',

@@ -1219,7 +1472,10 @@ 'wf',

'wine',
'winners',
'wme',
'wolterskluwer',
'woodside',
'work',
'works',
'world',
'wow',
'ws',

@@ -1230,3 +1486,155 @@ 'wtc',

'xerox',
'xfinity',
'xihuan',
'xin',
'xn--11b4c3d',
'xn--1ck2e1b',
'xn--1qqw23a',
'xn--2scrj9c',
'xn--30rr7y',
'xn--3bst00m',
'xn--3ds443g',
'xn--3e0b707e',
'xn--3hcrj9c',
'xn--3oq18vl8pn36a',
'xn--3pxu8k',
'xn--42c2d9a',
'xn--45br5cyl',
'xn--45brj9c',
'xn--45q11c',
'xn--4gbrim',
'xn--54b7fta0cc',
'xn--55qw42g',
'xn--55qx5d',
'xn--5su34j936bgsg',
'xn--5tzm5g',
'xn--6frz82g',
'xn--6qq986b3xl',
'xn--80adxhks',
'xn--80ao21a',
'xn--80aqecdr1a',
'xn--80asehdb',
'xn--80aswg',
'xn--8y0a063a',
'xn--90a3ac',
'xn--90ae',
'xn--90ais',
'xn--9dbq2a',
'xn--9et52u',
'xn--9krt00a',
'xn--b4w605ferd',
'xn--bck1b9a5dre4c',
'xn--c1avg',
'xn--c2br7g',
'xn--cck2b3b',
'xn--cg4bki',
'xn--clchc0ea0b2g2a9gcd',
'xn--czr694b',
'xn--czrs0t',
'xn--czru2d',
'xn--d1acj3b',
'xn--d1alf',
'xn--e1a4c',
'xn--eckvdtc9d',
'xn--efvy88h',
'xn--estv75g',
'xn--fct429k',
'xn--fhbei',
'xn--fiq228c5hs',
'xn--fiq64b',
'xn--fiqs8s',
'xn--fiqz9s',
'xn--fjq720a',
'xn--flw351e',
'xn--fpcrj9c3d',
'xn--fzc2c9e2c',
'xn--fzys8d69uvgm',
'xn--g2xx48c',
'xn--gckr3f0f',
'xn--gecrj9c',
'xn--gk3at1e',
'xn--h2breg3eve',
'xn--h2brj9c',
'xn--h2brj9c8c',
'xn--hxt814e',
'xn--i1b6b1a6a2e',
'xn--imr513n',
'xn--io0a7i',
'xn--j1aef',
'xn--j1amh',
'xn--j6w193g',
'xn--jlq61u9w7b',
'xn--jvr189m',
'xn--kcrx77d1x4a',
'xn--kprw13d',
'xn--kpry57d',
'xn--kpu716f',
'xn--kput3i',
'xn--l1acc',
'xn--lgbbat1ad8j',
'xn--mgb9awbf',
'xn--mgba3a3ejt',
'xn--mgba3a4f16a',
'xn--mgba7c0bbn0a',
'xn--mgbaakc7dvf',
'xn--mgbaam7a8h',
'xn--mgbab2bd',
'xn--mgbai9azgqp6j',
'xn--mgbayh7gpa',
'xn--mgbb9fbpob',
'xn--mgbbh1a',
'xn--mgbbh1a71e',
'xn--mgbc0a9azcg',
'xn--mgbca7dzdo',
'xn--mgberp4a5d4ar',
'xn--mgbgu82a',
'xn--mgbi4ecexp',
'xn--mgbpl2fh',
'xn--mgbt3dhd',
'xn--mgbtx2b',
'xn--mgbx4cd0ab',
'xn--mix891f',
'xn--mk1bu44c',
'xn--mxtq1m',
'xn--ngbc5azd',
'xn--ngbe9e0a',
'xn--ngbrx',
'xn--node',
'xn--nqv7f',
'xn--nqv7fs00ema',
'xn--nyqy26a',
'xn--o3cw4h',
'xn--ogbpf8fl',
'xn--p1acf',
'xn--p1ai',
'xn--pbt977c',
'xn--pgbs0dh',
'xn--pssy2u',
'xn--q9jyb4c',
'xn--qcka1pmc',
'xn--qxam',
'xn--rhqv96g',
'xn--rovu88b',
'xn--rvc1e0am3e',
'xn--s9brj9c',
'xn--ses554g',
'xn--t60b56a',
'xn--tckwe',
'xn--tiq49xqyj',
'xn--unup4y',
'xn--vermgensberater-ctb',
'xn--vermgensberatung-pwb',
'xn--vhquv',
'xn--vuq861b',
'xn--w4r85el8fhu5dnra',
'xn--w4rs40l',
'xn--wgbh1c',
'xn--wgbl6a',
'xn--xhq521b',
'xn--xkc2al3hye2a',
'xn--xkc2dl3a5ee0h',
'xn--y9a3aq',
'xn--yfro4i67o',
'xn--ygbi2ammx',
'xn--zfr164b',
'xperia',

@@ -1243,8 +1651,12 @@ 'xxx',

'yokohama',
'you',
'youtube',
'yt',
'yun',
'za',
'zappos',
'zara',
'zero',
'zip',
'zippo',
'zm',

@@ -1251,0 +1663,0 @@ 'zone',

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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