(self.webpackChunkrotor=self.webpackChunkrotor||[]).push([[800],{198:()=>{var e;$((function(){var e=$("html").attr("lang");translate=window["translate_"+e],prettyPrint(),bootbox.setDefaults({locale:"ru"}),toastr.options={toastClass:"toastr",progressBar:!0,positionClass:"toast-top-full-width"},$(".markItUp").markItUp(mySettings).on("input",(function(){var e=$(this).attr("maxlength"),t=$(this).val().replace(/(\r\n|\n|\r)/g,"\r\n").length,a=$(".js-textarea-counter");t>e?a.addClass("text-danger"):a.removeClass("text-danger"),a.text(translate.characters_left+": "+(e-t)),0===t&&a.empty()})),$(".markItUpHtml").markItUp(myHtmlSettings),$('[data-toggle="tooltip"]').tooltip(),$('[data-toggle="popover"]').popover(),$("body").on("click",(function(e){"popover"!==$(e.target).data("toggle")&&0===$(e.target).parents(".popover.in").length&&$('[data-toggle="popover"]').popover("hide")})),$(".spoiler-title").on("click",(function(){var e=$(this).parent();e.toggleClass("spoiler-open"),e.find(".spoiler-text:first").slideToggle()})),$(".news-title").on("click",(function(){$(this).toggleClass("fa-rotate-180"),$(this).nextAll(".news-text:first").slideToggle()})),$("a.gallery").colorbox({maxWidth:"100%",maxHeight:"100%",onComplete:function(){$(this).colorbox.resize()}}).colorbox({rel:function(){return $(this).data("group")},current:translate.photo_count}),$(window).resize((function(){$.colorbox.resize()})),$(".colorpick").colorpicker({useAlpha:!1,format:"hex"}),$(".carousel").carousel({interval:!1}),$(".phone").mask("0 000 000-00-00-00"),$(".birthday").mask("00.00.0000"),$(window).scroll((function(){$(this).scrollTop()>200?$(".scrollup").fadeIn():$(".scrollup").fadeOut()})),$(".scrollup").click((function(){return $("html, body").animate({scrollTop:0},600),!1})),$(".js-messages-block").on("show.bs.dropdown",(function(){getNewMessages()}))})),notification=function(e,t,a,n){return toastr[e](a,t,n)},showAttachForm=function(){return $(".js-attach-button").hide(),$(".js-attach-form").slideDown(),!1},postJump=function(){$("html, body").animate({scrollTop:$(".section-form").offset().top},500)},postReply=function(e){postJump();var t=$(".markItUpEditor"),a=$(e).closest(".section").find(".section-author").data("login"),n=t.val().slice(t.val().length-1),i=-1!==$.inArray(n,["","\n"])?"":"\n";return t.focus().val(t.val()+i+a+", "),!1},postQuote=function(e){postJump();var t=$(".markItUpEditor"),a=$(e).closest(".section"),n=a.find(".section-author").data("login"),i=a.find(".section-date").text(),s=a.find(".section-message").clone(),r=$.trim(s.find("blockquote").remove().end().text()),o=t.val().slice(t.val().length-1),l=-1!==$.inArray(o,["","\n"])?"":"\n";return r?(t.focus().val(t.val()+l+"[quote="+n+" "+i+"]"+r+"[/quote]\n"),!1):(t.focus().val(t.val()+l+n+", "),!1)},logout=function(e){return bootbox.confirm(translate.confirm_logout,(function(t){t&&(window.location=$(e).attr("href"))})),!1},sendComplaint=function(e){return bootbox.confirm(translate.confirm_complain_submit,(function(t){t&&$.ajax({data:{id:$(e).data("id"),type:$(e).data("type"),page:$(e).data("page"),token:$(e).data("token")},dataType:"json",type:"post",url:"/ajax/complaint",success:function(t){if($(e).replaceWith('<i class="fa fa-bell-slash text-muted"></i>'),"error"===t.status)return notification("error",t.message),!1;"success"===t.status&¬ification("success",translate.complain_submitted)}})})),!1},bookmark=function(e){return $.ajax({data:{tid:$(e).data("tid"),token:$(e).data("token")},dataType:"json",type:"post",url:"/forums/bookmarks/perform",success:function(t){if("error"===t.status)return notification("error",t.message),!1;"added"===t.status&&(notification("success",t.message),$(e).text($(e).data("from"))),"deleted"===t.status&&(notification("success",t.message),$(e).text($(e).data("to")))}}),!1},deletePost=function(e){return $.ajax({data:{tid:$(e).data("tid"),token:$(e).data("token")},dataType:"json",type:"post",url:"/forums/active/delete",success:function(t){if("error"===t.status)return notification("error",t.message),!1;"success"===t.status&&(notification("success",translate.message_deleted),$(e).closest(".section").hide("slow"))}}),!1},deleteComment=function(e){return bootbox.confirm(translate.confirm_message_delete,(function(t){t&&$.ajax({data:{id:$(e).data("id"),rid:$(e).data("rid"),type:$(e).data("type"),token:$(e).data("token")},dataType:"json",type:"post",url:"/ajax/delcomment",success:function(t){if("error"===t.status)return notification("error",t.message),!1;"success"===t.status&&(notification("success",translate.message_deleted),$(e).closest(".section").hide("slow"))}})})),!1},changeRating=function(e){return $.ajax({data:{id:$(e).data("id"),type:$(e).data("type"),vote:$(e).data("vote"),token:$(e).data("token")},dataType:"json",type:"post",url:"/ajax/rating",success:function(t){if("error"===t.status)return!1;"success"===t.status&&(rating=$(e).closest(".js-rating").find("b"),$(e).closest(".js-rating").find("a").removeClass("active"),t.cancel||$(e).addClass("active"),rating.html($(t.rating)))}}),!1},deleteRating=function(e){return bootbox.confirm(translate.confirm_message_delete,(function(t){t&&$.ajax({data:{id:$(e).data("id"),token:$(e).data("token")},dataType:"json",type:"post",url:"/ratings/delete",success:function(t){if("error"===t.status)return notification("error",t.message),!1;"success"===t.status&&(notification("success",translate.record_deleted),$(e).closest(".section").hide("slow"))}})})),!1},deleteSpam=function(e){return $.ajax({data:{id:$(e).data("id"),token:$(e).data("token")},dataType:"json",type:"post",url:"/admin/spam/delete",success:function(t){if("error"===t.status)return notification("error",t.message),!1;"success"===t.status&&(notification("success",translate.record_deleted),$(e).closest(".section").hide("slow"))}}),!1},deleteWall=function(e){return bootbox.confirm(translate.confirm_message_delete,(function(t){t&&$.ajax({data:{id:$(e).data("id"),login:$(e).data("login"),token:$(e).data("token")},dataType:"json",type:"post",url:"/walls/"+$(e).data("login")+"/delete",success:function(t){if("error"===t.status)return notification("error",t.message),!1;"success"===t.status&&(notification("success",translate.record_deleted),$(e).closest(".section").hide("slow"))}})})),!1},showVoteForm=function(){return $(".js-vote-form").toggle(),!1},copyToClipboard=function(e){var t=$(e).closest(".input-group");return t.find("input").select(),t.find(".input-group-append").attr("data-original-title",translate.copied).tooltip("update").tooltip("show"),document.execCommand("copy"),!1},submitImage=function(e,t){var a=new FormData;return a.append("image",e.files[0]),a.append("id",$(e).data("id")),a.append("type",$(e).data("type")),a.append("token",$(e).data("token")),$.ajax({data:a,type:"post",contentType:!1,processData:!1,dataType:"json",url:"/ajax/image/upload",beforeSend:function(){$(".js-images").append('<i class="fas fa-spinner fa-spin fa-3x mx-3"></i>')},complete:function(){$(".fa-spinner").remove()},success:function(e){if("error"===e.status)return notification("error",e.message),!1;if("success"===e.status){var a=$(".js-image-template").clone();a.find("img").attr({src:e.path,"data-source":e.source}),a.find("a").attr("data-id",e.id),$(".js-images").append(a.html()),t&&pasteImage(a.find("img"))}}}),!1},pasteImage=function(e){var t=$(".markItUpEditor"),a=t[0].selectionStart,n=t.val(),i="[img]"+$(e).data("source")+"[/img]";t.focus().val(n.substring(0,a)+i+n.substring(a))},deleteImage=function(e){return $.ajax({data:{id:$(e).data("id"),type:$(e).data("type"),token:$(e).data("token")},dataType:"json",type:"post",url:"/ajax/image/delete",success:function(t){if("error"===t.status)return notification("error",t.message),!1;"success"===t.status&&$(e).closest(".js-image").hide("fast")}}),!1},resendingCode=function(){return $(".js-resending-link").hide(),$(".js-resending-form").show(),!1},showQueries=function(){$(".js-queries").slideToggle()},getNewMessages=function(){return $.ajax({dataType:"json",type:"get",url:"/messages/new",beforeSend:function(){$(".js-messages").append('<li class="js-message-spin text-center"><i class="fas fa-spinner fa-spin fa-2x my-2"></i></li>')},complete:function(){$(".js-message-spin").remove()},success:function(e){if("error"===e.status)return!1;"success"===e.status&&$(".js-messages-block").find(".js-messages").empty().append(e.messages)}}),!1},checkLogin=function(t){var a=$(t).closest(".form-group").find(".invalid-feedback");return $(t).val().length<3?($(t).removeClass("is-valid is-invalid"),a.empty(),!1):(clearTimeout(e),e=setTimeout((function(){$.ajax({data:{login:$(t).val()},dataType:"json",type:"post",url:"/check-login",success:function(e){"success"===e.status&&($(t).removeClass("is-invalid").addClass("is-valid"),a.empty()),"error"===e.status&&($(t).removeClass("is-valid").addClass("is-invalid"),a.text(e.message))}})}),1e3),!1)}},138:()=>{var e=$("html").attr("lang"),t=window["translate_"+e];mySettings={previewParserPath:"/ajax/bbcode",previewAutoRefresh:!1,onTab:{keepDefault:!1,openWith:" "},markupSet:[{title:t.editor.bold,name:'<i class="fa fa-bold"></i>',className:"bb-bold",key:"B",openWith:"[b]",closeWith:"[/b]"},{title:t.editor.italic,name:'<i class="fa fa-italic"></i>',className:"bb-italic",key:"I",openWith:"[i]",closeWith:"[/i]"},{title:t.editor.underline,name:'<i class="fa fa-underline"></i>',className:"bb-underline",key:"U",openWith:"[u]",closeWith:"[/u]"},{title:t.editor.strike,name:'<i class="fa fa-strikethrough"></i>',className:"bb-strike",key:"S",openWith:"[s]",closeWith:"[/s]"},{separator:"---------------"},{title:t.editor.link,name:'<i class="fa fa-link"></i>',className:"bb-link",key:"L",openWith:"[url=[!["+t.editor.link+":!:http://]!]]",closeWith:"[/url]",placeHolder:t.editor.link_text},{title:t.editor.image,name:'<i class="fa fa-image"></i>',className:"bb-image",openWith:"[img][!["+t.editor.image_text+":!:http://]!]",closeWith:"[/img]"},{title:t.editor.video,name:'<i class="fab fa-youtube"></i>',className:"bb-youtube",openWith:"[youtube][!["+t.editor.video_link+"]!]",closeWith:"[/youtube]"},{title:t.editor.color,name:'<i class="fa fa-th"></i>',className:"bb-color",openWith:"[color=[!["+t.editor.color_code+"]!]]",closeWith:"[/color]",dropMenu:[{name:"Yellow",openWith:"[color=#ffd700]",closeWith:"[/color]",className:"col1-1"},{name:"Orange",openWith:"[color=#ffa500]",closeWith:"[/color]",className:"col1-2"},{name:"Red",openWith:"[color=#ff0000]",closeWith:"[/color]",className:"col1-3"},{name:"Blue",openWith:"[color=#0000ff]",closeWith:"[/color]",className:"col2-1"},{name:"Purple",openWith:"[color=#800080]",closeWith:"[/color]",className:"col2-2"},{name:"Green",openWith:"[color=#00cc00]",closeWith:"[/color]",className:"col2-3"},{name:"Magenta",openWith:"[color=#ff00ff]",closeWith:"[/color]",className:"col3-1"},{name:"Gray",openWith:"[color=#808080]",closeWith:"[/color]",className:"col3-2"},{name:"Cyan",openWith:"[color=#00ffff]",closeWith:"[/color]",className:"col3-3"}]},{separator:"---------------"},{title:t.editor.font_size,name:'<i class="fa fa-font"></i>',className:"bb-size",openWith:"[size=[!["+t.editor.font_text+"]!]]",closeWith:"[/size]",dropMenu:[{name:"x-small",openWith:"[size=1]",closeWith:"[/size]"},{name:"small",openWith:"[size=2]",closeWith:"[/size]"},{name:"medium",openWith:"[size=3]",closeWith:"[/size]"},{name:"large",openWith:"[size=4]",closeWith:"[/size]"},{name:"x-large",openWith:"[size=5]",closeWith:"[/size]"}]},{title:t.editor.center,name:'<i class="fa fa-align-center"></i>',className:"bb-center",openWith:"[center]",closeWith:"[/center]"},{title:t.editor.spoiler,name:'<i class="fa fa-plus-square"></i>',className:"bb-spoiler",openWith:"[spoiler=[!["+t.editor.spoiler_title+"]!]]",closeWith:"[/spoiler]",placeHolder:t.editor.spoiler_text},{separator:"---------------"},{title:t.editor.hide,name:'<i class="fa fa-eye-slash"></i>',className:"bb-hide",openWith:"[hide]",closeWith:"[/hide]"},{title:t.editor.quote,name:'<i class="fa fa-quote-right"></i>',className:"bb-quote",openWith:"[quote]",closeWith:"[/quote]"},{title:t.editor.code,name:'<i class="fa fa-code"></i>',className:"bb-code",openWith:"[code]",closeWith:"[/code]"},{separator:"---------------"},{title:t.editor.unorderedlist,name:'<i class="fa fa-list-ul"></i>',className:"bb-unorderedlist",multiline:!0,openBlockWith:"[list]\n",closeBlockWith:"\n[/list]",placeHolder:t.editor.list_text},{title:t.editor.orderedlist,name:'<i class="fa fa-list-ol"></i>',className:"bb-orderedlist",multiline:!0,openBlockWith:"[list=1]\n",closeBlockWith:"\n[/list]",placeHolder:t.editor.list_text},{separator:"---------------"},{title:t.editor.clean,name:'<i class="fa fa-eraser"></i>',className:"bb-clean",replaceWith:function(e){return e.selection.replace(/\[(.*?)\]/g,"")}},{title:t.editor.sticker,name:'<i class="fa fa-smile"></i>',className:"bb-sticker",openWith:" :) ",dropMenu:[{name:":)",openWith:" :) ",className:"col1-1"},{name:":(",openWith:" :( ",className:"col1-2"},{name:":E",openWith:" :E ",className:"col1-3"},{name:":D",openWith:" :D ",className:"col1-4"},{name:":no",openWith:" :no ",className:"col1-5"},{name:":hello",openWith:" :hello ",className:"col2-1"},{name:":cry",openWith:" :cry ",className:"col2-2"},{name:":obana",openWith:" :obana ",className:"col2-3"},{name:":hi",openWith:" :hi ",className:"col2-4"},{name:":oy",openWith:" :oy ",className:"col2-5"},{name:":infat",openWith:" :infat ",className:"col3-1"},{name:":klass",openWith:" :klass ",className:"col3-2"},{name:":krut",openWith:" :krut ",className:"col3-3"},{name:":aaa",openWith:" :aaa ",className:"col3-4"},{name:":zlo",openWith:" :zlo ",className:"col3-5"},{name:":blum",openWith:" :blum ",className:"col4-1"},{name:":baby",openWith:" :baby ",className:"col4-2"},{name:":read",openWith:" :read ",className:"col4-3"},{name:":blin",openWith:" :blin ",className:"col4-4"},{name:":nyam",openWith:" :nyam ",className:"col4-5"},{name:":puls",openWith:" :puls ",className:"col5-1"},{name:":xaxa",openWith:" :xaxa ",className:"col5-2"},{name:":4moks",openWith:" :4moks ",className:"col5-3"},{name:":heart",openWith:" :heart ",className:"col5-4"},{name:":moder",openWith:" :moder ",className:"col5-5"}]},{title:t.editor.cutpage,name:'<i class="fa fa-cut"></i>',className:"bb-cutpage",openWith:"[cut]"},{title:t.editor.preview,name:'<i class="fa fa-check-square"></i>',classname:"bb-preview",call:"preview"}]},myHtmlSettings={onCtrlEnter:{keepDefault:!1,replaceWith:"<br />\r"},onShiftEnter:{keepDefault:!1,replaceWith:"<hr />\r"},onTab:{keepDefault:!1,openWith:" "},markupSet:[{title:"Div",name:'<i class="fa fa-list-alt"></i>',className:"bb-div",openWith:'<div(!( class="[![Class]!]")!)>',closeWith:"</div>\n"},{title:"Span",name:'<i class="fa fa-columns"></i>',className:"bb-span",openWith:'<span(!( class="[![Class]!]")!)>',closeWith:"</span>\n"},{title:"Paragraph",name:'<i class="fa fa-paragraph"></i>',className:"bb-paragraph",openWith:'<p(!( class="[![Class]!]")!)>',closeWith:"</p>\n"},{title:"Paragraph",name:'<i class="fa fa-table"></i>',className:"bb-table",openWith:'<table(!( class="[![Class]!]")!)>\n\t<tr>\n\t\t<td>',closeWith:"</td>\n\t</tr>\n</table>"},{separator:"---------------"},{title:"Heading 1",name:'<i class="fa fa-heading"></i>1',className:"bb-heading1",key:"1",openWith:'<h1(!( class="[![Class]!]")!)>',closeWith:"</h1>",placeHolder:t.editor.enter_title},{title:"Heading 2",name:'<i class="fa fa-heading"></i>2',className:"bb-heading2",key:"2",openWith:'<h2(!( class="[![Class]!]")!)>',closeWith:"</h2>",placeHolder:t.editor.enter_title},{title:"Heading 3",name:'<i class="fa fa-heading"></i>3',className:"bb-heading3",key:"3",openWith:'<h3(!( class="[![Class]!]")!)>',closeWith:"</h3>",placeHolder:t.editor.enter_title},{separator:"---------------"},{title:t.editor.bold,name:'<i class="fa fa-bold"></i>',className:"bb-bold",key:"B",openWith:"(!(<strong>|!|<b>)!)",closeWith:"(!(</strong>|!|</b>)!)"},{title:t.editor.italic,name:'<i class="fa fa-italic"></i>',className:"bb-italic",key:"I",openWith:"(!(<em>|!|<i>)!)",closeWith:"(!(</em>|!|</i>)!)"},{title:t.editor.underline,name:'<i class="fa fa-underline"></i>',className:"bb-underline",key:"U",openWith:"<u>",closeWith:"</u>"},{title:t.editor.strike,name:'<i class="fa fa-strikethrough"></i>',className:"bb-strike",key:"S",openWith:"<del>",closeWith:"</del>"},{separator:"---------------"},{title:"Ul",name:'<i class="fa fa-list-ul"></i>',className:"bb-ul",openWith:"<ul>\n",closeWith:"</ul>\n"},{title:"Ol",name:'<i class="fa fa-list-ol"></i>',className:"bb-ol",openWith:"<ol>\n",closeWith:"</ol>\n"},{title:"Li",name:'<i class="fa fa-minus"></i>',className:"bb-li",openWith:"<li>",closeWith:"</li>"},{separator:"---------------"},{title:t.editor.image,name:'<i class="fa fa-image"></i>',className:"bb-picture",key:"P",replaceWith:'<img src="[!['+t.editor.image_text+':!:http://]!]" alt="[!['+t.editor.alt+']!]" />'},{title:t.editor.link,name:'<i class="fa fa-link"></i>',className:"bb-link",key:"L",openWith:'<a href="[!['+t.editor.link+':!:http://]!]"(!( title="[![Title]!]")!)>',closeWith:"</a>",placeHolder:t.editor.link_text},{separator:"---------------"},{title:t.editor.clean,name:'<i class="fa fa-eraser"></i>',classname:"bb-clean",replaceWith:function(e){return e.selection.replace(/<(.*?)>/g,"")}}]}},408:()=>{!function($){$.fn.markItUp=function(settings,extraSettings){var method,params,options,ctrlKey,shiftKey,altKey;ctrlKey=shiftKey=altKey=!1,"string"==typeof settings&&(method=settings,params=extraSettings),options={id:"",nameSpace:"",root:"",previewHandler:!1,previewInWindow:"",previewInElement:"",previewAutoRefresh:!0,previewPosition:"after",previewTemplatePath:"~/templates/preview.html",previewParser:!1,previewParserPath:"",previewParserVar:"data",previewParserAjaxType:"POST",resizeHandle:!0,beforeInsert:"",afterInsert:"",onEnter:{},onShiftEnter:{},onCtrlEnter:{},onTab:{},markupSet:[{}]},$.extend(options,settings,extraSettings),options.root||$("script").each((function(e,t){var a=$(t).get(0).src.match(/(.*)jquery\.markitup(\.pack)?\.js$/);null!==a&&(options.root=a[1])}));var uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},matched=uaMatch(navigator.userAgent),browser={};return matched.browser&&(browser[matched.browser]=!0,browser.version=matched.version),browser.chrome?browser.webkit=!0:browser.webkit&&(browser.safari=!0),this.each((function(){var $$,textarea,levels,scrollPosition,caretPosition,caretOffset,clicked,hash,header,footer,previewWindow,template,iFrame,abort;if($$=$(this),textarea=this,levels=[],abort=!1,scrollPosition=caretPosition=0,caretOffset=-1,options.previewParserPath=localize(options.previewParserPath),options.previewTemplatePath=localize(options.previewTemplatePath),method)switch(method){case"remove":remove();break;case"insert":markup(params);break;default:$.error("Method "+method+" does not exist on jQuery.markItUp")}else init();function localize(e,t){return t?e.replace(/("|')~\//g,"$1"+options.root):e.replace(/^~\//,options.root)}function init(){id="",nameSpace="",options.id?id='id="'+options.id+'"':$$.attr("id")&&(id='id="markItUp'+$$.attr("id").substr(0,1).toUpperCase()+$$.attr("id").substr(1)+'"'),options.nameSpace&&(nameSpace='class="'+options.nameSpace+'"'),$$.wrap("<div "+nameSpace+"></div>"),$$.wrap("<div "+id+' class="markItUp"></div>'),$$.wrap('<div class="markItUpContainer"></div>'),$$.addClass("markItUpEditor"),header=$('<div class="markItUpHeader"></div>').insertBefore($$),$(dropMenus(options.markupSet)).appendTo(header),footer=$('<div class="markItUpFooter"></div>').insertAfter($$),!0===options.resizeHandle&&!0!==browser.safari&&(resizeHandle=$('<div class="markItUpResizeHandle"></div>').insertAfter($$).bind("mousedown.markItUp",(function(e){var t,a,n=$$.height(),i=e.clientY;t=function(e){return $$.css("height",Math.max(20,e.clientY+n-i)+"px"),!1},a=function(e){return $("html").unbind("mousemove.markItUp",t).unbind("mouseup.markItUp",a),!1},$("html").bind("mousemove.markItUp",t).bind("mouseup.markItUp",a)})),footer.append(resizeHandle)),$$.bind("keydown.markItUp",keyPressed).bind("keyup",keyPressed),$$.bind("insertion.markItUp",(function(e,t){!1!==t.target&&get(),textarea===$.markItUp.focused&&markup(t)})),$$.bind("focus.markItUp",(function(){$.markItUp.focused=this})),options.previewInElement&&refreshPreview()}function dropMenus(markupSet){var ul=$("<ul></ul>"),i=0;return $("li:hover > ul",ul).css("display","block"),$.each(markupSet,(function(){var button=this,t="",title,li,j;if(title=button.title?button.key?(button.title||"")+" [Ctrl+"+button.key+"]":button.title||"":button.key?(button.name||"")+" [Ctrl+"+button.key+"]":button.name||"",key=button.key?'accesskey="'+button.key+'"':"",button.separator)li=$('<li class="markItUpSeparator">'+(button.separator||"")+"</li>").appendTo(ul);else{for(i++,j=levels.length-1;0<=j;j--)t+=levels[j]+"-";li=$('<li class="markItUpButton markItUpButton'+t+i+" "+(button.className||"")+'"><a href="#" '+key+' title="'+title+'">'+(button.name||"")+"</a></li>").bind("contextmenu.markItUp",(function(){return!1})).bind("click.markItUp",(function(e){e.preventDefault()})).bind("focusin.markItUp",(function(){$$.focus()})).bind("mouseup",(function(e){return button.call&&eval(button.call)(e),setTimeout((function(){markup(button)}),1),!1})).bind("mouseenter.markItUp",(function(){$("> ul",this).show(),$(document).one("click",(function(){$("ul ul",header).hide()}))})).bind("mouseleave.markItUp",(function(){$("> ul",this).hide()})).appendTo(ul),button.dropMenu&&(levels.push(i),$(li).addClass("markItUpDropMenu").append(dropMenus(button.dropMenu)))}})),levels.pop(),ul}function magicMarkups(e){return e?e=(e=(e=e.toString()).replace(/\(\!\(([\s\S]*?)\)\!\)/g,(function(e,t){var a=t.split("|!|");return!0===altKey?void 0!==a[1]?a[1]:a[0]:void 0===a[1]?"":a[0]}))).replace(/\[\!\[([\s\S]*?)\]\!\]/g,(function(e,t){var a=t.split(":!:");return!0!==abort&&(value=prompt(a[0],a[1]?a[1]:""),null===value&&(abort=!0),value)})):""}function prepare(e){return $.isFunction(e)&&(e=e(hash)),magicMarkups(e)}function build(e){var t=prepare(clicked.openWith),a=prepare(clicked.placeHolder),n=prepare(clicked.replaceWith),i=prepare(clicked.closeWith),s=prepare(clicked.openBlockWith),r=prepare(clicked.closeBlockWith),o=clicked.multiline;if(""!==n)block=t+n+i;else if(""===selection&&""!==a)block=t+a+i;else{var l=[e=e||selection],c=[];!0===o&&(l=e.split(/\r?\n/));for(var p=0;p<l.length;p++){var u;line=l[p],(u=line.match(/ *$/))?c.push(t+line.replace(/ *$/g,"")+i+u):c.push(t+line+i)}block=c.join("\n")}return block=s+block+r,{block,openBlockWith:s,openWith:t,replaceWith:n,placeHolder:a,closeWith:i,closeBlockWith:r}}function markup(e){var t,a,n,i;if(hash=clicked=e,get(),$.extend(hash,{line:"",root:options.root,textarea,selection:selection||"",caretPosition,ctrlKey,shiftKey,altKey}),prepare(options.beforeInsert),prepare(clicked.beforeInsert),(!0===ctrlKey&&!0===shiftKey||!0===e.multiline)&&prepare(clicked.beforeMultiInsert),$.extend(hash,{line:1}),!0===ctrlKey&&!0===shiftKey){for(lines=selection.split(/\r?\n/),a=0,n=lines.length,i=0;i<n;i++)""!==$.trim(lines[i])?($.extend(hash,{line:++a,selection:lines[i]}),lines[i]=build(lines[i]).block):lines[i]="";string={block:lines.join("\n")},start=caretPosition,t=string.block.length+(browser.opera?n-1:0)}else!0===ctrlKey?(string=build(selection),start=caretPosition+string.openWith.length,t=string.block.length-string.openWith.length-string.closeWith.length,t-=string.block.match(/ $/)?1:0,t-=fixIeBug(string.block)):!0===shiftKey?(string=build(selection),start=caretPosition,t=string.block.length,t-=fixIeBug(string.block)):(string=build(selection),start=caretPosition+string.block.length,t=0,start-=fixIeBug(string.block));""===selection&&""===string.replaceWith&&(caretOffset+=fixOperaBug(string.block),start=caretPosition+string.openBlockWith.length+string.openWith.length,t=string.block.length-string.openBlockWith.length-string.openWith.length-string.closeWith.length-string.closeBlockWith.length,caretOffset=$$.val().substring(caretPosition,$$.val().length).length,caretOffset-=fixOperaBug($$.val().substring(0,caretPosition))),$.extend(hash,{caretPosition,scrollPosition}),string.block!==selection&&!1===abort?(insert(string.block),set(start,t)):caretOffset=-1,get(),$.extend(hash,{line:"",selection}),(!0===ctrlKey&&!0===shiftKey||!0===e.multiline)&&prepare(clicked.afterMultiInsert),prepare(clicked.afterInsert),prepare(options.afterInsert),previewWindow&&options.previewAutoRefresh&&refreshPreview(),textarea.dispatchEvent(new Event("input")),shiftKey=altKey=ctrlKey=abort=!1}function fixOperaBug(e){return browser.opera?e.length-e.replace(/\n*/g,"").length:0}function fixIeBug(e){return browser.msie?e.length-e.replace(/\r*/g,"").length:0}function insert(e){document.selection?document.selection.createRange().text=e:textarea.value=textarea.value.substring(0,caretPosition)+e+textarea.value.substring(caretPosition+selection.length,textarea.value.length)}function set(e,t){if(textarea.createTextRange){if(browser.opera&&9.5<=browser.version&&0==t)return!1;range=textarea.createTextRange(),range.collapse(!0),range.moveStart("character",e),range.moveEnd("character",t),range.select()}else textarea.setSelectionRange&&textarea.setSelectionRange(e,e+t);textarea.scrollTop=scrollPosition,textarea.focus()}function get(){if(textarea.focus(),scrollPosition=textarea.scrollTop,document.selection)if(selection=document.selection.createRange().text,browser.msie){var e=document.selection.createRange(),t=e.duplicate();for(t.moveToElementText(textarea),caretPosition=-1;t.inRange(e);)t.moveStart("character"),caretPosition++}else caretPosition=textarea.selectionStart;else caretPosition=textarea.selectionStart,selection=textarea.value.substring(caretPosition,textarea.selectionEnd);return selection}function preview(){"function"==typeof options.previewHandler?previewWindow=!0:options.previewInElement?previewWindow=$(options.previewInElement):!previewWindow||previewWindow.closed?options.previewInWindow?(previewWindow=window.open("","preview",options.previewInWindow),$(window).unload((function(){previewWindow.close()}))):(iFrame=$('<iframe class="markItUpPreviewFrame"></iframe>'),"after"==options.previewPosition?iFrame.insertAfter(footer):iFrame.insertBefore(header),previewWindow=iFrame[iFrame.length-1].contentWindow||frame[iFrame.length-1]):!0===altKey&&(iFrame?iFrame.remove():previewWindow.close(),previewWindow=iFrame=!1),options.previewAutoRefresh||refreshPreview(),options.previewInWindow&&previewWindow.focus()}function refreshPreview(){renderPreview()}function renderPreview(){var e=$$.val();return options.previewParser&&"function"==typeof options.previewParser&&(e=options.previewParser(e)),options.previewHandler&&"function"==typeof options.previewHandler?options.previewHandler(e):""!==options.previewParserPath?$.ajax({type:options.previewParserAjaxType,dataType:"text",global:!1,url:options.previewParserPath,data:options.previewParserVar+"="+encodeURIComponent(e),success:function(e){writeInPreview(localize(e,1))}}):template||$.ajax({url:options.previewTemplatePath,dataType:"text",global:!1,success:function(t){writeInPreview(localize(t,1).replace(/<!-- content -->/g,e))}}),!1}function writeInPreview(e){if(options.previewInElement)$(options.previewInElement).html(e);else if(previewWindow&&previewWindow.document){try{sp=previewWindow.document.documentElement.scrollTop}catch(e){sp=0}previewWindow.document.open(),previewWindow.document.write(e),previewWindow.document.close(),previewWindow.document.documentElement.scrollTop=sp}}function keyPressed(e){if(shiftKey=e.shiftKey,altKey=e.altKey,ctrlKey=(!e.altKey||!e.ctrlKey)&&(e.ctrlKey||e.metaKey),"keydown"===e.type){if(!0===ctrlKey&&(li=$('a[accesskey="'+(13==e.keyCode?"\\n":String.fromCharCode(e.keyCode))+'"]',header).parent("li"),0!==li.length))return ctrlKey=!1,setTimeout((function(){li.triggerHandler("mouseup")}),1),!1;if(13===e.keyCode||10===e.keyCode)return!0===ctrlKey?(ctrlKey=!1,markup(options.onCtrlEnter),options.onCtrlEnter.keepDefault):!0===shiftKey?(shiftKey=!1,markup(options.onShiftEnter),options.onShiftEnter.keepDefault):(markup(options.onEnter),options.onEnter.keepDefault);if(9===e.keyCode)return 1!=shiftKey&&1!=ctrlKey&&1!=altKey&&(-1!==caretOffset?(get(),set(caretOffset=$$.val().length-caretOffset,0),!(caretOffset=-1)):(markup(options.onTab),options.onTab.keepDefault))}}function remove(){$$.unbind(".markItUp").removeClass("markItUpEditor"),$$.parent("div").parent("div.markItUp").parent("div").replaceWith($$);var e=$$.parent("div").parent("div.markItUp").parent("div");e.length&&e.replaceWith($$),$$.data("markItUp",null)}}))},$.fn.markItUpRemove=function(){return this.each((function(){$(this).markItUp("remove")}))},$.markItUp=function(e){var t={target:!1};if($.extend(t,e),t.target)return $(t.target).each((function(){$(this).focus(),$(this).trigger("insertion",[t])}));$("textarea").trigger("insertion",[t])}}(jQuery)},548:(e,t)=>{var a,n;n=null,window.PR_SHOULD_USE_CONTINUATION=!0,function(){function i(e,t,a,n){t&&(a(e={a:t,e}),n.push.apply(n,e.g))}function s(e){for(var t=void 0,a=e.firstChild;a;a=a.nextSibling){var n=a.nodeType;t=1===n?t?e:a:3===n&&k.test(a.nodeValue)?e:t}return t===e?void 0:t}function r(e,t){var a,s={};!function(){for(var i=e.concat(t),r=[],o={},l=0,c=i.length;l<c;++l){var p=i[l],u=p[3];if(u)for(var d=u.length;--d>=0;)s[u.charAt(d)]=p;u=""+(p=p[1]),o.hasOwnProperty(u)||(r.push(p),o[u]=n)}r.push(/[\S\s]/),a=function(e){function t(e){var t=e.charCodeAt(0);if(92!==t)return t;var a=e.charAt(1);return(t=u[a])?t:"0"<=a&&a<="7"?parseInt(e.substring(1),8):"u"===a||"x"===a?parseInt(e.substring(2),16):e.charCodeAt(1)}function a(e){return e<32?(e<16?"\\x0":"\\x")+e.toString(16):"\\"===(e=String.fromCharCode(e))||"-"===e||"]"===e||"^"===e?"\\"+e:e}function n(e){var n=e.substring(1,e.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),i=(e=[],["["]);(s="^"===n[0])&&i.push("^");for(var s=s?1:0,r=n.length;s<r;++s){var o,l=n[s];/\\[bdsw]/i.test(l)?i.push(l):(l=t(l),s+2<r&&"-"===n[s+1]?(o=t(n[s+2]),s+=2):o=l,e.push([l,o]),o<65||l>122||(o<65||l>90||e.push([32|Math.max(65,l),32|Math.min(o,90)]),o<97||l>122||e.push([-33&Math.max(97,l),-33&Math.min(o,122)])))}for(e.sort((function(e,t){return e[0]-t[0]||t[1]-e[1]})),n=[],r=[],s=0;s<e.length;++s)(l=e[s])[0]<=r[1]+1?r[1]=Math.max(r[1],l[1]):n.push(r=l);for(s=0;s<n.length;++s)l=n[s],i.push(a(l[0])),l[1]>l[0]&&(l[1]+1>l[0]&&i.push("-"),i.push(a(l[1])));return i.push("]"),i.join("")}function i(e){for(var t=e.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),i=t.length,o=[],l=0,c=0;l<i;++l){var p=t[l];"("===p?++c:"\\"===p.charAt(0)&&(p=+p.substring(1))&&(p<=c?o[p]=-1:t[l]=a(p))}for(l=1;l<o.length;++l)-1===o[l]&&(o[l]=++s);for(c=l=0;l<i;++l)"("===(p=t[l])?o[++c]||(t[l]="(?:"):"\\"===p.charAt(0)&&(p=+p.substring(1))&&p<=c&&(t[l]="\\"+o[p]);for(l=0;l<i;++l)"^"===t[l]&&"^"!==t[l+1]&&(t[l]="");if(e.ignoreCase&&r)for(l=0;l<i;++l)e=(p=t[l]).charAt(0),p.length>=2&&"["===e?t[l]=n(p):"\\"!==e&&(t[l]=p.replace(/[A-Za-z]/g,(function(e){return e=e.charCodeAt(0),"["+String.fromCharCode(-33&e,32|e)+"]"})));return t.join("")}for(var s=0,r=!1,o=!1,l=0,c=e.length;l<c;++l){var p=e[l];if(p.ignoreCase)o=!0;else if(/[a-z]/i.test(p.source.replace(/\\u[\da-f]{4}|\\x[\da-f]{2}|\\[^UXux]/gi,""))){r=!0,o=!1;break}}var u={b:8,t:9,n:10,v:11,f:12,r:13},d=[];for(l=0,c=e.length;l<c;++l){if((p=e[l]).global||p.multiline)throw Error(""+p);d.push("(?:"+i(p)+")")}return RegExp(d.join("|"),o?"gi":"g")}(r)}();var r=t.length;return function e(n){for(var o=n.e,l=[o,"pln"],c=0,u=n.a.match(a)||[],d={},m=0,f=u.length;m<f;++m){var h,g=u[m],b=d[g],v=void 0;if("string"==typeof b)h=!1;else{var y=s[g.charAt(0)];if(y)v=g.match(y[1]),b=y[0];else{for(h=0;h<r;++h)if(y=t[h],v=g.match(y[1])){b=y[0];break}v||(b="pln")}!(h=b.length>=5&&"lang-"===b.substring(0,5))||v&&"string"==typeof v[1]||(h=!1,b="src"),h||(d[g]=b)}if(y=c,c+=g.length,h){h=v[1];var $=g.indexOf(h),w=$+h.length;v[2]&&($=(w=g.length-v[2].length)-h.length),b=b.substring(5),i(o+y,g.substring(0,$),e,l),i(o+y+$,h,p(b,h),l),i(o+y+w,g.substring(w),e,l)}else l.push(o+y,b)}n.g=l}}function o(e){var t=[],a=[];e.tripleQuotedStrings?t.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,n,"'\""]):e.multiLineStrings?t.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/,n,"'\"`"]):t.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,n,"\"'"]),e.verbatimStrings&&a.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,n]);var i=e.hashComments;if(i&&(e.cStyleComments?(i>1?t.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,n,"#"]):t.push(["com",/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\n\r]*)/,n,"#"]),a.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,n])):t.push(["com",/^#[^\n\r]*/,n,"#"])),e.cStyleComments&&(a.push(["com",/^\/\/[^\n\r]*/,n]),a.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,n])),i=e.regexLiterals){var s=(i=i>1?"":"\n\r")?".":"[\\S\\s]";a.push(["lang-regex",RegExp("^(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*(/(?=[^/*"+i+"])(?:[^/\\x5B\\x5C"+i+"]|\\x5C"+s+"|\\x5B(?:[^\\x5C\\x5D"+i+"]|\\x5C"+s+")*(?:\\x5D|$))+/)")])}return(i=e.types)&&a.push(["typ",i]),(i=(""+e.keywords).replace(/^ | $/g,"")).length&&a.push(["kwd",RegExp("^(?:"+i.replace(/[\s,]+/g,"|")+")\\b"),n]),t.push(["pln",/^\s+/,n," \r\n\t "]),i="^.[^\\s\\w.$@'\"`/\\\\]*",e.regexLiterals&&(i+="(?!s*/)"),a.push(["lit",/^@[$_a-z][\w$@]*/i,n],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,n],["pln",/^[$_a-z][\w$@]*/i,n],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,n,"0123456789"],["pln",/^\\[\S\s]?/,n],["pun",RegExp(i),n]),r(t,a)}function l(e,t,a){function n(e){var t=e.nodeType;if(1!=t||s.test(e.className)){if((3==t||4==t)&&a){var l=e.nodeValue,c=l.match(r);c&&(t=l.substring(0,c.index),e.nodeValue=t,(l=l.substring(c.index+c[0].length))&&e.parentNode.insertBefore(o.createTextNode(l),e.nextSibling),i(e),t||e.parentNode.removeChild(e))}}else if("br"===e.nodeName)i(e),e.parentNode&&e.parentNode.removeChild(e);else for(e=e.firstChild;e;e=e.nextSibling)n(e)}function i(e){for(;!e.nextSibling;)if(!(e=e.parentNode))return;var t;for(e=function e(t,a){var n=a?t.cloneNode(!1):t;if(i=t.parentNode){var i=e(i,1),s=t.nextSibling;i.appendChild(n);for(var r=s;r;r=s)s=r.nextSibling,i.appendChild(r)}return n}(e.nextSibling,0);(t=e.parentNode)&&1===t.nodeType;)e=t;c.push(e)}for(var s=/(?:^|\s)nocode(?:\s|$)/,r=/\r\n?|\n/,o=e.ownerDocument,l=o.createElement("li");e.firstChild;)l.appendChild(e.firstChild);for(var c=[l],p=0;p<c.length;++p)n(c[p]);t===(0|t)&&c[0].setAttribute("value",t);var u=o.createElement("ol");u.className="linenums",t=Math.max(0,t-1|0)||0,p=0;for(var d=c.length;p<d;++p)(l=c[p]).className="L"+(p+t)%10,l.firstChild||l.appendChild(o.createTextNode(" ")),u.appendChild(l);e.appendChild(u)}function c(e,t){for(var a=t.length;--a>=0;){var n=t[a];W.hasOwnProperty(n)?f.console&&console.warn("cannot override language handler %s",n):W[n]=e}}function p(e,t){return e&&W.hasOwnProperty(e)||(e=/^\s*</.test(t)?"default-markup":"default-code"),W[e]}function u(e){var t=e.h;try{var a=(l=function(e,t){var a=/(?:^|\s)nocode(?:\s|$)/,n=[],i=0,s=[],r=0;return function e(o){var l=o.nodeType;if(1==l){if(!a.test(o.className)){for(l=o.firstChild;l;l=l.nextSibling)e(l);"br"!==(l=o.nodeName.toLowerCase())&&"li"!==l||(n[r]="\n",s[r<<1]=i++,s[r++<<1|1]=o)}}else 3!=l&&4!=l||(l=o.nodeValue).length&&(l=t?l.replace(/\r\n?/g,"\n"):l.replace(/[\t\n\r ]+/g," "),n[r]=l,s[r<<1]=i,i+=l.length,s[r++<<1|1]=o)}(e),{a:n.join("").replace(/\n$/,""),d:s}}(e.c,e.i)).a;e.a=a,e.d=l.d,e.e=0,p(t,a)(e);var n,i,s=(s=/\bMSIE\s(\d+)/.exec(navigator.userAgent))&&+s[1]<=8,r=(t=/\n/g,e.a),o=r.length,l=0,c=e.d,u=c.length,d=(a=0,e.g),m=d.length,h=0;for(d[m]=o,i=n=0;i<m;)d[i]!==d[i+2]?(d[n++]=d[i++],d[n++]=d[i++]):i+=2;for(m=n,i=n=0;i<m;){for(var g=d[i],b=d[i+1],v=i+2;v+2<=m&&d[v+1]===b;)v+=2;d[n++]=g,d[n++]=b,i=v}d.length=n;var y,$=e.c;$&&(y=$.style.display,$.style.display="none");try{for(;a<u;){var w,k=c[a+2]||o,x=d[h+2]||o,W=(v=Math.min(k,x),c[a+1]);if(1!==W.nodeType&&(w=r.substring(l,v))){s&&(w=w.replace(t,"\r")),W.nodeValue=w;var N=W.ownerDocument,S=N.createElement("span");S.className=d[h+1];var C=W.parentNode;C.replaceChild(S,W),S.appendChild(W),l<k&&(c[a+1]=W=N.createTextNode(r.substring(v,k)),C.insertBefore(W,S.nextSibling))}(l=v)>=k&&(a+=2),l>=x&&(h+=2)}}finally{$&&($.style.display=y)}}catch(e){f.console&&console.log(e&&e.stack||e)}}var d,m,f=window,h=[d=[[m=["break,continue,do,else,for,if,return,while"],"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],g=[d,"abstract,assert,boolean,byte,extends,final,finally,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],b=[g,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,internal,into,is,let,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var,virtual,where"],v=[m,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],y=[m,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],$=[m,"as,assert,const,copy,drop,enum,extern,fail,false,fn,impl,let,log,loop,match,mod,move,mut,priv,pub,pure,ref,self,static,struct,true,trait,type,unsafe,use"],w=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,k=/\S/,x=o({keywords:[h,b,d=[d,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",v,y,m=[m,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"]],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),W={};c(x,["default-code"]),c(r([],[["pln",/^[^<?]+/],["dec",/^<!\w[^>]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),c(r([["pln",/^\s+/,n," \t\r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,n,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/],["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",/^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]),c(r([],[["atv",/^[\S\s]+/]]),["uq.val"]),c(o({keywords:h,hashComments:!0,cStyleComments:!0,types:w}),["c","cc","cpp","cxx","cyc","m"]),c(o({keywords:"null,true,false"}),["json"]),c(o({keywords:b,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:w}),["cs"]),c(o({keywords:g,cStyleComments:!0}),["java"]),c(o({keywords:m,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),c(o({keywords:v,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),c(o({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),c(o({keywords:y,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),c(o({keywords:d,cStyleComments:!0,regexLiterals:!0}),["javascript","js"]),c(o({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),c(o({keywords:$,cStyleComments:!0,multilineStrings:!0}),["rc","rs","rust"]),c(r([],[["str",/^[\S\s]+/]]),["regex"]);var N=f.PR={createSimpleLexer:r,registerLangHandler:c,sourceDecorator:o,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ",prettyPrintOne:f.prettyPrintOne=function(e,t,a){var n=document.createElement("div");return n.innerHTML="<pre>"+e+"</pre>",n=n.firstChild,a&&l(n,a,!0),u({h:t,j:a,c:n,i:1}),n.innerHTML},prettyPrint:f.prettyPrint=function(e,t){for(var a=(i=t||document.body).ownerDocument||document,i=[i.getElementsByTagName("pre"),i.getElementsByTagName("code"),i.getElementsByTagName("xmp")],r=[],o=0;o<i.length;++o)for(var c=0,p=i[o].length;c<p;++c)r.push(i[o][c]);i=n;var d=Date;d.now||(d={now:function(){return+new Date}});var m=0,h=/\blang(?:uage)?-([\w.]+)(?!\S)/,g=/\bprettyprint\b/,b=/\bprettyprinted\b/,v=/pre|xmp/i,y=/^code$/i,$=/^(?:pre|code|xmp)$/i,w={};!function t(){for(var i=f.PR_SHOULD_USE_CONTINUATION?d.now()+250:1/0;m<r.length&&d.now()<i;m++){for(var o=r[m],c=w,p=o;(p=p.previousSibling)&&((W=(7===(k=p.nodeType)||8===k)&&p.nodeValue)?/^\??prettify\b/.test(W):3===k&&!/\S/.test(p.nodeValue));)if(W){c={},W.replace(/\b(\w+)=([\w%+\-.:]+)/g,(function(e,t,a){c[t]=a}));break}if(p=o.className,(c!==w||g.test(p))&&!b.test(p)){for(k=!1,W=o.parentNode;W;W=W.parentNode)if($.test(W.tagName)&&W.className&&g.test(W.className)){k=!0;break}if(!k){var k,x;if(o.className+=" prettyprinted",(k=c.lang)||(!(k=p.match(h))&&(x=s(o))&&y.test(x.tagName)&&(k=x.className.match(h)),k&&(k=k[1])),v.test(o.tagName))W=1;else{var W=o.currentStyle,N=a.defaultView;W=(W=W?W.whiteSpace:N&&N.getComputedStyle?N.getComputedStyle(o,n).getPropertyValue("white-space"):0)&&"pre"===W.substring(0,3)}(N="true"===(N=c.linenums)||+N)||(N=!!(N=p.match(/\blinenums\b(?::(\d+))?/))&&(!N[1]||!N[1].length||+N[1])),N&&l(o,N,W),u({h:k,c:o,j:N,i:W})}}}m<r.length?setTimeout(t,250):"function"==typeof e&&e()}()}};void 0===(a=function(){return N}.apply(t,[]))||(e.exports=a)}()},145:(e,t,a)=>{window.Popper=a(981),window.$=window.jQuery=a(755),a(734),window.bootbox=a(369),window.toastr=a(901),a(997),a(688),a(581),a(408),a(138),a(548),a(198),a(918)},918:()=>{!function(){"use strict";var e=$(".app-menu");$('[data-toggle="sidebar"]').click((function(e){e.preventDefault(),$(".app").toggleClass("sidenav-toggled")})),$("[data-toggle='treeview']").click((function(t){t.preventDefault(),$(this).parent().hasClass("is-expanded")||e.find("[data-toggle='treeview']").parent().removeClass("is-expanded"),$(this).parent().toggleClass("is-expanded")})),$("[data-toggle='treeview.'].is-expanded").parent().toggleClass("is-expanded")}()},391:()=>{},812:()=>{},58:()=>{}},e=>{"use strict";var t=t=>e(e.s=t);e.O(0,[831,716,190,908],(()=>(t(145),t(391),t(812),t(58))));e.O()}]);