var _$_1777=["\x23\x69\x6E\x70\x75\x74\x5F\x6F\x75\x74\x70\x75\x74","\x74\x61\x5F\x65\x78\x61\x6D\x70\x6C\x65\x73","\x53\x70\x61\x63\x65\x73\x20\x72\x65\x6D\x6F\x76\x65\x64\x3A\x20\x30","\x23\x69\x6E\x73\x74\x61\x6E\x63\x65\x73","\x67\x65\x74","\x23\x66\x69\x6C\x65\x5F\x75\x70\x6C\x6F\x61\x64","\x55\x54\x46\x2D\x38","\x4E\x6F\x20\x62\x6C\x6F\x62\x73\x20\x6F\x6E\x20\x49\x45\x20\x76\x65\x72\x3C\x31\x30","\x0D\x0A","\x69\x6E\x70\x75\x74\x5F\x6F\x75\x74\x70\x75\x74","\x74\x65\x78\x74\x2F\x70\x6C\x61\x69\x6E","\x6E\x75\x6C\x6C\x2E\x74\x78\x74","\x46\x69\x6C\x65\x20\x6E\x61\x6D\x65\x3A","\x4E\x65\x77\x20\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x2E\x74\x78\x74","\x61","\x6E\x6F\x6E\x65","","\x63\x68\x69\x6C\x64\x57\x69\x6E\x64\x6F\x77","\x6C\x6F\x63\x61\x74\x69\x6F\x6E\x3D\x79\x65\x73\x2C\x20\x6D\x65\x6E\x75\x62\x61\x72\x3D\x79\x65\x73\x2C\x20\x74\x6F\x6F\x6C\x62\x61\x72\x3D\x79\x65\x73","\x3C\x68\x74\x6D\x6C\x3E\x3C\x68\x65\x61\x64\x3E\x3C\x2F\x68\x65\x61\x64\x3E\x3C\x62\x6F\x64\x79\x3E","\x3C\x62\x72\x3E","\x3C\x2F\x62\x6F\x64\x79\x3E\x3C\x2F\x68\x74\x6D\x6C\x3E","\x20\x0A\x20\x0A\x20\x20\x09\x0A\x09\x09\x54\x68\x65\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x71\x75\x69\x63\x6B\x20\x62\x72\x6F\x77\x6E\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x66\x6F\x78\x20\x20\x20\x20\x20\x6A\x75\x6D\x70\x73\x20\x20\x20\x20\x6F\x76\x65\x72\x20\x20\x20\x20\x74\x68\x65\x20\x20\x20\x20\x20\x6C\x61\x7A\x79\x20\x20\x20\x20\x20\x20\x20\x64\x6F\x67\x2E\x20\x20\x09\x09\x20\x20\x20\x0A\x09\x20\x54\x68\x65\x20\x20\x20\x20\x71\x75\x69\x63\x6B\x20\x20\x20\x20\x20\x62\x72\x6F\x77\x6E\x20\x20\x20\x66\x6F\x78\x20\x20\x20\x20\x6A\x75\x6D\x70\x73\x20\x20\x20\x20\x20\x6F\x76\x65\x72\x20\x20\x20\x20\x74\x68\x65\x20\x6C\x61\x7A\x79\x20\x20\x20\x64\x6F\x67\x2E\x20\x09\x20\x20\x20\x0A\x09\x20\x20\x20\x20\x54\x68\x65\x20\x20\x20\x20\x71\x75\x69\x63\x6B\x20\x20\x20\x20\x20\x20\x62\x72\x6F\x77\x6E\x20\x20\x20\x20\x20\x20\x66\x6F\x78\x20\x20\x20\x20\x6A\x75\x6D\x70\x73\x20\x20\x20\x20\x6F\x76\x65\x72\x20\x20\x20\x20\x20\x20\x74\x68\x65\x20\x6C\x61\x7A\x79\x20\x20\x20\x20\x20\x20\x20\x64\x6F\x67\x2E\x20\x20\x20\x20\x09\x0A\x0A","\x23\x73\x65\x74\x74\x69\x6E\x67\x73","\x20","\x53\x70\x61\x63\x65\x73\x20\x72\x65\x6D\x6F\x76\x65\x64\x3A\x20","\x20\x73\x70\x61\x63\x65\x73\x20\x72\x65\x6D\x6F\x76\x65\x64","\x23\x72\x65\x6D\x6F\x76\x65\x53\x70\x61\x63\x65\x73","\x2E\x63\x6C\x69\x70\x62\x6F\x61\x72\x64","\x23\x63\x6C\x65\x61\x72\x41\x6C\x6C\x2C\x20\x23\x65\x64\x69\x74\x5F\x64\x65\x6C\x65\x74\x65\x2C\x20\x23\x66\x69\x6C\x65\x5F\x6E\x65\x77","\x63\x68\x61\x6E\x67\x65","\x23\x66\x69\x6C\x65\x5F\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x23\x66\x69\x6C\x65\x5F\x70\x72\x69\x6E\x74","\x23\x65\x64\x69\x74\x5F\x75\x6E\x64\x6F","\x23\x65\x64\x69\x74\x5F\x72\x65\x64\x6F","\x23\x65\x64\x69\x74\x5F\x63\x6F\x70\x79","\x23\x65\x64\x69\x74\x5F\x73\x65\x6C\x65\x63\x74"];var area=$(_$_1777[0]),examples=JSON.parse(localStorage.getItem(_$_1777[1]));function resetCount(){$(_$_1777[3]).html(_$_1777[2])}function loadText(){var b=$(_$_1777[5])[_$_1777[4]](0).files[0],f= new FileReader;f.onload= function(b){var f=b.target.result;area.val(f)},f.readAsText(b,_$_1777[6])}function saveText(b,f){var c=navigator.userAgent.match(/MSIE\s([\d.]+)/),d=navigator.userAgent.match(/Trident\/7.0/)&& navigator.userAgent.match(/rv:11/),a=navigator.userAgent.match(/Edge/g),j=c?c[1]:d?11:a?12:-1;if(c&& j< 10){console.log(_$_1777[7])}else {f= (f= document.getElementById(_$_1777[9]).value).replace(/\r?\n/g,_$_1777[8]);var g= new Blob([f],{type:_$_1777[10]});if(_$_1777[11]!= (b= prompt(_$_1777[12],_$_1777[13])+ _$_1777[14])){if(j> -1){window.navigator.msSaveBlob(g,b)}else {var h=document.createElement(_$_1777[15]);h.download= b,h.href= window.URL.createObjectURL(g),h.onclick= function(b){document.body.removeChild(b.target)},h.style.display= _$_1777[16],document.body.appendChild(h),h.click()}}}}function printTextArea(){childWindow= window.open(_$_1777[17],_$_1777[18],_$_1777[19]),childWindow.document.open(),childWindow.document.write(_$_1777[20]),childWindow.document.write(document.getElementById(_$_1777[9]).value.replace(/\n/gi,_$_1777[21])),childWindow.document.write(_$_1777[22]),childWindow.print(),childWindow.document.close(),childWindow.close()}1== examples&& area.val(_$_1777[23]),$(_$_1777[28]).click(function(){Remember();var b=area.val(),f=$(_$_1777[24]).val(),c=b.match(/[^\S\r\n]/gm);c= null== c?0:c.length,1== f?b= b.trim():2== f?b= b.replace(/^[^\S\r\n]+/gm,_$_1777[17]):3== f?b= b.replace(/[^\S\r\n]+$/gm,_$_1777[17]):4== f?b= b.replace(/[^\S\r\n]+/gm,_$_1777[25]):5== f&& (b= (b= (b= (b= b.trim()).replace(/^[^\S\r\n]+/gm,_$_1777[17])).replace(/[^\S\r\n]+$/gm,_$_1777[17])).replace(/[^\S\r\n]+/gm,_$_1777[25]));var d=b.match(/[^\S\r\n]/gm),a=c- (d= null== d?0:d.length);area.val(b),$(_$_1777[3]).html(_$_1777[26]+ a),Toast(a+ _$_1777[27]),Remember()}),$(_$_1777[29]).click(function(){Clipboard(area)}),$(_$_1777[30]).click(function(){area.val(_$_1777[17]),resetCount(),Remember()}),$(_$_1777[5]).on(_$_1777[31],function(){loadText(),resetCount()}),$(_$_1777[32]).click(function(){saveText()}),$(_$_1777[33]).click(function(){printTextArea()}),$(_$_1777[34]).click(function(){var b=History.undo();void(0)!== b&& area.val(b),resetCount()}),$(_$_1777[35]).click(function(){var b=History.redo();void(0)!== b&& area.val(b),resetCount()}),$(_$_1777[36]).click(function(){Clipboard(area)}),$(_$_1777[37]).click(function(){area.select().focus()});var History=function(){var b=[],f=0;return {remember:function(c){b[f- 1]!== c&& (b.splice(f,10),b.push(c),b.splice(0,b.length- 10),f= b.length)},undo:function(){if(f> 1){return b[--f- 1]}},redo:function(){if(f< b.length){return b[f++]}}}}();function Remember(){var b=area.val();History.remember(b)}Remember()