Telegram Web K with changes to work inside I2P https://web.telegram.i2p/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
102 KiB

import mediaSizes from '../helpers/mediaSizes';
/*!
* Webogram v0.7.0 - messaging web application for MTProto
* https://github.com/zhukov/webogram
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
* https://github.com/zhukov/webogram/blob/master/LICENSE
*/
/*
IMPORTANT NOTICE
================
Do not publish your Webogram fork with my app credentials (below), or your application may be blocked.
You can get your own api_id, api_hash at https://my.telegram.org, see manual at https://core.telegram.org/api/obtaining_api_id.
*/
// !WARNING, ТУТ СЛОЖНО! по-хорошему, надо бы это переделать без fe0f, но они здесь необходимы чтобы отрендерить панель, и ниже дописаны 3 элемента которые не воспроизводятся без fe0f
export const Emoji: {[emoji: string]: number} = {"2049":6356,"2122":6364,"2139":6389,"2194":6269,"2195":6268,"2196":6267,"2197":6261,"2198":6263,"2199":6265,"2328":680,"2600":4177,"2601":4185,"2602":4200,"2603":4205,"2604":4207,"2611":6341,"2614":4201,"2615":3101,"2618":2123,"2620":194,"2622":6258,"2623":6259,"2626":6288,"2638":6285,"2639":166,"2648":6293,"2649":6294,"2650":6301,"2651":6302,"2652":6303,"2653":6304,"2660":567,"2663":570,"2665":568,"2666":569,"2668":457,"2692":6184,"2693":4110,"2694":6187,"2696":6195,"2697":6201,"2699":6193,"2702":6171,"2705":6340,"2708":4118,"2709":6132,"2712":6146,"2714":6342,"2716":6343,"2721":6284,"2728":56,"2733":6352,"2734":6353,"2744":4204,"2747":6354,"2753":6357,"2754":6358,"2755":6359,"2757":6360,"2763":1125,"2764":1127,"2795":6346,"2796":6347,"2797":6348,"2934":6272,"2935":6273,"3030":6361,"3297":6413,"3299":6414,"0023-20e3":6365,"002a-20e3":6366,"0030-20e3":6367,"0031-20e3":6368,"0032-20e3":6369,"0033-20e3":6370,"0034-20e3":6371,"0035-20e3":6372,"0036-20e3":6373,"0037-20e3":6374,"0038-20e3":6375,"0039-20e3":6376,"00a9":6362,"00ae":6363,"1f004":573,"1f0cf":572,"1f170":6383,"1f171":6385,"1f17e":6394,"1f17f":6396,"1f18e":6384,"1f191":6386,"1f192":6387,"1f193":6388,"1f194":6390,"1f195":6392,"1f196":6393,"1f197":6395,"1f198":6397,"1f199":6398,"1f19a":6399,"1f1e6-1f1e8":78,"1f1e6-1f1e9":79,"1f1e6-1f1ea":710,"1f1e6-1f1eb":711,"1f1e6-1f1ec":712,"1f1e6-1f1ee":713,"1f1e6-1f1f1":714,"1f1e6-1f1f2":715,"1f1e6-1f1f4":716,"1f1e6-1f1f6":717,"1f1e6-1f1f7":718,"1f1e6-1f1f8":719,"1f1e6-1f1f9":720,"1f1e6-1f1fa":721,"1f1e6-1f1fc":722,"1f1e6-1f1fd":723,"1f1e6-1f1ff":724,"1f1e7-1f1e6":725,"1f1e7-1f1e7":726,"1f1e7-1f1e9":727,"1f1e7-1f1ea":728,"1f1e7-1f1eb":729,"1f1e7-1f1ec":730,"1f1e7-1f1ed":731,"1f1e7-1f1ee":732,"1f1e7-1f1ef":733,"1f1e7-1f1f1":734,"1f1e7-1f1f2":735,"1f1e7-1f1f3":736,"1f1e7-1f1f4":737,"1f1e7-1f1f6":738,"1f1e7-1f1f7":739,"1f1e7-1f1f8":740,"1f1e7-1f1f9":741,"1f1e7-1f1fb":742,"1f1e7-1f1fc":743,"1f1e7-1f1fe":744,"1f1e7-1f1ff":745,"1f1e8-1f1e6":746,"1f1e8-1f1e8":747,"1f1e8-1f1e9":748,"1f1e8-1f1eb":749,"1f1e8-1f1ec":750,"1f1e8-1f1ed":751,"1f1e8-1f1ee":752,"1f1e8-1f1f0":753,"1f1e8-1f1f1":754,"1f1e8-1f1f2":755,"1f1e8-1f1f3":756,"1f1e8-1f1f4":757,"1f1e8-1f1f5":758,"1f1e8-1f1f7":759,"1f1e8-1f1fa":760,"1f1e8-1f1fb":761,"1f1e8-1f1fc":762,"1f1e8-1f1fd":763,"1f1e8-1f1fe":764,"1f1e8-1f1ff":765,"1f1e9-1f1ea":766,"1f1e9-1f1ec":767,"1f1e9-1f1ef":768,"1f1e9-1f1f0":769,"1f1e9-1f1f2":770,"1f1e9-1f1f4":771,"1f1e9-1f1ff":772,"1f1ea-1f1e6":773,"1f1ea-1f1e8":774,"1f1ea-1f1ea":775,"1f1ea-1f1ec":776,"1f1ea-1f1ed":777,"1f1ea-1f1f7":778,"1f1ea-1f1f8":779,"1f1ea-1f1f9":780,"1f1ea-1f1fa":781,"1f1eb-1f1ee":782,"1f1eb-1f1ef":783,"1f1eb-1f1f0":784,"1f1eb-1f1f2":785,"1f1eb-1f1f4":786,"1f1eb-1f1f7":787,"1f1ec-1f1e6":788,"1f1ec-1f1e7":789,"1f1ec-1f1e9":790,"1f1ec-1f1ea":791,"1f1ec-1f1eb":792,"1f1ec-1f1ec":793,"1f1ec-1f1ed":794,"1f1ec-1f1ee":795,"1f1ec-1f1f1":796,"1f1ec-1f1f2":797,"1f1ec-1f1f3":798,"1f1ec-1f1f5":799,"1f1ec-1f1f6":7100,"1f1ec-1f1f7":7101,"1f1ec-1f1f8":7102,"1f1ec-1f1f9":7103,"1f1ec-1f1fa":7104,"1f1ec-1f1fc":7105,"1f1ec-1f1fe":7106,"1f1ed-1f1f0":7107,"1f1ed-1f1f2":7108,"1f1ed-1f1f3":7109,"1f1ed-1f1f7":7110,"1f1ed-1f1f9":7111,"1f1ed-1f1fa":7112,"1f1ee-1f1e8":7113,"1f1ee-1f1e9":7114,"1f1ee-1f1ea":7115,"1f1ee-1f1f1":7116,"1f1ee-1f1f2":7117,"1f1ee-1f1f3":7118,"1f1ee-1f1f4":7119,"1f1ee-1f1f6":7120,"1f1ee-1f1f7":7121,"1f1ee-1f1f8":7122,"1f1ee-1f1f9":7123,"1f1ef-1f1ea":7124,"1f1ef-1f1f2":7125,"1f1ef-1f1f4":7126,"1f1ef-1f1f5":7127,"1f1f0-1f1ea":7128,"1f1f0-1f1ec":7129,"1f1f0-1f1ed":7130,"1f1f0-1f1ee":7131,"1f1f0-1f1f2":7132,"1f1f0-1f1f3":7133,"1f1f0-1f1f5":7134,"1f1f0-1f1f7":7135,"1f1f0-1f1fc":7136,"1f1f0-1f1fe":7137,"1f1f0-1f1ff":7138,"1f1f1-1f1e6":7139,"1f1f1-1f1e7":7140,"1f1f1-1f1e8":7141,"1f1f1-1f1ee":7142,"1f1f1-1f1f0":7143,"1f1f1-1f1f7":7144,"1f1f1-1f1f8":7145,"1f1f1-1f1f9":7146,"1f1f1-1f1fa":7147,"1f1f1-1f1fb":7148,"1f1f1-1f1fe":7149,"1f1f2-1f1e6":7150,"1f1f2-1f1e8":7151,"1f1f2-1f1e9":7152,"1f1f2-1f1ea":7153,"1f1f2-1f1eb":7154,"1f1f2-1f1ec":7155,"1f1f2-1f1ed":7156,"1f1f2-1f1f0":7157,"1f1f2-1f1f1":7158,"1f1f2
Emoji["00a9-fe0f"] = 6362;
Emoji["00ae-fe0f"] = 6363;
Emoji["2122-fe0f"] = 6364;
export const Countries = [{"phoneCode":"7 840","code":"AB","name":"Abkhazia","pattern":"","emoji":""},{"phoneCode":"93","code":"AF","name":"Afghanistan","pattern":"93 XXX XXX XXX","emoji":"🇦🇫"},{"phoneCode":"358 18","code":"AX","name":"Aland Islands","pattern":"","emoji":"🇦🇽"},{"phoneCode":"355","code":"AL","name":"Albania","pattern":"355 XX XXX XXXX","emoji":"🇦🇱"},{"phoneCode":"213","code":"DZ","name":"Algeria","pattern":"213 XXX XX XX XX","emoji":"🇩🇿"},{"phoneCode":"1 684","code":"AS","name":"American Samoa","pattern":"1684 XXX XXXX","emoji":"🇦🇸"},{"phoneCode":"376","code":"AD","name":"Andorra","pattern":"376 XX XX XX","emoji":"🇦🇩"},{"phoneCode":"244","code":"AO","name":"Angola","pattern":"244 XXX XXX XXX","emoji":"🇦🇴"},{"phoneCode":"1 264","code":"AI","name":"Anguilla","pattern":"1264 XXX XXXX","emoji":"🇦🇮"},{"phoneCode":"1 268","code":"AG","name":"Antigua & Barbuda","pattern":"1268 XXX XXXX","emoji":"🇦🇬"},{"phoneCode":"54","code":"AR","name":"Argentina","pattern":"","emoji":"🇦🇷"},{"phoneCode":"374","code":"AM","name":"Armenia","pattern":"374 XX XXX XXX","emoji":"🇦🇲"},{"phoneCode":"297","code":"AW","name":"Aruba","pattern":"297 XXX XXXX","emoji":"🇦🇼"},{"phoneCode":"247","code":"SH","name":"Ascension","pattern":"290 XX XXX","emoji":"🇸🇭"},{"phoneCode":"61","code":"AU","name":"Australia","pattern":"61 XXX XXX XXX","emoji":"🇦🇺"},{"phoneCode":"672","code":"AU","name":"Australian External Territories","pattern":"61 XXX XXX XXX","emoji":"🇦🇺"},{"phoneCode":"43","code":"AT","name":"Austria","pattern":"","emoji":"🇦🇹"},{"phoneCode":"994","code":"AZ","name":"Azerbaijan","pattern":"994 XX XXX XX XX","emoji":"🇦🇿"},{"phoneCode":"1 242","code":"BS","name":"Bahamas","pattern":"1242 XXX XXXX","emoji":"🇧🇸"},{"phoneCode":"973","code":"BH","name":"Bahrain","pattern":"973 XXXX XXXX","emoji":"🇧🇭"},{"phoneCode":"880","code":"BD","name":"Bangladesh","pattern":"","emoji":"🇧🇩"},{"phoneCode":"1 246","code":"BB","name":"Barbados","pattern":"1246 XXX XXXX","emoji":"🇧🇧"},{"phoneCode":"1 268","code":"AG","name":"Barbuda","pattern":"1268 XXX XXXX","emoji":"🇦🇬"},{"phoneCode":"375","code":"BY","name":"Belarus","pattern":"375 XX XXX XXXX","emoji":"🇧🇾"},{"phoneCode":"32","code":"BE","name":"Belgium","pattern":"32 XXX XX XX XX","emoji":"🇧🇪"},{"phoneCode":"501","code":"BZ","name":"Belize","pattern":"","emoji":"🇧🇿"},{"phoneCode":"229","code":"BJ","name":"Benin","pattern":"229 XX XXX XXX","emoji":"🇧🇯"},{"phoneCode":"1 441","code":"BM","name":"Bermuda","pattern":"1441 XXX XXXX","emoji":"🇧🇲"},{"phoneCode":"975","code":"BT","name":"Bhutan","pattern":"","emoji":"🇧🇹"},{"phoneCode":"591","code":"BO","name":"Bolivia","pattern":"591 X XXX XXXX","emoji":"🇧🇴"},{"phoneCode":"599 7","code":"BQ","name":"Caribbean Netherlands","pattern":"","emoji":"🇧🇶"},{"phoneCode":"387","code":"BA","name":"Bosnia & Herzegovina","pattern":"","emoji":"🇧🇦"},{"phoneCode":"267","code":"BW","name":"Botswana","pattern":"267 XX XXX XXX","emoji":"🇧🇼"},{"phoneCode":"55","code":"BR","name":"Brazil","pattern":"55 XX XXXXX XXXX","emoji":"🇧🇷"},{"phoneCode":"246","code":"IO","name":"British Indian Ocean Territory","pattern":"246 XXX XXXX","emoji":"🇮🇴"},{"phoneCode":"1 284","code":"VG","name":"British Virgin Islands","pattern":"1284 XXX XXXX","emoji":"🇻🇬"},{"phoneCode":"673","code":"BN","name":"Brunei","pattern":"673 XXX XXXX","emoji":"🇧🇳"},{"phoneCode":"359","code":"BG","name":"Bulgaria","pattern":"","emoji":"🇧🇬"},{"phoneCode":"226","code":"BF","name":"Burkina Faso","pattern":"226 XX XX XX XX","emoji":"🇧🇫"},{"phoneCode":"95","code":"MM","name":"Myanmar (Burma)","pattern":"","emoji":"🇲🇲"},{"phoneCode":"257","code":"BI","name":"Burundi","pattern":"257 XX XX XXXX","emoji":"🇧🇮"},{"phoneCode":"855","code":"KH","name":"Cambodia","pattern":"","emoji":"🇰🇭"},{"phoneCode":"237","code":"CM","name":"Cameroon","pattern":"237 XXXX XXXX","emoji":"🇨🇲"},{"phoneCode":"1"
// From https://github.com/stephenmathieson/node-tlds/blob/master/index.js
export const TLD = ['abogado', 'ac', 'academy', 'accountants', 'active', 'actor', 'ad', 'adult', 'ae', 'aero', 'af', 'ag', 'agency', 'ai', 'airforce', 'al', 'allfinanz', 'alsace', 'am', 'amsterdam', 'an', 'android', 'ao', 'apartments', 'aq', 'aquarelle', 'ar', 'archi', 'army', 'arpa', 'as', 'asia', 'associates', 'at', 'attorney', 'au', 'auction', 'audio', 'autos', 'aw', 'ax', 'axa', 'az', 'ba', 'band', 'bank', 'bar', 'barclaycard', 'barclays', 'bargains', 'bayern', 'bb', 'bd', 'be', 'beer', 'berlin', 'best', 'bf', 'bg', 'bh', 'bi', 'bid', 'bike', 'bingo', 'bio', 'biz', 'bj', 'black', 'blackfriday', 'bloomberg', 'blue', 'bm', 'bmw', 'bn', 'bnpparibas', 'bo', 'boo', 'boutique', 'br', 'brussels', 'bs', 'bt', 'budapest', 'build', 'builders', 'business', 'buzz', 'bv', 'bw', 'by', 'bz', 'bzh', 'ca', 'cab', 'cal', 'camera', 'camp', 'cancerresearch', 'canon', 'capetown', 'capital', 'caravan', 'cards', 'care', 'career', 'careers', 'cartier', 'casa', 'cash', 'cat', 'catering', 'cc', 'cd', 'center', 'ceo', 'cern', 'cf', 'cg', 'ch', 'channel', 'chat', 'cheap', 'christmas', 'chrome', 'church', 'ci', 'citic', 'city', 'ck', 'cl', 'claims', 'cleaning', 'click', 'clinic', 'clothing', 'club', 'cm', 'cn', 'co', 'coach', 'codes', 'coffee', 'college', 'cologne', 'com', 'community', 'company', 'computer', 'condos', 'construction', 'consulting', 'contractors', 'cooking', 'cool', 'coop', 'country', 'cr', 'credit', 'creditcard', 'cricket', 'crs', 'cruises', 'cu', 'cuisinella', 'cv', 'cw', 'cx', 'cy', 'cymru', 'cz', 'dabur', 'dad', 'dance', 'dating', 'day', 'dclk', 'de', 'deals', 'degree', 'delivery', 'democrat', 'dental', 'dentist', 'desi', 'design', 'dev', 'diamonds', 'diet', 'digital', 'direct', 'directory', 'discount', 'dj', 'dk', 'dm', 'dnp', 'do', 'docs', 'domains', 'doosan', 'durban', 'dvag', 'dz', 'eat', 'ec', 'edu', 'education', 'ee', 'eg', 'email', 'emerck', 'energy', 'engineer', 'engineering', 'enterprises', 'equipment', 'er', 'es', 'esq', 'estate', 'et', 'eu', 'eurovision', 'eus', 'events', 'everbank', 'exchange', 'expert', 'exposed', 'fail', 'farm', 'fashion', 'feedback', 'fi', 'finance', 'financial', 'firmdale', 'fish', 'fishing', 'fit', 'fitness', 'fj', 'fk', 'flights', 'florist', 'flowers', 'flsmidth', 'fly', 'fm', 'fo', 'foo', 'forsale', 'foundation', 'fr', 'frl', 'frogans', 'fund', 'furniture', 'futbol', 'ga', 'gal', 'gallery', 'garden', 'gb', 'gbiz', 'gd', 'ge', 'gent', 'gf', 'gg', 'ggee', 'gh', 'gi', 'gift', 'gifts', 'gives', 'gl', 'glass', 'gle', 'global', 'globo', 'gm', 'gmail', 'gmo', 'gmx', 'gn', 'goog', 'google', 'gop', 'gov', 'gp', 'gq', 'gr', 'graphics', 'gratis', 'green', 'gripe', 'gs', 'gt', 'gu', 'guide', 'guitars', 'guru', 'gw', 'gy', 'hamburg', 'hangout', 'haus', 'healthcare', 'help', 'here', 'hermes', 'hiphop', 'hiv', 'hk', 'hm', 'hn', 'holdings', 'holiday', 'homes', 'horse', 'host', 'hosting', 'house', 'how', 'hr', 'ht', 'hu', 'ibm', 'id', 'ie', 'ifm', 'il', 'im', 'immo', 'immobilien', 'in', 'industries', 'info', 'ing', 'ink', 'institute', 'insure', 'int', 'international', 'investments', 'io', 'iq', 'ir', 'irish', 'is', 'it', 'iwc', 'jcb', 'je', 'jetzt', 'jm', 'jo', 'jobs', 'joburg', 'jp', 'juegos', 'kaufen', 'kddi', 'ke', 'kg', 'kh', 'ki', 'kim', 'kitchen', 'kiwi', 'km', 'kn', 'koeln', 'kp', 'kr', 'krd', 'kred', 'kw', 'ky', 'kyoto', 'kz', 'la', 'lacaixa', 'land', 'lat', 'latrobe', 'lawyer', 'lb', 'lc', 'lds', 'lease', 'legal', 'lgbt', 'li', 'lidl', 'life', 'lighting', 'limited', 'limo', 'link', 'lk', 'loans', 'london', 'lotte', 'lotto', 'lr', 'ls', 'lt', 'ltda', 'lu', 'luxe', 'luxury', 'lv', 'ly', 'ma', 'madrid', 'maison', 'management', 'mango', 'market', 'marketing', 'marriott', 'mc', 'md', 'me', 'media', 'meet', 'melbourne', 'meme', 'memorial', 'menu', 'mg', 'mh', 'miami', 'mil', 'mini', 'mk', 'ml', 'mm', 'mn', 'mo', 'mobi', 'moda', 'moe', 'monash', 'money', 'mormon', 'mortgage', 'moscow', 'motorcycles', 'mov', 'mp', 'mq', 'mr', 'ms', 'mt', 'mu', 'museum', 'mv', 'mw', 'mx', 'my', 'mz', 'na', 'nagoya', 'name', 'navy', 'nc', 'ne', 'net', 'network', 'neustar', 'new', 'nexus', 'nf', 'ng', 'ngo', 'nhk', 'ni', 'nic
// From https://raw.githubusercontent.com/FGRibreau/latenize/master/latinize_map.js
export const LatinizeMap: {[k: string]: string} = {'Á': 'A','Ă': 'A','Ắ': 'A','Ặ': 'A','Ằ': 'A','Ẳ': 'A','Ẵ': 'A','Ǎ': 'A','Â': 'A','Ấ': 'A','Ậ': 'A','Ầ': 'A','Ẩ': 'A','Ẫ': 'A','Ä': 'A','Ǟ': 'A','Ȧ': 'A','Ǡ': 'A','Ạ': 'A','Ȁ': 'A','À': 'A','Ả': 'A','Ȃ': 'A','Ā': 'A','Ą': 'A','Å': 'A','Ǻ': 'A','Ḁ': 'A','Ⱥ': 'A','Ã': 'A','Ꜳ': 'AA','Æ': 'AE','Ǽ': 'AE','Ǣ': 'AE','Ꜵ': 'AO','Ꜷ': 'AU','Ꜹ': 'AV','Ꜻ': 'AV','Ꜽ': 'AY','Ḃ': 'B','Ḅ': 'B','Ɓ': 'B','Ḇ': 'B','Ƀ': 'B','Ƃ': 'B','Ć': 'C','Č': 'C','Ç': 'C','Ḉ': 'C','Ĉ': 'C','Ċ': 'C','Ƈ': 'C','Ȼ': 'C','Ď': 'D','Ḑ': 'D','Ḓ': 'D','Ḋ': 'D','Ḍ': 'D','Ɗ': 'D','Ḏ': 'D','Dz': 'D','Dž': 'D','Đ': 'D','Ƌ': 'D','DZ': 'DZ','DŽ': 'DZ','É': 'E','Ĕ': 'E','Ě': 'E','Ȩ': 'E','Ḝ': 'E','Ê': 'E','Ế': 'E','Ệ': 'E','Ề': 'E','Ể': 'E','Ễ': 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': 'U','Ủ': 'U','Ư': 'U','Ứ': 'U','Ự': 'U','Ừ': 'U','Ử': 'U','Ữ': 'U','Ȗ': 'U','Ū': 'U','Ṻ': 'U','Ų': 'U','Ů': 'U','Ũ': 'U','Ṹ': 'U','Ṵ': 'U','Ꝟ': 'V','Ṿ': 'V','Ʋ': 'V','Ṽ': 'V','Ꝡ': 'VY','Ẃ': 'W','Ŵ': 'W','Ẅ': 'W','Ẇ': 'W','Ẉ': 'W','Ẁ': 'W','Ⱳ': 'W','Ẍ': 'X','Ẋ': 'X','Ý': 'Y','Ŷ': 'Y','Ÿ': 'Y','Ẏ': 'Y','Ỵ': 'Y','Ỳ': 'Y','Ƴ': 'Y','Ỷ': 'Y','Ỿ': 'Y','Ȳ': 'Y','Ɏ': 'Y','Ỹ': 'Y','Ź': 'Z','Ž': 'Z','Ẑ': 'Z','Ⱬ': 'Z','Ż': 'Z','Ẓ': 'Z','Ȥ': 'Z','Ẕ': 'Z','Ƶ': 'Z','IJ': 'IJ','Œ': 'OE','ᴀ': 'A','ᴁ': 'AE','ʙ': 'B','ᴃ': 'B','ᴄ': 'C','ᴅ': 'D','ᴇ': 'E','ꜰ': 'F','ɢ': 'G','ʛ': 'G','ʜ': 'H','ɪ': 'I','ʁ': 'R','ᴊ': 'J','ᴋ': 'K','ʟ': 'L','ᴌ': 'L','ᴍ': 'M','ɴ': 'N','ᴏ': 'O','ɶ': 'OE','ᴐ': 'O','ᴕ': 'OU','ᴘ': 'P','ʀ': 'R','ᴎ': 'N','ᴙ': 'R','ꜱ': 'S','ᴛ': 'T','ⱻ': 'E','ᴚ': 'R','ᴜ': 'U','ᴠ': 'V','ᴡ': 'W','ʏ': 'Y','ᴢ': 'Z','á': 'a','ă': 'a','ắ': 'a','ặ': 'a','ằ': 'a','ẳ':
// @ts-ignore
export const touchSupport = ('ontouchstart' in window) || (window.DocumentTouch && document instanceof DocumentTouch);
export const isServiceWorkerSupported = 'serviceWorker' in navigator;
const Config = {
Emoji,
LatinizeMap,
TLD,
Countries,
MediaSizes: mediaSizes,
touchSupport
};
(window as any).Config = Config;
export default Config;