-
Notifications
You must be signed in to change notification settings - Fork 40
/
indexwebnode.html
145 lines (101 loc) · 82.3 KB
/
indexwebnode.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv='expires' content='0'>
<title>BASTYON</title>
<meta name="description" content="A Revolutionary anti-censorship decentralized publishing and social platform. Based on the blockchain technology, it runs on a set of computers around the world, not controlled by any single entity. Self-policed by users with good reputation where nobody records your keystrokes, viewing habits or searches. ">
<meta name="viewport" content="viewport-fit=cover, width=device-width, initial-scale=1, user-scalable=no">
<meta name="fragment" content="!">
<meta name="keywords" content="Blockchain, Decentralized, Delete Facebook, Alternative Social Media, Social Network, Social Platform, No Censorship, Online Social Network, Facebook Alternative, Reddit Alternative, Twitter Alternative, Social Sharing Platform, Decentralized Social Network, Blockchain Social Network " />
<meta http-equiv="Content-Security-Policy" content="
default-src http: https: 'self';
connect-src http: https: wss: data: blob:;
img-src 'self' data: http: https:;
script-src 'self' blob: https://pocketnet.app https://unpkg.com/@ffmpeg/[email protected]/dist/ffmpeg.min.js https://player.vimeo.com https://www.youtube.com https://s.ytimg.com https://cdn.rawgit.com https://embed.tawk.to https://cdn.jsdelivr.net 'unsafe-eval' 'unsafe-inline';
style-src 'self' https://use.fontawesome.com https://fonts.googleapis.com https://cdn.jsdelivr.net 'unsafe-inline';
font-src 'self' data: https://fonts.gstatic.com https://static-v.tawk.to https://use.fontawesome.com;
media-src blob: *">
<link rel="manifest" href="manifest.json">
<link rel="apple-touch-icon" href="https://pocketnet.app/img/res/blue_pad_250.png" sizes="250x250">
<meta name="theme-color" content="#011621" />
<link rel="stylesheet" href="css/master.css?v=951207720709">
<link rel="icon" href="./favicon.svg" sizes="any" type="image/svg+xml">
<link rel="icon" href="./favicon.svg" sizes="any" type="image/svg+xml">
<script type="text/javascript">
/*! device.js 0.2.7 */
(function(){var a,b,c,d,e,f,g,h,i,j;b=window.device,a={},window.device=a,d=window.document.documentElement,j=window.navigator.userAgent.toLowerCase(),a.ios=function(){return a.iphone()||a.ipod()||a.ipad()},a.iphone=function(){return!a.windows()&&e("iphone")},a.ipod=function(){return e("ipod")},a.ipad=function(){return e("ipad")},a.android=function(){return!a.windows()&&e("android")},a.androidPhone=function(){return a.android()&&e("mobile")},a.androidTablet=function(){return a.android()&&!e("mobile")},a.blackberry=function(){return e("blackberry")||e("bb10")||e("rim")},a.blackberryPhone=function(){return a.blackberry()&&!e("tablet")},a.blackberryTablet=function(){return a.blackberry()&&e("tablet")},a.windows=function(){return e("windows")},a.windowsPhone=function(){return a.windows()&&e("phone")},a.windowsTablet=function(){return a.windows()&&e("touch")&&!a.windowsPhone()},a.fxos=function(){return(e("(mobile;")||e("(tablet;"))&&e("; rv:")},a.fxosPhone=function(){return a.fxos()&&e("mobile")},a.fxosTablet=function(){return a.fxos()&&e("tablet")},a.meego=function(){return e("meego")},a.cordova=function(){return window.cordova&&"file:"===location.protocol},a.nodeWebkit=function(){return"object"==typeof window.process},a.mobile=function(){return a.androidPhone()||a.iphone()||a.ipod()||a.windowsPhone()||a.blackberryPhone()||a.fxosPhone()||a.meego()},a.tablet=function(){return a.ipad()||a.androidTablet()||a.blackberryTablet()||a.windowsTablet()||a.fxosTablet()},a.desktop=function(){return!a.tablet()&&!a.mobile()},a.television=function(){var a;for(television=["googletv","viera","smarttv","internet.tv","netcast","nettv","appletv","boxee","kylo","roku","dlnadoc","roku","pov_tv","hbbtv","ce-html"],a=0;a<television.length;){if(e(television[a]))return!0;a++}return!1},a.portrait=function(){return window.innerHeight/window.innerWidth>1},a.landscape=function(){return window.innerHeight/window.innerWidth<1},a.noConflict=function(){return window.device=b,this},e=function(a){return-1!==j.indexOf(a)},g=function(a){var b;return b=new RegExp(a,"i"),d.className.match(b)},c=function(a){var b=null;g(a)||(b=d.className.replace(/^\s+|\s+$/g,""),d.className=b+" "+a)},i=function(a){g(a)&&(d.className=d.className.replace(" "+a,""))},a.ios()?a.ipad()?c("ios ipad tablet"):a.iphone()?c("ios iphone mobile"):a.ipod()&&c("ios ipod mobile"):a.android()?c(a.androidTablet()?"android tablet":"android mobile"):a.blackberry()?c(a.blackberryTablet()?"blackberry tablet":"blackberry mobile"):a.windows()?c(a.windowsTablet()?"windows tablet":a.windowsPhone()?"windows mobile":"desktop"):a.fxos()?c(a.fxosTablet()?"fxos tablet":"fxos mobile"):a.meego()?c("meego mobile"):a.nodeWebkit()?c("node-webkit"):a.television()?c("television"):a.desktop()&&c("desktop"),a.cordova()&&c("cordova"),f=function(){a.landscape()?(i("portrait"),c("landscape")):(i("landscape"),c("portrait"))},h=Object.prototype.hasOwnProperty.call(window,"onorientationchange")?"orientationchange":"resize",window.addEventListener?window.addEventListener(h,f,!1):window.attachEvent?window.attachEvent(h,f):window[h]=f,f(),"function"==typeof define&&"object"==typeof define.amd&&define.amd?define(function(){return a}):"undefined"!=typeof module&&module.exports?module.exports=a:window.device=a}).call(this);
</script>
<script type="text/javascript">
/* Modernizr 2.8.3 (Custom Build) | MIT & BSD
* Build: http://modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-hsla-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-applicationcache-canvas-canvastext-draganddrop-hashchange-history-audio-video-indexeddb-input-inputtypes-localstorage-postmessage-sessionstorage-websockets-websqldatabase-webworkers-geolocation-inlinesvg-smil-svg-svgclippaths-touch-webgl-shiv-mq-cssclasses-addtest-prefixed-teststyles-testprop-testallprops-hasevent-prefixes-domprefixes-load
*/
;window.Modernizr=function(a,b,c){function D(a){j.cssText=a}function E(a,b){return D(n.join(a+";")+(b||""))}function F(a,b){return typeof a===b}function G(a,b){return!!~(""+a).indexOf(b)}function H(a,b){for(var d in a){var e=a[d];if(!G(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function I(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:F(f,"function")?f.bind(d||b):f}return!1}function J(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+p.join(d+" ")+d).split(" ");return F(b,"string")||F(b,"undefined")?H(e,b):(e=(a+" "+q.join(d+" ")+d).split(" "),I(e,b,c))}function K(){e.input=function(c){for(var d=0,e=c.length;d<e;d++)u[c[d]]=c[d]in k;return u.list&&(u.list=!!b.createElement("datalist")&&!!a.HTMLDataListElement),u}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),e.inputtypes=function(a){for(var d=0,e,f,h,i=a.length;d<i;d++)k.setAttribute("type",f=a[d]),e=k.type!=="text",e&&(k.value=l,k.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(f)&&k.style.WebkitAppearance!==c?(g.appendChild(k),h=b.defaultView,e=h.getComputedStyle&&h.getComputedStyle(k,null).WebkitAppearance!=="textfield"&&k.offsetHeight!==0,g.removeChild(k)):/^(search|tel)$/.test(f)||(/^(url|email)$/.test(f)?e=k.checkValidity&&k.checkValidity()===!1:e=k.value!=l)),t[a[d]]=!!e;return t}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var d="2.8.3",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k=b.createElement("input"),l=":)",m={}.toString,n=" -webkit- -moz- -o- -ms- ".split(" "),o="Webkit Moz O ms",p=o.split(" "),q=o.toLowerCase().split(" "),r={svg:"http://www.w3.org/2000/svg"},s={},t={},u={},v=[],w=v.slice,x,y=function(a,c,d,e){var f,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),l.appendChild(j);return f=["­",'<style id="s',h,'">',a,"</style>"].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},z=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b)&&c(b).matches||!1;var d;return y("@media "+b+" { #"+h+" { position: absolute; } }",function(b){d=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle)["position"]=="absolute"}),d},A=function(){function d(d,e){e=e||b.createElement(a[d]||"div"),d="on"+d;var f=d in e;return f||(e.setAttribute||(e=b.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(d,""),f=F(e[d],"function"),F(e[d],"undefined")||(e[d]=c),e.removeAttribute(d))),e=null,f}var a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return d}(),B={}.hasOwnProperty,C;!F(B,"undefined")&&!F(B.call,"undefined")?C=function(a,b){return B.call(a,b)}:C=function(a,b){return b in a&&F(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=w.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(w.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(w.call(arguments)))};return e}),s.flexbox=function(){return J("flexWrap")},s.canvas=function(){var a=b.createElement("canvas");return!!a.getContext&&!!a.getContext("2d")},s.canvastext=function(){return!!e.canvas&&!!F(b.createElement("canvas").getContext("2d").fillText,"function")},s.webgl=function(){return!!a.WebGLRenderingContext},s.touch=function(){var c;return"ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch?c=!0:y(["@media (",n.join("touch-enabled),("),h,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(a){c=a.offsetTop===9}),c},s.geolocation=function(){return"geolocation"in navigator},s.postmessage=function(){return!!a.postMessage},s.websqldatabase=function(){return!!a.openDatabase},s.indexedDB=function(){return!!J("indexedDB",a)},s.hashchange=function(){return A("hashchange",a)&&(b.documentMode===c||b.documentMode>7)},s.history=function(){return!!a.history&&!!history.pushState},s.draganddrop=function(){var a=b.createElement("div");return"draggable"in a||"ondragstart"in a&&"ondrop"in a},s.websockets=function(){return"WebSocket"in a||"MozWebSocket"in a},s.rgba=function(){return D("background-color:rgba(150,255,150,.5)"),G(j.backgroundColor,"rgba")},s.hsla=function(){return D("background-color:hsla(120,40%,100%,.5)"),G(j.backgroundColor,"rgba")||G(j.backgroundColor,"hsla")},s.multiplebgs=function(){return D("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(j.background)},s.backgroundsize=function(){return J("backgroundSize")},s.borderimage=function(){return J("borderImage")},s.borderradius=function(){return J("borderRadius")},s.boxshadow=function(){return J("boxShadow")},s.textshadow=function(){return b.createElement("div").style.textShadow===""},s.opacity=function(){return E("opacity:.55"),/^0.55$/.test(j.opacity)},s.cssanimations=function(){return J("animationName")},s.csscolumns=function(){return J("columnCount")},s.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";return D((a+"-webkit- ".split(" ").join(b+a)+n.join(c+a)).slice(0,-a.length)),G(j.backgroundImage,"gradient")},s.cssreflections=function(){return J("boxReflect")},s.csstransforms=function(){return!!J("transform")},s.csstransforms3d=function(){var a=!!J("perspective");return a&&"webkitPerspective"in g.style&&y("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b,c){a=b.offsetLeft===9&&b.offsetHeight===3}),a},s.csstransitions=function(){return J("transition")},s.fontface=function(){var a;return y('@font-face {font-family:"font";src:url("https://")}',function(c,d){var e=b.getElementById("smodernizr"),f=e.sheet||e.styleSheet,g=f?f.cssRules&&f.cssRules[0]?f.cssRules[0].cssText:f.cssText||"":"";a=/src/i.test(g)&&g.indexOf(d.split(" ")[0])===0}),a},s.generatedcontent=function(){var a;return y(["#",h,"{font:0/0 a}#",h,':after{content:"',l,'";visibility:hidden;font:3px/1 a}'].join(""),function(b){a=b.offsetHeight>=3}),a},s.video=function(){var a=b.createElement("video"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),c.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}catch(d){}return c},s.audio=function(){var a=b.createElement("audio"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),c.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),c.wav=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),c.m4a=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,"")}catch(d){}return c},s.localstorage=function(){try{return localStorage.setItem(h,h),localStorage.removeItem(h),!0}catch(a){return!1}},s.sessionstorage=function(){try{return sessionStorage.setItem(h,h),sessionStorage.removeItem(h),!0}catch(a){return!1}},s.webworkers=function(){return!!a.Worker},s.applicationcache=function(){return!!a.applicationCache},s.svg=function(){return!!b.createElementNS&&!!b.createElementNS(r.svg,"svg").createSVGRect},s.inlinesvg=function(){var a=b.createElement("div");return a.innerHTML="<svg/>",(a.firstChild&&a.firstChild.namespaceURI)==r.svg},s.smil=function(){return!!b.createElementNS&&/SVGAnimate/.test(m.call(b.createElementNS(r.svg,"animate")))},s.svgclippaths=function(){return!!b.createElementNS&&/SVGClipPath/.test(m.call(b.createElementNS(r.svg,"clipPath")))};for(var L in s)C(s,L)&&(x=L.toLowerCase(),e[x]=s[L](),v.push((e[x]?"":"no-")+x));return e.input||K(),e.addTest=function(a,b){if(typeof a=="object")for(var d in a)C(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},D(""),i=k=null,function(a,b){function l(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function m(){var a=s.elements;return typeof a=="string"?a.split(" "):a}function n(a){var b=j[a[h]];return b||(b={},i++,a[h]=i,j[i]=b),b}function o(a,c,d){c||(c=b);if(k)return c.createElement(a);d||(d=n(c));var g;return d.cache[a]?g=d.cache[a].cloneNode():f.test(a)?g=(d.cache[a]=d.createElem(a)).cloneNode():g=d.createElem(a),g.canHaveChildren&&!e.test(a)&&!g.tagUrn?d.frag.appendChild(g):g}function p(a,c){a||(a=b);if(k)return a.createDocumentFragment();c=c||n(a);var d=c.frag.cloneNode(),e=0,f=m(),g=f.length;for(;e<g;e++)d.createElement(f[e]);return d}function q(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return s.shivMethods?o(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/[\w\-]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(s,b.frag)}function r(a){a||(a=b);var c=n(a);return s.shivCSS&&!g&&!c.hasCSS&&(c.hasCSS=!!l(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),k||q(a,c),a}var c="3.7.0",d=a.html5||{},e=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,f=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,g,h="_html5shiv",i=0,j={},k;(function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",g="hidden"in a,k=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){g=!0,k=!0}})();var s={elements:d.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:c,shivCSS:d.shivCSS!==!1,supportsUnknownElements:k,shivMethods:d.shivMethods!==!1,type:"default",shivDocument:r,createElement:o,createDocumentFragment:p};a.html5=s,r(b)}(this,b),e._version=d,e._prefixes=n,e._domPrefixes=q,e._cssomPrefixes=p,e.mq=z,e.hasEvent=A,e.testProp=function(a){return H([a])},e.testAllProps=J,e.testStyles=y,e.prefixed=function(a,b,c){return b?J(a,b,c):J(a,"pfx")},g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+v.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i<a.length;i++)j=a[i],e(j)?g(j,0,l,0):w(j)?B(j):Object(j)===j&&h(j,l);else Object(a)===a&&h(a,l)},B.addPrefix=function(a,b){z[a]=b},B.addFilter=function(a){x.push(a)},B.errorTimeout=1e4,null==b.readyState&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",A=function(){b.removeEventListener("DOMContentLoaded",A,0),b.readyState="complete"},0)),a.yepnope=k(),a.yepnope.executeStack=h,a.yepnope.injectJs=function(a,c,d,e,i,j){var k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;for(o in d)k.setAttribute(o,d[o]);c=j?h:c||f,k.onreadystatechange=k.onload=function(){!l&&g(k.readyState)&&(l=1,c(),k.onload=k.onreadystatechange=null)},m(function(){l||(l=1,c(1))},e),i?k.onload():n.parentNode.insertBefore(k,n)},a.yepnope.injectCss=function(a,c,d,e,g,i){var e=b.createElement("link"),j,c=i?h:c||f;e.href=a,e.rel="stylesheet",e.type="text/css";for(j in d)e.setAttribute(j,d[j]);g||(n.parentNode.insertBefore(e,n),m(c,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};
</script>
</head>
<body id="application" class="menu-hide">
<div id="headerWrapper">
</div>
<div id="menuWrapper">
</div>
<div id="panelWrapper">
</div>
<div id="navigationWrapper">
</div>
<div class="contentWrapper">
<div id="content">
</div>
</div>
<div id="footerWrapper">
</div>
<div class="bodyshadow">
</div>
<div class="topPreloader" id="_topPreloader">
</div>
<div id="splashScreen" class="cssanimation">
<img src="img/splashscreen/pocketnet-logo-19.svg" id="splashScreenImg" class="zoom-in">
<h1 class="fade-in">POCKETNET</h1>
</div>
<div class="chats">
</div>
<div id="matrix" class="matrix"></div>
<div id="globalpreloader">
<div class="table">
<div>
<div class="icon">
<i class="fas fa-spinner fa-spin"></i>
</div>
</div>
</div>
</div>
<!-- <script src="cordova.js"></script>-->
<script type="text/javascript">
_Node = false;
</script>
<script>window.pocketnetpublicpath = "/web/";</script><script>window.pocketnetdomain = "pocketnet.app";</script>
<script async join src="js/vendor/underscore-min.js"></script>
<script async join src="js/vendor.min.js?v=3001"></script>
<script type="text/javascript">
/*_____*/
!function(){function n(a){return function(n,t,r,e){t=b(t,e,4);var u=!k(n)&&m.keys(n),i=(u||n).length,o=0<a?0:i-1;return arguments.length<3&&(r=n[u?u[o]:o],o+=a),function(n,t,r,e,u,i){for(;0<=u&&u<i;u+=a){var o=e?e[u]:u;r=t(r,n[o],o,n)}return r}(n,t,r,u,o,i)}}function t(i){return function(n,t,r){t=x(t,r);for(var e=O(n),u=0<i?0:e-1;0<=u&&u<e;u+=i)if(t(n[u],u,n))return u;return-1}}function r(i,o,a){return function(n,t,r){var e=0,u=O(n);if("number"==typeof r)0<i?e=0<=r?r:Math.max(r+u,e):u=0<=r?Math.min(r+1,u):r+u+1;else if(a&&r&&u)return n[r=a(n,t)]===t?r:-1;if(t!=t)return 0<=(r=o(s.call(n,e,u),m.isNaN))?r+e:-1;for(r=0<i?e:u-1;0<=r&&r<u;r+=i)if(n[r]===t)return r;return-1}}function e(n,t){var r=M.length,e=n.constructor,u=m.isFunction(e)&&e.prototype||c,i="constructor";for(m.has(n,i)&&!m.contains(t,i)&&t.push(i);r--;)(i=M[r])in n&&n[i]!==u[i]&&!m.contains(t,i)&&t.push(i)}function u(){}var i=this,o=i._,a=Array.prototype,c=Object.prototype,f=Function.prototype,l=a.push,s=a.slice,p=c.toString,h=c.hasOwnProperty,v=Array.isArray,y=Object.keys,d=f.bind,g=Object.create,m=function(n){return n instanceof m?n:this instanceof m?void(this._wrapped=n):new m(n)};"undefined"!=typeof exports?(exports="undefined"!=typeof module&&module.exports?module.exports=m:exports)._=m:i._=m,m.VERSION="1.8.3";var b=function(u,i,n){if(void 0===i)return u;switch(null==n?3:n){case 1:return function(n){return u.call(i,n)};case 2:return function(n,t){return u.call(i,n,t)};case 3:return function(n,t,r){return u.call(i,n,t,r)};case 4:return function(n,t,r,e){return u.call(i,n,t,r,e)}}return function(){return u.apply(i,arguments)}},x=function(n,t,r){return null==n?m.identity:m.isFunction(n)?b(n,t,r):m.isObject(n)?m.matcher(n):m.property(n)};function _(n){return m.isObject(n)?g?g(n):(u.prototype=n,n=new u,u.prototype=null,n):{}}m.iteratee=function(n,t){return x(n,t,1/0)};var j=function(c,f){return function(n){var t=arguments.length;if(t<2||null==n)return n;for(var r=1;r<t;r++)for(var e=arguments[r],u=c(e),i=u.length,o=0;o<i;o++){var a=u[o];f&&void 0!==n[a]||(n[a]=e[a])}return n}},w=function(t){return function(n){return null==n?void 0:n[t]}},A=Math.pow(2,53)-1,O=w("length"),k=function(n){return"number"==typeof(n=O(n))&&0<=n&&n<=A};m.each=m.forEach=function(n,t,r){if(t=b(t,r),k(n))for(u=0,i=n.length;u<i;u++)t(n[u],u,n);else for(var e=m.keys(n),u=0,i=e.length;u<i;u++)t(n[e[u]],e[u],n);return n},m.map=m.collect=function(n,t,r){t=x(t,r);for(var e=!k(n)&&m.keys(n),u=(e||n).length,i=Array(u),o=0;o<u;o++){var a=e?e[o]:o;i[o]=t(n[a],a,n)}return i},m.reduce=m.foldl=m.inject=n(1),m.reduceRight=m.foldr=n(-1),m.find=m.detect=function(n,t,r){return void 0!==(r=k(n)?m.findIndex(n,t,r):m.findKey(n,t,r))&&-1!==r?n[r]:void 0},m.filter=m.select=function(n,e,t){var u=[];return e=x(e,t),m.each(n,function(n,t,r){e(n,t,r)&&u.push(n)}),u},m.reject=function(n,t,r){return m.filter(n,m.negate(x(t)),r)},m.every=m.all=function(n,t,r){t=x(t,r);for(var e=!k(n)&&m.keys(n),u=(e||n).length,i=0;i<u;i++){var o=e?e[i]:i;if(!t(n[o],o,n))return!1}return!0},m.some=m.any=function(n,t,r){t=x(t,r);for(var e=!k(n)&&m.keys(n),u=(e||n).length,i=0;i<u;i++){var o=e?e[i]:i;if(t(n[o],o,n))return!0}return!1},m.contains=m.includes=m.include=function(n,t,r,e){return k(n)||(n=m.values(n)),0<=m.indexOf(n,t,r="number"!=typeof r||e?0:r)},m.invoke=function(n,r){var e=s.call(arguments,2),u=m.isFunction(r);return m.map(n,function(n){var t=u?r:n[r];return null==t?t:t.apply(n,e)})},m.pluck=function(n,t){return m.map(n,m.property(t))},m.where=function(n,t){return m.filter(n,m.matcher(t))},m.findWhere=function(n,t){return m.find(n,m.matcher(t))},m.max=function(n,e,t){var r,u,i=-1/0,o=-1/0;if(null==e&&null!=n)for(var a=0,c=(n=k(n)?n:m.values(n)).length;a<c;a++)r=n[a],i<r&&(i=r);else e=x(e,t),m.each(n,function(n,t,r){u=e(n,t,r),(o<u||u===-1/0&&i===-1/0)&&(i=n,o=u)});return i},m.min=function(n,e,t){var r,u,i=1/0,o=1/0;if(null==e&&null!=n)for(var a=0,c=(n=k(n)?n:m.values(n)).length;a<c;a++)(r=n[a])<i&&(i=r);else e=x(e,t),m.each(n,function(n,t,r){((u=e(n,t,r))<o||1/0===u&&1/0===i)&&(i=n,o=u)});return i},m.shuffle=function(n){for(var t,r=k(n)?n:m.values(n),e=r.length,u=Array(e),i=0;i<e;i++)(t=m.random(0,i))!==i&&(u[i]=u[t]),u[t]=r[i];return u},m.sample=function(n,t,r){return null==t||r?(n=k(n)?n:m.values(n))[m.random(n.length-1)]:m.shuffle(n).slice(0,Math.max(0,t))},m.sortBy=function(n,e,t){return e=x(e,t),m.pluck(m.map(n,function(n,t,r){return{value:n,index:t,criteria:e(n,t,r)}}).sort(function(n,t){var r=n.criteria,e=t.criteria;if(r!==e){if(e<r||void 0===r)return 1;if(r<e||void 0===e)return-1}return n.index-t.index}),"value")},f=function(i){return function(r,e,n){var u={};return e=x(e,n),m.each(r,function(n,t){t=e(n,t,r),i(u,n,t)}),u}},m.groupBy=f(function(n,t,r){m.has(n,r)?n[r].push(t):n[r]=[t]}),m.indexBy=f(function(n,t,r){n[r]=t}),m.countBy=f(function(n,t,r){m.has(n,r)?n[r]++:n[r]=1}),m.toArray=function(n){return n?m.isArray(n)?s.call(n):k(n)?m.map(n,m.identity):m.values(n):[]},m.size=function(n){return null==n?0:(k(n)?n:m.keys(n)).length},m.partition=function(n,e,t){e=x(e,t);var u=[],i=[];return m.each(n,function(n,t,r){(e(n,t,r)?u:i).push(n)}),[u,i]},m.first=m.head=m.take=function(n,t,r){return null==n?void 0:null==t||r?n[0]:m.initial(n,n.length-t)},m.initial=function(n,t,r){return s.call(n,0,Math.max(0,n.length-(null==t||r?1:t)))},m.last=function(n,t,r){return null==n?void 0:null==t||r?n[n.length-1]:m.rest(n,Math.max(0,n.length-t))},m.rest=m.tail=m.drop=function(n,t,r){return s.call(n,null==t||r?1:t)},m.compact=function(n){return m.filter(n,m.identity)};var F=function(n,t,r,e){for(var u=[],i=0,o=e||0,a=O(n);o<a;o++){var c=n[o];if(k(c)&&(m.isArray(c)||m.isArguments(c))){var f=0,l=(c=t?c:F(c,t,r)).length;for(u.length+=l;f<l;)u[i++]=c[f++]}else r||(u[i++]=c)}return u};function S(n,t,r,e,u){return e instanceof t?(r=_(n.prototype),u=n.apply(r,u),m.isObject(u)?u:r):n.apply(r,u)}m.flatten=function(n,t){return F(n,t,!1)},m.without=function(n){return m.difference(n,s.call(arguments,1))},m.uniq=m.unique=function(n,t,r,e){m.isBoolean(t)||(e=r,r=t,t=!1),null!=r&&(r=x(r,e));for(var u=[],i=[],o=0,a=O(n);o<a;o++){var c=n[o],f=r?r(c,o,n):c;t?(o&&i===f||u.push(c),i=f):r?m.contains(i,f)||(i.push(f),u.push(c)):m.contains(u,c)||u.push(c)}return u},m.union=function(){return m.uniq(F(arguments,!0,!0))},m.intersection=function(n){for(var t=[],r=arguments.length,e=0,u=O(n);e<u;e++){var i=n[e];if(!m.contains(t,i)){for(var o=1;o<r&&m.contains(arguments[o],i);o++);o===r&&t.push(i)}}return t},m.difference=function(n){var t=F(arguments,!0,!0,1);return m.filter(n,function(n){return!m.contains(t,n)})},m.zip=function(){return m.unzip(arguments)},m.unzip=function(n){for(var t=n&&m.max(n,O).length||0,r=Array(t),e=0;e<t;e++)r[e]=m.pluck(n,e);return r},m.object=function(n,t){for(var r={},e=0,u=O(n);e<u;e++)t?r[n[e]]=t[e]:r[n[e][0]]=n[e][1];return r},m.findIndex=t(1),m.findLastIndex=t(-1),m.sortedIndex=function(n,t,r,e){for(var u=(r=x(r,e,1))(t),i=0,o=O(n);i<o;){var a=Math.floor((i+o)/2);r(n[a])<u?i=a+1:o=a}return i},m.indexOf=r(1,m.findIndex,m.sortedIndex),m.lastIndexOf=r(-1,m.findLastIndex),m.range=function(n,t,r){null==t&&(t=n||0,n=0),r=r||1;for(var e=Math.max(Math.ceil((t-n)/r),0),u=Array(e),i=0;i<e;i++,n+=r)u[i]=n;return u},m.bind=function(n,t){if(d&&n.bind===d)return d.apply(n,s.call(arguments,1));if(!m.isFunction(n))throw new TypeError("Bind must be called on a function");var r=s.call(arguments,2),e=function(){return S(n,e,t,this,r.concat(s.call(arguments)))};return e},m.partial=function(u){var i=s.call(arguments,1),o=function(){for(var n=0,t=i.length,r=Array(t),e=0;e<t;e++)r[e]=i[e]===m?arguments[n++]:i[e];for(;n<arguments.length;)r.push(arguments[n++]);return S(u,o,this,this,r)};return o},m.bindAll=function(n){var t,r,e=arguments.length;if(e<=1)throw new Error("bindAll must be passed function names");for(t=1;t<e;t++)n[r=arguments[t]]=m.bind(n[r],n);return n},m.memoize=function(e,u){var i=function(n){var t=i.cache,r=""+(u?u.apply(this,arguments):n);return m.has(t,r)||(t[r]=e.apply(this,arguments)),t[r]};return i.cache={},i},m.delay=function(n,t){var r=s.call(arguments,2);return setTimeout(function(){return n.apply(null,r)},t)},m.defer=m.partial(m.delay,m,1),m.throttle=function(r,e,u){var i,o,a,c=null,f=0;function l(){f=!1===u.leading?0:m.now(),c=null,a=r.apply(i,o),c||(i=o=null)}return u=u||{},function(){var n=m.now();f||!1!==u.leading||(f=n);var t=e-(n-f);return i=this,o=arguments,t<=0||e<t?(c&&(clearTimeout(c),c=null),f=n,a=r.apply(i,o),c||(i=o=null)):c||!1===u.trailing||(c=setTimeout(l,t)),a}},m.debounce=function(t,r,e){var u,i,o,a,c,f=function(){var n=m.now()-a;n<r&&0<=n?u=setTimeout(f,r-n):(u=null,e||(c=t.apply(o,i),u||(o=i=null)))};return function(){o=this,i=arguments,a=m.now();var n=e&&!u;return u=u||setTimeout(f,r),n&&(c=t.apply(o,i),o=i=null),c}},m.wrap=function(n,t){return m.partial(t,n)},m.negate=function(n){return function(){return!n.apply(this,arguments)}},m.compose=function(){var r=arguments,e=r.length-1;return function(){for(var n=e,t=r[e].apply(this,arguments);n--;)t=r[n].call(this,t);return t}},m.after=function(n,t){return function(){return--n<1?t.apply(this,arguments):void 0}},m.before=function(n,t){var r;return function(){return 0<--n&&(r=t.apply(this,arguments)),n<=1&&(t=null),r}},m.once=m.partial(m.before,2);var E=!{toString:null}.propertyIsEnumerable("toString"),M=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];m.keys=function(n){if(!m.isObject(n))return[];if(y)return y(n);var t,r=[];for(t in n)m.has(n,t)&&r.push(t);return E&&e(n,r),r},m.allKeys=function(n){if(!m.isObject(n))return[];var t,r=[];for(t in n)r.push(t);return E&&e(n,r),r},m.values=function(n){for(var t=m.keys(n),r=t.length,e=Array(r),u=0;u<r;u++)e[u]=n[t[u]];return e},m.mapObject=function(n,t,r){t=x(t,r);for(var e,u=m.keys(n),i=u.length,o={},a=0;a<i;a++)o[e=u[a]]=t(n[e],e,n);return o},m.pairs=function(n){for(var t=m.keys(n),r=t.length,e=Array(r),u=0;u<r;u++)e[u]=[t[u],n[t[u]]];return e},m.invert=function(n){for(var t={},r=m.keys(n),e=0,u=r.length;e<u;e++)t[n[r[e]]]=r[e];return t},m.functions=m.methods=function(n){var t,r=[];for(t in n)m.isFunction(n[t])&&r.push(t);return r.sort()},m.extend=j(m.allKeys),m.extendOwn=m.assign=j(m.keys),m.findKey=function(n,t,r){t=x(t,r);for(var e,u=m.keys(n),i=0,o=u.length;i<o;i++)if(t(n[e=u[i]],e,n))return e},m.pick=function(n,t,r){var e,u,i={},o=n;if(null==o)return i;m.isFunction(t)?(u=m.allKeys(o),e=b(t,r)):(u=F(arguments,!1,!1,1),e=function(n,t,r){return t in r},o=Object(o));for(var a=0,c=u.length;a<c;a++){var f=u[a],l=o[f];e(l,f,o)&&(i[f]=l)}return i},m.omit=function(n,t,r){var e;return t=m.isFunction(t)?m.negate(t):(e=m.map(F(arguments,!1,!1,1),String),function(n,t){return!m.contains(e,t)}),m.pick(n,t,r)},m.defaults=j(m.allKeys,!0),m.create=function(n,t){return n=_(n),t&&m.extendOwn(n,t),n},m.clone=function(n){return m.isObject(n)?m.isArray(n)?n.slice():m.extend({},n):n},m.tap=function(n,t){return t(n),n},m.isMatch=function(n,t){var r=m.keys(t),e=r.length;if(null==n)return!e;for(var u=Object(n),i=0;i<e;i++){var o=r[i];if(t[o]!==u[o]||!(o in u))return!1}return!0};var I=function(n,t,r,e){if(n===t)return 0!==n||1/n==1/t;if(null==n||null==t)return n===t;if(n instanceof m&&(n=n._wrapped),t instanceof m&&(t=t._wrapped),(i=p.call(n))!==p.call(t))return!1;switch(i){case"[object RegExp]":case"[object String]":return""+n==""+t;case"[object Number]":return+n!=+n?+t!=+t:0==+n?1/+n==1/t:+n==+t;case"[object Date]":case"[object Boolean]":return+n==+t}var u="[object Array]"===i;if(!u){if("object"!=typeof n||"object"!=typeof t)return!1;var i,o=n.constructor;if(o!==(i=t.constructor)&&!(m.isFunction(o)&&o instanceof o&&m.isFunction(i)&&i instanceof i)&&"constructor"in n&&"constructor"in t)return!1}e=e||[];for(var a=(r=r||[]).length;a--;)if(r[a]===n)return e[a]===t;if(r.push(n),e.push(t),u){if((a=n.length)!==t.length)return!1;for(;a--;)if(!I(n[a],t[a],r,e))return!1}else{var c,f=m.keys(n),a=f.length;if(m.keys(t).length!==a)return!1;for(;a--;)if(c=f[a],!m.has(t,c)||!I(n[c],t[c],r,e))return!1}return r.pop(),e.pop(),!0};m.isEqual=function(n,t){return I(n,t)},m.isEmpty=function(n){return null==n||(k(n)&&(m.isArray(n)||m.isString(n)||m.isArguments(n))?0===n.length:0===m.keys(n).length)},m.isElement=function(n){return!(!n||1!==n.nodeType)},m.isArray=v||function(n){return"[object Array]"===p.call(n)},m.isObject=function(n){var t=typeof n;return"function"==t||"object"==t&&!!n},m.each(["Arguments","Function","String","Number","Date","RegExp","Error"],function(t){m["is"+t]=function(n){return p.call(n)==="[object "+t+"]"}}),m.isArguments(arguments)||(m.isArguments=function(n){return m.has(n,"callee")}),"function"!=typeof/./&&"object"!=typeof Int8Array&&(m.isFunction=function(n){return"function"==typeof n||!1}),m.isFinite=function(n){return isFinite(n)&&!isNaN(parseFloat(n))},m.isNaN=function(n){return m.isNumber(n)&&n!==+n},m.isBoolean=function(n){return!0===n||!1===n||"[object Boolean]"===p.call(n)},m.isNull=function(n){return null===n},m.isUndefined=function(n){return void 0===n},m.has=function(n,t){return null!=n&&h.call(n,t)},m.noConflict=function(){return i._=o,this},m.identity=function(n){return n},m.constant=function(n){return function(){return n}},m.noop=function(){},m.property=w,m.propertyOf=function(t){return null==t?function(){}:function(n){return t[n]}},m.matcher=m.matches=function(t){return t=m.extendOwn({},t),function(n){return m.isMatch(n,t)}},m.times=function(n,t,r){var e=Array(Math.max(0,n));t=b(t,r,1);for(var u=0;u<n;u++)e[u]=t(u);return e},m.random=function(n,t){return null==t&&(t=n,n=0),n+Math.floor(Math.random()*(t-n+1))},m.now=Date.now||function(){return(new Date).getTime()},v=m.invert(j={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"}),w=function(t){function r(n){return t[n]}var n="(?:"+m.keys(t).join("|")+")",e=RegExp(n),u=RegExp(n,"g");return function(n){return e.test(n=null==n?"":""+n)?n.replace(u,r):n}},m.escape=w(j),m.unescape=w(v),m.result=function(n,t,r){return t=null==n?void 0:n[t],m.isFunction(t=void 0===t?r:t)?t.call(n):t};var N=0;function B(n){return"\\"+R[n]}m.uniqueId=function(n){var t=++N+"";return n?n+t:t},m.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var T=/(.)^/,R={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},q=/\\|'|\r|\n|\u2028|\u2029/g;function K(n,t){return n._chain?m(t).chain():t}m.template=function(i,n,t){n=m.defaults({},n=!n&&t?t:n,m.templateSettings);var t=RegExp([(n.escape||T).source,(n.interpolate||T).source,(n.evaluate||T).source].join("|")+"|$","g"),o=0,a="__p+='";i.replace(t,function(n,t,r,e,u){return a+=i.slice(o,u).replace(q,B),o=u+n.length,t?a+="'+\n((__t=("+t+"))==null?'':_.escape(__t))+\n'":r?a+="'+\n((__t=("+r+"))==null?'':__t)+\n'":e&&(a+="';\n"+e+"\n__p+='"),n}),a+="';\n",a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+(a=n.variable?a:"with(obj||{}){\n"+a+"}\n")+"return __p;\n";try{var r=new Function(n.variable||"obj","_",a)}catch(n){throw n.source=a,n}return n=n.variable||"obj",(t=function(n){return r.call(this,n,m)}).source="function("+n+"){\n"+a+"}",t},m.chain=function(n){return(n=m(n))._chain=!0,n},m.mixin=function(r){m.each(m.functions(r),function(n){var t=m[n]=r[n];m.prototype[n]=function(){var n=[this._wrapped];return l.apply(n,arguments),K(this,t.apply(m,n))}})},m.mixin(m),m.each(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var r=a[t];m.prototype[t]=function(){var n=this._wrapped;return r.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0],K(this,n)}}),m.each(["concat","join","slice"],function(n){var t=a[n];m.prototype[n]=function(){return K(this,t.apply(this._wrapped,arguments))}}),m.prototype.value=function(){return this._wrapped},m.prototype.valueOf=m.prototype.toJSON=m.prototype.value,m.prototype.toString=function(){return""+this._wrapped},"function"==typeof define&&define.amd&&define("underscore",[],function(){return m})}.call(this);
/*_____*/
function M(e){for(var r,t="0123456789ABCDEF",n="",a=0;a<e.length;a++)r=e.charCodeAt(a),n+=t.charAt(r>>>4&15)+t.charAt(15&r);return n}function X(e){for(var r=Array(e.length>>2),t=0;t<r.length;t++)r[t]=0;for(t=0;t<8*e.length;t+=8)r[t>>5]|=(255&e.charCodeAt(t/8))<<t%32;return r}function V(e){for(var r="",t=0;t<32*e.length;t+=8)r+=String.fromCharCode(e[t>>5]>>>t%32&255);return r}function Y(e,r){e[r>>5]|=128<<r%32,e[14+(r+64>>>9<<4)]=r;for(var t=1732584193,n=-271733879,a=-1732584194,i=271733878,d=0;d<e.length;d+=16){var o=t,f=n,c=a,u=i,n=md5_ii(n=md5_ii(n=md5_ii(n=md5_ii(n=md5_hh(n=md5_hh(n=md5_hh(n=md5_hh(n=md5_gg(n=md5_gg(n=md5_gg(n=md5_gg(n=md5_ff(n=md5_ff(n=md5_ff(n=md5_ff(n,a=md5_ff(a,i=md5_ff(i,t=md5_ff(t,n,a,i,e[d+0],7,-680876936),n,a,e[d+1],12,-389564586),t,n,e[d+2],17,606105819),i,t,e[d+3],22,-1044525330),a=md5_ff(a,i=md5_ff(i,t=md5_ff(t,n,a,i,e[d+4],7,-176418897),n,a,e[d+5],12,1200080426),t,n,e[d+6],17,-1473231341),i,t,e[d+7],22,-45705983),a=md5_ff(a,i=md5_ff(i,t=md5_ff(t,n,a,i,e[d+8],7,1770035416),n,a,e[d+9],12,-1958414417),t,n,e[d+10],17,-42063),i,t,e[d+11],22,-1990404162),a=md5_ff(a,i=md5_ff(i,t=md5_ff(t,n,a,i,e[d+12],7,1804603682),n,a,e[d+13],12,-40341101),t,n,e[d+14],17,-1502002290),i,t,e[d+15],22,1236535329),a=md5_gg(a,i=md5_gg(i,t=md5_gg(t,n,a,i,e[d+1],5,-165796510),n,a,e[d+6],9,-1069501632),t,n,e[d+11],14,643717713),i,t,e[d+0],20,-373897302),a=md5_gg(a,i=md5_gg(i,t=md5_gg(t,n,a,i,e[d+5],5,-701558691),n,a,e[d+10],9,38016083),t,n,e[d+15],14,-660478335),i,t,e[d+4],20,-405537848),a=md5_gg(a,i=md5_gg(i,t=md5_gg(t,n,a,i,e[d+9],5,568446438),n,a,e[d+14],9,-1019803690),t,n,e[d+3],14,-187363961),i,t,e[d+8],20,1163531501),a=md5_gg(a,i=md5_gg(i,t=md5_gg(t,n,a,i,e[d+13],5,-1444681467),n,a,e[d+2],9,-51403784),t,n,e[d+7],14,1735328473),i,t,e[d+12],20,-1926607734),a=md5_hh(a,i=md5_hh(i,t=md5_hh(t,n,a,i,e[d+5],4,-378558),n,a,e[d+8],11,-2022574463),t,n,e[d+11],16,1839030562),i,t,e[d+14],23,-35309556),a=md5_hh(a,i=md5_hh(i,t=md5_hh(t,n,a,i,e[d+1],4,-1530992060),n,a,e[d+4],11,1272893353),t,n,e[d+7],16,-155497632),i,t,e[d+10],23,-1094730640),a=md5_hh(a,i=md5_hh(i,t=md5_hh(t,n,a,i,e[d+13],4,681279174),n,a,e[d+0],11,-358537222),t,n,e[d+3],16,-722521979),i,t,e[d+6],23,76029189),a=md5_hh(a,i=md5_hh(i,t=md5_hh(t,n,a,i,e[d+9],4,-640364487),n,a,e[d+12],11,-421815835),t,n,e[d+15],16,530742520),i,t,e[d+2],23,-995338651),a=md5_ii(a,i=md5_ii(i,t=md5_ii(t,n,a,i,e[d+0],6,-198630844),n,a,e[d+7],10,1126891415),t,n,e[d+14],15,-1416354905),i,t,e[d+5],21,-57434055),a=md5_ii(a,i=md5_ii(i,t=md5_ii(t,n,a,i,e[d+12],6,1700485571),n,a,e[d+3],10,-1894986606),t,n,e[d+10],15,-1051523),i,t,e[d+1],21,-2054922799),a=md5_ii(a,i=md5_ii(i,t=md5_ii(t,n,a,i,e[d+8],6,1873313359),n,a,e[d+15],10,-30611744),t,n,e[d+6],15,-1560198380),i,t,e[d+13],21,1309151649),a=md5_ii(a,i=md5_ii(i,t=md5_ii(t,n,a,i,e[d+4],6,-145523070),n,a,e[d+11],10,-1120210379),t,n,e[d+2],15,718787259),i,t,e[d+9],21,-343485551),t=safe_add(t,o);n=safe_add(n,f),a=safe_add(a,c),i=safe_add(i,u)}return Array(t,n,a,i)}function md5_cmn(e,r,t,n,a,i){return safe_add(bit_rol(safe_add(safe_add(r,e),safe_add(n,i)),a),t)}function md5_ff(e,r,t,n,a,i,d){return md5_cmn(r&t|~r&n,e,r,a,i,d)}function md5_gg(e,r,t,n,a,i,d){return md5_cmn(r&n|t&~n,e,r,a,i,d)}function md5_hh(e,r,t,n,a,i,d){return md5_cmn(r^t^n,e,r,a,i,d)}function md5_ii(e,r,t,n,a,i,d){return md5_cmn(t^(r|~n),e,r,a,i,d)}function safe_add(e,r){var t=(65535&e)+(65535&r);return(e>>16)+(r>>16)+(t>>16)<<16|65535&t}function bit_rol(e,r){return e<<r|e>>>32-r}deep=function(e,r){var t="",n=[];if("'"==r[0]?(t=(n=(r=r.substr(1)).split("'"))[0],n[1]&&(n[1]=n[1].substr(1))):t=(n=r.split("."))[0],void 0!==e&&e)return void 0!==e[t]?(n.splice(0,1),0==n.length?e[t]:deep(e[t],n.join("."))):void 0},topPreloader=function(e){},makeid=function(e){function r(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}if(!e)return r()+r()+"-"+r()+"-"+r()+"-"+r()+"-"+r()+r()+r();for(var t="",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",a=0;a<32;a++)t+=n.charAt(Math.floor(Math.random()*n.length));return t},makesystemid=function(e){return("afafafaf"+makeid(e).substr(8)).replace(/-/g,"")},MD5=function(e){return result=M(V(Y(X(e),8*e.length))),result.toLowerCase()},retry=function(e,r,t,n){t=t||20;var a=0,i=setInterval(function(){(e()||n&&n<=a)&&(clearInterval(i),r&&r()),a+=t},t)},pretry=function(t,n,a){return new Promise((e,r)=>{retry(t,e,n,a)})},retryLazy=function(e,r,t){t=t||200;var n=function(){e(function(e){e?r&&r():setTimeout(n,t)})};n()},slowMade=function(e,r,t){return t=t||20,r&&clearTimeout(r),setTimeout(e,t)},isInStandaloneMode=()=>"standalone"in window.navigator&&window.navigator.standalone,parameters=function(e,r){if(e||"undefined"==typeof window?r&&(e=e.split("?")[1]||""):e=_SEO?_SEOuri.split("?")[1]:window.location.search.substr(1),/^([A-Za-z0-9]*)$/.test(e))return e||{};var t={};for(p in uParts=e.split("&"),uParts){uParts[p]=uParts[p].split("=");var n=_.clone(uParts[p]);n.splice(0,1),t[uParts[p][0]]=decodeURI(n.join("=").replace(/!!/g,"&"))}return t},lazyEach=function(c){function u(e){var r=t(c.array[e],c.each,e);r.item=c.array[e],c.action(r,e)}var m,l,s,h={after:["success","fail","after"]},g=!1,t=function(o,e,f){var r={};return _.each(e,function(i,d){r[d]="function"!=typeof i||"success"!=d&&"fail"!=d&&"after"!=d?i:function(){function e(){function e(){c.all.success&&!g&&c.all.success(c),c.all.fail&&g&&c.all.fail(c),c.all.after&&c.all.after(c)}var t,n;"fail"==(t=d)&&(g=!0),_.find(h,function(e,r){if(-1<_.indexOf(e,t))return n=r,!0}),n&&(l[n]||(l[n]=0),l[n]++),s=_.reduce(l,function(e,r){return e+r},0),i(o,s,m,a,f),c.sync?c.array[f+1]?u(f+1):e():s==m&&e()}var r,a=arguments;!c.syncCallbacks||f<=s||c.sync?e():r=setInterval(function(){f<=s&&(e(),clearInterval(r))},10)}}),r};(c=c||{}).array||(c.array=[]),c.each||(c.each={}),c.all||(c.all={}),c.each.success||(c.each.success=function(){}),c.each.fail||(c.each.fail=function(){}),c.array&&0!=c.array.length?(m=c.array.length,l={},s=0,c.all.before&&c.all.before(c),c.sync?u(0):_.each(c.array,function(e,r){u(r)})):c.all.success&&c.all.success()},lazyActions=function(e,r){lazyEach({array:e,action:function(e){e.item(function(){e.success()})},all:{success:r}})},importScripts=function(e,r,t,n,a,i){void 0===a||null==a?a=0:a++,a==e.length?t():r[e[a].src]?importScripts(e,r,t,n,a,i):importScript(e[a].src,function(){r[e[a].src]=!0,importScripts(e,r,t,n,a,i)},n,i,e[a].module,e[a].require)},importScript=function(e,r,t,n,a,i){if(_Node||"undefined"!=typeof _Electron&&1==_Electron){e=e.split("?")[0];var d="../";return"undefined"!=typeof _Electron&&1==_Electron&&(d="./"),a?(delete require.cache[require.resolve(d+e)],o=require(d+e),n.modules[a]={module:o},n.modules[a].module.app=n):i?i():require(d+e),void r()}var o=document.createElement("script");t=t||document.getElementsByTagName("head")[0],o.readyState&&!o.onload?o.onreadystatechange=function(){"loaded"!=o.readyState&&"complete"!=o.readyState||(o.onreadystatechange=null,r())}:o.onload=r,o.src=e+="?v=119",t.appendChild(o)},importCss=function(e,r){var t=(r=r||document).createElement("link");t.rel="stylesheet",t.setAttribute("href",e+="?v=117"),r.getElementsByTagName("body")[0].appendChild(t)};
/*_____*/
Localization=function(a){var o=this;return"undefined"==typeof window?o.key="en":o.key=(window.navigator.userLanguage||window.navigator.language||"en").split("-")[0],o.loading={},o.available={en:{name:"English",key:"en"},de:{name:"Deutsch",key:"de"},fr:{name:"Français",key:"fr"},kr:{name:"한국어",key:"kr"},es:{name:"Español",key:"es"},ru:{name:"Русский",key:"ru"},cmn:{name:"官話",key:"cmn"}},o.loaded={},o.current=function(){return o.available[o.key]||{}},o.locLinks=function(){return _.reduce(o.available,function(n,e){return n+'<a href="?loc='+e.key+'">'+e.name+"</a>"},"")},o.availableMap=function(e){return _.map(o.available,function(n){return n[e]})},o.findByName=function(e){return _.find(o.available,function(n){return n.name==e})},o.lightSet=function(n,e){n&&o.available[n]&&o.key!=n?(o.key=n,o.locSave(),o.import(function(){e&&e()})):e&&e()},o.set=function(n,e){o.available[n]&&o.key!=n?(a.nav&&a.nav.api.history.removeParameters(["loc"]),o.key=n,o.locSave(),o.import(function(){a?(a.reload({clbk:e,current:!0}),a.platform.clearlocal()):e&&e()})):e&&e()},o.locSave=function(){localStorage.loc=o.key||(window.navigator.userLanguage||window.navigator.language||"en").split("-")[0]},o.init=function(n){"undefined"!=typeof loclib&&loclib||(loclib={});var e=parameters();o.key=e.loc||localStorage.loc||(window.navigator.userLanguage||window.navigator.language||"en").split("-")[0],o.locSave(),lazyActions([o.import,function(n){o.import(n,"en")}],n)},o.import=function(n,e){var a=e||o.key;o.loaded[a]?n&&n():o.loading[a]?retry(function(){return!o.loading[a]},function(){o.import(n,a)}):(e="localization/"+a+".js?v=7",o.loading[a]=!0,importScript(e,function(){o.loaded[a]=!0,o.loading[a]=!1,loclib[a],n&&n()}))},o.e=function(n,e){var a=deep(loclib,o.key+"."+n)||deep(loclib,"en."+n)||"";return(a="function"==typeof a?a(e):a)||n},o},"undefined"!=typeof module&&(module.exports=Localization);
/*_____*/
var electron=null;"undefined"!=typeof _Electron&&(electron=require("electron"));var WssDummy=function(n){var t=this;return t.ip="localhost",t.onmessage=null,t.onopen=null,t.send=function(e){n.wsssend(e)},t.recieve=function(e){t.onmessage&&t.onmessage(e)},t.close=function(){t.onmessage=null,t.onopen=null,t.onclose&&t.onclose(),t.onclose=null},t.init=function(){t.onopen&&t.onopen()},t},System16=function(t,s,o){var r=this,i={};function e(e,n){r.wssdummy.recieve(n)}function n(e,n){var t=i[n.id];t&&(t.clbk&&t.clbk(n.error,n.data),delete i[n.id])}function c(e,n){var t,s,o=n.data;o&&(t=o.settings||{},n=bitcoin.crypto.hash256(JSON.stringify(t)),s=n.join("")!==a.hash.join(""),a.hash=n,a.tick=t,_.each(r.clbks.tick,e=>{e(a.tick,o.state,s)}))}r.wssdummy=new WssDummy(r);var a={hash:[],tick:{}};function u(e){return e.id=makeid(),e.data||(e.data={}),function(e){var n=null;if(t.user&&1==t.user.getstate())try{n=t.user.signature()}catch(e){}n&&(e.signature=n)}(e.data),electron.ipcRenderer.send("proxy-message",e),new Promise((t,s)=>{i[e.id]={id:e.id,clbk:function(e,n){e?s(e):t(n)}}})}return r.tick=function(e){c(0,e)},r.clbks={tick:{}},r.settings={server:{enabled:{type:"BOOLEAN"},ports:{},iplimiter:{},captcha:{type:"BOOLEAN"},ssl:{},firebase:{}},wallet:{addresses:{}},admins:{},node:{enabled:{type:"BOOLEAN"},binPath:{type:"FILE_SELECT"},dataPath:{type:"FILE_SELECT"},stacking:{}}},r.request=function(e,n){return n={action:e,data:n||{}},electron&&o?u(n):(console.log("FETCH AUTH"),s.fetchauth("manage",n))},r.api={get:{settings:function(){return r.request("get.settings",{})}}},r.rpc=function(e,n,t){return u({path:"/rpc/*",data:{method:e,parameters:n,options:t||{}}})},r.fetch=function(e,n){return u({path:"/"+e,data:n})},r.wsssend=function(e){return u({wssdummy:!0,data:e})},r.listen=function(){electron&&o&&(electron.ipcRenderer.on("proxy-message",n),electron.ipcRenderer.on("proxy-message-tick",c),electron.ipcRenderer.on("wssdummy",e))},r.stop=function(){electron&&o&&(electron.ipcRenderer.off("proxy-message",n),electron.ipcRenderer.off("proxy-message-tick",c),electron.ipcRenderer.off("wssdummy",e))},r};"undefined"!=typeof module?module.exports={System16:System16}:window.System16;
/*_____*/
var electron=null;"undefined"!=typeof _Electron&&(electron=require("electron"));var ProxyRequest=function(a={},u){function s(e,t,r){var o,s,i,n=new AbortController,c=3e4;return(window.cordova||isInStandaloneMode())&&(c=55e3),o=c,s=function(e,t,r,n){n=n||{},t=t||{};var o=_.extend({Accept:"application/json","Content-Type":"application/json;charset=utf-8"},n.headers||{}),s=!1;return n.auth?t=function(e){var t=null,r="";if(u&&u.session&&(r=u.session),a.user&&a.user.getstate&&1==a.user.getstate())try{t=a.user.signature(r)}catch(e){}return t&&(e.signature=t),e}(t):a.user&&a.user.getstate&&1==a.user.getstate()&&(t.state=1),fetch(e,{method:n.method||"POST",mode:"cors",headers:o,signal:r,body:JSON.stringify(t)}).then(e=>(r.dontabortable=!0,e.ok||(s=!0),e.json())).then(e=>s?Promise.reject(e.error):Promise.resolve(e.data||{})).catch(e=>20==e.code?Promise.reject({code:408}):Promise.reject(e))}(e,t,n.signal,r),i=n,new Promise((t,r)=>{const n=setTimeout(()=>{i.signal.dontabortable||i&&i.abort()},o);s.then(e=>{clearTimeout(n),t(e)}).catch(e=>{clearTimeout(n),r(e)})})}var e=this;return e.rpc=function(e,t,r,n){if(!t)return Promise.reject("method");var o={};return o.parameters=r||[],o.method=t,n&&(o.options=n),r="rpc",s(e+"/"+(r=n.ex?"rpc-ex":r)+"/"+t,o)},e.fetch=function(e,t,r,n){return s(e+"/"+t,r,n)},e},Node=function(e,t){var r=this;return r.host=e.host||"",r.port=e.port||0,r.wss=e.wss||0,r.id=r.host+":"+r.port+":"+r.wss,r},Proxy16=function(e,o,t){var i=this,c=new ProxyRequest(o,i);i.system=new System16(o,i,e.direct),i.host=e.host||"",i.port=e.port||0,i.wss=e.wss||0,i.direct=e.direct,i.user=e.user||!1,i.current=null,i.id=i.host+":"+i.port+":"+i.wss,i.enabled=!0,nodes=[];var s={hash:[],tick:{}},r={node:{manage:{addlist:function(e){_.each(e,e=>{this.add(e)})},add:function(e){e=new Node(e,o),nodes.push(e)}}}};return i.changeNode=function(e){if(e&&i.current.key!=e.key)return i.current=e,o.platform.ws.reconnect(),_.each(i.clbks.changednode,function(e){e()}),!0},i.export=function(){return{host:i.host,port:i.port,wss:i.wss,user:i.user}},i.changed=function(t){var e,r,n=!1;return(t.ports||t.host)&&((t.ports||{}).https&&(i.port=t.ports.https),(t.ports||{}).wss&&(i.wss=t.ports.wss,n=!0),t.host&&(i.host=t.host,n=!0),e=i.id,i.id=i.host+":"+i.port+":"+i.wss,r=o.api.get.currentstring(),o.api.editinsaved(e,i),r==e&&o.api.set.current(i.id,n)),void 0!==t.enabled&&(i.enabled=t.enabled),t.ssl&&(n=!0),t.firebase,_.each(i.clbks.changed,function(e){e(t)}),n},i.api={ping:()=>i.fetch("ping").then(e=>(i.ping=new Date,i.session=e.session,Promise.resolve(e))).catch(e=>Promise.reject(e)),actualping:function(){return(!i.ping||i.ping.addSeconds(50)<new Date?i.api.ping():Promise.resolve(!0)).catch(e=>Promise.resolve(!1))},nodes:{canchange:function(e){return i.fetch("nodes/canchange",{node:e},"wait").then(e=>Promise.resolve(i.changeNode(e.node))).catch(e=>Promise.resolve(!1))},select:function(){var e="";return t&&t.get.fixednode()&&(e=t.get.fixednode()),i.fetch("nodes/select",{fixed:e}).then(e=>(i.current=e.node,Promise.resolve(e)))},get:()=>i.fetch("nodes/get").then(e=>(r.node.manage.addlist(e.nodes),Promise.resolve(e))),addlist:function(e){_.each(e,e=>{this.add(e)})},add:function(e){e=new Node(e,o),this.find(e.id)||nodes.push(e)},find:function(t){return _.find(nodes,e=>e.id==t)}}},i.url={https:()=>"https://"+i.host+":"+i.port,wss:()=>"wss://"+i.host+":"+i.wss},i.rpc=function(r,n,o,s){return s=s||0,o=o||{},i.current&&(o.node=i.current.key),(i.direct?i.system.rpc(r,n,o):c.rpc(i.url.https(),r,n,o)).then(e=>Promise.resolve(e)).catch(t=>408==t.code&&o.node&&s<3?i.api.nodes.canchange(o.node).then(e=>e?i.rpc(r,n,o,s+1):Promise.reject(t)):Promise.reject(t))},i.fetch=function(e,t,r){return(i.direct?i.system.fetch(e,t,r):c.fetch(i.url.https(),e,t,r)).then(e=>Promise.resolve(e))},i.fetchauth=function(e,t,r){return(r=r||{}).auth=!0,i.fetch(e,t,r)},i.get={nodes:()=>nodes,name:function(){return i.direct?"Electron Proxy":i.url.https()},info:function(){return i.fetchauth("info")},stats:function(){return i.fetchauth("stats")}},i.valid=function(){return i.host&&i.port&&i.wss},i.init=function(){return i.direct&&i.system.listen(),i.system.clbks.tick.proxy=function(e,t){var r,n;t&&(r=bitcoin.crypto.hash256(JSON.stringify(t)),n=r.join("")!==s.hash.join(""),s.hash=r,s.tick=t,_.each(i.clbks.tick,e=>{e(s.tick,n)}))},i.refreshNodes()},i.refreshNodes=function(){return i.api.nodes.select().catch(e=>Promise.resolve())},i.destroy=function(){i.direct&&i.system.stop(),nodes=[]},i.clbks={tick:{},changed:{},changednode:{}},i},Api=function(s){function t(t){return t=t||c,_.isObject(t)?t:_.find(o,function(e){return e.id==t})}function i(e){return(e=t(e))?Promise.resolve(e):Promise.reject("proxy")}var n=this,o=[],c=null,e=!1,r=null;n.addproxy=function(e){var t=JSON.parse(localStorage.listofproxies||"[]"),r=a.proxy.manage.add(e);if(r)return t.push(e),a.proxy.manage.savelist(t),r},n.removeproxy=function(t){var e=JSON.parse(localStorage.listofproxies||"[]"),e=_.filter(e,function(e){return new Proxy16(e,s).id!=t});o=_.filter(o,function(e){return!(e.id==t&&!e.direct)||void e.destroy()}),c==t&&o.length&&(c=o[0].id),a.proxy.manage.savelist(e)},n.editinsaved=function(t,e){var r=JSON.parse(localStorage.listofproxies||"[]"),n=_.find(r,function(e){return e.host+":"+e.port+":"+e.wss==t});n&&(n.host=e.host,n.port=e.port,n.wss=e.wss,a.proxy.manage.savelist(r))},n.editproxy=function(e,t){return(e=n.get.byid(e)).changed({host:t.host,ports:{https:t.port,wss:t.wss}}),e};var a={api:{manage:{}},proxy:{manage:{savelist:function(e){localStorage.listofproxies=JSON.stringify(e||[])},init:function(){return this.addlocalelectronproxy().then(e=>{this.addlist(deep(s,"options.listofproxies")||[]);try{this.addlist(JSON.parse(localStorage.listofproxies||"[]"))}catch(e){}return Promise.resolve()}).then(e=>{var t=localStorage.currentproxy;return console.log("oldc",t),t?n.set.current(t):Promise.resolve()}).catch(e=>Promise.resolve()).then(()=>(!c&&o.length&&(c="pocketnet.app:8899:8099"),e=!0,Promise.resolve()))},addlocalelectronproxy:function(){if(electron){var t=new System16(s,null,!0);return t.listen(),t.request("get.settings").then(e=>(t.stop(),this.add({direct:!0,host:"localhost",port:deep(e,"server.ports.https")||0,wss:deep(e,"server.ports.wss")||0}),Promise.resolve()))}return Promise.resolve()},addlist:function(e){_.each(e,e=>{this.add(e)})},add:function(e){if(e=new Proxy16(e,s,n),!this.find(e.id)&&(e.valid()||e.direct))return o.push(e),e.init(),e},find:function(t){return _.find(o,e=>e.id==t)}},api:{ping:function(e){return e=_.map(e,e=>e.api.ping()),Promise.all(e)}}}};return n.rpc=function(t,r,n){return t?i((n=n||{}).proxy).then(e=>e.rpc(t,r,n.rpc)).then(e=>(s.apiHandlers.success({rpc:!0}),Promise.resolve(e))).catch(e=>(console.log("ER",e),"TypeError: Failed to fetch"!=e&&"proxy"!=e&&408!=e.code&&-28!=e.code||s.apiHandlers.error({rpc:!0}),Promise.reject(e))):Promise.reject("method")},n.fetchauthall=function(t,r){var e=_.map(o,function(e){return e={proxy:e.id},n.fetchauth(t,r,e)});return Promise.all(e).catch(e=>Promise.resolve())},n.fetchauth=function(e,t,r){return(r=r||{}).auth=!0,n.fetch(e,t,r)},n.fetch=function(t,r,e){var n="fetch";(e=e||{}).auth&&(n="fetchauth");var o=null;return i(e.proxy).then(e=>(o=e.id,e[n](t,r))).then(e=>(o==c&&s.apiHandlers.success({api:!0}),Promise.resolve(e))).catch(e=>(o==c&&"TypeError: Failed to fetch"==e&&s.apiHandlers.error({api:!0}),Promise.reject(e)))},n.ready={proxies:()=>_.filter(o,e=>e.ping),use:()=>_.filter(o,e=>e.ping).length||!o.length,useexternal:()=>_.filter(o,e=>e.ping&&!e.direct).length||!o.length},n.wait={ready:function(e,t){return e=e||"use",pretry(n.ready[e],20,t)}},n.set={current:function(e,t){return n.get.byid(e)?(c=e,localStorage.currentproxy=c,t&&s.platform.ws.reconnect(),Promise.resolve()):Promise.reject("hasnt")},fixednode:function(e){r=e,localStorage.fixednode=r}},n.get={fixednode:function(){return r},currentwss:function(){return i().then(e=>e.direct?{dummy:e.system.wssdummy,proxy:e}:{url:e.url.wss(),proxy:e})},proxies:function(){return o},current:function(){return t()},currentstring:function(){return c},byid:function(t){return _.find(o,function(e){return e.id==t})},working:function(){var e=_.filter(o,function(e){return!e.direct}),e=_.map(e,function(e){return e.api.actualping()});return Promise.all(e).then(r=>_.filter(o,function(e,t){if(r[t])return!0}))},direct:function(){var e=_.filter(o,function(e){return e.direct});if(e.length)return e[0]}},n.changeProxyIfNeed=function(){var e=t();return(e?e.api.actualping():Promise.resolve(!1)).then(e=>e?Promise.resolve(1):n.get.working().then(e=>(e.length&&n.set.current(e[0].id),Promise.resolve(e.length))))},n.init=function(){var e=localStorage.fixednode;return e&&(r=e),a.proxy.manage.init().then(e=>(a.proxy.api.ping(o).catch(e=>{console.log("ERROR",e)}),Promise.resolve()))},n.initIf=function(){return e?Promise.resolve():n.init()},n.destroy=function(){e=!(o=[])},n};"undefined"!=typeof module?module.exports={Api:Api,ProxyRequest:ProxyRequest,Proxy16:Proxy16,Node:Node}:(window.Api=Api,window.ProxyRequest=ProxyRequest,window.Proxy16=Proxy16);
/*_____*/
__map={__vendor:["js/vendor/device.min.js","js/vendor/modernizr-2.8.3.min.js","js/vendor/jquery-1.11.3.min.js","js/vendor/tooltipster.core.js","js/vendor/tooltipster.bundle.js","js/vendor/imagesloaded.pkgd.min.js","js/vendor/timer.js","js/vendor/aesjs.js","js/vendor/linkify.min.js","js/vendor/linkify-html.min.js","js/lib/pocketnet/btc17.js","js/lib/pocketnet/htls.js","js/lib/pocketnet/buffer.js","js/vendor/pbkdf2.js","js/vendor/sha1.js","js/vendor/paste.js","js/vendor/jquery.md5.js","js/vendor/jquery.animate-number.js","js/vendor/jquery.touchSwipe.js","js/vendor/joypixels.min.js","js/vendor/plyr.js","js/vendor/reconnectingwebsocket.js","js/vendor/rtc/db.js","js/vendor/xss.min.js","js/vendor/jquery.mark.js","js/vendor/hc-sticky.js","js/vendor/moment.min.js","js/vendor/jquery.inputmask.bundle.js","js/vendor/axios.js","js/vendor/isotope.pkgd.js","js/vendor/circular-progress.js","js/vendor/workbox-v6.1.5/workbox-sw.js","js/vendor/ion.sound/ion.sound.js","js/vendor/hammer.min.js"],__sourcesfirst:["js/vendor/underscore-min.js","js/functionsfirst.js","js/localization.js","js/lib/client/system16.js","js/lib/client/api.js","js/_map.js","js/app.js","js/main.js"],__sourceslast:["peertube/video-embed.bundle.js"],__sources:["js/functions.js","js/user.js","js/module.js","js/navn.js","js/validation.js","js/kit.js","js/satolist.js","js/messenger2/clientrtc.js","js/peertube.js","js/widgets.js"],__css:["css/normalize.css","css/tooltipster.core.min.css","css/tooltipster.bundle.min.css","css/main.css","css/plyr.css","js/vendor/DateTimePicker.min.css","peertube/video-embed.css","js/vendor/emojionearea.min.css"],__templates:[{c:"navigation",n:"menu"},{c:"menu",n:"index"},{c:"toppanel",n:"index"},{c:"navigation",n:"index"},{c:"footer",n:"index"},{c:"toppanel",n:"menu"},{c:"main",n:"index"},{c:"panel",n:"index"},{c:"leftpanel",n:"index"},{c:"panel",n:"discussiondummy"},{c:"lastcomments",n:"index"},{c:"tagcloud",n:"index"},{c:"categories",n:"index"},{c:"categories",n:"categories"},{c:"lenta",n:"share"},{c:"lenta",n:"shares"},{c:"lenta",n:"wholike"},{c:"lenta",n:"index"},{c:"lenta",n:"sharevideo"},{c:"lenta",n:"sharevideolight"},{c:"share",n:"url"},{c:"lenta",n:"stars"},{c:"lenta",n:"groupshares"},{c:"lenta",n:"commentspreview"},{c:"comments",n:"index"},{c:"lastcomments",n:"lastcommentslist"}],pkview:{uri:"pkview",href:"pkview",add:function(n,e){return e.inWnd?{insert:"wnd"}:{el:"content"}},relations:[{src:"js/vendor/qrscanner.js",f:"js"},{src:"js/vendor/qrcode.min.js",f:"js",require:function(){QRCode=require("./js/vendor/qrcode.min.js")}}]},about:{uri:"about",href:"about",add:function(n,e){return e.inWnd?{insert:"wnd"}:{el:"content"}},anonimus:!0},applications:{uri:"applications",href:"applications",add:function(n,e){return e.inWnd?{insert:"wnd"}:{el:"content"}},anonimus:!0},terms:{uri:"terms",href:"terms",add:function(n,e){return e.inWnd?{insert:"wnd"}:{el:"content"}},anonimus:!0},page404:{uri:"page404",href:"page404",add:{el:"content"},anonimus:!0,relationsSunc:!0},registration:{uri:"registration",href:"registration",add:function(n,e){return e.inWnd?{insert:"wnd"}:e.inTooltip?{insert:"tooltip"}:{el:"content"}},anonimus:!0,relations:[{src:"js/vendor/qrscanner.js",f:"js"},{src:"js/validation.js",f:"js"},{src:"js/vendor/qrcode.min.js",f:"js",require:function(){QRCode=require("./js/vendor/qrcode.min.js")}}]},anothersite:{uri:"anothersite",href:"anothersite",add:function(n,e){return e.inWnd?{insert:"wnd"}:e.inTooltip?{insert:"tooltip"}:{el:"content"}},anonimus:!0,relationsSunc:!0,relations:[]},token:{uri:"token",href:"token",add:{el:"content"},anonimus:!0},filluserfast:{uri:"filluserfast",href:"filluserfast",add:function(n,e){return e.inWnd?{insert:"wnd"}:e.inTooltip?{insert:"tooltip"}:{el:"content"}},anonimus:!0,relations:[{src:"js/vendor/qrscanner.js",f:"js"},{src:"js/validation.js",f:"js"},{src:"js/vendor/qrcode.min.js",f:"js",require:function(){QRCode=require("./js/vendor/qrcode.min.js")}}]},filluser:{uri:"filluser",href:"filluser",add:function(n,e){return e.inWnd?{insert:"wnd"}:e.inTooltip?{insert:"tooltip"}:{el:"content"}},redirect:{auth:"authorization"}},usersettings:{uri:"usersettings",href:"usersettings",add:{el:"content"},anonimus:!0},test:{uri:"test",href:"test",add:function(n,e){return e.inWnd?{insert:"wnd"}:e.inTooltip?{insert:"tooltip"}:{el:"content"}},anonimus:!0,relationsSunc:!0,relations:[{src:"js/vendor/exif.js",f:"js",require:function(){EXIF=require("./js/vendor/exif.js")}},{src:"js/vendor/picker.js",f:"js",if:function(){return"undefined"==typeof _Electron||0==_Electron}},{src:"js/vendor/picker.date.js",f:"js",if:function(){return"undefined"==typeof _Electron||0==_Electron}}]},accounts:{uri:"accounts",href:"accounts",add:{el:"content"},redirect:{auth:"authorization"},relations:[{src:"js/vendor/qrcode.min.js",f:"js",require:function(){QRCode=require("./js/vendor/qrcode.min.js")}}]},uploadpeertube:{uri:"uploadpeertube",href:"uploadpeertube",add:function(n,e){return e.inWnd?{insert:"wnd"}:e.inTooltip?{insert:"tooltip"}:{el:"content"}}},streampeertube:{uri:"streampeertube",href:"streampeertube",add:function(n,e){return e.inWnd?{insert:"wnd"}:e.inTooltip?{insert:"tooltip"}:{el:"content"}}},tagcloud:{uri:"tagcloud",href:"tagcloud",add:function(n,e){return e.inWnd?{insert:"wnd"}:e.inTooltip?{insert:"tooltip"}:{el:"content"}},anonimus:!0},taginput:{uri:"taginput",href:"taginput",add:function(n,e){return e.inWnd?{insert:"wnd"}:e.inTooltip?{insert:"tooltip"}:{el:"content"}},anonimus:!0},categories:{uri:"categories",href:"categories",add:function(n,e){return e.inWnd?{insert:"wnd"}:e.inTooltip?{insert:"tooltip"}:{el:"content"}},anonimus:!0},staking:{uri:"staking",href:"staking",relations:[{src:"js/vendor/highcharts.js",f:"js",require:function(){Highcharts=require("./js/vendor/highcharts.js")}}],add:function(n,e){return e.inWnd?{insert:"wnd"}:e.inTooltip?{insert:"tooltip"}:{el:"content"}},anonimus:!0},lastcomments:{uri:"lastcomments",href:"lastcomments",add:function(n,e){return e.inWnd?{insert:"wnd"}:e.inTooltip?{insert:"tooltip"}:{el:"content"}},anonimus:!0},articles:{uri:"articles",href:"articles",add:function(n,e){return e.inWnd?{insert:"wnd"}:e.inTooltip?{insert:"tooltip"}:{el:"content"}}},article:{uri:"article",href:"article",add:function(n,e){return e.inWnd?{insert:"wnd"}:e.inTooltip?{insert:"tooltip"}:{el:"content"}},relations:[{src:"js/vendor/medium-editor.js",f:"js",if:function(){return"undefined"==typeof _Electron||0==_Electron}},{src:"js/vendor/mediuminsert/handlebars.runtime.min.js",f:"js",require:function(){}},{src:"js/vendor/mediuminsert/jquery-sortable-min.js",f:"js",require:function(){}},{src:"js/vendor/mediuminsert/jquery.ui.widget.js",f:"js"},{src:"js/vendor/mediuminsert/jquery.iframe-transport.js",f:"js"},{src:"js/vendor/mediuminsert/jquery.fileupload.js",f:"js"},{src:"js/vendor/mediuminsert/medium-editor-insert-plugin.js",f:"js",require:function(){var n=require("./js/vendor/mediuminsert/medium-editor-insert-plugin.js"),e=require("./js/vendor/mediuminsert/handlebars.runtime.min.js");require("./js/vendor/mediuminsert/jquery-sortable-min.js"),n($,e)}},{src:"css/medium/medium-editor.css",f:"css"},{src:"css/medium/medium-editor-insert-plugin.css",f:"css"},{src:"css/medium/beagle.cs",f:"css"}],relationsSunc:!0},video:{uri:"video",href:"video",add:{el:"content"},anonimus:!0},system16:{uri:"system16",href:"system16",add:{el:"content"},anonimus:!0,relations:[{src:"js/vendor/highcharts.js",f:"js",require:function(){Highcharts=require("./js/vendor/highcharts.js")}},{src:"js/vendor/highcharts-more.js",f:"js"}],relationsSunc:!0},connection:{uri:"connection",href:"connection",add:{el:"content"},anonimus:!0},proxylogs:{uri:"proxylogs",href:"proxylogs",add:{el:"content"},relationsSunc:!0,relations:[{src:"js/vendor/highcharts.js",f:"js",require:function(){Highcharts=require("./js/vendor/highcharts.js")}},{src:"js/vendor/highcharts-more.js",f:"js"}],redirect:{auth:"authorization"}},help:{uri:"help",href:"help",add:{el:"content"},anonimus:!0},donations:{uri:"donations",href:"donations",add:{el:"content"}},faq:{uri:"faq",href:"faq",add:{el:"content"},anonimus:!0},embeding:{uri:"embeding",href:"embeding",add:function(n,e){return e.inWnd?{insert:"wnd"}:e.inTooltip?{insert:"tooltip"}:{el:"content"}}},userpage:{uri:"userpage",href:"userpage",add:{el:"content"},anonimus:!0},oldchat:{uri:"oldchat",href:"oldchat",add:{el:"content"},anonimus:!0,relations:[{src:"js/vendor/emojionearea.min.js",f:"js"},{src:"js/vendor/emojionearea.min.css",f:"css"}]},wallet:{uri:"wallet",href:"wallet",add:function(n,e){return e.inWnd?{insert:"wnd"}:e.inTooltip?{insert:"tooltip"}:{el:"content"}},relations:[{src:"js/vendor/chart.min.js",f:"js",require:function(){Chart=require("./js/vendor/Chart.js")}}],relationsSunc:!0},share:{uri:"share",href:"share",add:function(n,e){return e.inWnd?{insert:"wnd"}:{el:"content"}},relations:[{src:"js/vendor/exif.js",f:"js",require:function(){EXIF=require("./js/vendor/exif.js")}},{src:"js/vendor/Sortable.min.js",f:"js",require:function(){Sortable=require("sortablejs")}},{src:"js/vendor/emojionearea.min.js",f:"js",if:function(){return"undefined"==typeof _Electron||0==_Electron}},{src:"js/vendor/emojionearea.min.css",f:"css"}]},comments:{uri:"comments",href:"comments",add:{el:"content"},relations:[{src:"js/vendor/exif.js",f:"js",require:function(){EXIF=require("./js/vendor/exif.js")}},{src:"js/vendor/emojionearea.min.js",f:"js",if:function(){return"undefined"==typeof _Electron||0==_Electron}},{src:"js/vendor/emojionearea.min.css",f:"css"}],anonimus:!0},tube:{uri:"tube",href:"tube",add:{el:"content"}},lenta:{uri:"lenta",href:"lenta",add:{el:"content"},anonimus:!0},transactionview:{uri:"transactionview",href:"transactionview",add:{el:"content"},anonimus:!0},s:{uri:"s",href:"s",add:{el:"content"},anonimus:!0},send:{uri:"send",href:"send",add:{el:"content"},anonimus:!0},imageGalleryEdit:{uri:"imageGalleryEdit",href:"imagesEdit",add:function(n,e){return e.inWnd?{insert:"wnd"}:{el:"content"}},anonimus:!0},imagegallery:{uri:"imagegallery",href:"imagegallery",add:function(n,e){return e.inWnd?{insert:"wnd"}:{el:"content"}},anonimus:!0,relationsSunc:!0},aboutus:{uri:"aboutus",href:"aboutus",add:{el:"content"},anonimus:!0},menu:{uri:"menu",href:"menu",add:{el:"menu"},now:!0,anonimus:!0,renew:!0,reload:!0},toppanel:{uri:"toppanel",href:"toppanel",add:{el:"toppanel"},now:!0,anonimus:!0,renew:!0,reload:!0},navigation:{uri:"navigation",href:"navigation",add:{el:"navigation"},now:!0,renew:!0,anonimus:!0,reload:!0},footer:{uri:"footer",href:"footer",add:{el:"footer"},now:!0,anonimus:!0,reload:!0},support:{uri:"support",href:"support",add:{el:"content"},relations:[{src:"js/validation.js",f:"js"}],anonimus:!0,reload:!0},notifications:{uri:"notifications",href:"notifications",add:function(n,e){return e.inTooltip?{insert:"tooltip"}:{el:"content"}}},panel:{uri:"panel",href:"panel",add:function(n,e){return e.inWnd?{insert:"wnd"}:e.inTooltip?{insert:"tooltip"}:{el:"content"}},anonimus:!0},leftpanel:{uri:"leftpanel",href:"leftpanel",add:function(n,e){return e.inWnd?{insert:"wnd"}:e.inTooltip?{insert:"tooltip"}:{el:"content"}},anonimus:!0},discussions:{uri:"discussions",href:"discussions",add:function(n,e){return e.inWnd?{insert:"wnd"}:e.inTooltip?{insert:"tooltip"}:{el:"content"}}},authorization:{uri:"authorization",href:"authorization",add:function(n,e){return e.inWnd?{insert:"wnd"}:e.inTooltip?{insert:"tooltip"}:{el:"content"}},relations:[{src:"js/validation.js",f:"js"},{src:"js/vendor/qrscanner.js",f:"js"}],anonimus:!0},addaccount:{uri:"addaccount",href:"addaccount",add:function(n,e){return e.inWnd?{insert:"wnd"}:e.inTooltip?{insert:"tooltip"}:{el:"content"}},relations:[{src:"js/validation.js",f:"js"},{src:"js/vendor/qrscanner.js",f:"js"}]},complain:{uri:"complain",href:"complain",add:function(n,e){return e.inWnd?{insert:"wnd"}:{el:"content"}}},postscores:{uri:"postscores",href:"postscores",add:function(n,e){return e.inWnd?{insert:"wnd"}:e.inTooltip?{insert:"tooltip"}:{el:"content"}}},scheduler:{uri:"scheduler",href:"scheduler",add:function(n,e){return e.inWnd?{insert:"wnd"}:e.inTooltip?{insert:"tooltip"}:{el:"content"}}},surveyiframe:{uri:"surveyiframe",href:"surveyiframe",add:function(n,e){return e.inWnd?{insert:"wnd"}:e.inTooltip?{insert:"tooltip"}:{el:"content"}}},socialshare:{uri:"socialshare",href:"socialshare",add:function(n,e){return e.inWnd?{insert:"wnd"}:e.inTooltip?{insert:"tooltip"}:{el:"content"}},anonimus:!0,relations:[{src:"js/vendor/SocialShare.min.js",f:"js"}]},socialshare2:{uri:"socialshare2",href:"socialshare2",add:function(n,e){return e.inWnd?{insert:"wnd"}:e.inTooltip?{insert:"tooltip"}:{el:"content"}},anonimus:!0,relations:[{src:"js/vendor/SocialShare.min.js",f:"js"}]},main:{uri:"main",href:"index",add:{el:"content"},anonimus:!0},author:{uri:"author",href:"author",add:{el:"content"},anonimus:!0},channel:{uri:"channel",href:"channel",add:{el:"content"},anonimus:!0},post:{uri:"post",href:"post",add:function(n,e){return e.inWnd?{insert:"wnd"}:e.inTooltip?{insert:"tooltip"}:{el:"content"}},anonimus:!0},userslist:{uri:"userslist",href:"userslist",add:function(n,e){return e.inWnd?{insert:"wnd"}:e.inTooltip?{insert:"tooltip"}:{el:"content"}},anonimus:!0},ustate:{uri:"ustate",href:"ustate",add:function(n,e){return e.inTooltip?{insert:"tooltip"}:{el:"content"}},relations:[{src:"js/vendor/chart.min.js",f:"js",require:function(){Chart=require("./js/vendor/Chart.js")}}]},dust:{uri:"dust",href:"dust",add:function(n,e){return e.inWnd?{insert:"wnd"}:e.inTooltip?{insert:"tooltip"}:{el:"content"}},relations:[{src:"js/validation.js",f:"js"}]}},"undefined"!=typeof module&&(module.exports=__map);
/*_____*/
if("undefined"==typeof _OpenApi&&(_OpenApi=!1),"undefined"!=typeof _Electron&&_Electron){imagesLoaded=require("imagesloaded"),emojione=require("emojione");var Isotope=require("isotope-layout");require("isotope-packery");var jquerytextcomplete=require("jquery-textcomplete");animateNumber=require("./js/vendor/jquery.animate-number.js"),touchSwipe=require("./js/vendor/jquery.touchSwipe.js"),MessageStorage=require("./js/vendor/rtc/db.js"),RTCMultiConnection=require("./js/vendor/rtc/RTCMultiConnection.js"),io=require("./js/vendor/rtc/socket.io.js"),MediumEditor=require("medium-editor").MediumEditor,jQueryBridget=require("jquery-bridget"),jQueryBridget("isotope",Isotope,$),jQueryBridget("textcomplete",jquerytextcomplete,$),Mark=require("./js/vendor/jquery.mark.js"),emojionearea=require("./js/vendor/emojionearea.js"),filterXss=require("./js/vendor/xss.min.js");const a=require("electron-context-menu");a({showSearchWithGoogle:!1,showCopyImageAddress:!0,showSaveImageAs:!0})}"undefined"==typeof _Node&&(_Node=!1),chrsz=8,Application=function(e){e=e||{};var n=this,o=null,t="pocketnet.app";function r(){_.each(n.map,function(e,o){e.id=o})}function i(){n.settings=new settingsLocalstorage(n),n.nav=new Nav(n),n.ajax=new AJAX(n.options),n.user=new User(n),n.ajax.set.user(n.user),n.platform=new Platform(n,n.options.listofnodes),n.options.platform=n.platform,n.ref&&n.platform.sdk.users.addressByName(n.ref,function(e){e&&(n.ref=e,localStorage.ref=n.ref)}),n.nav.dynamic=function(e,o){n.platform.sdk.users.addressByName(e.href,function(e){e?o&&o(null,{id:"author",extra:{address:e}}):o&&o("notfound")})}}window.testpocketnet&&(t="test.pocketnet.app",n.test=!0),n.options={url:t,matrix:e.matrix,nav:{navPrefix:window.pocketnetpublicpath||"/pocketnet"},name:"PCRB",fullName:"pocketnet",localStoragePrefix:"pocketnet",server:e.server||"https://"+t+"/Shop/AJAXMain.aspx",firebase:e.firebase||"https://"+t+":8888",imageServer:e.imageServer||"https://api.imgur.com/3/",imageStorage:"https://api.imgur.com/3/images/",imageServerup1:e.imageServerup1||"https://"+t+":8092/up",rtc:e.rtc||"https://"+t+":9001/",rtcws:e.rtcws||"wss://"+t+":9090",rtchttp:e.rtchttp||"https://"+t+":9091",listofnodes:e.listofnodes||null,listofproxies:e.listofproxies||null,unathorizated:function(o){n.user.isState(function(e){e&&(n.user.signout(),n.reload({href:"authorization"}),o||dialog({html:n.localization.e("id189_1"),class:"accepting one",btn1text:"Okay",btn2text:n.localization.e("dcancel")}))})},successHandler:function(e){var o={},t=!1;e.rpc&&(o.proxy=!0,o.node=!0,o.offline=!0),e.api&&(o.proxy=!0,o.offline=!0),e.apim&&(o.proxymain=!0,o.offline=!0),e.online&&(o.offline=!0),o.offline=!0,_.each(o,function(e,o){n.errors.state[o]&&(delete n.errors.state[o],t=!0)}),t&&_.each(n.errors.clbks,function(e){e(n.errors.state)})},errorHandler:function(e,o){return e?"fail"==e&&(e=""):((o.rpc||o.api)&&(e="proxy"),o.apim&&(e="proxymain")),"proxy"!=e&&"proxymain"!=e||!n.platform||n.platform.online||(e="offline"),n.app.api.changeProxyIfNeed(),e&&!n.errors.state[e]&&(n.errors.state[e]=!0,_.each(n.errors.clbks,function(e){e(n.errors.state)})),e}},n.errors={clear:function(){this.state={},n.platform.loadingWithErrors=!1,n.errors.autocheck(!1)},state:{},clbks:{_modules:function(o){n.errors.connection()||n.platform.loadingWithErrors||_.each(n.modules,function(e){_.each(e.module.iclbks,function(e){e(o)})})},check:function(){n.errors.connection()?n.errors.autocheck(!0):n.errors.autocheck(!1)}},_autocheck:null,autocheck:function(e){e?n.platform&&this.connection()&&(n.errors._autocheck||(n.errors._autocheck=setInterval(function(){n.platform.focus&&n.errors.check()},5e3))):n.errors._autocheck&&(clearInterval(n.errors._autocheck),n.errors._autocheck=null)},check:function(e){(n.errors.state.node||n.errors.state.proxy)&&n.platform.sdk.node.get.time(function(e,o){}),n.errors.state.proxymain&&n.platform.sdk.proxy.info(function(e,o){},!0)},connection:function(){return this.state.node||this.state.proxy||this.state.offline},connectionRs:function(){return(this.state.node||this.state.proxy||this.state.offline)&&!n.platform.loadingWithErrors}},n.apiHandlers={success:function(e){var o={},t=!1;e.rpc&&(o.proxy=!0,o.node=!0),e.api&&(o.proxy=!0),o.offline=!0,_.each(o,function(e,o){n.errors.state[o]&&(delete n.errors.state[o],t=!0)}),t&&_.each(n.errors.clbks,function(e){e(n.errors.state)})},error:function(e){var o=null;return e.rpc&&(o="node"),(o="proxy"==(o=e.api?"proxy":o)&&n.platform&&!n.platform.online?"offline":o)&&!n.errors.state[o]&&(n.errors.state[o]=!0,_.each(n.errors.clbks,function(e){e(n.errors.state)})),o}},n.el={},n.id=makeid(),n.map=__map,n.modules={},n.curation=function(){return!("undefined"==typeof isios||!isios())},n.relations={},n.backmap={index:{href:"index",childrens:["author","chat","s","share","userpage"]},s:{href:"s",childrens:["author","chat","s","share","userpage"]},author:{href:"author",childrens:["author","s","chat","share","userpage"]},userpage:{href:"userpage",childrens:["userpage","share","author","post","authorization","registration"]}},n.curation()&&delete n.backmap.index,n.options.backmap=n.backMap,"undefined"!=typeof window&&(n.options.address=window.location.protocol+"//"+window.location.host),n.preapi=function(){n.preapied||(n.api=new Api(n),n.api.initIf(),n.localization=new Localization(n),n.localization.init(),n.preapied=!0)},n.module=function(e){var o=deep(n,"map."+e+".id"),e=null;return o?deep(n,"modules."+o+".module")||null:e},n.initTest=function(e,o){"undefined"==typeof localStorage&&(localStorage={}),r(),i(),n.platform.nodeid=0,n.user.setKeysPair(n.user.keysFromMnemo(e)),n.user.isState(function(e){n.localization.init(function(){n.platform.prepare(function(){o&&o(e)})})})},n.initTestFromPrivate=function(e,o){"undefined"==typeof localStorage&&(localStorage={}),r(),i(),n.platform.nodeid=0,n.user.setKeysPairFromPrivate(e),n.user.isState(function(e){n.localization.init(function(){n.platform.prepare(function(){o&&o(e)})})})},n.showuikeysfirstloading=function(){n.user.isState(function(e){e&&n.platform.sdk.address.pnet()&&(n.user.usePeertube=!!n.platform.sdk.usersettings.meta.enablePeertube&&n.platform.sdk.usersettings.meta.enablePeertube.value,n.platform.sdk.registrations.showprivate()&&n.platform.ui.showmykey())})},n.init=function(e){navigator.webdriver||("undefined"==typeof localStorage&&(localStorage={}),(e=e||{}).nav||(e.nav={}),e.nav.clbk||(e.nav.clbk=n.initClbk||null),r(),n.options.fingerPrint=hexEncode("fakefingerprint"),n.localization.init(function(){i(),lazyActions([n.platform.prepare],function(){n.realtime(),"undefined"!=typeof hideSplashScreen?hideSplashScreen():$("#splashScreen").remove(),n.nav.init(e.nav),e.clbk&&e.clbk(),_OpenApi||n.showuikeysfirstloading()})}))},n.reload=function(o){(o=o||{}).nav||(o.nav={}),void 0===o.nav.reload&&(o.nav.reload=!0),o.href&&(o.nav.href=o.href),o.current&&(o.nav.href=n.nav.get.href()),"undefined"!=typeof _Electron&&_Electron&&(o.nav.href="index"),n.destroyModules(),n.user.isState(function(e){o.nav.clbk=o.clbk,"function"==typeof o.nav.href&&(o.nav.href=o.nav.href()),n.nav.init(o.nav)})},n.reloadModules=function(o){n.destroyModules(),n.user.isState(function(){var e=_.filter(n.map,function(e,o){if((o=n.modules[o])&&o.module.inited&&o.module.authclbk&&o.module.authclbk(),o&&o.module.inited&&o.module.restart&&e.reload&&o.module.restart(),o&&e.now)return o.module.restart(),!0});n.nav.api.ini(function(){o&&o()},e)})},n.reloadLight=function(o){n.user.isState(function(e){n.reloadModules(function(){o&&o()})})},n.deviceReadyInit=function(e){n.el={content:$("#content"),app:$("#application"),header:$("#headerWrapper"),menu:$("#menuWrapper"),toppanel:$("#panelWrapper"),navigation:$("#navigationWrapper"),footer:$("#footerWrapper"),chats:$(".chats"),html:$("html"),window:$(window)},n.test&&$("html").addClass("testpocketnet"),void 0!==window.cordova?document.addEventListener("deviceready",function(){window.screen.orientation.lock("portrait"),(e=e||{}).clbk=function(){navigator.splashscreen.hide()},n.init(e)},!1):n.init(e)},n.destroyModules=function(){_.each(n.modules,function(e){e.module.inited&&e.module.destroy&&e.module.destroy()})},n.stopModules=function(){_.each(n.modules,function(e){e.module.inited&&e.module.stop()})},n.destroy=function(){n.destroyModules(),n.modules={},n.ajax=null,n.nav=null},n.renewModules=function(e){},n.logger=function(e,o){},n.scrollRemoved=!1,n.actions={up:function(e,o,t){_scrollTop(e,o,t)},wscroll:function(){$(window).scrollTop(0)},offScroll:function(e){return!n.scrollRemoved&&(n.scrollRemoved=!0,$("html").addClass("nooverflow"),!0)},onScroll:function(){$("html").removeClass("nooverflow"),n.scrollRemoved=!1},scrollBMenu:function(){if(isMobile()){var e=$("#toppanel").height();if(0<e)return $(window).scrollTop(e),!0}}},n.loadModules=function(e){lazyEach({array:e.modules,action:function(e){n.nav.p.open({nohistory:!0,load:!0,uri:e.item,success:e.success,psname:!0})},each:{after:e.after},all:{success:function(){e.success(e.modules)}}})},n.scrolling={clbks:{}},n.name=n.options.name,n.reltime=function(e){return(e=convertDateRel(e))[0]&&(e[0]=n.localization.e(e[0],e[2]),e[2]=""),(e=_.filter(e,function(e){return e})).join(" ")},n.realtime=function(){o&&clearInterval(o),o=setInterval(function(){$(".realtime").each(function(){var e=$(this),o=e.attr("time"),t=e.attr("utc"),r=t&&"true"==t?n.platform.convertUTCSSrel(o):n.reltime(new Date(o));e.html(r)})},3e4)},n.ref=null;try{n.ref=localStorage.ref||parameters().ref}catch(e){}return n.options.device=localStorage.device||makeid(),localStorage.device=n.options.device,"undefined"!=typeof window&&(n.fref=deep(window,"location.href")),n},topPreloader(85),"undefined"!=typeof module&&(module.exports=Application);
/*_____*/
var _listofproxies,matrix;"undefined"==typeof _Node&&(_Node=!1),"undefined"==typeof _OpenApi&&(_OpenApi=!1),"undefined"==typeof _SEO&&(_SEO=!1),_Node||(_listofproxies=[{host:"pocketnet.app",port:8899,wss:8099},{host:"1.pocketnet.app",port:8899,wss:8099}],matrix="matrix.pocketnet.app",window.testpocketnet&&(_listofproxies=[{host:"test.pocketnet.app",port:8899,wss:8099}],matrix="test.matrix.pocketnet.app"),app=new Application({listofproxies:_listofproxies,matrix:matrix}),app.preapi(),retry(function(){return window.pocketnetVendorLoaded&&window.pocketnetJoinLoaded||window.design},function(){app.deviceReadyInit({clbk:function(){if(_OpenApi){var e=parameters(),t=$("#content"),p=e.action||"",o=e.id||"",i=e.ids||"",a={};try{a=JSON.parse(hexDecode(e.embeddingSettigns||"7B7D"))}catch(e){}a.black&&$("html").addClass("stblack"),a.ref&&(app.ref=a.ref,$(".openapipromolink").each(function(){var e=$(this).attr("href");e+="?ref="+app.ref,$(this).attr("href",e)})),a.openapi=!0,app.platform.papi[p]&&(o||i)&&app.platform.papi[p](o||i.split(","),t,null,a)}}})}),window.POCKETNETINSTANCE=app),topPreloader(100);</script><script async join src="js/join.min.js?v=920413099060"></script><script async join src="js/joinlast.min.js?v=191857500453"></script>
<link rel="stylesheet" href="css/fontawesome/css/all.css">
<script src="js/pwa-service-worker.js?v=993043392733v0.2.37"></script>
</body>
</html>