var _$_9938=["\x23\x69\x6E\x70\x75\x74\x5F\x6F\x75\x74\x70\x75\x74","\x74\x61\x5F\x65\x78\x61\x6D\x70\x6C\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","\x57\x61\x74\x65\x72\x6D\x65\x6C\x6F\x6E\x0A\x4B\x61\x6C\x65\x0A\x41\x70\x70\x6C\x65\x0A\x4C\x65\x74\x74\x75\x63\x65\x0A\x43\x68\x65\x72\x72\x79\x0A\x47\x72\x61\x70\x65\x0A\x4D\x61\x6E\x67\x6F\x0A\x53\x74\x72\x61\x77\x62\x65\x72\x72\x79\x0A\x50\x69\x6E\x65\x61\x70\x70\x6C\x65\x0A\x4F\x72\x61\x6E\x67\x65\x0A\x42\x6C\x75\x65\x62\x65\x72\x72\x79\x0A\x44\x65\x77\x62\x65\x72\x72\x79\x0A\x4E\x75\x74\x6D\x65\x67\x0A\x52\x61\x64\x69\x73\x68\x0A\x48\x6F\x72\x73\x65\x72\x61\x64\x69\x73\x68\x0A\x54\x6F\x6D\x61\x74\x6F\x0A\x45\x67\x67\x70\x6C\x61\x6E\x74\x0A\x5A\x75\x63\x63\x68\x69\x6E\x69","\x0A","\x23\x73\x65\x74\x74\x69\x6E\x67\x73","\x53\x6F\x72\x74\x65\x64\x20\x61\x6C\x70\x68\x61\x62\x65\x74\x69\x63\x61\x6C\x6C\x79\x20\x28\x41\x2D\x5A\x29","\x63\x68\x65\x63\x6B\x65\x64","\x23\x63\x61\x73\x65\x53\x65\x6E","\x53\x6F\x72\x74\x65\x64\x20\x61\x6C\x70\x68\x61\x62\x65\x74\x69\x63\x61\x6C\x6C\x79\x20\x28\x5A\x2D\x41\x29","\x53\x6F\x72\x74\x65\x64\x20\x6E\x61\x74\x75\x72\x61\x6C\x6C\x79\x20\x28\x41\x2D\x5A\x29","\x53\x6F\x72\x74\x65\x64\x20\x6E\x61\x74\x75\x72\x61\x6C\x6C\x79\x20\x28\x5A\x2D\x41\x29","\x53\x6F\x72\x74\x65\x64\x20\x62\x79\x20\x63\x68\x61\x72\x61\x63\x74\x65\x72\x20\x6C\x65\x6E\x67\x74\x68","\x52\x65\x76\x65\x72\x73\x65\x64","\x53\x68\x75\x66\x66\x6C\x65\x64","\x23\x73\x6F\x72\x74\x54\x65\x78\x74","\x63\x68\x61\x6E\x67\x65","\x2E\x73\x77\x69\x74\x63\x68","\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","\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=$(_$_9938[0]),examples=JSON.parse(localStorage.getItem(_$_9938[1]));function loadText(){var a=$(_$_9938[3])[_$_9938[2]](0).files[0],b= new FileReader;b.onload= function(a){var b=a.target.result;area.val(b)},b.readAsText(a,_$_9938[4])}function saveText(a,b){var c=navigator.userAgent.match(/MSIE\s([\d.]+)/),d=navigator.userAgent.match(/Trident\/7.0/)&& navigator.userAgent.match(/rv:11/),f=navigator.userAgent.match(/Edge/g),j=c?c[1]:d?11:f?12:-1;if(c&& j< 10){console.log(_$_9938[5])}else {b= (b= document.getElementById(_$_9938[7]).value).replace(/\r?\n/g,_$_9938[6]);var g= new Blob([b],{type:_$_9938[8]});if(_$_9938[9]!= (a= prompt(_$_9938[10],_$_9938[11])+ _$_9938[12])){if(j> -1){window.navigator.msSaveBlob(g,a)}else {var h=document.createElement(_$_9938[13]);h.download= a,h.href= window.URL.createObjectURL(g),h.onclick= function(a){document.body.removeChild(a.target)},h.style.display= _$_9938[14],document.body.appendChild(h),h.click()}}}}function printTextArea(){childWindow= window.open(_$_9938[15],_$_9938[16],_$_9938[17]),childWindow.document.open(),childWindow.document.write(_$_9938[18]),childWindow.document.write(document.getElementById(_$_9938[7]).value.replace(/\n/gi,_$_9938[19])),childWindow.document.write(_$_9938[20]),childWindow.print(),childWindow.document.close(),childWindow.close()}1== examples&& area.val(_$_9938[21]),$(_$_9938[33]).click(function(){Remember();var a,b=area.val().replace(/\r\n|\r|\n/gm,_$_9938[22]).split(_$_9938[22]),c=$(_$_9938[23]).val();if(1== c){a= _$_9938[24],b= 1== $(_$_9938[26]).prop(_$_9938[25])?b.sort():b.sort(function(a,b){return a.toLowerCase().localeCompare(b.toLowerCase())})}else {if(2== c){a= _$_9938[27],b= (b= 1== $(_$_9938[26]).prop(_$_9938[25])?b.sort():b.sort(function(a,b){return a.toLowerCase().localeCompare(b.toLowerCase())})).reverse()}else {if(3== c){a= _$_9938[28],1== $(_$_9938[26]).prop(_$_9938[25])?naturalSort.insensitive= !1:naturalSort.insensitive= !0,b= b.sort(naturalSort)}else {if(4== c){a= _$_9938[29],1== $(_$_9938[26]).prop(_$_9938[25])?naturalSort.insensitive= !1:naturalSort.insensitive= !0,b= (b= b.sort(naturalSort)).reverse()}else {if(5== c){a= _$_9938[30],b= b.sort(function(a,b){return a.length- b.length})}else {if(6== c){a= _$_9938[31],b= b.reverse()}else {if(7== c){a= _$_9938[32],function(a){for(var b=a.length- 1;b> 0;b--){var c=Math.floor(Math.random()* (b+ 1)),d=a[b];a[b]= a[c],a[c]= d}}(b)}}}}}}};b= b.join(_$_9938[22]),area.val(b),Toast(a),Remember()}),$(_$_9938[23]).on(_$_9938[34],function(){var a=$(_$_9938[23]).val();a>= 1&& a<= 4?$(_$_9938[35]).show():$(_$_9938[35]).hide()}),$(_$_9938[36]).click(function(){Clipboard(area)}),$(_$_9938[37]).click(function(){area.val(_$_9938[15]),Remember()}),$(_$_9938[3]).on(_$_9938[34],function(){loadText()}),$(_$_9938[38]).click(function(){saveText()}),$(_$_9938[39]).click(function(){printTextArea()}),$(_$_9938[40]).click(function(){var a=History.undo();void(0)!== a&& area.val(a)}),$(_$_9938[41]).click(function(){var a=History.redo();void(0)!== a&& area.val(a)}),$(_$_9938[42]).click(function(){Clipboard(area)}),$(_$_9938[43]).click(function(){area.select().focus()});var History=function(){var a=[],b=0;return {remember:function(c){a[b- 1]!== c&& (a.splice(b,10),a.push(c),a.splice(0,a.length- 10),b= a.length)},undo:function(){if(b> 1){return a[--b- 1]}},redo:function(){if(b< a.length){return a[b++]}}}}();function Remember(){var a=area.val();History.remember(a)}Remember()