!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var i in n)("object"==typeof exports?exports:e)[i]=n[i]}}(this,(function(){return e={696:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertChangesToDMP=function(e){for(var t,n,i=[],r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertChangesToXML=function(e){for(var t=[],n=0;n"):i.removed&&t.push(""),t.push(i.value.replace(/&/g,"&").replace(//g,">").replace(/"/g,""")),i.added?t.push(""):i.removed&&t.push("")}return t.join("")}},976:(e,t,n)=>{"use strict";var i;Object.defineProperty(t,"__esModule",{value:!0}),t.diffArrays=function(e,t,n){return r.diff(e,t,n)},t.arrayDiff=void 0;var r=new(((i=n(913))&&i.__esModule?i:{default:i}).default);t.arrayDiff=r,r.tokenize=function(e){return e.slice()},r.join=r.removeEmpty=function(e){return e}},913:(e,t)=>{"use strict";function n(){}function i(e,t,n,i,r){for(var a=0,l=t.length,s=0,o=0;ae.length?n:e})),c.value=e.join(u)}else c.value=e.join(n.slice(s,s+c.count));s+=c.count,c.added||(o+=c.count)}}var d=t[l-1];return l>1&&"string"==typeof d.value&&(d.added||d.removed)&&e.equals("",d.value)&&(t[l-2].value+=d.value,t.pop()),t}function r(e){return{newPos:e.newPos,components:e.components.slice(0)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,n.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=n.callback;"function"==typeof n&&(a=n,n={}),this.options=n;var l=this;function s(e){return a?(setTimeout((function(){a(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var o=(t=this.removeEmpty(this.tokenize(t))).length,c=e.length,f=1,u=o+c,d=[{newPos:-1,components:[]}],p=this.extractCommon(d[0],t,e,0);if(d[0].newPos+1>=o&&p+1>=c)return s([{value:this.join(t),count:t.length}]);function h(){for(var n=-1*f;n<=f;n+=2){var a=void 0,u=d[n-1],p=d[n+1],h=(p?p.newPos:0)-n;u&&(d[n-1]=void 0);var g=u&&u.newPos+1=o&&h+1>=c)return s(i(l,a.components,t,e,l.useLongestToken));d[n]=a}else d[n]=void 0}f++}if(a)!function e(){setTimeout((function(){if(f>u)return a();h()||e()}),0)}();else for(;f<=u;){var g=h();if(g)return g}},pushComponent:function(e,t,n){var i=e[e.length-1];i&&i.added===t&&i.removed===n?e[e.length-1]={count:i.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,i){for(var r=t.length,a=n.length,l=e.newPos,s=l-i,o=0;l+1{"use strict";var i;Object.defineProperty(t,"__esModule",{value:!0}),t.diffChars=function(e,t,n){return r.diff(e,t,n)},t.characterDiff=void 0;var r=new(((i=n(913))&&i.__esModule?i:{default:i}).default);t.characterDiff=r},852:(e,t,n)=>{"use strict";var i;Object.defineProperty(t,"__esModule",{value:!0}),t.diffCss=function(e,t,n){return r.diff(e,t,n)},t.cssDiff=void 0;var r=new(((i=n(913))&&i.__esModule?i:{default:i}).default);t.cssDiff=r,r.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)}},276:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.diffJson=function(e,t,n){return o.diff(e,t,n)},t.canonicalize=c,t.jsonDiff=void 0;var i,r=(i=n(913))&&i.__esModule?i:{default:i},a=n(187);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var s=Object.prototype.toString,o=new r.default;function c(e,t,n,i,r){var a,o;for(t=t||[],n=n||[],i&&(e=i(r,e)),a=0;a{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.diffLines=function(e,t,n){return l.diff(e,t,n)},t.diffTrimmedLines=function(e,t,n){var i=(0,a.generateOptions)(n,{ignoreWhitespace:!0});return l.diff(e,t,i)},t.lineDiff=void 0;var i,r=(i=n(913))&&i.__esModule?i:{default:i},a=n(9),l=new r.default;t.lineDiff=l,l.tokenize=function(e){var t=[],n=e.split(/(\n|\r\n)/);n[n.length-1]||n.pop();for(var i=0;i{"use strict";var i;Object.defineProperty(t,"__esModule",{value:!0}),t.diffSentences=function(e,t,n){return r.diff(e,t,n)},t.sentenceDiff=void 0;var r=new(((i=n(913))&&i.__esModule?i:{default:i}).default);t.sentenceDiff=r,r.tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)}},303:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.diffWords=function(e,t,n){return n=(0,a.generateOptions)(n,{ignoreWhitespace:!0}),o.diff(e,t,n)},t.diffWordsWithSpace=function(e,t,n){return o.diff(e,t,n)},t.wordDiff=void 0;var i,r=(i=n(913))&&i.__esModule?i:{default:i},a=n(9),l=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,s=/\S/,o=new r.default;t.wordDiff=o,o.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!s.test(e)&&!s.test(t)},o.tokenize=function(e){for(var t=e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Diff",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"diffChars",{enumerable:!0,get:function(){return a.diffChars}}),Object.defineProperty(t,"diffWords",{enumerable:!0,get:function(){return l.diffWords}}),Object.defineProperty(t,"diffWordsWithSpace",{enumerable:!0,get:function(){return l.diffWordsWithSpace}}),Object.defineProperty(t,"diffLines",{enumerable:!0,get:function(){return s.diffLines}}),Object.defineProperty(t,"diffTrimmedLines",{enumerable:!0,get:function(){return s.diffTrimmedLines}}),Object.defineProperty(t,"diffSentences",{enumerable:!0,get:function(){return o.diffSentences}}),Object.defineProperty(t,"diffCss",{enumerable:!0,get:function(){return c.diffCss}}),Object.defineProperty(t,"diffJson",{enumerable:!0,get:function(){return f.diffJson}}),Object.defineProperty(t,"canonicalize",{enumerable:!0,get:function(){return f.canonicalize}}),Object.defineProperty(t,"diffArrays",{enumerable:!0,get:function(){return u.diffArrays}}),Object.defineProperty(t,"applyPatch",{enumerable:!0,get:function(){return d.applyPatch}}),Object.defineProperty(t,"applyPatches",{enumerable:!0,get:function(){return d.applyPatches}}),Object.defineProperty(t,"parsePatch",{enumerable:!0,get:function(){return p.parsePatch}}),Object.defineProperty(t,"merge",{enumerable:!0,get:function(){return h.merge}}),Object.defineProperty(t,"structuredPatch",{enumerable:!0,get:function(){return g.structuredPatch}}),Object.defineProperty(t,"createTwoFilesPatch",{enumerable:!0,get:function(){return g.createTwoFilesPatch}}),Object.defineProperty(t,"createPatch",{enumerable:!0,get:function(){return g.createPatch}}),Object.defineProperty(t,"convertChangesToDMP",{enumerable:!0,get:function(){return m.convertChangesToDMP}}),Object.defineProperty(t,"convertChangesToXML",{enumerable:!0,get:function(){return b.convertChangesToXML}});var i,r=(i=n(913))&&i.__esModule?i:{default:i},a=n(630),l=n(303),s=n(187),o=n(146),c=n(852),f=n(276),u=n(976),d=n(690),p=n(719),h=n(51),g=n(286),m=n(696),b=n(826)},690:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.applyPatch=l,t.applyPatches=function(e,t){"string"==typeof e&&(e=(0,r.parsePatch)(e));var n=0;!function i(){var r=e[n++];if(!r)return t.complete();t.loadFile(r,(function(e,n){if(e)return t.complete(e);var a=l(n,r,t);t.patched(r,a,(function(e){if(e)return t.complete(e);i()}))}))}()};var i,r=n(719),a=(i=n(495))&&i.__esModule?i:{default:i};function l(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=(0,r.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var i,l,s=e.split(/\r\n|[\n\v\f\r\x85]/),o=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],c=t.hunks,f=n.compareLine||function(e,t,n,i){return t===i},u=0,d=n.fuzzFactor||0,p=0,h=0;function g(e,t){for(var n=0;n0?i[0]:" ",a=i.length>0?i.substr(1):i;if(" "===r||"-"===r){if(!f(t+1,s[t],r,a)&&++u>d)return!1;t++}}return!0}for(var m=0;m0?_[0]:" ",k=_.length>0?_.substr(1):_,O=S.linedelimiters[C];if(" "===N)T++;else if("-"===N)s.splice(T,1),o.splice(T,1);else if("+"===N)s.splice(T,0,k),o.splice(T,0,O),T++;else if("\\"===N){var E=S.lines[C-1]?S.lines[C-1][0]:null;"+"===E?i=!0:"-"===E&&(l=!0)}}}if(i)for(;!s[s.length-1];)s.pop(),o.pop();else l&&(s.push(""),o.push("\n"));for(var P=0;P{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.structuredPatch=l,t.formatPatch=s,t.createTwoFilesPatch=o,t.createPatch=function(e,t,n,i,r,a){return o(e,e,t,n,i,r,a)};var i=n(187);function r(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n0?f(s.lines.slice(-o.context)):[],d-=h.length,p-=h.length)}(l=h).push.apply(l,r(i.map((function(e){return(t.added?"+":"-")+e})))),t.added?m+=i.length:g+=i.length}else{if(d)if(i.length<=2*o.context&&e=c.length-2&&i.length<=o.context){var x=/\n$/.test(n),j=/\n$/.test(a),L=0==i.length&&h.length>w.oldLines;!x&&L&&n.length>0&&h.splice(w.oldLines,0,"\\ No newline at end of file"),(x||L)&&j||h.push("\\ No newline at end of file")}u.push(w),d=0,p=0,h=[]}g+=i.length,m+=i.length}},v=0;v{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calcLineCount=o,t.merge=function(e,t,n){e=c(e,n),t=c(t,n);var i={};(e.index||t.index)&&(i.index=e.index||t.index),(e.newFileName||t.newFileName)&&(f(e)?f(t)?(i.oldFileName=u(i,e.oldFileName,t.oldFileName),i.newFileName=u(i,e.newFileName,t.newFileName),i.oldHeader=u(i,e.oldHeader,t.oldHeader),i.newHeader=u(i,e.newHeader,t.newHeader)):(i.oldFileName=e.oldFileName,i.newFileName=e.newFileName,i.oldHeader=e.oldHeader,i.newHeader=e.newHeader):(i.oldFileName=t.oldFileName||e.oldFileName,i.newFileName=t.newFileName||e.newFileName,i.oldHeader=t.oldHeader||e.oldHeader,i.newHeader=t.newHeader||e.newHeader)),i.hunks=[];for(var r=0,a=0,l=0,s=0;re.length)&&(t=e.length);for(var n=0,i=new Array(t);n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parsePatch=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),i=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],r=[],a=0;function l(){var e={};for(r.push(e);a{"use strict";function n(e,t){if(t.length>e.length)return!1;for(var n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var i=!0,r=!1,a=!1,l=1;return function s(){if(i&&!a){if(r?l++:i=!1,e+l<=n)return l;a=!0}if(!r)return a||(i=!0),t<=e-l?-l++:(r=!0,s())}}},9:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateOptions=function(e,t){if("function"==typeof e)t.callback=e;else if(e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}},397:(e,t)=>{!function(e){var t=/\S/,n=/\"/g,i=/\n/g,r=/\r/g,a=/\\/g,l=/\u2028/,s=/\u2029/;function o(e){return e.trim?e.trim():e.replace(/^\s*|\s*$/g,"")}function c(e,t,n){if(t.charAt(n)!=e.charAt(0))return!1;for(var i=1,r=e.length;i":7,"=":8,_v:9,"{":10,"&":11,_t:12},e.scan=function(n,i){var r,a=n.length,l=0,s=null,f=null,u="",d=[],p=!1,h=0,g=0,m="{{",b="}}";function v(){u.length>0&&(d.push({tag:"_t",text:new String(u)}),u="")}function y(n,i){if(v(),n&&function(){for(var n=!0,i=g;i"==r.tag&&(r.indent=d[a].text.toString()),d.splice(a,1));else i||d.push({tag:"\n"});p=!1,g=d.length}function w(e,t){var n="="+b,i=e.indexOf(n,t),r=o(e.substring(e.indexOf("=",t)+1,i)).split(" ");return m=r[0],b=r[r.length-1],i+n.length-1}for(i&&(i=i.split(" "),m=i[0],b=i[1]),h=0;h0;){if(o=t.shift(),a&&"<"==a.tag&&!(o.tag in f))throw new Error("Illegal content in < super tag.");if(e.tags[o.tag]<=e.tags.$||d(o,r))i.push(o),o.nodes=u(t,o.tag,i,r);else{if("/"==o.tag){if(0===i.length)throw new Error("Closing tag without opener: /"+o.n);if(s=i.pop(),o.n!=s.n&&!p(o.n,s.n,r))throw new Error("Nesting error: "+s.n+" vs. "+o.n);return s.end=o.i,l}"\n"==o.tag&&(o.last=0==t.length||"\n"==t[0].tag)}l.push(o)}if(i.length>0)throw new Error("missing closing tag: "+i.pop().n);return l}function d(e,t){for(var n=0,i=t.length;n":v,"<":function(t,n){var i={partials:{},code:"",subs:{},inPartial:!0};e.walk(t.nodes,i);var r=n.partials[v(t,n)];r.subs=i.subs,r.partials=i.partials},$:function(t,n){var i={subs:{},code:"",partials:n.partials,prefix:t.n};e.walk(t.nodes,i),n.subs[t.n]=i.code,n.inPartial||(n.code+='t.sub("'+m(t.n)+'",c,p,i);')},"\n":function(e,t){t.code+=w('"\\n"'+(e.last?"":" + i"))},_v:function(e,t){t.code+="t.b(t.v(t."+b(e.n)+'("'+m(e.n)+'",c,p,0)));'},_t:function(e,t){t.code+=w('"'+m(e.text)+'"')},"{":y,"&":y},e.walk=function(t,n){for(var i,r=0,a=t.length;r{var i=n(397);i.Template=n(882).Template,i.template=i.Template,e.exports=i},882:(e,t)=>{!function(e){function t(e,t,n){var i;return t&&"object"==typeof t&&(void 0!==t[e]?i=t[e]:n&&t.get&&"function"==typeof t.get&&(i=t.get(e))),i}e.Template=function(e,t,n,i){e=e||{},this.r=e.code||this.r,this.c=n,this.options=i||{},this.text=t||"",this.partials=e.partials||{},this.subs=e.subs||{},this.buf=""},e.Template.prototype={r:function(e,t,n){return""},v:function(e){return e=o(e),s.test(e)?e.replace(n,"&").replace(i,"<").replace(r,">").replace(a,"'").replace(l,"""):e},t:o,render:function(e,t,n){return this.ri([e],t||{},n)},ri:function(e,t,n){return this.r(e,t,n)},ep:function(e,t){var n=this.partials[e],i=t[n.name];if(n.instance&&n.base==i)return n.instance;if("string"==typeof i){if(!this.c)throw new Error("No compiler available.");i=this.c.compile(i,this.options)}if(!i)return null;if(this.partials[e].base=i,n.subs){for(key in t.stackText||(t.stackText={}),n.subs)t.stackText[key]||(t.stackText[key]=void 0!==this.activeSub&&t.stackText[this.activeSub]?t.stackText[this.activeSub]:this.text);i=function(e,t,n,i,r,a){function l(){}function s(){}var o;l.prototype=e,s.prototype=e.subs;var c=new l;for(o in c.subs=new s,c.subsText={},c.buf="",i=i||{},c.stackSubs=i,c.subsText=a,t)i[o]||(i[o]=t[o]);for(o in i)c.subs[o]=i[o];for(o in r=r||{},c.stackPartials=r,n)r[o]||(r[o]=n[o]);for(o in r)c.partials[o]=r[o];return c}(i,n.subs,n.partials,this.stackSubs,this.stackPartials,t.stackText)}return this.partials[e].instance=i,i},rp:function(e,t,n,i){var r=this.ep(e,n);return r?r.ri(t,n,i):""},rs:function(e,t,n){var i=e[e.length-1];if(c(i))for(var r=0;r=0;o--)if(void 0!==(a=t(e,n[o],s))){l=!0;break}return l?(r||"function"!=typeof a||(a=this.mv(a,n,i)),a):!r&&""},ls:function(e,t,n,i,r){var a=this.options.delimiters;return this.options.delimiters=r,this.b(this.ct(o(e.call(t,i)),t,n)),this.options.delimiters=a,!1},ct:function(e,t,n){if(this.options.disableLambda)throw new Error("Lambda features disabled.");return this.c.compile(e,this.options).render(t,n)},b:function(e){this.buf+=e},fl:function(){var e=this.buf;return this.buf="",e},ms:function(e,t,n,i,r,a,l){var s,o=t[t.length-1],c=e.call(o);return"function"==typeof c?!!i||(s=this.activeSub&&this.subsText&&this.subsText[this.activeSub]?this.subsText[this.activeSub]:this.text,this.ls(c,o,n,s.substring(r,a),l)):c},mv:function(e,t,n){var i=t[t.length-1],r=e.call(i);return"function"==typeof r?this.ct(o(r.call(i)),i,n):r},sub:function(e,t,n,i){var r=this.subs[e];r&&(this.activeSub=e,r(t,n,this,i),this.activeSub=!1)}};var n=/&/g,i=//g,a=/\'/g,l=/\"/g,s=/[&<>\"\']/;function o(e){return String(null==e?"":e)}var c=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}}(t)},468:function(e,t,n){"use strict";var i=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var i,r=0,a=t.length;r1?n[n.length-1]:t}function s(e,t){return t.reduce((function(t,n){return t||e.startsWith(n)}),!1)}var o=["a/","b/","i/","w/","c/","o/"];function c(e,t,n){var r=void 0!==n?i(i([],o,!0),[n],!1):o,l=((t?new RegExp("^"+(0,a.escapeForRegExp)(t)+' "?(.+?)"?$'):new RegExp('^"?(.+?)"?$')).exec(e)||[])[1],s=void 0===l?"":l,c=r.find((function(e){return 0===s.indexOf(e)}));return(c?s.slice(c.length):s).replace(/\s+\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}(?:\.\d+)? [+-]\d{4}.*$/,"")}t.parse=function(e,t){void 0===t&&(t={});var n=[],i=null,a=null,o=null,f=null,u=null,d=null,p=null,h="--- ",g="+++ ",m="@@",b=/^old mode (\d{6})/,v=/^new mode (\d{6})/,y=/^deleted file mode (\d{6})/,w=/^new file mode (\d{6})/,x=/^copy from "?(.+)"?/,j=/^copy to "?(.+)"?/,L=/^rename from "?(.+)"?/,S=/^rename to "?(.+)"?/,T=/^similarity index (\d+)%/,C=/^dissimilarity index (\d+)%/,_=/^index ([\da-z]+)\.\.([\da-z]+)\s*(\d{6})?/,N=/^Binary files (.*) and (.*) differ/,k=/^GIT binary patch/,O=/^index ([\da-z]+),([\da-z]+)\.\.([\da-z]+)/,E=/^mode (\d{6}),(\d{6})\.\.(\d{6})/,P=/^new file mode (\d{6})/,M=/^deleted file mode (\d{6}),(\d{6})/,H=e.replace(/\\ No newline at end of file/g,"").replace(/\r\n?/g,"\n").split("\n");function D(){null!==a&&null!==i&&(i.blocks.push(a),a=null)}function F(){null!==i&&(i.oldName||null===d||(i.oldName=d),i.newName||null===p||(i.newName=p),i.newName&&(n.push(i),i=null)),d=null,p=null}function I(){D(),F(),i={blocks:[],deletedLines:0,addedLines:0}}function A(e){var t;D(),null!==i&&((t=/^@@ -(\d+)(?:,\d+)? \+(\d+)(?:,\d+)? @@.*/.exec(e))?(i.isCombined=!1,o=parseInt(t[1],10),u=parseInt(t[2],10)):(t=/^@@@ -(\d+)(?:,\d+)? -(\d+)(?:,\d+)? \+(\d+)(?:,\d+)? @@@.*/.exec(e))?(i.isCombined=!0,o=parseInt(t[1],10),f=parseInt(t[2],10),u=parseInt(t[3],10)):(e.startsWith(m)&&console.error("Failed to parse lines, starting in 0!"),o=0,u=0,i.isCombined=!1)),a={lines:[],oldStartLine:o,oldStartLine2:f,newStartLine:u,header:e}}return H.forEach((function(e,f){if(e&&!e.startsWith("*")){var D,F=H[f-1],q=H[f+1],z=H[f+2];if(e.startsWith("diff")){if(I(),(D=/^diff --git "?([a-ciow]\/.+)"? "?([a-ciow]\/.+)"?/.exec(e))&&(d=c(D[1],void 0,t.dstPrefix),p=c(D[2],void 0,t.srcPrefix)),null===i)throw new Error("Where is my file !!!");i.isGitDiff=!0}else if((!i||!i.isGitDiff&&i&&e.startsWith(h)&&q.startsWith(g)&&z.startsWith(m))&&I(),!(null==i?void 0:i.isTooBig)){if(i&&("number"==typeof t.diffMaxChanges&&i.addedLines+i.deletedLines>t.diffMaxChanges||"number"==typeof t.diffMaxLineLength&&e.length>t.diffMaxLineLength))return i.isTooBig=!0,i.addedLines=0,i.deletedLines=0,i.blocks=[],a=null,void A("function"==typeof t.diffTooBigMessage?t.diffTooBigMessage(n.length):"Diff too big to be displayed");if(e.startsWith(h)&&q.startsWith(g)||e.startsWith(g)&&F.startsWith(h)){if(i&&!i.oldName&&e.startsWith("--- ")&&(D=function(e,t){return c(e,"---",t)}(e,t.srcPrefix)))return i.oldName=D,void(i.language=l(i.oldName,i.language));if(i&&!i.newName&&e.startsWith("+++ ")&&(D=function(e,t){return c(e,"+++",t)}(e,t.dstPrefix)))return i.newName=D,void(i.language=l(i.newName,i.language))}if(i&&(e.startsWith(m)||i.isGitDiff&&i.oldName&&i.newName&&!a))A(e);else if(a&&(e.startsWith("+")||e.startsWith("-")||e.startsWith(" ")))!function(e){if(null!==i&&null!==a&&null!==o&&null!==u){var t={content:e},n=i.isCombined?["+ "," +","++"]:["+"],l=i.isCombined?["- "," -","--"]:["-"];s(e,n)?(i.addedLines++,t.type=r.LineType.INSERT,t.oldNumber=void 0,t.newNumber=u++):s(e,l)?(i.deletedLines++,t.type=r.LineType.DELETE,t.oldNumber=o++,t.newNumber=void 0):(t.type=r.LineType.CONTEXT,t.oldNumber=o++,t.newNumber=u++),a.lines.push(t)}}(e);else{var W=!function(e,t){for(var n=t;n'),i.b("\n"+n),i.b(' '),i.b("\n"+n),i.b(i.rp("'),i.b(i.v(i.f("fileName",e,t,0))),i.b(""),i.b("\n"+n),i.b(' '),i.b("\n"+n),i.b(' '),i.b(i.v(i.f("addedLines",e,t,0))),i.b(""),i.b("\n"+n),i.b(' '),i.b(i.v(i.f("deletedLines",e,t,0))),i.b(""),i.b("\n"+n),i.b(" "),i.b("\n"+n),i.b(" "),i.b("\n"+n),i.b(""),i.fl()},partials:{"'),i.b("\n"+n),i.b('
'),i.b("\n"+n),i.b(' Files changed ('),i.b(i.v(i.f("filesNumber",e,t,0))),i.b(")"),i.b("\n"+n),i.b(' hide'),i.b("\n"+n),i.b(' show'),i.b("\n"+n),i.b("
"),i.b("\n"+n),i.b('
    '),i.b("\n"+n),i.b(" "),i.b(i.t(i.f("files",e,t,0))),i.b("\n"+n),i.b("
"),i.b("\n"+n),i.b(""),i.fl()},partials:{},subs:{}}),t.defaultTemplates["generic-block-header"]=new l.Template({code:function(e,t,n){var i=this;return i.b(n=n||""),i.b(""),i.b("\n"+n),i.b(' '),i.b("\n"+n),i.b(' '),i.b("\n"+n),i.b('
'),i.b(i.t(i.f("blockHeader",e,t,0))),i.b("
"),i.b("\n"+n),i.b(" "),i.b("\n"+n),i.b(""),i.fl()},partials:{},subs:{}}),t.defaultTemplates["generic-empty-diff"]=new l.Template({code:function(e,t,n){var i=this;return i.b(n=n||""),i.b(""),i.b("\n"+n),i.b(' '),i.b("\n"+n),i.b('
'),i.b("\n"+n),i.b(" File without changes"),i.b("\n"+n),i.b("
"),i.b("\n"+n),i.b(" "),i.b("\n"+n),i.b(""),i.fl()},partials:{},subs:{}}),t.defaultTemplates["generic-file-path"]=new l.Template({code:function(e,t,n){var i=this;return i.b(n=n||""),i.b(''),i.b("\n"+n),i.b(i.rp("'),i.b(i.v(i.f("fileDiffName",e,t,0))),i.b(""),i.b("\n"+n),i.b(i.rp(""),i.b("\n"+n),i.b('"),i.fl()},partials:{""),i.b("\n"+n),i.b(' '),i.b("\n"+n),i.b(" "),i.b(i.t(i.f("lineNumber",e,t,0))),i.b("\n"+n),i.b(" "),i.b("\n"+n),i.b(' '),i.b("\n"+n),i.b('
'),i.b("\n"+n),i.s(i.f("prefix",e,t,1),e,t,0,162,238,"{{ }}")&&(i.rs(e,t,(function(e,t,i){i.b(' '),i.b(i.t(i.f("prefix",e,t,0))),i.b(""),i.b("\n"+n)})),e.pop()),i.s(i.f("prefix",e,t,1),e,t,1,0,0,"")||(i.b('  '),i.b("\n"+n)),i.s(i.f("content",e,t,1),e,t,0,371,445,"{{ }}")&&(i.rs(e,t,(function(e,t,i){i.b(' '),i.b(i.t(i.f("content",e,t,0))),i.b(""),i.b("\n"+n)})),e.pop()),i.s(i.f("content",e,t,1),e,t,1,0,0,"")||(i.b('
'),i.b("\n"+n)),i.b("
"),i.b("\n"+n),i.b(" "),i.b("\n"+n),i.b(""),i.fl()},partials:{},subs:{}}),t.defaultTemplates["generic-wrapper"]=new l.Template({code:function(e,t,n){var i=this;return i.b(n=n||""),i.b('
'),i.b("\n"+n),i.b(" "),i.b(i.t(i.f("content",e,t,0))),i.b("\n"+n),i.b("
"),i.fl()},partials:{},subs:{}}),t.defaultTemplates["icon-file-added"]=new l.Template({code:function(e,t,n){var i=this;return i.b(n=n||""),i.b('"),i.fl()},partials:{},subs:{}}),t.defaultTemplates["icon-file-changed"]=new l.Template({code:function(e,t,n){var i=this;return i.b(n=n||""),i.b('"),i.fl()},partials:{},subs:{}}),t.defaultTemplates["icon-file-deleted"]=new l.Template({code:function(e,t,n){var i=this;return i.b(n=n||""),i.b('"),i.fl()},partials:{},subs:{}}),t.defaultTemplates["icon-file-renamed"]=new l.Template({code:function(e,t,n){var i=this;return i.b(n=n||""),i.b('"),i.fl()},partials:{},subs:{}}),t.defaultTemplates["icon-file"]=new l.Template({code:function(e,t,n){var i=this;return i.b(n=n||""),i.b('"),i.fl()},partials:{},subs:{}}),t.defaultTemplates["line-by-line-file-diff"]=new l.Template({code:function(e,t,n){var i=this;return i.b(n=n||""),i.b('
'),i.b("\n"+n),i.b('
'),i.b("\n"+n),i.b(" "),i.b(i.t(i.f("filePath",e,t,0))),i.b("\n"+n),i.b("
"),i.b("\n"+n),i.b('
'),i.b("\n"+n),i.b('
'),i.b("\n"+n),i.b(' '),i.b("\n"+n),i.b(' '),i.b("\n"+n),i.b(" "),i.b(i.t(i.f("diffs",e,t,0))),i.b("\n"+n),i.b(" "),i.b("\n"+n),i.b("
"),i.b("\n"+n),i.b("
"),i.b("\n"+n),i.b("
"),i.b("\n"+n),i.b("
"),i.fl()},partials:{},subs:{}}),t.defaultTemplates["line-by-line-numbers"]=new l.Template({code:function(e,t,n){var i=this;return i.b(n=n||""),i.b('
'),i.b(i.v(i.f("oldNumber",e,t,0))),i.b("
"),i.b("\n"+n),i.b('
'),i.b(i.v(i.f("newNumber",e,t,0))),i.b("
"),i.fl()},partials:{},subs:{}}),t.defaultTemplates["side-by-side-file-diff"]=new l.Template({code:function(e,t,n){var i=this;return i.b(n=n||""),i.b('
'),i.b("\n"+n),i.b('
'),i.b("\n"+n),i.b(" "),i.b(i.t(i.f("filePath",e,t,0))),i.b("\n"+n),i.b("
"),i.b("\n"+n),i.b('
'),i.b("\n"+n),i.b('
'),i.b("\n"+n),i.b('
'),i.b("\n"+n),i.b(' '),i.b("\n"+n),i.b(' '),i.b("\n"+n),i.b(" "),i.b(i.t(i.d("diffs.left",e,t,0))),i.b("\n"+n),i.b(" "),i.b("\n"+n),i.b("
"),i.b("\n"+n),i.b("
"),i.b("\n"+n),i.b("
"),i.b("\n"+n),i.b('
'),i.b("\n"+n),i.b('
'),i.b("\n"+n),i.b(' '),i.b("\n"+n),i.b(' '),i.b("\n"+n),i.b(" "),i.b(i.t(i.d("diffs.right",e,t,0))),i.b("\n"+n),i.b(" "),i.b("\n"+n),i.b("
"),i.b("\n"+n),i.b("
"),i.b("\n"+n),i.b("
"),i.b("\n"+n),i.b("
"),i.b("\n"+n),i.b("
"),i.fl()},partials:{},subs:{}}),t.defaultTemplates["tag-file-added"]=new l.Template({code:function(e,t,n){var i=this;return i.b(n=n||""),i.b('ADDED'),i.fl()},partials:{},subs:{}}),t.defaultTemplates["tag-file-changed"]=new l.Template({code:function(e,t,n){var i=this;return i.b(n=n||""),i.b('CHANGED'),i.fl()},partials:{},subs:{}}),t.defaultTemplates["tag-file-deleted"]=new l.Template({code:function(e,t,n){var i=this;return i.b(n=n||""),i.b('DELETED'),i.fl()},partials:{},subs:{}}),t.defaultTemplates["tag-file-renamed"]=new l.Template({code:function(e,t,n){var i=this;return i.b(n=n||""),i.b('RENAMED'),i.fl()},partials:{},subs:{}})},834:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0)&&(t.push([[],n,i]),n=[],i=[]),a.type===c.LineType.CONTEXT?t.push([[a],[],[]]):a.type===c.LineType.INSERT&&0===n.length?t.push([[],[],[a]]):a.type===c.LineType.INSERT&&n.length>0?i.push(a):a.type===c.LineType.DELETE&&n.push(a)}return(n.length||i.length)&&(t.push([[],n,i]),n=[],i=[]),t},e.prototype.applyRematchMatching=function(e,t,n){var i=e.length*t.length,r=Math.max.apply(null,[0].concat(e.concat(t).map((function(e){return e.content.length}))));return i{"use strict";function n(e,t){if(0===e.length)return t.length;if(0===t.length)return e.length;var n,i,r=[];for(n=0;n<=t.length;n++)r[n]=[n];for(i=0;i<=e.length;i++)r[0][i]=i;for(n=1;n<=t.length;n++)for(i=1;i<=e.length;i++)t.charAt(n-1)===e.charAt(i-1)?r[n][i]=r[n-1][i-1]:r[n][i]=Math.min(r[n-1][i-1]+1,Math.min(r[n][i-1]+1,r[n-1][i]+1));return r[t.length][e.length]}Object.defineProperty(t,"__esModule",{value:!0}),t.newMatcherFn=t.newDistanceFn=t.levenshtein=void 0,t.levenshtein=n,t.newDistanceFn=function(e){return function(t,i){var r=e(t).trim(),a=e(i).trim();return n(r,a)/(r.length+a.length)}},t.newMatcherFn=function(e){return function t(n,i,r,a){void 0===r&&(r=0),void 0===a&&(a=new Map);var l=function(t,n,i){void 0===i&&(i=new Map);for(var r,a=1/0,l=0;l0||l.indexB>0)&&(v=g.concat(v)),(n.length>u||i.length>d)&&(v=v.concat(b)),v}}},741:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n]*>((.|\n)*?)<\/del>)/g,"")}function m(e){return e.slice(0).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/")}function b(e,t,n){void 0===n&&(n=!0);var i=function(e){return e?2:1}(t);return{prefix:e.substring(0,i),content:n?m(e.substring(i)):e.substring(i)}}function v(e){var t=(0,o.unifyPath)(e.oldName),n=(0,o.unifyPath)(e.newName);if(t===n||h(t)||h(n))return h(n)?t:n;for(var i=[],r=[],a=t.split(u),l=n.split(u),s=0,c=a.length-1,f=l.length-1;ss&&f>s&&a[c]===l[f];)r.unshift(l[f]),c-=1,f-=1;var d=i.join(u),p=r.join(u),g=a.slice(s,c+1).join(u),m=l.slice(s,f+1).join(u);return d.length&&p.length?d+u+"{"+g+" → "+m+"}"+u+p:d.length?d+u+"{"+g+" → "+m+"}":p.length?"{"+g+" → "+m+"}"+u+p:t+" → "+n}t.toCSSClass=function(e){switch(e){case f.LineType.CONTEXT:return t.CSSLineClass.CONTEXT;case f.LineType.INSERT:return t.CSSLineClass.INSERTS;case f.LineType.DELETE:return t.CSSLineClass.DELETES}},t.escapeForHtml=m,t.deconstructLine=b,t.filenameDiff=v,t.getHtmlId=function(e){return"d2h-"+(0,o.hashCode)(v(e)).toString().slice(-6)},t.getFileIcon=function(e){var t="file-changed";return e.isRename||e.isCopy?t="file-renamed":e.isNew?t="file-added":e.isDeleted?t="file-deleted":e.newName!==e.oldName&&(t="file-renamed"),t},t.diffHighlight=function(e,n,r,a){void 0===a&&(a={});var l=i(i({},t.defaultRenderConfig),a),o=l.matching,c=l.maxLineLengthHighlight,f=l.matchWordsThreshold,u=l.diffStyle,h=b(e,r,!1),v=b(n,r,!1);if(h.content.length>c||v.content.length>c)return{oldLine:{prefix:h.prefix,content:m(h.content)},newLine:{prefix:v.prefix,content:m(v.content)}};var y="char"===u?s.diffChars(h.content,v.content):s.diffWordsWithSpace(h.content,v.content),w=[];if("word"===u&&"words"===o){var x=y.filter((function(e){return e.removed})),j=y.filter((function(e){return e.added}));p(j,x).forEach((function(e){1===e[0].length&&1===e[1].length&&d(e[0][0],e[1][0])-1?' class="d2h-change"':"",r=m(t.value);return null!==n?e+"<"+n+i+">"+r+"":""+e+r}),"");return{oldLine:{prefix:h.prefix,content:(L=S,L.replace(/(]*>((.|\n)*?)<\/ins>)/g,""))},newLine:{prefix:v.prefix,content:g(S)}}}},170:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0)&&(t.push([[],n,i]),n=[],i=[]),a.type===c.LineType.CONTEXT?t.push([[a],[],[]]):a.type===c.LineType.INSERT&&0===n.length?t.push([[],[],[a]]):a.type===c.LineType.INSERT&&n.length>0?i.push(a):a.type===c.LineType.DELETE&&n.push(a)}return(n.length||i.length)&&(t.push([[],n,i]),n=[],i=[]),t},e.prototype.applyRematchMatching=function(e,t,n){var i=e.length*t.length,r=Math.max.apply(null,[0].concat(e.concat(t).map((function(e){return e.content.length}))));return i{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DiffStyleType=t.LineMatchingType=t.OutputFormatType=t.LineType=void 0,(n=t.LineType||(t.LineType={})).INSERT="insert",n.DELETE="delete",n.CONTEXT="context",t.OutputFormatType={LINE_BY_LINE:"line-by-line",SIDE_BY_SIDE:"side-by-side"},t.LineMatchingType={LINES:"lines",WORDS:"words",NONE:"none"},t.DiffStyleType={WORD:"word",CHAR:"char"}},169:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n{"use strict";function n(e){return e.replace(/&/gm,"&").replace(//gm,">")}function i(e){return e.nodeName.toLowerCase()}Object.defineProperty(t,"__esModule",{value:!0}),t.getLanguage=t.closeTags=t.mergeStreams=t.nodeStream=void 0,t.nodeStream=function(e){var t=[],n=function(e,r){for(var a=e.firstChild;a;a=a.nextSibling)3===a.nodeType&&null!==a.nodeValue?r+=a.nodeValue.length:1===a.nodeType&&(t.push({event:"start",offset:r,node:a}),r=n(a,r),i(a).match(/br|hr|img|input/)||t.push({event:"stop",offset:r,node:a}));return r};return n(e,0),t},t.mergeStreams=function(e,t,r){var a=0,l="",s=[];function o(){return e.length&&t.length?e[0].offset!==t[0].offset?e[0].offset"}function f(e){l+=""}function u(e){("start"===e.event?c:f)(e.node)}for(;e.length||t.length;){var d=o();if(l+=n(r.substring(a,d[0].offset)),a=d[0].offset,d===e){s.reverse().forEach(f);do{u(d.splice(0,1)[0]),d=o()}while(d===e&&d.length&&d[0].offset===a);s.reverse().forEach(c)}else"start"===d[0].event?s.push(d[0].node):s.pop(),u(d.splice(0,1)[0])}return l+n(r.substr(a))},t.closeTags=function(e){var t=new Array;return e.value=e.value.split("\n").map((function(e){var n=t.map((function(e){return''})).join(""),i=e.matchAll(/(|<\/span>)/g);return Array.from(i).forEach((function(e){""===e[0]?t.shift():t.unshift(e[2])})),n+e+"".repeat(t.length)})).join("\n"),e};var r={"1c":"1c",abnf:"abnf",accesslog:"accesslog",as:"actionscript",adb:"ada",ada:"ada",ads:"ada",angelscript:"angelscript",apache:"apache",applescript:"applescript",scpt:"applescript",arcade:"arcade",cpp:"cpp",hpp:"cpp",arduino:"arduino",ino:"arduino",armasm:"armasm",arm:"armasm",xml:"xml",html:"xml",xhtml:"xml",rss:"xml",atom:"xml",xjb:"xml",xsd:"xml",xsl:"xml",plist:"xml",svg:"xml",asciidoc:"asciidoc",adoc:"asciidoc",asc:"asciidoc",aspectj:"aspectj",ahk:"autohotkey",ahkl:"autohotkey",au3:"autoit",avrasm:"avrasm",awk:"awk",axapta:"axapta","x++":"axapta",bash:"bash",sh:"bash",zsh:"bash",b:"basic",bnf:"bnf",bf:"brainfuck",c:"c",h:"c",cats:"c",idc:"c",cal:"cal",capnproto:"capnproto",capnp:"capnproto",ceylon:"ceylon",clean:"clean",clj:"clojure",boot:"clojure",cl2:"clojure",cljc:"clojure",cljs:"clojure","cljs.hl":"clojure",cljscm:"clojure",cljx:"clojure",hic:"clojure","clojure-repl":"clojure-repl",cmake:"cmake","cmake.in":"cmake",coffee:"coffeescript",_coffee:"coffeescript",cake:"coffeescript",cjsx:"coffeescript",iced:"coffeescript",cson:"coffeescript",coq:"coq",cos:"cos",cls:"cos",crmsh:"crmsh",crm:"crmsh",pcmk:"crmsh",cr:"crystal",cs:"csharp",csx:"csharp",csp:"csp",css:"css",d:"d",di:"d",md:"markdown",markdown:"markdown",mdown:"markdown",mdwn:"markdown",mkd:"markdown",mkdn:"markdown",mkdown:"markdown",ronn:"markdown",workbook:"markdown",dart:"dart",dpr:"delphi",dfm:"delphi",pas:"delphi",pascal:"delphi",diff:"diff",patch:"diff",django:"django",jinja:"django",dns:"dns",zone:"dns",bind:"dns",dockerfile:"dockerfile",docker:"dockerfile",dos:"dos",bat:"dos",cmd:"dos",dsconfig:"dsconfig",dts:"dts",dust:"dust",dst:"dust",ebnf:"ebnf",ex:"elixir",exs:"elixir",elm:"elm",rb:"ruby",builder:"ruby",eye:"ruby",gemspec:"ruby",god:"ruby",jbuilder:"ruby",mspec:"ruby",pluginspec:"ruby",podspec:"ruby",rabl:"ruby",rake:"ruby",rbuild:"ruby",rbw:"ruby",rbx:"ruby",ru:"ruby",ruby:"ruby",spec:"ruby",thor:"ruby",watchr:"ruby",erb:"erb","erlang-repl":"erlang-repl",erl:"erlang","app.src":"erlang",escript:"erlang",hrl:"erlang",xrl:"erlang",yrl:"erlang",excel:"excel",xls:"excel",xlsx:"excel",fix:"fix",flix:"flix",f90:"fortran",f:"fortran",f03:"fortran",f08:"fortran",f77:"fortran",f95:"fortran",for:"fortran",fpp:"fortran",fs:"fsharp",fsx:"fsharp",gams:"gams",gms:"gams",gauss:"gauss",gss:"gauss",gcode:"gcode",nc:"gcode",gherkin:"gherkin",glsl:"glsl",fp:"glsl",frag:"glsl",frg:"glsl",fsh:"glsl",fshader:"glsl",geo:"glsl",geom:"glsl",glslv:"glsl",gshader:"glsl",shader:"glsl",tesc:"glsl",tese:"glsl",vert:"glsl",vrx:"glsl",vsh:"glsl",vshader:"glsl",gml:"gml",go:"go",bal:"go",golo:"golo",gololang:"golo",gradle:"gradle",groovy:"groovy",grt:"groovy",gtpl:"groovy",gvy:"groovy",haml:"haml","haml.deface":"haml",handlebars:"handlebars",hbs:"handlebars","html.hbs":"handlebars","html.handlebars":"handlebars",hs:"haskell",hsc:"haskell",idr:"haskell",purs:"haskell",hx:"haxe",hxsl:"haxe",hsp:"hsp",htmlbars:"htmlbars",http:"http",https:"http",hy:"hy",inform7:"inform7",i7:"inform7",ini:"ini",toml:"ini",cfg:"ini",prefs:"ini",irpf90:"irpf90",isbl:"isbl",java:"java",jsp:"java",js:"javascript",jsx:"javascript",_js:"javascript",bones:"javascript",es:"javascript",es6:"javascript",gs:"javascript",jake:"javascript",jsb:"javascript",jscad:"javascript",jsfl:"javascript",jsm:"javascript",jss:"javascript",mjs:"javascript",njs:"javascript",pac:"javascript",sjs:"javascript",ssjs:"javascript",xsjs:"javascript",xsjslib:"javascript",cfc:"javascript","jboss-cli":"jboss-cli",json:"json",avsc:"json",geojson:"json",gltf:"json","JSON-tmLanguage":"json",jsonl:"json",tfstate:"json","tfstate.backup":"json",topojson:"json",webapp:"json",webmanifest:"json",jl:"julia","julia-repl":"julia-repl",kt:"kotlin",ktm:"kotlin",kts:"kotlin",lasso:"lasso",lassoscript:"lasso",tex:"latex",ldif:"ldif",leaf:"leaf",less:"less",lisp:"lisp",factor:"lisp",livecodeserver:"livecodeserver",ls:"livescript",_ls:"livescript",llvm:"llvm",lsl:"lsl",lua:"lua",nse:"lua",p8:"lua",pd_lua:"lua",rbxs:"lua",wlua:"lua",mak:"makefile",make:"makefile",mk:"makefile",mkfile:"makefile",mathematica:"mathematica",mma:"mathematica",wl:"mathematica",matlab:"matlab",maxima:"maxima",mel:"mel",mercury:"mercury",mipsasm:"mipsasm",miz:"mizar",voc:"mizar",al:"perl",cgi:"perl",fcgi:"perl",perl:"perl",ph:"perl",plx:"perl",pl:"perl",pm:"perl",psgi:"perl",t:"perl",mojolicious:"mojolicious",monkey:"monkey",monkey2:"monkey",moonscript:"moonscript",moon:"moonscript",n1ql:"n1ql",nginxconf:"nginx",nim:"nim",nimrod:"nim",nix:"nix",nsi:"nsis",nsh:"nsis",m:"objectivec",objc:"objectivec",mm:"objectivec","obj-c":"objectivec","obj-c++":"objectivec","objective-c++":"objectivec",fun:"ocaml",sig:"ocaml",ml:"ocaml",mli:"ocaml",eliom:"ocaml",eliomi:"ocaml",ml4:"ocaml",mll:"ocaml",mly:"ocaml",openscad:"openscad",oxygene:"oxygene",parser3:"parser3",pf:"pf","pf.conf":"pf",pgsql:"pgsql",postgres:"pgsql",postgresql:"pgsql",php:"php",aw:"php",ctp:"php",inc:"php",php3:"php",php4:"php",php5:"php",phps:"php",phpt:"php","php-template":"php-template",plaintext:"plaintext",txt:"plaintext",text:"plaintext",pony:"pony",ps:"powershell",ps1:"powershell",psd1:"powershell",psm1:"powershell",pde:"processing",profile:"profile",pro:"prolog",prolog:"prolog",yap:"prolog",properties:"properties",proto:"protobuf",puppet:"puppet",pp:"puppet",purebasic:"purebasic",py:"python",bzl:"python",gyp:"python",gypi:"python",lmi:"python",py3:"python",pyde:"python",pyi:"python",pyp:"python",pyt:"python",pyw:"python",rpy:"python",tac:"python",wsgi:"python",xpy:"python","python-repl":"python-repl",pycon:"python-repl",q:"q",k:"q",kdb:"q",qml:"qml",r:"r",rd:"r",rsx:"r",reasonml:"reasonml",re:"reasonml",rib:"rib",roboconf:"roboconf",graph:"roboconf",instances:"roboconf",routeros:"routeros",rsl:"rsl",ruleslanguage:"ruleslanguage",rs:"rust","rs.in":"rust",sas:"sas",scala:"scala",kojo:"scala",sbt:"scala",sc:"scala",scm:"scheme",sch:"scheme",sld:"scheme",sls:"scheme",sps:"scheme",ss:"scheme",rkt:"scheme",scilab:"scilab",scss:"scss",shell:"shell",smali:"smali",st:"smalltalk",sml:"sml",sqf:"sqf",sql:"sql",cql:"sql",ddl:"sql",mysql:"sql",prc:"sql",tab:"sql",udf:"sql",viw:"sql",stan:"stan",stanfuncs:"stan",stata:"stata",step21:"step21",step:"step21",stp:"step21",styl:"stylus",subunit:"subunit",swift:"swift",taggerscript:"taggerscript",yml:"yaml",mir:"yaml",reek:"yaml",rviz:"yaml","sublime-syntax":"yaml",syntax:"yaml",yaml:"yaml","yaml-tmlanguage":"yaml","yml.mysql":"yaml",tap:"tap",tcl:"tcl",adp:"tcl",tm:"tcl",thrift:"thrift",tp:"tp",twig:"twig",craftcms:"twig",ts:"typescript",tsx:"typescript",vala:"vala",vbnet:"vbnet",vb:"vbnet",vbscript:"vbscript",vbs:"vbscript","vbscript-html":"vbscript-html",v:"verilog",veo:"verilog",vhdl:"vhdl",vhd:"vhdl",vhf:"vhdl",vhi:"vhdl",vho:"vhdl",vhs:"vhdl",vht:"vhdl",vhw:"vhdl",vim:"vim",x86asm:"x86asm",xl:"xl",xquery:"xquery",xpath:"xquery",xq:"xquery",zephir:"zephir",zep:"zephir"};t.getLanguage=function(e){var t;return null!==(t=r[e])&&void 0!==t?t:"plaintext"}},593:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hashCode=t.unifyPath=t.escapeForRegExp=void 0;var n=RegExp("["+["-","[","]","/","{","}","(",")","*","+","?",".","\\","^","$","|"].join("\\")+"]","g");t.escapeForRegExp=function(e){return e.replace(n,"\\$&")},t.unifyPath=function(e){return e?e.replace(/\\/g,"/"):e},t.hashCode=function(e){var t,n,i=0;for(t=0,n=e.length;t