Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteffen van Bergerem <svbergerem@online.de>2015-01-04 22:26:40 +0300
committerSteffen van Bergerem <svbergerem@online.de>2015-01-10 20:56:20 +0300
commit026773194ac620d839417ec3b4657f20094f1704 (patch)
treece50f11bc782536a14262a26e587b9824031004a /lib/assets
parentc246e80b1d326abfb2e33004c56e495fbbd0c92e (diff)
Replace pagedown by markdown-it
Diffstat (limited to 'lib/assets')
-rw-r--r--lib/assets/javascripts/markdown-it-diaspora-linkify.js180
-rw-r--r--lib/assets/javascripts/posix-bracket-expressions.js571
2 files changed, 751 insertions, 0 deletions
diff --git a/lib/assets/javascripts/markdown-it-diaspora-linkify.js b/lib/assets/javascripts/markdown-it-diaspora-linkify.js
new file mode 100644
index 000000000..319497b08
--- /dev/null
+++ b/lib/assets/javascripts/markdown-it-diaspora-linkify.js
@@ -0,0 +1,180 @@
+// TODO this is a temporary fix
+// remove it as soon as markdown-it fixes its autolinking feature
+
+/*! markdown-it-diaspora-linkify 0.1.0 https://github.com/diaspora/markdown-it-diaspora-linkify @license MIT */!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.markdownitDiasporaLinkify=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
+'use strict';
+
+var ip = require('ip-regex').v4().source;
+var tlds = require('./tlds.json').join('|');
+
+/**
+ * Regular expression for matching URLs
+ *
+ * @param {Object} opts
+ * @api public
+ */
+
+module.exports = function (opts) {
+ opts = opts || {};
+
+ var auth = '(?:\\S+(?::\\S*)?@)?';
+ var domain = '(?:\\.(?:xn--[a-z0-9\\-]{1,59}|(?:[a-z\\u00a1-\\uffff0-9]+-?){0,62}[a-z\\u00a1-\\uffff0-9]{1,63}))*';
+ var host = '(?:xn--[a-z0-9\\-]{1,59}|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?){0,62}[a-z\\u00a1-\\uffff0-9]{1,63}))';
+ var path = '(?:\/[^\\s]*)?';
+ var port = '(?::\\d{2,5})?';
+ var protocol = '(?:(?:(?:\\w)+:)?\/\/)?';
+ var tld = '(?:\\.(?:xn--[a-z0-9\\-]{1,59}|' + tlds + '+))';
+
+ var regex = [
+ protocol + auth + '(?:' + ip + '|',
+ '(?:localhost)|' + host + domain + tld + ')' + port + path
+ ].join('');
+
+ return opts.exact ? new RegExp('(?:^' + regex + '$)', 'i') :
+ new RegExp('(?:^|\\s)(["\'])?' + regex + '\\1', 'ig');
+};
+
+},{"./tlds.json":3,"ip-regex":2}],2:[function(require,module,exports){
+'use strict';
+
+var v4 = '(?:25[0-5]|2[0-4][0-9]|1?[0-9][0-9]{1,2}|[0-9]){1,}(?:\\.(?:25[0-5]|2[0-4][0-9]|1?[0-9]{1,2}|0)){3}';
+var v6 = '(?:(?:[0-9a-fA-F:]){1,4}(?:(?::(?:[0-9a-fA-F]){1,4}|:)){2,7})+';
+
+var ip = module.exports = function (opts) {
+ opts = opts || {};
+ return opts.exact ? new RegExp('(?:^' + v4 + '$)|(?:^' + v6 + '$)') :
+ new RegExp('(?:' + v4 + ')|(?:' + v6 + ')', 'g');
+};
+
+ip.v4 = function (opts) {
+ opts = opts || {};
+ return opts.exact ? new RegExp('^' + v4 + '$') : new RegExp(v4, 'g');
+};
+
+ip.v6 = function (opts) {
+ opts = opts || {};
+ return opts.exact ? new RegExp('^' + v6 + '$') : new RegExp(v6, 'g');
+};
+
+},{}],3:[function(require,module,exports){
+module.exports=["vermögensberatung","vermögensberater","cancerresearch","international","versicherung","construction","contractors","engineering","motorcycles","சிங்கப்பூர்","accountants","investments","enterprises","williamhill","photography","blackfriday","productions","properties","healthcare","immobilien","university","republican","consulting","technology","industries","creditcard","cuisinella","foundation","restaurant","bnpparibas","associates","management","vlaanderen","furniture","bloomberg","equipment","melbourne","financial","education","directory","solutions","allfinanz","institute","christmas","community","vacations","marketing","training","capetown","pharmacy","partners","delivery","democrat","diamonds","software","discount","السعودية","saarland","catering","airforce","mortgage","attorney","services","engineer","supplies","cleaning","property","clothing","lighting","exchange","feedback","boutique","flsmidth","brussels","plumbing","budapest","computer","builders","business","yokohama","bargains","holdings","ventures","graphics","pictures","whoswho","dentist","recipes","digital","neustar","schmidt","realtor","shiksha","domains","network","support","android","youtube","college","cologne","surgery","capital","company","caravan","இந்தியா","abogado","academy","limited","careers","spiegel","lacaixa","exposed","cooking","finance","country","fishing","fitness","flights","florist","reviews","kitchen","channel","forsale","cricket","frogans","cruises","systems","الجزائر","gallery","science","auction","organic","okinawa","hosting","holiday","website","wedding","hamburg","rentals","singles","guitars","travel","google","hiphop","global","онлайн","москва","insure","futbol","joburg","juegos","kaufen","امارات","expert","lawyer","events","london","estate","luxury","maison","الاردن","market","energy","emerck","monash","moscow","المغرب","museum","nagoya","durban","direct","dental","degree","webcam","مليسيا","voyage","dating","otsuka","gratis","credit","photos","physio","condos","coffee","clinic","quebec","claims","reisen","vision","church","repair","report","chrome","center","villas","viajes","ryukyu","career","camera","இலங்கை","schule","فلسطين","yachts","social","yandex","berlin","bayern","supply","suzuki","sydney","alsace","taipei","tattoo","agency","active","tienda","voting","globo","mango","ایران","pizza","place","سورية","poker","praxi","press","jetzt","codes","media","vodka","homes","click","miami","citic","rehab","reise","works","horse","email","భారత్","بھارت","house","cheap","koeln","world","संगठन","rocks","rodeo","glass","nexus","cards","lease","gives","ninja","build","deals","black","shoes","بازار","watch","loans","solar","wales","vegas","space","guide","autos","lotto","audio","archi","green","gifts","paris","dance","tatar","parts","gripe","actor","cymru","photo","tirol","today","tokyo","tools","gmail","trade","party","aero","ভারত","شبكة","kiwi","pics","club","pink","army","kred","casa","pohl","land","post","cash","ਭਾਰਤ","vote","prod","lgbt","prof","life","भारत","ભારત","qpon","limo","link","buzz","ලංකා","arpa","تونس","luxe","reit","cern","fail","farm","desi","blue","rest","guru","diet","rich","meet","haus","meme","menu","rsvp","ruhr","fish","help","sarl","mini","mobi","moda","work","here","scot","beer","sexy","дети","asia","camp","best","cool","sohu","name","navy","wiki","host","coop","wien","yoga","dvag","surf","сайт","immo","city","عمان","info","bike","wang","fund","zone","voto","组织机构","tips","موقع","band","care","gbiz","jobs","town","toys","gent","gift","ltda","top","tel","uno","uol","tax","soy","scb","sca","vet","rip","rio","ren","red","pub","pro","ovh","org","ooo","onl","ong","nyc","nrw","nra","wed","nhk","ngo","new","net","mov","wme","moe","mil","krd","wtc","wtf","kim","int","我爱你","ink","қаз","ing","ibm","срб","орг","tui","hiv","мкд","中文网","gov","gop","gmx","gmo","gle","укр","мон","gal","frl","foo","fly","eus","esq","edu","eat","dnp","day","dad","crs","ไทย","com","рус","ceo","みんな","cat","cal","cab","مصر","قطر","bzh","boo","新加坡","bmw","xxx","xyz","biz","bio","bid","bar","axa","zip","how","pk","pl","er","hr","pm","pn","ht","hu","es","pr","id","ie","il","im","ca","ae","in","et","ps","pt","eu","pw","py","qa","as","al","re","bf","bg","bh","bi","zw","io","iq","ir","is","it","je","at","jm","jo","fi","af","jp","cr","ro","au","ke","rs","kg","ru","kh","rw","ki","sa","bj","am","sb","sc","fj","km","kn","fk","kp","kr","sd","se","an","ag","sg","sh","kw","ky","si","kz","sj","sk","sl","sm","sn","so","la","cu","aw","fm","lb","lc","fo","cv","sr","st","su","li","cw","cx","fr","cy","cc","sv","sx","sy","lk","cz","sz","cd","bm","lr","ls","tc","td","lt","ga","tf","tg","th","lu","ax","bn","tj","tk","tl","tm","tn","to","lv","ly","ac","gb","de","gd","tp","tr","ge","cf","mc","tt","md","tv","tw","tz","ua","ug","uk","me","gf","gg","us","uy","uz","va","gh","vc","ve","gi","cg","mg","mh","vg","vi","ch","ao","gl","mk","vn","ml","mm","mn","mo","bo","vu","az","ba","br","gm","ci","aq","bs","wf","mp","mq","mr","ms","mt","mu","gn","mv","ws","mw","mx","佛山","集团","在线","한국","my","八卦","mz","公益","公司","移动","na","ck","cl","dj","nc","ne","gp","삼성","gq","商标","商城","gr","dk","dm","中信","中国","中國","nf","ng","bt","do","ni","网络","gs","香港","台湾","台灣","手机","nl","no","np","nr","gt","gu","nu","ar","nz","ad","om","ai","გე","机构","gw","gy","dz","bb","рф","ec","bd","世界","pa","网址","游戏","cm","ee","企业","eg","hk","广东","pe","pf","pg","ph","政务","hm","hn","cn","co","ye","bv","bw","by","yt","za","bz","zm","be","ma"]
+},{}],4:[function(require,module,exports){
+// Replace link-like texts with link nodes.
+//
+'use strict';
+
+var urlRegex = require('url-regex');
+var LINK_SCAN_RE = /www|@|\:\/\//;
+
+function isLinkOpen(str) {
+ return /^<a[>\s]/i.test(str);
+}
+function isLinkClose(str) {
+ return /^<\/a\s*>/i.test(str);
+}
+
+module.exports = function linkify_plugin(md) {
+ var arrayReplaceAt = md.utils.arrayReplaceAt;
+
+ function linkify(state) {
+ var i, j, l, tokens, token, text, nodes, ln, pos, level, htmlLinkLevel,
+ blockTokens = state.tokens, links, href;
+
+ if (!state.md.options.linkify) { return; }
+
+ for (j = 0, l = blockTokens.length; j < l; j++) {
+ if (blockTokens[j].type !== 'inline') { continue; }
+ tokens = blockTokens[j].children;
+
+ htmlLinkLevel = 0;
+
+ // We scan from the end, to keep position when new tags added.
+ // Use reversed logic in links start/end match
+ for (i = tokens.length - 1; i >= 0; i--) {
+ token = tokens[i];
+
+ // Skip content of markdown links
+ if (token.type === 'link_close') {
+ i--;
+ while (tokens[i].level !== token.level && tokens[i].type !== 'link_open') {
+ i--;
+ }
+ continue;
+ }
+
+ // Skip content of html tag links
+ if (token.type === 'html_inline') {
+ if (isLinkOpen(token.content) && htmlLinkLevel > 0) {
+ htmlLinkLevel--;
+ }
+ if (isLinkClose(token.content)) {
+ htmlLinkLevel++;
+ }
+ }
+ if (htmlLinkLevel > 0) { continue; }
+
+ if (token.type === 'text' && LINK_SCAN_RE.test(token.content)) {
+
+ text = token.content;
+ links = text.match(urlRegex());
+
+ if (links === null || !links.length) { continue; }
+
+ // Now split string to nodes
+ nodes = [];
+ level = token.level;
+
+ for (ln = 0; ln < links.length; ln++) {
+
+ if (!state.md.inline.validateLink(links[ln])) { continue; }
+
+ pos = text.indexOf(links[ln]);
+
+ href = links[ln];
+
+ if (pos) {
+ level = level;
+ nodes.push({
+ type: 'text',
+ content: text.slice(0, pos),
+ level: level
+ });
+ }
+ nodes.push({
+ type: 'link_open',
+ href: href,
+ target: '',
+ title: '',
+ level: level++
+ });
+ nodes.push({
+ type: 'text',
+ content: links[ln],
+ level: level
+ });
+ nodes.push({
+ type: 'link_close',
+ level: --level
+ });
+ text = text.slice(pos + links[ln].length);
+ }
+ if (text.length) {
+ nodes.push({
+ type: 'text',
+ content: text,
+ level: level
+ });
+ }
+
+ // replace current node
+ blockTokens[j].children = tokens = arrayReplaceAt(tokens, i, nodes);
+ }
+ }
+ }
+ }
+
+ md.core.ruler.at('linkify', linkify);
+};
+
+},{"url-regex":1}]},{},[4])(4)
+});
diff --git a/lib/assets/javascripts/posix-bracket-expressions.js b/lib/assets/javascripts/posix-bracket-expressions.js
new file mode 100644
index 000000000..900c57467
--- /dev/null
+++ b/lib/assets/javascripts/posix-bracket-expressions.js
@@ -0,0 +1,571 @@
+// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-v3-or-Later
+
+var PosixBracketExpressions = {
+ alnum : '\\u0030-\\u0039'
+ + '\\u0041-\\u005a'
+ + '\\u0061-\\u007a'
+ + '\\u00aa'
+ + '\\u00b5'
+ + '\\u00ba'
+ + '\\u00c0-\\u00d6'
+ + '\\u00d8-\\u00f6'
+ + '\\u00f8-\\u02c1'
+ + '\\u02c6-\\u02d1'
+ + '\\u02e0-\\u02e4'
+ + '\\u02ec'
+ + '\\u02ee'
+ + '\\u0345'
+ + '\\u0370-\\u0374'
+ + '\\u0376-\\u0377'
+ + '\\u037a-\\u037d'
+ + '\\u0386'
+ + '\\u0388-\\u038a'
+ + '\\u038c'
+ + '\\u038e-\\u03a1'
+ + '\\u03a3-\\u03f5'
+ + '\\u03f7-\\u0481'
+ + '\\u048a-\\u0527'
+ + '\\u0531-\\u0556'
+ + '\\u0559'
+ + '\\u0561-\\u0587'
+ + '\\u05b0-\\u05bd'
+ + '\\u05bf'
+ + '\\u05c1-\\u05c2'
+ + '\\u05c4-\\u05c5'
+ + '\\u05c7'
+ + '\\u05d0-\\u05ea'
+ + '\\u05f0-\\u05f2'
+ + '\\u0610-\\u061a'
+ + '\\u0620-\\u0657'
+ + '\\u0659-\\u0669'
+ + '\\u066e-\\u06d3'
+ + '\\u06d5-\\u06dc'
+ + '\\u06e1-\\u06e8'
+ + '\\u06ed-\\u06fc'
+ + '\\u06ff'
+ + '\\u0710-\\u073f'
+ + '\\u074d-\\u07b1'
+ + '\\u07c0-\\u07ea'
+ + '\\u07f4-\\u07f5'
+ + '\\u07fa'
+ + '\\u0800-\\u0817'
+ + '\\u081a-\\u082c'
+ + '\\u0840-\\u0858'
+ + '\\u08a0'
+ + '\\u08a2-\\u08ac'
+ + '\\u08e4-\\u08e9'
+ + '\\u08f0-\\u08fe'
+ + '\\u0900-\\u093b'
+ + '\\u093d-\\u094c'
+ + '\\u094e-\\u0950'
+ + '\\u0955-\\u0963'
+ + '\\u0966-\\u096f'
+ + '\\u0971-\\u0977'
+ + '\\u0979-\\u097f'
+ + '\\u0981-\\u0983'
+ + '\\u0985-\\u098c'
+ + '\\u098f-\\u0990'
+ + '\\u0993-\\u09a8'
+ + '\\u09aa-\\u09b0'
+ + '\\u09b2'
+ + '\\u09b6-\\u09b9'
+ + '\\u09bd-\\u09c4'
+ + '\\u09c7-\\u09c8'
+ + '\\u09cb-\\u09cc'
+ + '\\u09ce'
+ + '\\u09d7'
+ + '\\u09dc-\\u09dd'
+ + '\\u09df-\\u09e3'
+ + '\\u09e6-\\u09f1'
+ + '\\u0a01-\\u0a03'
+ + '\\u0a05-\\u0a0a'
+ + '\\u0a0f-\\u0a10'
+ + '\\u0a13-\\u0a28'
+ + '\\u0a2a-\\u0a30'
+ + '\\u0a32-\\u0a33'
+ + '\\u0a35-\\u0a36'
+ + '\\u0a38-\\u0a39'
+ + '\\u0a3e-\\u0a42'
+ + '\\u0a47-\\u0a48'
+ + '\\u0a4b-\\u0a4c'
+ + '\\u0a51'
+ + '\\u0a59-\\u0a5c'
+ + '\\u0a5e'
+ + '\\u0a66-\\u0a75'
+ + '\\u0a81-\\u0a83'
+ + '\\u0a85-\\u0a8d'
+ + '\\u0a8f-\\u0a91'
+ + '\\u0a93-\\u0aa8'
+ + '\\u0aaa-\\u0ab0'
+ + '\\u0ab2-\\u0ab3'
+ + '\\u0ab5-\\u0ab9'
+ + '\\u0abd-\\u0ac5'
+ + '\\u0ac7-\\u0ac9'
+ + '\\u0acb-\\u0acc'
+ + '\\u0ad0'
+ + '\\u0ae0-\\u0ae3'
+ + '\\u0ae6-\\u0aef'
+ + '\\u0b01-\\u0b03'
+ + '\\u0b05-\\u0b0c'
+ + '\\u0b0f-\\u0b10'
+ + '\\u0b13-\\u0b28'
+ + '\\u0b2a-\\u0b30'
+ + '\\u0b32-\\u0b33'
+ + '\\u0b35-\\u0b39'
+ + '\\u0b3d-\\u0b44'
+ + '\\u0b47-\\u0b48'
+ + '\\u0b4b-\\u0b4c'
+ + '\\u0b56-\\u0b57'
+ + '\\u0b5c-\\u0b5d'
+ + '\\u0b5f-\\u0b63'
+ + '\\u0b66-\\u0b6f'
+ + '\\u0b71'
+ + '\\u0b82-\\u0b83'
+ + '\\u0b85-\\u0b8a'
+ + '\\u0b8e-\\u0b90'
+ + '\\u0b92-\\u0b95'
+ + '\\u0b99-\\u0b9a'
+ + '\\u0b9c'
+ + '\\u0b9e-\\u0b9f'
+ + '\\u0ba3-\\u0ba4'
+ + '\\u0ba8-\\u0baa'
+ + '\\u0bae-\\u0bb9'
+ + '\\u0bbe-\\u0bc2'
+ + '\\u0bc6-\\u0bc8'
+ + '\\u0bca-\\u0bcc'
+ + '\\u0bd0'
+ + '\\u0bd7'
+ + '\\u0be6-\\u0bef'
+ + '\\u0c01-\\u0c03'
+ + '\\u0c05-\\u0c0c'
+ + '\\u0c0e-\\u0c10'
+ + '\\u0c12-\\u0c28'
+ + '\\u0c2a-\\u0c33'
+ + '\\u0c35-\\u0c39'
+ + '\\u0c3d-\\u0c44'
+ + '\\u0c46-\\u0c48'
+ + '\\u0c4a-\\u0c4c'
+ + '\\u0c55-\\u0c56'
+ + '\\u0c58-\\u0c59'
+ + '\\u0c60-\\u0c63'
+ + '\\u0c66-\\u0c6f'
+ + '\\u0c82-\\u0c83'
+ + '\\u0c85-\\u0c8c'
+ + '\\u0c8e-\\u0c90'
+ + '\\u0c92-\\u0ca8'
+ + '\\u0caa-\\u0cb3'
+ + '\\u0cb5-\\u0cb9'
+ + '\\u0cbd-\\u0cc4'
+ + '\\u0cc6-\\u0cc8'
+ + '\\u0cca-\\u0ccc'
+ + '\\u0cd5-\\u0cd6'
+ + '\\u0cde'
+ + '\\u0ce0-\\u0ce3'
+ + '\\u0ce6-\\u0cef'
+ + '\\u0cf1-\\u0cf2'
+ + '\\u0d02-\\u0d03'
+ + '\\u0d05-\\u0d0c'
+ + '\\u0d0e-\\u0d10'
+ + '\\u0d12-\\u0d3a'
+ + '\\u0d3d-\\u0d44'
+ + '\\u0d46-\\u0d48'
+ + '\\u0d4a-\\u0d4c'
+ + '\\u0d4e'
+ + '\\u0d57'
+ + '\\u0d60-\\u0d63'
+ + '\\u0d66-\\u0d6f'
+ + '\\u0d7a-\\u0d7f'
+ + '\\u0d82-\\u0d83'
+ + '\\u0d85-\\u0d96'
+ + '\\u0d9a-\\u0db1'
+ + '\\u0db3-\\u0dbb'
+ + '\\u0dbd'
+ + '\\u0dc0-\\u0dc6'
+ + '\\u0dcf-\\u0dd4'
+ + '\\u0dd6'
+ + '\\u0dd8-\\u0ddf'
+ + '\\u0df2-\\u0df3'
+ + '\\u0e01-\\u0e3a'
+ + '\\u0e40-\\u0e46'
+ + '\\u0e4d'
+ + '\\u0e50-\\u0e59'
+ + '\\u0e81-\\u0e82'
+ + '\\u0e84'
+ + '\\u0e87-\\u0e88'
+ + '\\u0e8a'
+ + '\\u0e8d'
+ + '\\u0e94-\\u0e97'
+ + '\\u0e99-\\u0e9f'
+ + '\\u0ea1-\\u0ea3'
+ + '\\u0ea5'
+ + '\\u0ea7'
+ + '\\u0eaa-\\u0eab'
+ + '\\u0ead-\\u0eb9'
+ + '\\u0ebb-\\u0ebd'
+ + '\\u0ec0-\\u0ec4'
+ + '\\u0ec6'
+ + '\\u0ecd'
+ + '\\u0ed0-\\u0ed9'
+ + '\\u0edc-\\u0edf'
+ + '\\u0f00'
+ + '\\u0f20-\\u0f29'
+ + '\\u0f40-\\u0f47'
+ + '\\u0f49-\\u0f6c'
+ + '\\u0f71-\\u0f81'
+ + '\\u0f88-\\u0f97'
+ + '\\u0f99-\\u0fbc'
+ + '\\u1000-\\u1036'
+ + '\\u1038'
+ + '\\u103b-\\u1049'
+ + '\\u1050-\\u1062'
+ + '\\u1065-\\u1068'
+ + '\\u106e-\\u1086'
+ + '\\u108e'
+ + '\\u1090-\\u1099'
+ + '\\u109c-\\u109d'
+ + '\\u10a0-\\u10c5'
+ + '\\u10c7'
+ + '\\u10cd'
+ + '\\u10d0-\\u10fa'
+ + '\\u10fc-\\u1248'
+ + '\\u124a-\\u124d'
+ + '\\u1250-\\u1256'
+ + '\\u1258'
+ + '\\u125a-\\u125d'
+ + '\\u1260-\\u1288'
+ + '\\u128a-\\u128d'
+ + '\\u1290-\\u12b0'
+ + '\\u12b2-\\u12b5'
+ + '\\u12b8-\\u12be'
+ + '\\u12c0'
+ + '\\u12c2-\\u12c5'
+ + '\\u12c8-\\u12d6'
+ + '\\u12d8-\\u1310'
+ + '\\u1312-\\u1315'
+ + '\\u1318-\\u135a'
+ + '\\u135f'
+ + '\\u1380-\\u138f'
+ + '\\u13a0-\\u13f4'
+ + '\\u1401-\\u166c'
+ + '\\u166f-\\u167f'
+ + '\\u1681-\\u169a'
+ + '\\u16a0-\\u16ea'
+ + '\\u16ee-\\u16f0'
+ + '\\u1700-\\u170c'
+ + '\\u170e-\\u1713'
+ + '\\u1720-\\u1733'
+ + '\\u1740-\\u1753'
+ + '\\u1760-\\u176c'
+ + '\\u176e-\\u1770'
+ + '\\u1772-\\u1773'
+ + '\\u1780-\\u17b3'
+ + '\\u17b6-\\u17c8'
+ + '\\u17d7'
+ + '\\u17dc'
+ + '\\u17e0-\\u17e9'
+ + '\\u1810-\\u1819'
+ + '\\u1820-\\u1877'
+ + '\\u1880-\\u18aa'
+ + '\\u18b0-\\u18f5'
+ + '\\u1900-\\u191c'
+ + '\\u1920-\\u192b'
+ + '\\u1930-\\u1938'
+ + '\\u1946-\\u196d'
+ + '\\u1970-\\u1974'
+ + '\\u1980-\\u19ab'
+ + '\\u19b0-\\u19c9'
+ + '\\u19d0-\\u19d9'
+ + '\\u1a00-\\u1a1b'
+ + '\\u1a20-\\u1a5e'
+ + '\\u1a61-\\u1a74'
+ + '\\u1a80-\\u1a89'
+ + '\\u1a90-\\u1a99'
+ + '\\u1aa7'
+ + '\\u1b00-\\u1b33'
+ + '\\u1b35-\\u1b43'
+ + '\\u1b45-\\u1b4b'
+ + '\\u1b50-\\u1b59'
+ + '\\u1b80-\\u1ba9'
+ + '\\u1bac-\\u1be5'
+ + '\\u1be7-\\u1bf1'
+ + '\\u1c00-\\u1c35'
+ + '\\u1c40-\\u1c49'
+ + '\\u1c4d-\\u1c7d'
+ + '\\u1ce9-\\u1cec'
+ + '\\u1cee-\\u1cf3'
+ + '\\u1cf5-\\u1cf6'
+ + '\\u1d00-\\u1dbf'
+ + '\\u1e00-\\u1f15'
+ + '\\u1f18-\\u1f1d'
+ + '\\u1f20-\\u1f45'
+ + '\\u1f48-\\u1f4d'
+ + '\\u1f50-\\u1f57'
+ + '\\u1f59'
+ + '\\u1f5b'
+ + '\\u1f5d'
+ + '\\u1f5f-\\u1f7d'
+ + '\\u1f80-\\u1fb4'
+ + '\\u1fb6-\\u1fbc'
+ + '\\u1fbe'
+ + '\\u1fc2-\\u1fc4'
+ + '\\u1fc6-\\u1fcc'
+ + '\\u1fd0-\\u1fd3'
+ + '\\u1fd6-\\u1fdb'
+ + '\\u1fe0-\\u1fec'
+ + '\\u1ff2-\\u1ff4'
+ + '\\u1ff6-\\u1ffc'
+ + '\\u2071'
+ + '\\u207f'
+ + '\\u2090-\\u209c'
+ + '\\u2102'
+ + '\\u2107'
+ + '\\u210a-\\u2113'
+ + '\\u2115'
+ + '\\u2119-\\u211d'
+ + '\\u2124'
+ + '\\u2126'
+ + '\\u2128'
+ + '\\u212a-\\u212d'
+ + '\\u212f-\\u2139'
+ + '\\u213c-\\u213f'
+ + '\\u2145-\\u2149'
+ + '\\u214e'
+ + '\\u2160-\\u2188'
+ + '\\u24b6-\\u24e9'
+ + '\\u2c00-\\u2c2e'
+ + '\\u2c30-\\u2c5e'
+ + '\\u2c60-\\u2ce4'
+ + '\\u2ceb-\\u2cee'
+ + '\\u2cf2-\\u2cf3'
+ + '\\u2d00-\\u2d25'
+ + '\\u2d27'
+ + '\\u2d2d'
+ + '\\u2d30-\\u2d67'
+ + '\\u2d6f'
+ + '\\u2d80-\\u2d96'
+ + '\\u2da0-\\u2da6'
+ + '\\u2da8-\\u2dae'
+ + '\\u2db0-\\u2db6'
+ + '\\u2db8-\\u2dbe'
+ + '\\u2dc0-\\u2dc6'
+ + '\\u2dc8-\\u2dce'
+ + '\\u2dd0-\\u2dd6'
+ + '\\u2dd8-\\u2dde'
+ + '\\u2de0-\\u2dff'
+ + '\\u2e2f'
+ + '\\u3005-\\u3007'
+ + '\\u3021-\\u3029'
+ + '\\u3031-\\u3035'
+ + '\\u3038-\\u303c'
+ + '\\u3041-\\u3096'
+ + '\\u309d-\\u309f'
+ + '\\u30a1-\\u30fa'
+ + '\\u30fc-\\u30ff'
+ + '\\u3105-\\u312d'
+ + '\\u3131-\\u318e'
+ + '\\u31a0-\\u31ba'
+ + '\\u31f0-\\u31ff'
+ + '\\u3400-\\u4db5'
+ + '\\u4e00-\\u9fcc'
+ + '\\ua000-\\ua48c'
+ + '\\ua4d0-\\ua4fd'
+ + '\\ua500-\\ua60c'
+ + '\\ua610-\\ua62b'
+ + '\\ua640-\\ua66e'
+ + '\\ua674-\\ua67b'
+ + '\\ua67f-\\ua697'
+ + '\\ua69f-\\ua6ef'
+ + '\\ua717-\\ua71f'
+ + '\\ua722-\\ua788'
+ + '\\ua78b-\\ua78e'
+ + '\\ua790-\\ua793'
+ + '\\ua7a0-\\ua7aa'
+ + '\\ua7f8-\\ua801'
+ + '\\ua803-\\ua805'
+ + '\\ua807-\\ua80a'
+ + '\\ua80c-\\ua827'
+ + '\\ua840-\\ua873'
+ + '\\ua880-\\ua8c3'
+ + '\\ua8d0-\\ua8d9'
+ + '\\ua8f2-\\ua8f7'
+ + '\\ua8fb'
+ + '\\ua900-\\ua92a'
+ + '\\ua930-\\ua952'
+ + '\\ua960-\\ua97c'
+ + '\\ua980-\\ua9b2'
+ + '\\ua9b4-\\ua9bf'
+ + '\\ua9cf-\\ua9d9'
+ + '\\uaa00-\\uaa36'
+ + '\\uaa40-\\uaa4d'
+ + '\\uaa50-\\uaa59'
+ + '\\uaa60-\\uaa76'
+ + '\\uaa7a'
+ + '\\uaa80-\\uaabe'
+ + '\\uaac0'
+ + '\\uaac2'
+ + '\\uaadb-\\uaadd'
+ + '\\uaae0-\\uaaef'
+ + '\\uaaf2-\\uaaf5'
+ + '\\uab01-\\uab06'
+ + '\\uab09-\\uab0e'
+ + '\\uab11-\\uab16'
+ + '\\uab20-\\uab26'
+ + '\\uab28-\\uab2e'
+ + '\\uabc0-\\uabea'
+ + '\\uabf0-\\uabf9'
+ + '\\uac00-\\ud7a3'
+ + '\\ud7b0-\\ud7c6'
+ + '\\ud7cb-\\ud7fb'
+ + '\\uf900-\\ufa6d'
+ + '\\ufa70-\\ufad9'
+ + '\\ufb00-\\ufb06'
+ + '\\ufb13-\\ufb17'
+ + '\\ufb1d-\\ufb28'
+ + '\\ufb2a-\\ufb36'
+ + '\\ufb38-\\ufb3c'
+ + '\\ufb3e'
+ + '\\ufb40-\\ufb41'
+ + '\\ufb43-\\ufb44'
+ + '\\ufb46-\\ufbb1'
+ + '\\ufbd3-\\ufd3d'
+ + '\\ufd50-\\ufd8f'
+ + '\\ufd92-\\ufdc7'
+ + '\\ufdf0-\\ufdfb'
+ + '\\ufe70-\\ufe74'
+ + '\\ufe76-\\ufefc'
+ + '\\uff10-\\uff19'
+ + '\\uff21-\\uff3a'
+ + '\\uff41-\\uff5a'
+ + '\\uff66-\\uffbe'
+ + '\\uffc2-\\uffc7'
+ + '\\uffca-\\uffcf'
+ + '\\uffd2-\\uffd7'
+ + '\\uffda-\\uffdc'
+ + '\\u10000-\\u1000b'
+ + '\\u1000d-\\u10026'
+ + '\\u10028-\\u1003a'
+ + '\\u1003c-\\u1003d'
+ + '\\u1003f-\\u1004d'
+ + '\\u10050-\\u1005d'
+ + '\\u10080-\\u100fa'
+ + '\\u10140-\\u10174'
+ + '\\u10280-\\u1029c'
+ + '\\u102a0-\\u102d0'
+ + '\\u10300-\\u1031e'
+ + '\\u10330-\\u1034a'
+ + '\\u10380-\\u1039d'
+ + '\\u103a0-\\u103c3'
+ + '\\u103c8-\\u103cf'
+ + '\\u103d1-\\u103d5'
+ + '\\u10400-\\u1049d'
+ + '\\u104a0-\\u104a9'
+ + '\\u10800-\\u10805'
+ + '\\u10808'
+ + '\\u1080a-\\u10835'
+ + '\\u10837-\\u10838'
+ + '\\u1083c'
+ + '\\u1083f-\\u10855'
+ + '\\u10900-\\u10915'
+ + '\\u10920-\\u10939'
+ + '\\u10980-\\u109b7'
+ + '\\u109be-\\u109bf'
+ + '\\u10a00-\\u10a03'
+ + '\\u10a05-\\u10a06'
+ + '\\u10a0c-\\u10a13'
+ + '\\u10a15-\\u10a17'
+ + '\\u10a19-\\u10a33'
+ + '\\u10a60-\\u10a7c'
+ + '\\u10b00-\\u10b35'
+ + '\\u10b40-\\u10b55'
+ + '\\u10b60-\\u10b72'
+ + '\\u10c00-\\u10c48'
+ + '\\u11000-\\u11045'
+ + '\\u11066-\\u1106f'
+ + '\\u11082-\\u110b8'
+ + '\\u110d0-\\u110e8'
+ + '\\u110f0-\\u110f9'
+ + '\\u11100-\\u11132'
+ + '\\u11136-\\u1113f'
+ + '\\u11180-\\u111bf'
+ + '\\u111c1-\\u111c4'
+ + '\\u111d0-\\u111d9'
+ + '\\u11680-\\u116b5'
+ + '\\u116c0-\\u116c9'
+ + '\\u12000-\\u1236e'
+ + '\\u12400-\\u12462'
+ + '\\u13000-\\u1342e'
+ + '\\u16800-\\u16a38'
+ + '\\u16f00-\\u16f44'
+ + '\\u16f50-\\u16f7e'
+ + '\\u16f93-\\u16f9f'
+ + '\\u1b000-\\u1b001'
+ + '\\u1d400-\\u1d454'
+ + '\\u1d456-\\u1d49c'
+ + '\\u1d49e-\\u1d49f'
+ + '\\u1d4a2'
+ + '\\u1d4a5-\\u1d4a6'
+ + '\\u1d4a9-\\u1d4ac'
+ + '\\u1d4ae-\\u1d4b9'
+ + '\\u1d4bb'
+ + '\\u1d4bd-\\u1d4c3'
+ + '\\u1d4c5-\\u1d505'
+ + '\\u1d507-\\u1d50a'
+ + '\\u1d50d-\\u1d514'
+ + '\\u1d516-\\u1d51c'
+ + '\\u1d51e-\\u1d539'
+ + '\\u1d53b-\\u1d53e'
+ + '\\u1d540-\\u1d544'
+ + '\\u1d546'
+ + '\\u1d54a-\\u1d550'
+ + '\\u1d552-\\u1d6a5'
+ + '\\u1d6a8-\\u1d6c0'
+ + '\\u1d6c2-\\u1d6da'
+ + '\\u1d6dc-\\u1d6fa'
+ + '\\u1d6fc-\\u1d714'
+ + '\\u1d716-\\u1d734'
+ + '\\u1d736-\\u1d74e'
+ + '\\u1d750-\\u1d76e'
+ + '\\u1d770-\\u1d788'
+ + '\\u1d78a-\\u1d7a8'
+ + '\\u1d7aa-\\u1d7c2'
+ + '\\u1d7c4-\\u1d7cb'
+ + '\\u1d7ce-\\u1d7ff'
+ + '\\u1ee00-\\u1ee03'
+ + '\\u1ee05-\\u1ee1f'
+ + '\\u1ee21-\\u1ee22'
+ + '\\u1ee24'
+ + '\\u1ee27'
+ + '\\u1ee29-\\u1ee32'
+ + '\\u1ee34-\\u1ee37'
+ + '\\u1ee39'
+ + '\\u1ee3b'
+ + '\\u1ee42'
+ + '\\u1ee47'
+ + '\\u1ee49'
+ + '\\u1ee4b'
+ + '\\u1ee4d-\\u1ee4f'
+ + '\\u1ee51-\\u1ee52'
+ + '\\u1ee54'
+ + '\\u1ee57'
+ + '\\u1ee59'
+ + '\\u1ee5b'
+ + '\\u1ee5d'
+ + '\\u1ee5f'
+ + '\\u1ee61-\\u1ee62'
+ + '\\u1ee64'
+ + '\\u1ee67-\\u1ee6a'
+ + '\\u1ee6c-\\u1ee72'
+ + '\\u1ee74-\\u1ee77'
+ + '\\u1ee79-\\u1ee7c'
+ + '\\u1ee7e'
+ + '\\u1ee80-\\u1ee89'
+ + '\\u1ee8b-\\u1ee9b'
+ + '\\u1eea1-\\u1eea3'
+ + '\\u1eea5-\\u1eea9'
+ + '\\u1eeab-\\u1eebb'
+ + '\\u20000-\\u2a6d6'
+ + '\\u2a700-\\u2b734'
+ + '\\u2b740-\\u2b81d'
+ + '\\u2f800-\\u2fa1d'
+};
+// @license-end