(function(e,a){var r=[];function n(t,r){var n=a.Deferred();(function e(){a.ajax(t).done(n.resolve).fail(function(){console.log("AjaxRetry attempt :".concat(r));r--;if(r>0){e()}else{n.rejectWith(this,arguments)}})})();return n.promise()}function t(){var e=a.Deferred();var t=a('#antiforgerytoken input[name="__RequestVerificationToken"]').val();if(!t){r.push(e);if(r.length===1){n({type:"GET",url:a("#antiforgerytoken").attr("data-url"),cache:false},3).done(function(e){a("#antiforgerytoken").empty().append(e);t=a('#antiforgerytoken input[name="__RequestVerificationToken"]').val();r.forEach(function(e){e.resolve(t)});r=[]}).fail(function(e){if(e&&e.responseText){var t="GetAntiForgeryToken failed".concat("Details: ",e.responseText);console.log(t);ClientLogWrapper.getLogger().traceError(t,"antiforgerytoken","","GetTokenDeferred")}r.forEach(function(e){e.reject()});r=[]})}}else{e.resolve(t)}return e.promise()}function i(){var e=a("#antiforgerytoken").attr("data-url");n({type:"GET",url:e,cache:false},3).done(function(t){a('input[name="__RequestVerificationToken"]').each(function(){var e=this;a(e).replaceWith(t)})}).fail(function(e){if(e&&e.responseText){var t="GetAntiForgeryToken failed".concat("Details: ",e.responseText);console.log(t);ClientLogWrapper.getLogger().traceError(t,"antiforgerytoken","","RefreshToken")}})}function s(e,t,r){if(t.mimeType&&t.mimeType==="multipart/form-data"){if(!t.data){t.data=new FormData}t.data.append("__RequestVerificationToken",e)}else{if(r){a("").attr("name","__RequestVerificationToken").attr("type","hidden").appendTo(r).val(e)}else{if(!t.headers){var n={};n["__RequestVerificationToken"]=e;a.extend(t,{headers:n})}else{t.headers["__RequestVerificationToken"]=e}}}}function o(r,n){var i=a.Deferred();t().done(function(e){s(e,r,n);if(n){var t=r.complete;r.complete=function(e){validateLoginSession(null,null,e,t)};n.ajaxSubmit(r)}else{a.ajax(r).done(function(e,t,r){validateLoginSession(e,t,r,i.resolve)}).fail(i.reject)}}).fail(function(){i.rejectWith(this,arguments)});return i.promise()}e.ajaxSafePost=o;e.getTokenDeferred=t;e.refreshToken=i})(window.shell=window.shell||{},jQuery);function validateLoginSession(e,t,r,n){var i=JSON.parse(r.getResponseHeader("x-responded-json"));if(i&&i.status&&(i.status===401||i.status===403)){redirectToLogin()}else if(n&&typeof n==="function"){n(e,t,r)}}function redirectToLogin(){var e=window.location.origin+"/SignIn?returnUrl="+encodeURIComponent(window.location.href);window.location.replace(e)}!window.addEventListener&&function(e,t,r,n,i,a,s){e[n]=t[n]=r[n]=function(e,t){var r=this;s.unshift([r,e,t,function(e){e.currentTarget=r;e.preventDefault=function(){e.returnValue=false};e.stopPropagation=function(){e.cancelBubble=true};e.target=e.srcElement||r;t.call(r,e)}]);this.attachEvent("on"+e,s[0][3])};e[i]=t[i]=r[i]=function(e,t){for(var r=0,n;n=s[r];++r){if(n[0]==this&&n[1]==e&&n[2]==t){return this.detachEvent("on"+e,s.splice(r,1)[0][3])}}};e[a]=t[a]=r[a]=function(e){return this.fireEvent("on"+e.type,e)}}(Window.prototype,HTMLDocument.prototype,Element.prototype,"addEventListener","removeEventListener","dispatchEvent",[]);
/**!
@license
handlebars v4.7.7
Copyright (C) 2011-2019 by Yehuda Katz
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
(function e(t,r){if(typeof exports==="object"&&typeof module==="object")module.exports=r();else if(typeof define==="function"&&define.amd)define([],r);else if(typeof exports==="object")exports["Handlebars"]=r();else t["Handlebars"]=r()})(this,function(){return function(r){var n={};function i(e){if(n[e])return n[e].exports;var t=n[e]={exports:{},id:e,loaded:false};r[e].call(t.exports,t,t.exports,i);t.loaded=true;return t.exports}i.m=r;i.c=n;i.p="";return i(0)}([function(e,t,r){"use strict";var n=r(1)["default"];t.__esModule=true;var i=r(2);var a=n(i);var s=r(45);var o=n(s);var u=r(46);var l=r(51);var c=r(52);var h=n(c);var f=r(49);var p=n(f);var d=r(44);var m=n(d);var g=a["default"].create;function y(){var r=g();r.compile=function(e,t){return l.compile(e,t,r)};r.precompile=function(e,t){return l.precompile(e,t,r)};r.AST=o["default"];r.Compiler=l.Compiler;r.JavaScriptCompiler=h["default"];r.Parser=u.parser;r.parse=u.parse;r.parseWithoutProcessing=u.parseWithoutProcessing;return r}var v=y();v.create=y;m["default"](v);v.Visitor=p["default"];v["default"]=v;t["default"]=v;e.exports=t["default"]},function(e,t){"use strict";t["default"]=function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=true},function(e,t,r){"use strict";var n=r(3)["default"];var i=r(1)["default"];t.__esModule=true;var a=r(4);var s=n(a);var o=r(37);var u=i(o);var l=r(6);var c=i(l);var h=r(5);var f=n(h);var p=r(38);var d=n(p);var m=r(44);var g=i(m);function y(){var t=new s.HandlebarsEnvironment;f.extend(t,s);t.SafeString=u["default"];t.Exception=c["default"];t.Utils=f;t.escapeExpression=f.escapeExpression;t.VM=d;t.template=function(e){return d.template(e,t)};return t}var v=y();v.create=y;g["default"](v);v["default"]=v;t["default"]=v;e.exports=t["default"]},function(e,t){"use strict";t["default"]=function(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]}}t["default"]=e;return t}};t.__esModule=true},function(e,t,r){"use strict";var n=r(1)["default"];t.__esModule=true;t.HandlebarsEnvironment=y;var i=r(5);var a=r(6);var s=n(a);var o=r(10);var u=r(30);var l=r(32);var c=n(l);var h=r(33);var f="4.7.7";t.VERSION=f;var p=8;t.COMPILER_REVISION=p;var d=7;t.LAST_COMPATIBLE_COMPILER_REVISION=d;var m={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};t.REVISION_CHANGES=m;var g="[object Object]";function y(e,t,r){this.helpers=e||{};this.partials=t||{};this.decorators=r||{};o.registerDefaultHelpers(this);u.registerDefaultDecorators(this)}y.prototype={constructor:y,logger:c["default"],log:c["default"].log,registerHelper:function e(t,r){if(i.toString.call(t)===g){if(r){throw new s["default"]("Arg not supported with multiple helpers")}i.extend(this.helpers,t)}else{this.helpers[t]=r}},unregisterHelper:function e(t){delete this.helpers[t]},registerPartial:function e(t,r){if(i.toString.call(t)===g){i.extend(this.partials,t)}else{if(typeof r==="undefined"){throw new s["default"]('Attempting to register a partial called "'+t+'" as undefined')}this.partials[t]=r}},unregisterPartial:function e(t){delete this.partials[t]},registerDecorator:function e(t,r){if(i.toString.call(t)===g){if(r){throw new s["default"]("Arg not supported with multiple decorators")}i.extend(this.decorators,t)}else{this.decorators[t]=r}},unregisterDecorator:function e(t){delete this.decorators[t]},resetLoggedPropertyAccesses:function e(){h.resetLoggedProperties()}};var v=c["default"].log;t.log=v;t.createFrame=i.createFrame;t.logger=c["default"]},function(e,t){"use strict";t.__esModule=true;t.extend=s;t.indexOf=c;t.escapeExpression=h;t.isEmpty=f;t.createFrame=p;t.blockParams=d;t.appendContextPath=m;var r={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="};var n=/[&<>"'`=]/g,i=/[&<>"'`=]/;function a(e){return r[e]}function s(e){for(var t=1;t0){if(t.ids){t.ids=[t.name]}return a.helpers.each(e,t)}else{return r(this)}}else{if(t.data&&t.ids){var i=s.createFrame(t.data);i.contextPath=s.appendContextPath(t.data.contextPath,t.name);t={data:i}}return n(e,t)}})};e.exports=t["default"]},function(r,n,i){(function(p){"use strict";var d=i(13)["default"];var e=i(1)["default"];n.__esModule=true;var m=i(5);var t=i(6);var g=e(t);n["default"]=function(e){e.registerHelper("each",function(n,e){if(!e){throw new g["default"]("Must pass iterator to #each")}var i=e.fn,t=e.inverse,r=0,a="",s=undefined,o=undefined;if(e.data&&e.ids){o=m.appendContextPath(e.data.contextPath,e.ids[0])+"."}if(m.isFunction(n)){n=n.call(this)}if(e.data){s=m.createFrame(e.data)}function u(e,t,r){if(s){s.key=e;s.index=t;s.first=t===0;s.last=!!r;if(o){s.contextPath=o+e}}a=a+i(n[e],{data:s,blockParams:m.blockParams([n[e],e],[o+e,null])})}if(n&&typeof n==="object"){if(m.isArray(n)){for(var l=n.length;r=0){t=r}else{t=parseInt(t,10)}}return t},log:function e(t){t=s.lookupLevel(t);if(typeof console!=="undefined"&&s.lookupLevel(s.level)<=t){var r=s.methodMap[t];if(!console[r]){r="log"}for(var n=arguments.length,i=Array(n>1?n-1:0),a=1;a=l.LAST_COMPATIBLE_COMPILER_REVISION&&t<=l.COMPILER_REVISION){return}if(t2){E.push("'"+this.terminals_[_]+"'")}if(this.lexer.showPosition){D="Parse error on line "+(u+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+E.join(", ")+", got '"+(this.terminals_[y]||y)+"'"}else{D="Parse error on line "+(u+1)+": Unexpected "+(y==1?"end of input":"'"+(this.terminals_[y]||y)+"'")}this.parseError(D,{text:this.lexer.match,token:this.terminals_[y]||y,line:this.lexer.yylineno,loc:p,expected:E})}}if(k[0]instanceof Array&&k.length>1){throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+y)}switch(k[0]){case 1:n.push(y);i.push(this.lexer.yytext);a.push(this.lexer.yylloc);n.push(k[1]);y=null;if(!v){l=this.lexer.yyleng;o=this.lexer.yytext;u=this.lexer.yylineno;p=this.lexer.yylloc;if(c>0)c--}else{y=v;v=null}break;case 2:M=this.productions_[k[1]][1];w.$=i[i.length-M];w._$={first_line:a[a.length-(M||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(M||1)].first_column,last_column:a[a.length-1].last_column};if(d){w._$.range=[a[a.length-(M||1)].range[0],a[a.length-1].range[1]]}S=this.performAction.call(w,o,l,u,this.yy,k[1],i,a);if(typeof S!=="undefined"){return S}if(M){n=n.slice(0,-1*M*2);i=i.slice(0,-1*M);a=a.slice(0,-1*M)}n.push(this.productions_[k[1]][0]);i.push(w.$);a.push(w._$);P=s[n[n.length-2]][n[n.length-1]];n.push(P);break;case 3:return true}}return true}};var t=function(){var e={EOF:1,parseError:function e(t,r){if(this.yy.parser){this.yy.parser.parseError(t,r)}else{throw new Error(t)}},setInput:function e(t){this._input=t;this._more=this._less=this.done=false;this.yylineno=this.yyleng=0;this.yytext=this.matched=this.match="";this.conditionStack=["INITIAL"];this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0};if(this.options.ranges)this.yylloc.range=[0,0];this.offset=0;return this},input:function e(){var t=this._input[0];this.yytext+=t;this.yyleng++;this.offset++;this.match+=t;this.matched+=t;var r=t.match(/(?:\r\n?|\n).*/g);if(r){this.yylineno++;this.yylloc.last_line++}else{this.yylloc.last_column++}if(this.options.ranges)this.yylloc.range[1]++;this._input=this._input.slice(1);return t},unput:function e(t){var r=t.length;var n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input;this.yytext=this.yytext.substr(0,this.yytext.length-r-1);this.offset-=r;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1);this.matched=this.matched.substr(0,this.matched.length-1);if(n.length-1)this.yylineno-=n.length-1;var a=this.yylloc.range;this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-r};if(this.options.ranges){this.yylloc.range=[a[0],a[0]+this.yyleng-r]}return this},more:function e(){this._more=true;return this},less:function e(t){this.unput(this.match.slice(t))},pastInput:function e(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function e(){var t=this.match;if(t.length<20){t+=this._input.substr(0,20-t.length)}return(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function e(){var t=this.pastInput();var r=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+r+"^"},next:function e(){if(this.done){return this.EOF}if(!this._input)this.done=true;var t,r,n,i,a,s;if(!this._more){this.yytext="";this.match=""}var o=this._currentRules();for(var u=0;ur[0].length)){r=n;i=u;if(!this.options.flex)break}}if(r){s=r[0].match(/(?:\r\n?|\n).*/g);if(s)this.yylineno+=s.length;this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+r[0].length};this.yytext+=r[0];this.match+=r[0];this.matches=r;this.yyleng=this.yytext.length;if(this.options.ranges){this.yylloc.range=[this.offset,this.offset+=this.yyleng]}this._more=false;this._input=this._input.slice(r[0].length);this.matched+=r[0];t=this.performAction.call(this,this.yy,this,o[i],this.conditionStack[this.conditionStack.length-1]);if(this.done&&this._input)this.done=false;if(t)return t;else return}if(this._input===""){return this.EOF}else{return this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}},lex:function e(){var t=this.next();if(typeof t!=="undefined"){return t}else{return this.lex()}},begin:function e(t){this.conditionStack.push(t)},popState:function e(){return this.conditionStack.pop()},_currentRules:function e(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function e(){return this.conditionStack[this.conditionStack.length-2]},pushState:function e(t){this.begin(t)}};e.options={};e.performAction=function e(t,r,n,i){function a(e,t){return r.yytext=r.yytext.substring(e,r.yyleng-t+e)}var s=i;switch(n){case 0:if(r.yytext.slice(-2)==="\\\\"){a(0,1);this.begin("mu")}else if(r.yytext.slice(-1)==="\\"){a(0,1);this.begin("emu")}else{this.begin("mu")}if(r.yytext)return 15;break;case 1:return 15;break;case 2:this.popState();return 15;break;case 3:this.begin("raw");return 15;break;case 4:this.popState();if(this.conditionStack[this.conditionStack.length-1]==="raw"){return 15}else{a(5,9);return"END_RAW_BLOCK"}break;case 5:return 15;break;case 6:this.popState();return 14;break;case 7:return 65;break;case 8:return 68;break;case 9:return 19;break;case 10:this.popState();this.begin("raw");return 23;break;case 11:return 55;break;case 12:return 60;break;case 13:return 29;break;case 14:return 47;break;case 15:this.popState();return 44;break;case 16:this.popState();return 44;break;case 17:return 34;break;case 18:return 39;break;case 19:return 51;break;case 20:return 48;break;case 21:this.unput(r.yytext);this.popState();this.begin("com");break;case 22:this.popState();return 14;break;case 23:return 48;break;case 24:return 73;break;case 25:return 72;break;case 26:return 72;break;case 27:return 87;break;case 28:break;case 29:this.popState();return 54;break;case 30:this.popState();return 33;break;case 31:r.yytext=a(1,2).replace(/\\"/g,'"');return 80;break;case 32:r.yytext=a(1,2).replace(/\\'/g,"'");return 80;break;case 33:return 85;break;case 34:return 82;break;case 35:return 82;break;case 36:return 83;break;case 37:return 84;break;case 38:return 81;break;case 39:return 75;break;case 40:return 77;break;case 41:return 72;break;case 42:r.yytext=r.yytext.replace(/\\([\\\]])/g,"$1");return 72;break;case 43:return"INVALID";break;case 44:return 5;break}};e.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/];e.conditions={mu:{rules:[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],inclusive:false},emu:{rules:[2],inclusive:false},com:{rules:[6],inclusive:false},raw:{rules:[3,4,5],inclusive:false},INITIAL:{rules:[0,1,44],inclusive:true}};return e}();e.lexer=t;function r(){this.yy={}}r.prototype=e;e.Parser=r;return new r}();t["default"]=r;e.exports=t["default"]},function(e,t,r){"use strict";var n=r(1)["default"];t.__esModule=true;var i=r(49);var a=n(i);function s(){var e=arguments.length<=0||arguments[0]===undefined?{}:arguments[0];this.options=e}s.prototype=new a["default"];s.prototype.Program=function(e){var t=!this.options.ignoreStandalone;var r=!this.isRootSeen;this.isRootSeen=true;var n=e.body;for(var i=0,a=n.length;i0){throw new c["default"]("Invalid path: "+n,{loc:r})}else if(u===".."){a++}}else{i.push(u)}}return{type:"PathExpression",data:e,depth:a,parts:i,original:n,loc:r}}function f(e,t,r,n,i,a){var s=n.charAt(3)||n.charAt(2),o=s!=="{"&&s!=="&";var u=/\*/.test(n);return{type:u?"Decorator":"MustacheStatement",path:e,params:t,hash:r,escaped:o,strip:i,loc:this.locInfo(a)}}function p(e,t,r,n){l(e,r);n=this.locInfo(n);var i={type:"Program",body:t,strip:{},loc:n};return{type:"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:i,openStrip:{},inverseStrip:{},closeStrip:{},loc:n}}function d(e,t,r,n,i,a){if(n&&n.path){l(e,n)}var s=/\*/.test(e.open);t.blockParams=e.blockParams;var o=undefined,u=undefined;if(r){if(s){throw new c["default"]("Unexpected inverse block on decorator",r)}if(r.chain){r.program.body[0].closeStrip=n.strip}u=r.strip;o=r.program}if(i){i=o;o=t;t=i}return{type:s?"DecoratorBlock":"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:t,inverse:o,openStrip:e.strip,inverseStrip:u,closeStrip:n&&n.strip,loc:this.locInfo(a)}}function m(e,t){if(!t&&e.length){var r=e[0].loc,n=e[e.length-1].loc;if(r&&n){t={source:r.source,start:{line:r.start.line,column:r.start.column},end:{line:n.end.line,column:n.end.column}}}}return{type:"Program",body:e,strip:{},loc:t}}function g(e,t,r,n){l(e,r);return{type:"PartialBlockStatement",name:e.path,params:e.params,hash:e.hash,program:t,openStrip:e.strip,closeStrip:r&&r.strip,loc:this.locInfo(n)}}},function(e,t,r){"use strict";var n=r(34)["default"];var i=r(1)["default"];t.__esModule=true;t.Compiler=h;t.precompile=f;t.compile=p;var a=r(6);var u=i(a);var l=r(5);var s=r(45);var c=i(s);var o=[].slice;function h(){}h.prototype={compiler:h,equals:function e(t){var r=this.opcodes.length;if(t.opcodes.length!==r){return false}for(var n=0;n1){throw new u["default"]("Unsupported number of partial arguments: "+n.length,t)}else if(!n.length){if(this.options.explicitPartialContext){this.opcode("pushLiteral","undefined")}else{n.push({type:"PathExpression",parts:[],depth:0})}}var i=t.name.original,a=t.name.type==="SubExpression";if(a){this.accept(t.name)}this.setupFullMustacheParams(t,r,undefined,true);var s=t.indent||"";if(this.options.preventIndent&&s){this.opcode("appendContent",s);s=""}this.opcode("invokePartial",a,i,s);this.opcode("append")},PartialBlockStatement:function e(t){this.PartialStatement(t)},MustacheStatement:function e(t){this.SubExpression(t);if(t.escaped&&!this.options.noEscape){this.opcode("appendEscaped")}else{this.opcode("append")}},Decorator:function e(t){this.DecoratorBlock(t)},ContentStatement:function e(t){if(t.value){this.opcode("appendContent",t.value)}},CommentStatement:function e(){},SubExpression:function e(t){m(t);var r=this.classifySexpr(t);if(r==="simple"){this.simpleSexpr(t)}else if(r==="helper"){this.helperSexpr(t)}else{this.ambiguousSexpr(t)}},ambiguousSexpr:function e(t,r,n){var i=t.path,a=i.parts[0],s=r!=null||n!=null;this.opcode("getContext",i.depth);this.opcode("pushProgram",r);this.opcode("pushProgram",n);i.strict=true;this.accept(i);this.opcode("invokeAmbiguous",a,s)},simpleSexpr:function e(t){var r=t.path;r.strict=true;this.accept(r);this.opcode("resolvePossibleLambda")},helperSexpr:function e(t,r,n){var i=this.setupFullMustacheParams(t,r,n),a=t.path,s=a.parts[0];if(this.options.knownHelpers[s]){this.opcode("invokeKnownHelper",i.length,s)}else if(this.options.knownHelpersOnly){throw new u["default"]("You specified knownHelpersOnly, but used the unknown helper "+s,t)}else{a.strict=true;a.falsy=true;this.accept(a);this.opcode("invokeHelper",i.length,a.original,c["default"].helpers.simpleId(a))}},PathExpression:function e(t){this.addDepth(t.depth);this.opcode("getContext",t.depth);var r=t.parts[0],n=c["default"].helpers.scopedId(t),i=!t.depth&&!n&&this.blockParamIndex(r);if(i){this.opcode("lookupBlockParam",i,t.parts)}else if(!r){this.opcode("pushContext")}else if(t.data){this.options.data=true;this.opcode("lookupData",t.depth,t.parts,t.strict)}else{this.opcode("lookupOnContext",t.parts,t.falsy,t.strict,n)}},StringLiteral:function e(t){this.opcode("pushString",t.value)},NumberLiteral:function e(t){this.opcode("pushLiteral",t.value)},BooleanLiteral:function e(t){this.opcode("pushLiteral",t.value)},UndefinedLiteral:function e(){this.opcode("pushLiteral","undefined")},NullLiteral:function e(){this.opcode("pushLiteral","null")},Hash:function e(t){var r=t.pairs,n=0,i=r.length;this.opcode("pushHash");for(;n=0){return[r,a]}}}};function f(e,t,r){if(e==null||typeof e!=="string"&&e.type!=="Program"){throw new u["default"]("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+e)}t=t||{};if(!("data"in t)){t.data=true}if(t.compat){t.useDepths=true}var n=r.parse(e,t),i=(new r.Compiler).compile(n,t);return(new r.JavaScriptCompiler).compile(i,t)}function p(n,i,a){if(i===undefined)i={};if(n==null||typeof n!=="string"&&n.type!=="Program"){throw new u["default"]("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+n)}i=l.extend({},i);if(!("data"in i)){i.data=true}if(i.compat){i.useDepths=true}var s=undefined;function o(){var e=a.parse(n,i),t=(new a.Compiler).compile(e,i),r=(new a.JavaScriptCompiler).compile(t,i,undefined,true);return a.template(r)}function e(e,t){if(!s){s=o()}return s.call(this,e,t)}e._setup=function(e){if(!s){s=o()}return s._setup(e)};e._child=function(e,t,r,n){if(!s){s=o()}return s._child(e,t,r,n)};return e}function d(e,t){if(e===t){return true}if(l.isArray(e)&&l.isArray(t)&&e.length===t.length){for(var r=0;r0){n+=", "+i.join(", ")}var a=0;u(this.aliases).forEach(function(e){var t=r.aliases[e];if(t.children&&t.referenceCount>1){n+=", alias"+ ++a+"="+e;t.children[0]="alias"+a}});if(this.lookupPropertyFunctionIsUsed){n+=", "+this.lookupPropertyFunctionVarDeclaration()}var s=["container","depth0","helpers","partials","data"];if(this.useBlockParams||this.useDepths){s.push("blockParams")}if(this.useDepths){s.push("depths")}var o=this.mergeSource(n);if(t){s.push(o);return Function.apply(this,s)}else{return this.source.wrap(["function(",s.join(","),") {\n ",o,"}"])}},mergeSource:function e(t){var r=this.environment.isSimple,n=!this.forceBuffer,i=undefined,a=undefined,s=undefined,o=undefined;this.source.each(function(e){if(e.appendToBuffer){if(s){e.prepend(" + ")}else{s=e}o=e}else{if(s){if(!a){i=true}else{s.prepend("buffer += ")}o.add(";");s=o=undefined}a=true;if(!r){n=false}}});if(n){if(s){s.prepend("return ");o.add(";")}else if(!a){this.source.push('return "";')}}else{t+=", buffer = "+(i?"":this.initializeBuffer());if(s){s.prepend("return buffer + ");o.add(";")}else{this.source.push("return buffer;")}}if(t){this.source.prepend("var "+t.substring(2)+(i?"":";\n"))}return this.source.merge()},lookupPropertyFunctionVarDeclaration:function e(){return"\n lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n }\n ".trim()},blockValue:function e(t){var r=this.aliasable("container.hooks.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(t,0,n);var i=this.popStack();n.splice(1,0,i);this.push(this.source.functionCall(r,"call",n))},ambiguousBlockValue:function e(){var t=this.aliasable("container.hooks.blockHelperMissing"),r=[this.contextName(0)];this.setupHelperArgs("",0,r,true);this.flushInline();var n=this.topStack();r.splice(1,0,n);this.pushSource(["if (!",this.lastHelper,") { ",n," = ",this.source.functionCall(t,"call",r),"}"])},appendContent:function e(t){if(this.pendingContent){t=this.pendingContent+t}else{this.pendingLocation=this.source.currentLocation}this.pendingContent=t},append:function e(){if(this.isInline()){this.replaceStack(function(e){return[" != null ? ",e,' : ""']});this.pushSource(this.appendToBuffer(this.popStack()))}else{var t=this.popStack();this.pushSource(["if (",t," != null) { ",this.appendToBuffer(t,undefined,true)," }"]);if(this.environment.isSimple){this.pushSource(["else { ",this.appendToBuffer("''",undefined,true)," }"])}}},appendEscaped:function e(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function e(t){this.lastContext=t},pushContext:function e(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function e(t,r,n,i){var a=0;if(!i&&this.options.compat&&!this.lastContext){this.push(this.depthedLookup(t[a++]))}else{this.pushContext()}this.resolvePath("context",t,a,r,n)},lookupBlockParam:function e(t,r){this.useBlockParams=true;this.push(["blockParams[",t[0],"][",t[1],"]"]);this.resolvePath("context",r,1)},lookupData:function e(t,r,n){if(!t){this.pushStackLiteral("data")}else{this.pushStackLiteral("container.data(data, "+t+")")}this.resolvePath("data",r,0,true,n)},resolvePath:function e(r,n,i,a,t){var s=this;if(this.options.strict||this.options.assumeObjects){this.push(f(this.options.strict&&t,this,n,r));return}var o=n.length;for(;ithis.stackVars.length){this.stackVars.push("stack"+this.stackSlot)}return this.topStackName()},topStackName:function e(){return"stack"+this.stackSlot},flushInline:function e(){var t=this.inlineStack;this.inlineStack=[];for(var r=0,n=t.length;rt?1:0}else{throw new TypeError(e+" - "+t)}};n.equals=function(e,t){return e.compareTo(t)===0};n.getDayNumberFromName=function(e){var t=s.dayNames,r=s.abbreviatedDayNames,n=s.shortestDayNames,i=e.toLowerCase();for(var a=0;a=e.getTime()&&this.getTime()<=t.getTime()};e.isAfter=function(e){return this.compareTo(e||new Date)===1};e.isBefore=function(e){return this.compareTo(e||new Date)===-1};e.isToday=function(){return this.isSameDay(new Date)};e.isSameDay=function(e){return this.clone().clearTime().equals(e.clone().clearTime())};e.addMilliseconds=function(e){this.setMilliseconds(this.getMilliseconds()+e);return this};e.addSeconds=function(e){return this.addMilliseconds(e*1e3)};e.addMinutes=function(e){return this.addMilliseconds(e*6e4)};e.addHours=function(e){return this.addMilliseconds(e*36e5)};e.addDays=function(e){this.setDate(this.getDate()+e);return this};e.addWeeks=function(e){return this.addDays(e*7)};e.addMonths=function(e){var t=this.getDate();this.setDate(1);this.setMonth(this.getMonth()+e);this.setDate(Math.min(t,n.getDaysInMonth(this.getFullYear(),this.getMonth())));return this};e.addYears=function(e){return this.addMonths(e*12)};e.add=function(e){if(typeof e=="number"){this._orient=e;return this}var t=e;if(t.milliseconds){this.addMilliseconds(t.milliseconds)}if(t.seconds){this.addSeconds(t.seconds)}if(t.minutes){this.addMinutes(t.minutes)}if(t.hours){this.addHours(t.hours)}if(t.weeks){this.addWeeks(t.weeks)}if(t.months){this.addMonths(t.months)}if(t.years){this.addYears(t.years)}if(t.days){this.addDays(t.days)}return this};var c,h,f;e.getWeek=function(){var e,t,r,n,i,a,s,o,u,l;c=!c?this.getFullYear():c;h=!h?this.getMonth()+1:h;f=!f?this.getDate():f;if(h<=2){e=c-1;t=(e/4|0)-(e/100|0)+(e/400|0);r=((e-1)/4|0)-((e-1)/100|0)+((e-1)/400|0);u=t-r;i=0;a=f-1+31*(h-1)}else{e=c;t=(e/4|0)-(e/100|0)+(e/400|0);r=((e-1)/4|0)-((e-1)/100|0)+((e-1)/400|0);u=t-r;i=u+1;a=f+(153*(h-3)+2)/5+58+u}s=(e+t)%7;n=(a+s-i)%7;o=a+3-n|0;if(o<0){l=53-((s-u)/5|0)}else if(o>364+u){l=1}else{l=(o/7|0)+1}c=h=f=null;return l};e.getISOWeek=function(){c=this.getUTCFullYear();h=this.getUTCMonth()+1;f=this.getUTCDate();return i(this.getWeek())};e.setWeek=function(e){return this.moveToDayOfWeek(1).addWeeks(e-this.getWeek())};n._validate=function(e,t,r,n){if(typeof e=="undefined"){return false}else if(typeof e!="number"){throw new TypeError(e+" is not a Number.")}else if(er){throw new RangeError(e+" is not a valid value for "+n+".")}return true};n.validateMillisecond=function(e){return n._validate(e,0,999,"millisecond")};n.validateSecond=function(e){return n._validate(e,0,59,"second")};n.validateMinute=function(e){return n._validate(e,0,59,"minute")};n.validateHour=function(e){return n._validate(e,0,23,"hour")};n.validateDay=function(e,t,r){return n._validate(e,1,n.getDaysInMonth(t,r),"day")};n.validateMonth=function(e){return n._validate(e,0,11,"month")};n.validateYear=function(e){return n._validate(e,0,9999,"year")};e.set=function(e){if(n.validateMillisecond(e.millisecond)){this.addMilliseconds(e.millisecond-this.getMilliseconds())}if(n.validateSecond(e.second)){this.addSeconds(e.second-this.getSeconds())}if(n.validateMinute(e.minute)){this.addMinutes(e.minute-this.getMinutes())}if(n.validateHour(e.hour)){this.addHours(e.hour-this.getHours())}if(n.validateMonth(e.month)){this.addMonths(e.month-this.getMonth())}if(n.validateYear(e.year)){this.addYears(e.year-this.getFullYear())}if(n.validateDay(e.day,this.getFullYear(),this.getMonth())){this.addDays(e.day-this.getDate())}if(e.timezone){this.setTimezone(e.timezone)}if(e.timezoneOffset){this.setTimezoneOffset(e.timezoneOffset)}if(e.week&&n._validate(e.week,0,53,"week")){this.setWeek(e.week)}return this};e.moveToFirstDayOfMonth=function(){return this.set({day:1})};e.moveToLastDayOfMonth=function(){return this.set({day:n.getDaysInMonth(this.getFullYear(),this.getMonth())})};e.moveToNthOccurrence=function(e,t){var r=0;if(t>0){r=t-1}else if(t===-1){this.moveToLastDayOfMonth();if(this.getDay()!==e){this.moveToDayOfWeek(e,-1)}return this}return this.moveToFirstDayOfMonth().addDays(-1).moveToDayOfWeek(e,+1).addWeeks(r)};e.moveToDayOfWeek=function(e,t){var r=(e-this.getDay()+7*(t||+1))%7;return this.addDays(r===0?r+=7*(t||+1):r)};e.moveToMonth=function(e,t){var r=(e-this.getMonth()+12*(t||+1))%12;return this.addMonths(r===0?r+=12*(t||+1):r)};e.getOrdinalNumber=function(){return Math.ceil((this.clone().clearTime()-new Date(this.getFullYear(),0,1))/864e5)+1};e.getTimezone=function(){return n.getTimezoneAbbreviation(this.getUTCOffset())};e.setTimezoneOffset=function(e){var t=this.getTimezoneOffset(),r=Number(e)*-6/10;return this.addMinutes(r-t)};e.setTimezone=function(e){return this.setTimezoneOffset(n.getTimezoneOffset(e))};e.hasDaylightSavingTime=function(){return Date.today().set({month:0,day:1}).getTimezoneOffset()!==Date.today().set({month:6,day:1}).getTimezoneOffset()};e.isDaylightSavingTime=function(){return this.hasDaylightSavingTime()&&(new Date).getTimezoneOffset()===Date.today().set({month:6,day:1}).getTimezoneOffset()};e.getUTCOffset=function(){var e=this.getTimezoneOffset()*-10/6,t;if(e<0){t=(e-1e4).toString();return t.charAt(0)+t.substr(2)}else{t=(e+1e4).toString();return"+"+t.substr(1)}};e.getElapsed=function(e){return(e||new Date)-this};if(!e.toISOString){e.toISOString=function(){function e(e){return e<10?"0"+e:e}return'"'+this.getUTCFullYear()+"-"+e(this.getUTCMonth()+1)+"-"+e(this.getUTCDate())+"T"+e(this.getUTCHours())+":"+e(this.getUTCMinutes())+":"+e(this.getUTCSeconds())+'Z"'}}e._toString=e.toString;e.toString=function(e){var t=this;if(e&&e.length==1){var r=s.formatPatterns;t.t=t.toString;switch(e){case"d":return t.t(r.shortDate);case"D":return t.t(r.longDate);case"F":return t.t(r.fullDateTime);case"m":return t.t(r.monthDay);case"r":return t.t(r.rfc1123);case"s":return t.t(r.sortableDateTime);case"t":return t.t(r.shortTime);case"T":return t.t(r.longTime);case"u":return t.t(r.universalSortableDateTime);case"y":return t.t(r.yearMonth)}}var n=function(e){switch(e*1){case 1:case 21:case 31:return"st";case 2:case 22:return"nd";case 3:case 23:return"rd";default:return"th"}};return e?e.replace(/(\\)?(dd?d?d?|MM?M?M?|yy?y?y?|hh?|HH?|mm?|ss?|tt?|S)/g,function(e){if(e.charAt(0)==="\\"){return e.replace("\\","")}t.h=t.getHours;switch(e){case"hh":return i(t.h()<13?t.h()===0?12:t.h():t.h()-12);case"h":return t.h()<13?t.h()===0?12:t.h():t.h()-12;case"HH":return i(t.h());case"H":return t.h();case"mm":return i(t.getMinutes());case"m":return t.getMinutes();case"ss":return i(t.getSeconds());case"s":return t.getSeconds();case"yyyy":return i(t.getFullYear(),4);case"yy":return i(t.getFullYear());case"dddd":return s.dayNames[t.getDay()];case"ddd":return s.abbreviatedDayNames[t.getDay()];case"dd":return i(t.getDate());case"d":return t.getDate();case"MMMM":return s.monthNames[t.getMonth()];case"MMM":return s.abbreviatedMonthNames[t.getMonth()];case"MM":return i(t.getMonth()+1);case"M":return t.getMonth()+1;case"t":return t.h()<12?s.amDesignator.substring(0,1):s.pmDesignator.substring(0,1);case"tt":return t.h()<12?s.amDesignator:s.pmDesignator;case"S":return n(t.getDate());default:return e}}):this._toString()}})();(function(){var n=Date,e=n.prototype,i=n.CultureInfo,t=Number.prototype;e._orient=+1;e._nth=null;e._is=false;e._same=false;e._isSecond=false;t._dateElement="day";e.next=function(){this._orient=+1;return this};n.next=function(){return n.today().next()};e.last=e.prev=e.previous=function(){this._orient=-1;return this};n.last=n.prev=n.previous=function(){return n.today().last()};e.is=function(){this._is=true;return this};e.same=function(){this._same=true;this._isSecond=false;return this};e.today=function(){return this.same().day()};e.weekday=function(){if(this._is){this._is=false;return!this.is().sat()&&!this.is().sun()}return false};e.at=function(e){return typeof e==="string"?n.parse(this.toString("d")+" "+e):this.set(e)};t.fromNow=t.after=function(e){var t={};t[this._dateElement]=this;return(!e?new Date:e.clone()).add(t)};t.ago=t.before=function(e){var t={};t[this._dateElement]=this*-1;return(!e?new Date:e.clone()).add(t)};var r="sunday monday tuesday wednesday thursday friday saturday".split(/\s/),a="january february march april may june july august september october november december".split(/\s/),s="Millisecond Second Minute Hour Day Week Month Year".split(/\s/),o="Milliseconds Seconds Minutes Hours Date Week Month FullYear".split(/\s/),u="final first second third fourth fifth".split(/\s/),l;e.toObject=function(){var e={};for(var t=0;tt){throw new RangeError(n.getDayName(r)+" does not occur "+e+" times in the month of "+n.getMonthName(t.getMonth())+" "+t.getFullYear()+".")}return this}return this.moveToDayOfWeek(r,this._orient)}};var h=function(r){return function(){var e=n.today(),t=r-e.getDay();if(r===0&&i.firstDayOfWeek===1&&e.getDay()!==0){t=t+7}return e.addDays(t)}};for(var f=0;f-1;i--){r=s[i].toLowerCase();if(e[r]!=t[r]){return false}if(n==r){break}}return true}if(a.substring(a.length-1)!="s"){a+="s"}return this["add"+a](this._orient)}};var y=function(e){return function(){this._dateElement=e;return this}};for(var v=0;v0&&!s){try{n=h.call(this,t[1])}catch(e){s=true}}else{s=true}if(!s&&n[1].length===0){s=true}if(!s){var u=[];for(var l=0;l0){i[0]=i[0].concat(r[0]);i[1]=r[1]}}if(i[1].length1){e=Array.prototype.slice.call(arguments)}else if(arguments[0]instanceof Array){e=arguments[0]}if(e){for(var r=0,n=e.shift();r2?e:e+(e+2e3u.getDaysInMonth(this.year,this.month)){throw new RangeError(this.day+" is not a valid value for days.")}var n=new Date(this.year,this.month,this.day,this.hour,this.minute,this.second);if(this.timezone){n.set({timezone:this.timezone})}else if(this.timezoneOffset){n.set({timezoneOffset:this.timezoneOffset})}return n},finish:function(e){e=e instanceof Array?l(e):[e];if(e.length===0){return null}for(var t=0;t0){setInterval(function(){e.each(n)},t.refreshMillis)}return e};function n(){var e=t(this);if(!isNaN(e.datetime)){f(this).text(i(e.datetime))}return this}function t(e){e=f(e);if(!e.data("timeago")){e.data("timeago",{datetime:r.datetime(e)});var t=f.trim(e.text());if(t.length>0&&!(r.isTime(e)&&e.attr("title"))){e.attr("title",t)}}return e.data("timeago")}function i(e){return r.inWords(a(e))}function a(e){return(new Date).getTime()-e.getTime()}document.createElement("abbr");document.createElement("time")})(jQuery);var q=null;window.PR_SHOULD_USE_CONTINUATION=!0;(function(){function l(e){function u(e){var t=e.charCodeAt(0);if(t!==92)return t;var r=e.charAt(1);return(t=s[r])?t:"0"<=r&&r<="7"?parseInt(e.substring(1),8):r==="u"||r==="x"?parseInt(e.substring(2),16):e.charCodeAt(1)}function l(e){if(e<32)return(e<16?"\\x0":"\\x")+e.toString(16);e=String.fromCharCode(e);if(e==="\\"||e==="-"||e==="["||e==="]")e="\\"+e;return e}function o(e){for(var t=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),e=[],r=[],n=t[0]==="^",i=n?1:0,a=t.length;i122||(o<65||s>90||r.push([Math.max(65,s)|32,Math.min(o,90)|32]),o<97||s>122||r.push([Math.max(97,s)&-33,Math.min(o,122)&-33]))}}r.sort(function(e,t){return e[0]-t[0]||t[1]-e[1]});t=[];s=[NaN,NaN];for(i=0;ia[0]&&(a[1]+1>a[0]&&r.push("-"),r.push(l(a[1])));r.push("]");return r.join("")}function t(e){for(var t=e.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),r=t.length,n=[],i=0,a=0;i=2&&e==="["?t[i]=o(s):e!=="\\"&&(t[i]=s.replace(/[A-Za-z]/g,function(e){e=e.charCodeAt(0);return"["+String.fromCharCode(e&-33,e|32)+"]"}));return t.join("")}for(var c=0,h=!1,r=!1,n=0,i=e.length;n=5&&"lang-"===l.substring(0,5))&&!(c&&typeof c[1]==="string"))h=!1,l="src";h||(a[u]=l)}f=n;n+=u.length;if(h){h=c[1];var p=u.indexOf(h),d=p+h.length;c[2]&&(d=u.length-c[2].length,p=d-h.length);l=l.substring(5);k(t+f,u.substring(0,p),g,r);k(t+f+p,h,_(l,h),r);k(t+f+d,u.substring(d),g,r)}else r.push(t+f,l)}e.e=r}var y={},v;(function(){for(var e=u.concat(m),t=[],r={},n=0,i=e.length;n=0;)y[s.charAt(o)]=a;a=a[1];s=""+a;r.hasOwnProperty(s)||(t.push(a),r[s]=q)}t.push(/[\S\s]/);v=l(t)})();var b=m.length;return g}function e(e){var t=[],r=[];e.tripleQuotedStrings?t.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):e.multiLineStrings?t.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/,q,"'\"`"]):t.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);e.verbatimStrings&&r.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var n=e.hashComments;n&&(e.cStyleComments?(n>1?t.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):t.push(["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),r.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,q])):t.push(["com",/^#[^\n\r]*/,q,"#"]));e.cStyleComments&&(r.push(["com",/^\/\/[^\n\r]*/,q]),r.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));e.regexLiterals&&r.push(["lang-regex",/^(?:^^\.?|[!+-]|!=|!==|#|%|%=|&|&&|&&=|&=|\(|\*|\*=|\+=|,|-=|->|\/|\/=|:|::|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|[?@[^]|\^=|\^\^|\^\^=|{|\||\|=|\|\||\|\|=|~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\s*(\/(?=[^*/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/]);(n=e.types)&&r.push(["typ",n]);e=(""+e.keywords).replace(/^ | $/g,"");e.length&&r.push(["kwd",RegExp("^(?:"+e.replace(/[\s,]+/g,"|")+")\\b"),q]);t.push(["pln",/^\s+/,q," \r\n\t "]);r.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,q],["pun",/^.[^\s\w"-$'./@\\`]*/,q]);return i(t,r)}function m(e,t){function i(e){switch(e.nodeType){case 1:if(s.test(e.className))break;if("BR"===e.nodeName)a(e),e.parentNode&&e.parentNode.removeChild(e);else for(e=e.firstChild;e;e=e.nextSibling)i(e);break;case 3:case 4:if(l){var t=e.nodeValue,r=t.match(o);if(r){var n=t.substring(0,r.index);e.nodeValue=n;(t=t.substring(r.index+r[0].length))&&e.parentNode.insertBefore(u.createTextNode(t),e.nextSibling);a(e);n||e.parentNode.removeChild(e)}}}}function a(e){function s(e,t){var r=t?e.cloneNode(!1):e,n=e.parentNode;if(n){var n=s(n,1),i=e.nextSibling;n.appendChild(r);for(var a=i;a;a=i)i=a.nextSibling,n.appendChild(a)}return r}for(;!e.nextSibling;)if(e=e.parentNode,!e)return;for(var e=s(e.nextSibling,0),t;(t=e.parentNode)&&t.nodeType===1;)e=t;n.push(e)}var s=/(?:^|\s)nocode(?:\s|$)/,o=/\r\n?|\n/,u=e.ownerDocument,r;e.currentStyle?r=e.currentStyle.whiteSpace:window.getComputedStyle&&(r=u.defaultView.getComputedStyle(e,q).getPropertyValue("white-space"));var l=r&&"pre"===r.substring(0,3);for(r=u.createElement("LI");e.firstChild;)r.appendChild(e.firstChild);for(var n=[r],c=0;c=0;){var n=t[r];p.hasOwnProperty(n)?window.console&&console.warn("cannot override language handler %s",n):p[n]=e}}function _(e,t){if(!e||!p.hasOwnProperty(e))e=/^\s*=g&&(n+=2);r>=y&&(e+=2)}}catch(e){"console"in window&&console.log(e&&e.stack?e.stack:e)}}var r=["break,continue,do,else,for,if,return,while"],n=[[r,"auto,case,char,const,default,double,enum,extern,float,goto,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"],a=[n,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],s=[n,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"],o=[s,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"],n=[n,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],u=[r,"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"],c=[r,"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"],r=[r,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],h=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/,y=/\S/,f=e({keywords:[a,o,n,"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"+u,c,r],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),p={};t(f,["default-code"]);t(i([],[["pln",/^[^]+/],["dec",/^]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^