PageSourceSearch

https://www.editions-jclattes.fr/_next/static/chunks/7709.670208ea7ad51815.js

js editions-jclattes.fr collected 2026-10-02 03:18:30 UTC 68,003 bytes, 1 lines download raw bytes

vendor: 3,392 bytes, line 1
1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7709],{8170:function(t,e,n){t=n.nmd(t),ace.define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(t,e,n){"use strict";var r=t("../lib/oop"),o=t("./text_highlight_rules").TextHighlightRules,i=function(){this.$rules={start:[{token:"variable",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]\\s*(?=:)'},{token:"string",regex:'"',next:"string"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:"text",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"comment",regex:"\\/\\/.*$"},{token:"comment.start",regex:"\\/\\*",next:"comment"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}],string:[{token:"constant.language.escape",regex:/\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|["\\\/bfnrt])/},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],comment:[{token:"comment.end",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}]}};r.inherits(i,o),e.JsonHighlightRules=i})),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],(function(t,e,n){"use strict";var r=t("../range").Range,o=function(){};(function(){this.checkOutdent=function(t,e){return!!/^\s+$/.test(t)&&/^\s*\}/.test(e)},this.autoOutdent=function(t,e){var n=t.getLine(e).match(/^(\s*\})/);if(!n)return 0;var o=n[1].length,i=t.findMatchingBracket({row:e,column:o});if(!i||i.row==e)return 0;var s=this.$getIndent(t.getLine(i.row));t.replace(new r(e,0,e,o-1),s)},this.$getIndent=function(t){return t.match(/^\s*/)[0]}}).call(o.prototype),e.MatchingBraceOutdent=o})),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(t,e,n){"use strict";var r=t("../../lib/oop"),o=t("../../range").Range,i=t("./fold_mode").FoldMode,s=e.FoldMode=function(t){t&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+t.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+t.end)))};r.inherits(s,i),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(t,e,n){var r=t.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return"";var o=this._getFoldWidgetBase(t,e,n);return!o&&this.startRegionRe.test(r)?"start":o},this.getFoldWidgetRange=function(t,e,n,r){var o,i=t.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(t,i,n);if(o=i.match(this.foldingStartMarker)){var s=o.index;if(o[1])return this.openingBracketBlock(t,o[1],n,s);var a=t.getCommentFoldRange(n,s+o[0].length,1);return a&&!a.isMultiLine()&&(r?a=this.getSectionRange(t,n):"all"!=e&&(a=null)),a}if("markbegin"!==e&&(o=i.match(this.foldingStopMarker))){s=o.index+o[0].length;return o[1]?this.closingBracketBlock(t,o[1],n,s):t.getCommentFoldRange(n,s,-1)}}
1,this.getSectionRange=function(t,e){for(var n=t.getLine(e),r=n.search(/\S/),i=e,s=n.length,a=e+=1,c=t.getLength();++e<c;){var h=(n=t.getLine(e)).search(/\S/);if(-1!==h){if(r>h)break;var l=this.getFoldWidgetRange(t,"all",e);if(l){if(l.start.row<=i)break;if(l.isMultiLine())e=l.end.row;else if(r==h)break}a=e}}return new o(i,s,a,t.getLine(a).length)},this.getCommentRegionBlock=function(t,e,n){for(var r=e.search(/\s*$/),i=t.getLength(),s=n,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,c=1;++n<i;){e=t.getLine(n);var h=a.exec(e);if(h&&(h[1]?c--:c++,!c))break}if(n>s)return new o(s,r,n,e.length)}}.call(s.prototype)})),ace.define("ace/mode/json",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/json_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle","ace/worker/worker_client"],(function(t,e,n){"use strict";var r=t("../lib/oop"),o=t("./text").Mode,i=t("./json_highlight_rules").JsonHighlightRules,s=t("./matching_brace_outdent").MatchingBraceOutdent,a=t("./behaviour/cstyle").CstyleBehaviour,c=t("./folding/cstyle").FoldMode,h=t("../worker/worker_client").WorkerClient,l=function(){this.HighlightRules=i,this.$outdent=new s,this.$behaviour=new a,this.foldingRules=new c};r.inherits(l,o),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(t,e,n){var r=this.$getIndent(e);"start"==t&&(e.match(/^.*[\{\(\[]\s*$/)&&(r+=n));return r},this.checkOutdent=function(t,e,n){return this.$outdent.checkOutdent(e,n)},this.autoOutdent=function(t,e,n){this.$outdent.autoOutdent(e,n)},this.createWorker=function(t){var e=new h(["ace"],"ace/mode/json_worker","JsonWorker");return e.attachToDocument(t.getDocument()),e.on("annotate",(function(e){t.setAnnotations(e.data)})),e.on("terminate",(function(){t.clearAnnotations()})),e},this.$id="ace/mode/json"}.call(l.prototype),e.Mode=l})),ace.require(["ace/mode/json"],(function(e){t&&(t.exports=e)}))},60243:function(t,e,n){t=n.nmd(t),ace.define("ace/theme/dracula",["require","exports","module","ace/lib/dom"],(function(t,e,n){e.isDark=!0,e.cssClass="ace-dracula",e.cssText=".ace-dracula .ace_gutter {background: #282a36;color: rgb(144,145,148)}.ace-dracula .ace_print-margin {width: 1px;background: #44475a}.ace-dracula {background-color: #282a36;color: #f8f8f2}.ace-dracula .ace_cursor {color: #f8f8f0}.ace-dracula .ace_marker-layer .ace_selection {background: #44475a}.ace-dracula.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px #282a36;border-radius: 2px}.ace-dracula .ace_marker-layer .ace_step {background: rgb(198, 219, 174)}.ace-dracula .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid #a29709}.ace-dracula .ace_marker-layer .ace_active-line {background: #44475a}.ace-dracula .ace_gutter-active-line {background-color: #44475a}.ace-dracula .ace_marker-layer .ace_selected-word {box-shadow: 0px 0px 0px 1px #a29709;border-radius: 3px;}.ace-dracula .ace_fold {background-color: #50fa7b;border-color: #f8f8f2}.ace-dracula .ace_keyword {color: #ff79c6}.ace-dracula .ace_constant.ace_language {color: #bd93f9}.ace-dracula .ace_constant.ace_numeric {color: #bd93f9}.ace-dracula .ace_constant.ace_character {color: #bd93f9}.ace-dracula .ace_constant.ace_character.ace_escape {color: #ff79c6}.ace-dracula .ace_constant.ace_other {color: #bd93f9}.ace-dracula .ace_support.ace_function {color: #8be9fd}.ace-dracula .ace_support.ace_constant {color: #6be5fd}.ace-dracula .ace_support.ace_class {font-style: italic;color: #66d9ef}.ace-dracula .ace_support.ace_type {font-style: italic;color: #66d9ef}.ace-dracula .ace_storage {color: #ff79c6}.ace-dracula .ace_storage.ace_type {font-style: italic;color: #8be9fd}.ace-dracula .ace_invalid {color: #F8F8F0;background-color: #ff79c6}.ace-dracula .ace_invalid.ace_deprecated {color: #F8F8F0;background-color: #bd93f9}.ace-dracula .ace_string {color: #f1fa8c}.ace-dracula .ace_comment {color: #6272a4}.ace-dracula .ace_variable {color: #50fa7b}.ace-dracula .ace_variable.ace_parameter {font-style: italic;color: #ffb86c}.ace-dracula .ace_entity.ace_other.ace_attribute-name {color: #50fa7b}.ace-dracula .ace_entity.ace_name.ace_function {color: #50fa7b}.ace-dracula .ace_entity.ace_name.ace_tag {color: #ff79c6}.ace-dracula .ace_invisible {color: #626680;}.ace-dracula .ace_indent-guide {background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHB3d/8PAAOIAdULw8qMAAAAAElFTkSuQmCC) right repeat-y}",e.$selectionColorConflict=!0,t("../lib/dom").importCssString(e.cssText,e.cssClass,!1)})),ace.require(["ace/theme/dracula"],(function(e){t&&(t.exports=e)}))},11427:function(t){var e=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},n=-1;e.Diff=function(t,e){return[t,e]},e.prototype.diff_main=function(t,n,r,o){"undefined"==typeof o&&(o=this.Diff_Timeout<=0?Number.MAX_VALUE:(new Date).getTime()+1e3*this.Diff_Timeout);var i=o;if(null==t||null==n)throw new Error("Null input. (diff_main)");if(t==n)return t?[new e.Diff(0,t)]:[];"undefined"==typeof r&&(r=!0);var s=r,a=this.diff_commonPrefix(t,n),c=t.substring(0,a);t=t.substring(a),n=n.substring(a),a=this.diff_commonSuffix(t,n);var h=t.substring(t.length-a);t=t.substring(0,t.length-a),n=n.substring(0,n.length-a);var l=this.diff_compute_(t,n,s,i);return c&&l.unshift(new e.Diff(0,c)),h&&l.push(new e.Diff(0,h)),this.diff_cleanupMerge(l),l},e.prototype.diff_compute_=function(t,r,o,i){var s;if(!t)return[new e.Diff(1,r)];if(!r)return[new e.Diff(n,t)];var a=t.length>r.length?t:r,c=t.length>r.length?r:t,h=a.indexOf(c);if(-1!=h)return s=[new e.Diff(1,a.substring(0,h)),new e.Diff(0,c),new e.Diff(1,a.substring(h+c.length))],t.length>r.length&&(s[0][0]=s[2][0]=n),s;if(1==c.length)return[new e.Diff(n,t),new e.Diff(1,r)];var l=this.diff_halfMatch_(t,r);
vendor: 17,597 bytes, line 1
1if(l){var f=l[0],u=l[1],p=l[2],d=l[3],g=l[4],b=this.diff_main(f,p,o,i),_=this.diff_main(u,d,o,i);return b.concat([new e.Diff(0,g)],_)}return o&&t.length>100&&r.length>100?this.diff_lineMode_(t,r,i):this.diff_bisect_(t,r,i)},e.prototype.diff_lineMode_=function(t,r,o){var i=this.diff_linesToChars_(t,r);t=i.chars1,r=i.chars2;var s=i.lineArray,a=this.diff_main(t,r,!1,o);this.diff_charsToLines_(a,s),this.diff_cleanupSemantic(a),a.push(new e.Diff(0,""));for(var c=0,h=0,l=0,f="",u="";c<a.length;){switch(a[c][0]){case 1:l++,u+=a[c][1];break;case n:h++,f+=a[c][1];break;case 0:if(h>=1&&l>=1){a.splice(c-h-l,h+l),c=c-h-l;for(var p=this.diff_main(f,u,!1,o),d=p.length-1;d>=0;d--)a.splice(c,0,p[d]);c+=p.length}l=0,h=0,f="",u=""}c++}return a.pop(),a},e.prototype.diff_bisect_=function(t,r,o){for(var i=t.length,s=r.length,a=Math.ceil((i+s)/2),c=a,h=2*a,l=new Array(h),f=new Array(h),u=0;u<h;u++)l[u]=-1,f[u]=-1;l[c+1]=0,f[c+1]=0;for(var p=i-s,d=p%2!=0,g=0,b=0,_=0,v=0,m=0;m<a&&!((new Date).getTime()>o);m++){for(var y=-m+g;y<=m-b;y+=2){for(var w=c+y,S=(C=y==-m||y!=m&&l[w-1]<l[w+1]?l[w+1]:l[w-1]+1)-y;C<i&&S<s&&t.charAt(C)==r.charAt(S);)C++,S++;if(l[w]=C,C>i)b+=2;else if(S>s)g+=2;else if(d){if((M=c+p-y)>=0&&M<h&&-1!=f[M])if(C>=(k=i-f[M]))return this.diff_bisectSplit_(t,r,C,S,o)}}for(var x=-m+_;x<=m-v;x+=2){for(var k,M=c+x,O=(k=x==-m||x!=m&&f[M-1]<f[M+1]?f[M+1]:f[M-1]+1)-x;k<i&&O<s&&t.charAt(i-k-1)==r.charAt(s-O-1);)k++,O++;if(f[M]=k,k>i)v+=2;else if(O>s)_+=2;else if(!d){if((w=c+p-x)>=0&&w<h&&-1!=l[w]){var C;S=c+(C=l[w])-w;if(C>=(k=i-k))return this.diff_bisectSplit_(t,r,C,S,o)}}}}return[new e.Diff(n,t),new e.Diff(1,r)]},e.prototype.diff_bisectSplit_=function(t,e,n,r,o){var i=t.substring(0,n),s=e.substring(0,r),a=t.substring(n),c=e.substring(r),h=this.diff_main(i,s,!1,o),l=this.diff_main(a,c,!1,o);return h.concat(l)},e.prototype.diff_linesToChars_=function(t,e){var n=[],r={};function o(t){for(var e="",o=0,s=-1,a=n.length;s<t.length-1;){-1==(s=t.indexOf("\n",o))&&(s=t.length-1);var c=t.substring(o,s+1);(r.hasOwnProperty?r.hasOwnProperty(c):void 0!==r[c])?e+=String.fromCharCode(r[c]):(a==i&&(c=t.substring(o),s=t.length),e+=String.fromCharCode(a),r[c]=a,n[a++]=c),o=s+1}return e}n[0]="";var i=4e4,s=o(t);return i=65535,{chars1:s,chars2:o(e),lineArray:n}},e.prototype.diff_charsToLines_=function(t,e){for(var n=0;n<t.length;n++){for(var r=t[n][1],o=[],i=0;i<r.length;i++)o[i]=e[r.charCodeAt(i)];t[n][1]=o.join("")}},e.prototype.diff_commonPrefix=function(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;for(var n=0,r=Math.min(t.length,e.length),o=r,i=0;n<o;)t.substring(i,o)==e.substring(i,o)?i=n=o:r=o,o=Math.floor((r-n)/2+n);return o},e.prototype.diff_commonSuffix=function(t,e){if(!t||!e||t.charAt(t.length-1)!=e.charAt(e.length-1))return 0;for(var n=0,r=Math.min(t.length,e.length),o=r,i=0;n<o;)t.substring(t.length-o,t.length-i)==e.substring(e.length-o,e.length-i)?i=n=o:r=o,o=Math.floor((r-n)/2+n);return o},e.prototype.diff_commonOverlap_=function(t,e){var n=t.length,r=e.length;if(0==n||0==r)return 0;n>r?t=t.substring(n-r):n<r&&(e=e.substring(0,n));var o=Math.min(n,r);if(t==e)return o;for(var i=0,s=1;;){var a=t.substring(o-s),c=e.indexOf(a);if(-1==c)return i;s+=c,0!=c&&t.substring(o-s)!=e.substring(0,s)||(i=s,s++)}},e.prototype.diff_halfMatch_=function(t,e){if(this.Diff_Timeout<=0)return null;var n=t.length>e.length?t:e,r=t.length>e.length?e:t;if(n.length<4||2*r.length<n.length)return null;var o=this;function i(t,e,n){for(var r,i,s,a,c=t.substring(n,n+Math.floor(t.length/4)),h=-1,l="";-1!=(h=e.indexOf(c,h+1));){var f=o.diff_commonPrefix(t.substring(n),e.substring(h)),u=o.diff_commonSuffix(t.substring(0,n),e.substring(0,h));l.length<u+f&&(l=e.substring(h-u,h)+e.substring(h,h+f),r=t.substring(0,n-u),i=t.substring(n+f),s=e.substring(0,h-u),a=e.substring(h+f))}return 2*l.length>=t.length?[r,i,s,a,l]:null}var s,a,c,h,l,f=i(n,r,Math.ceil(n.length/4)),u=i(n,r,Math.ceil(n.length/2));return f||u?(s=u?f&&f[4].length>u[4].length?f:u:f,t.length>e.length?(a=s[0],c=s[1],h=s[2],l=s[3]):(h=s[0],l=s[1],a=s[2],c=s[3]),[a,c,h,l,s[4]]):null},e.prototype.diff_cleanupSemantic=function(t){for(var r=!1,o=[],i=0,s=null,a=0,c=0,h=0,l=0,f=0;a<t.length;)0==t[a][0]?(o[i++]=a,c=l,h=f,l=0,f=0,s=t[a][1]):(1==t[a][0]?l+=t[a][1].length:f+=t[a][1].length,s&&s.length<=Math.max(c,h)&&s.length<=Math.max(l,f)&&(t.splice(o[i-1],0,new e.Diff(n,s)),t[o[i-1]+1][0]=1,i--,a=--i>0?o[i-1]:-1,c=0,h=0,l=0,f=0,s=null,r=!0)),a++;for(r&&this.diff_cleanupMerge(t),this.diff_cleanupSemanticLossless(t),a=1;a<t.length;){if(t[a-1][0]==n&&1==t[a][0]){var u=t[a-1][1],p=t[a][1],d=this.diff_commonOverlap_(u,p),g=this.diff_commonOverlap_(p,u);d>=g?(d>=u.length/2||d>=p.length/2)&&(t.splice(a,0,new e.Diff(0,p.substring(0,d))),t[a-1][1]=u.substring(0,u.length-d),t[a+1][1]=p.substring(d),a++):(g>=u.length/2||g>=p.length/2)&&(t.splice(a,0,new e.Diff(0,u.substring(0,g))),t[a-1][0]=1,t[a-1][1]=p.substring(0,p.length-g),t[a+1][0]=n,t[a+1][1]=u.substring(g),a++),a++}a++}},e.prototype.diff_cleanupSemanticLossless=function(t){function n(t,n){if(!t||!n)return 6;var r=t.charAt(t.length-1),o=n.charAt(0),i=r.match(e.nonAlphaNumericRegex_),s=o.match(e.nonAlphaNumericRegex_),a=i&&r.match(e.whitespaceRegex_),c=s&&o.match(e.whitespaceRegex_),h=a&&r.match(e.linebreakRegex_),l=c&&o.match(e.linebreakRegex_),f=h&&t.match(e.blanklineEndRegex_),u=l&&n.match(e.blanklineStartRegex_);return f||u?5:h||l?4:i&&!a&&c?3:a||c?2:i||s?1:0}for(var r=1;r<t.length-1;){if(0==t[r-1][0]&&0==t[r+1][0]){var o=t[r-1][1],i=t[r][1],s=t[r+1][1],a=this.diff_commonSuffix(o,i);if(a){var c=i.substring(i.length-a);o=o.substring(0,o.length-a),i=c+i.substring(0,i.length-a),s=c+s}for(var h=o,l=i,f=s,u=n(o,i)+n(i,s);i.charAt(0)===s.charAt(0);){o+=i.charAt(0),i=i.substring(1)+s.charAt(0),s=s.substring(1);var p=n(o,i)+n(i,s);p>=u&&(u=p,h=o,l=i,f=s)}t[r-1][1]!=h&&(h?t[r-1][1]=h:(t.splice(r-1,1),r--),t[r][1]=l,f?t[r+1][1]=f:(t.splice(r+1,1),r--))}r++}},e.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,e.whitespaceRegex_=/\s/,e.linebreakRegex_=/[\r\n]/,e.blanklineEndRegex_=/\n\r?\n$/,e.blanklineStartRegex_=/^\r?\n\r?\n/,e.prototype.diff_cleanupEfficiency=function(t){for(var r=!1,o=[],i=0,s=null,a=0,c=!1,h=!1,l=!1,f=!1;a<t.length;)0==t[a][0]?(t[a][1].length<this.Diff_EditCost&&(l||f)?(o[i++]=a,c=l,h=f,s=t[a][1]):(i=0,s=null),l=f=!1):(t[a][0]==n?f=!0:l=!0,s&&(c&&h&&l&&f||s.length<this.Diff_EditCost/2&&c+h+l+f==3)&&(t.splice(o[i-1],0,new e.Diff(n,s)),t[o[i-1]+1][0]=1,i--,s=null,c&&h?(l=f=!0,i=0):(a=--i>0?o[i-1]:-1,l=f=!1),r=!0)),a++;r&&this.diff_cleanupMerge(t)},e.prototype.diff_cleanupMerge=function(t){t.push(new e.Diff(0,""));for(var r,o=0,i=0,s=0,a="",c="";o<t.length;)switch(t[o][0]){case 1:s++,c+=t[o][1],o++;break;case n:i++,a+=t[o][1],o++;break;case 0:i+s>1?(0!==i&&0!==s&&(0!==(r=this.diff_commonPrefix(c,a))&&(o-i-s>0&&0==t[o-i-s-1][0]?t[o-i-s-1][1]+=c.substring(0,r):(t.splice(0,0,new e.Diff(0,c.substring(0,r))),o++),c=c.substring(r),a=a.substring(r)),0!==(r=this.diff_commonSuffix(c,a))&&(t[o][1]=c.substring(c.length-r)+t[o][1],c=c.substring(0,c.length-r),a=a.substring(0,a.length-r))),o-=i+s,t.splice(o,i+s),a.length&&(t.splice(o,0,new e.Diff(n,a)),o++),c.length&&(t.splice(o,0,new e.Diff(1,c)),o++),o++):0!==o&&0==t[o-1][0]?(t[o-1][1]+=t[o][1],t.splice(o,1)):o++,s=0,i=0,a="",c=""}""===t[t.length-1][1]&&t.pop();var h=!1;for(o=1;o<t.length-1;)0==t[o-1][0]&&0==t[o+1][0]&&(t[o][1].substring(t[o][1].length-t[o-1][1].length)==t[o-1][1]?(t[o][1]=t[o-1][1]+t[o][1].substring(0,t[o][1].length-t[o-1][1].length),t[o+1][1]=t[o-1][1]+t[o+1][1],t.splice(o-1,1),h=!0):t[o][1].substring(0,t[o+1][1].length)==t[o+1][1]&&(t[o-1][1]+=t[o+1][1],t[o][1]=t[o][1].substring(t[o+1][1].length)+t[o+1][1],t.splice(o+1,1),h=!0)),o++;h&&this.diff_cleanupMerge(t)},e.prototype.diff_xIndex=function(t,e){var r,o=0,i=0,s=0,a=0;for(r=0;r<t.length&&(1!==t[r][0]&&(o+=t[r][1].length),t[r][0]!==n&&(i+=t[r][1].length),!(o>e));r++)s=o,a=i;return t.length!=r&&t[r][0]===n?a:a+(e-s)},e.prototype.diff_prettyHtml=function(t){for(var e=[],r=/&/g,o=/</g,i=/>/g,s=/\n/g,a=0;a<t.length;a++){var c=t[a][0],h=t[a][1].replace(r,"&amp;").replace(o,"&lt;").replace(i,"&gt;").replace(s,"&para;<br>");switch(c){case 1:e[a]='<ins style="background:#e6ffe6;">'+h+"</ins>";break;case n:e[a]='<del style="background:#ffe6e6;">'+h+"</del>";break;case 0:e[a]="<span>"+h+"</span>"}}return e.join("")},e.prototype.diff_text1=function(t){for(var e=[],n=0;n<t.length;n++)1!==t[n][0]&&(e[n]=t[n][1]);return e.join("")},e.prototype.diff_text2=function(t){for(var e=[],r=0;r<t.length;r++)t[r][0]!==n&&(e[r]=t[r][1]);return e.join("")},e.prototype.diff_levenshtein=function(t){for(var e=0,r=0,o=0,i=0;i<t.length;i++){var s=t[i][0],a=t[i][1];switch(s){case 1:r+=a.length;break;case n:o+=a.length;break;case 0:e+=Math.max(r,o),r=0,o=0}}return e+=Math.max(r,o)},e.prototype.diff_toDelta=function(t){for(var e=[],r=0;r<t.length;r++)switch(t[r][0]){case 1:e[r]="+"+encodeURI(t[r][1]);break;case n:e[r]="-"+t[r][1].length;break;case 0:e[r]="="+t[r][1].length}return e.join("\t").replace(/%20/g," ")},e.prototype.diff_fromDelta=function(t,r){for(var o=[],i=0,s=0,a=r.split(/\t/g),c=0;c<a.length;c++){var h=a[c].substring(1);switch(a[c].charAt(0)){case"+":try{o[i++]=new e.Diff(1,decodeURI(h))}catch(u){throw new Error("Illegal escape in diff_fromDelta: "+h)}break;case"-":case"=":var l=parseInt(h,10);if(isNaN(l)||l<0)throw new Error("Invalid number in diff_fromDelta: "+h);var f=t.substring(s,s+=l);"="==a[c].charAt(0)?o[i++]=new e.Diff(0,f):o[i++]=new e.Diff(n,f);break;default:if(a[c])throw new Error("Invalid diff operation in diff_fromDelta: "+a[c])}}if(s!=t.length)throw new Error("Delta length ("+s+") does not equal source text length ("+t.length+").");return o},e.prototype.match_main=function(t,e,n){if(null==t||null==e||null==n)throw new Error("Null input. (match_main)");return n=Math.max(0,Math.min(n,t.length)),t==e?0:t.length?t.substring(n,n+e.length)==e?n:this.match_bitap_(t,e,n):-1},e.prototype.match_bitap_=function(t,e,n){if(e.length>this.Match_MaxBits)throw new Error("Pattern too long for this browser.");var r=this.match_alphabet_(e),o=this;function i(t,r){var i=t/e.length,s=Math.abs(n-r);return o.Match_Distance?i+s/o.Match_Distance:s?1:i}var s=this.Match_Threshold,a=t.indexOf(e,n);-1!=a&&(s=Math.min(i(0,a),s),-1!=(a=t.lastIndexOf(e,n+e.length))&&(s=Math.min(i(0,a),s)));var c,h,l=1<<e.length-1;a=-1;for(var f,u=e.length+t.length,p=0;p<e.length;p++){for(c=0,h=u;c<h;)i(p,n+h)<=s?c=h:u=h,h=Math.floor((u-c)/2+c);u=h;var d=Math.max(1,n-h+1),g=Math.min(n+h,t.length)+e.length,b=Array(g+2);b[g+1]=(1<<p)-1;for(var _=g;_>=d;_--){var v=r[t.charAt(_-1)];if(b[_]=0===p?(b[_+1]<<1|1)&v:(b[_+1]<<1|1)&v|(f[_+1]|f[_])<<1|1|f[_+1],b[_]&l){var m=i(p,_-1);if(m<=s){if(s=m,!((a=_-1)>n))break;d=Math.max(1,2*n-a)}}}if(i(p+1,n)>s)break;f=b}return a},e.prototype.match_alphabet_=function(t){for(var e={},n=0;n<t.length;n++)e[t.charAt(n)]=0;for(n=0;n<t.length;n++)e[t.charAt(n)]|=1<<t.length-n-1;return e},e.prototype.patch_addContext_=function(t,n){if(0!=n.length){if(null===t.start2)throw Error("patch not initialized");for(var r=n.substring(t.start2,t.start2+t.length1),o=0;n.indexOf(r)!=n.lastIndexOf(r)&&r.length<this.Match_MaxBits-this.Patch_Margin-this.Patch_Margin;)o+=this.Patch_Margin,r=n.substring(t.start2-o,t.start2+t.length1+o);o+=this.Patch_Margin;var i=n.substring(t.start2-o,t.start2);i&&t.diffs.unshift(new e.Diff(0,i));var s=n.substring(t.start2+t.length1,t.start2+t.length1+o);s&&t.diffs.push(new e.Diff(0,s)),t.start1-=i.length,t.start2-=i.length,t.length1+=i.length+s.length,t.length2+=i.length+s.length}},e.prototype.patch_make=function(t,r,o){var i,s;if("string"==typeof t&&"string"==typeof r&&"undefined"==typeof o)i=t,(s=this.diff_main(i,r,!0)).length>2&&(this.diff_cleanupSemantic(s),this.diff_cleanupEfficiency(s));else if(t&&"object"==typeof t&&"undefined"==typeof r&&"undefined"==typeof o)s=t,i=this.diff_text1(s);else if("string"==typeof t&&r&&"object"==typeof r&&"undefined"==typeof o)i=t,s=r;else{if("string"!=typeof t||"string"!=typeof r||!o||"object"!=typeof o)throw new Error("Unknown call format to patch_make.");i=t,s=o}if(0===s.length)return[];for(var a=[],c=new e.patch_obj,h=0,l=0,f=0,u=i,p=i,d=0;d<s.length;d++){var g=s[d][0],b=s[d][1];switch(h||0===g||(c.start1=l,c.start2=f),g){case 1:c.diffs[h++]=s[d],c.length2+=b.length,p=p.substring(0,f)+b+p.substring(f);break;case n:c.length1+=b.length,c.diffs[h++]=s[d],p=p.substring(0,f)+p.substring(f+b.length);break;case 0:b.length<=2*this.Patch_Margin&&h&&s.length!=d+1?(c.diffs[h++]=s[d],c.length1+=b.length,c.length2+=b.length):b.length>=2*this.Patch_Margin&&h&&(this.patch_addContext_(c,u),a.push(c),c=new e.patch_obj,h=0,u=p,l=f)}1!==g&&(l+=b.length),g!==n&&(f+=b.length)}return h&&(this.patch_addContext_(c,u),a.push(c)),a},e.prototype.patch_deepCopy=function(t){for(var n=[],r=0;r<t.length;r++){var o=t[r],i=new e.patch_obj;i.diffs=[];for(var s=0;s<o.diffs.length;s++)i.diffs[s]=new e.Diff(o.diffs[s][0],o.diffs[s][1]);i.start1=o.start1,i.start2=o.start2,i.length1=o.length1,i.length2=o.length2,n[r]=i}return n},e.prototype.patch_apply=function(t,e){if(0==t.length)return[e,[]];t=this.patch_deepCopy(t);var r=this.patch_addPadding(t);e=r+e+r,this.patch_splitMax(t);for(var o=0,i=[],s=0;s<t.length;s++){var a,c,h=t[s].start2+o,l=this.diff_text1(t[s].diffs),f=-1;if(l.length>this.Match_MaxBits?-1!=(a=this.match_main(e,l.substring(0,this.Match_MaxBits),h))&&(-1==(f=this.match_main(e,l.substring(l.length-this.Match_MaxBits),h+l.length-this.Match_MaxBits))||a>=f)&&(a=-1):a=this.match_main(e,l,h),-1==a)i[s]=!1,o-=t[s].length2-t[s].length1;else if(i[s]=!0,o=a-h,l==(c=-1==f?e.substring(a,a+l.length):e.substring(a,f+this.Match_MaxBits)))e=e.substring(0,a)+this.diff_text2(t[s].diffs)+e.substring(a+l.length);else{var u=this.diff_main(l,c,!1);if(l.length>this.Match_MaxBits&&this.diff_levenshtein(u)/l.length>this.Patch_DeleteThreshold)i[s]=!1;else{this.diff_cleanupSemanticLossless(u);for(var p,d=0,g=0;g<t[s].diffs.length;g++){var b=t[s].diffs[g];0!==b[0]&&(p=this.diff_xIndex(u,d)),1===b[0]?e=e.substring(0,a+p)+b[1]+e.substring(a+p):b[0]===n&&(e=e.substring(0,a+p)+e.substring(a+this.diff_xIndex(u,d+b[1].length))),b[0]!==n&&(d+=b[1].length)}}}}return[e=e.substring(r.length,e.length-r.length),i]},e.prototype.patch_addPadding=function(t){for(var n=this.Patch_Margin,r="",o=1;o<=n;o++)r+=String.fromCharCode(o);for(o=0;o<t.length;o++)t[o].start1+=n,t[o].start2+=n;var i=t[0],s=i.diffs;if(0==s.length||0!=s[0][0])s.unshift(new e.Diff(0,r)),i.start1-=n,i.start2-=n,i.length1+=n,i.length2+=n;else if(n>s[0][1].length){var a=n-s[0][1].length;s[0][1]=r.substring(s[0][1].length)+s[0][1],i.start1-=a,i.start2-=a,i.length1+=a,i.length2+=a}if(0==(s=(i=t[t.length-1]).diffs).length||0!=s[s.length-1][0])s.push(new e.Diff(0,r)),i.length1+=n,i.length2+=n;else if(n>s[s.length-1][1].length){a=n-s[s.length-1][1].length;s[s.length-1][1]+=r.substring(0,a),i.length1+=a,i.length2+=a}return r},e.prototype.patch_splitMax=function(t){for(var r=this.Match_MaxBits,o=0;o<t.length;o++)if(!(t[o].length1<=r)){var i=t[o];t.splice(o--,1);for(var s=i.start1,a=i.start2,c="";0!==i.diffs.length;){var h=new e.patch_obj,l=!0;for(h.start1=s-c.length,h.start2=a-c.length,""!==c&&(h.length1=h.length2=c.length,h.diffs.push(new e.Diff(0,c)));0!==i.diffs.length&&h.length1<r-this.Patch_Margin;){var f=i.diffs[0][0],u=i.diffs[0][1];1===f?(h.length2+=u.length,a+=u.length,h.diffs.push(i.diffs.shift()),l=!1):f===n&&1==h.diffs.length&&0==h.diffs[0][0]&&u.length>2*r?(h.length1+=u.length,s+=u.length,l=!1,h.diffs.push(new e.Diff(f,u)),i.diffs.shift()):(u=u.substring(0,r-h.length1-this.Patch_Margin),h.length1+=u.length,s+=u.length,0===f?(h.length2+=u.length,a+=u.length):l=!1,h.diffs.push(new e.Diff(f,u)),u==i.diffs[0][1]?i.diffs.shift():i.diffs[0][1]=i.diffs[0][1].substring(u.length))}c=(c=this.diff_text2(h.diffs)).substring(c.length-this.Patch_Margin);var p=this.diff_text1(i.diffs).substring(0,this.Patch_Margin);""!==p&&(h.length1+=p.length,h.length2+=p.length,0!==h.diffs.length&&0===h.diffs[h.diffs.length-1][0]?h.diffs[h.diffs.length-1][1]+=p:h.diffs.push(new e.Diff(0,p))),l||t.splice(++o,0,h)}}},e.prototype.patch_toText=function(t){for(var e=[],n=0;n<t.length;n++)e[n]=t[n];return e.join("")},e.prototype.patch_fromText=function(t){var r=[];if(!t)return r;for(var o=t.split("\n"),i=0,s=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;i<o.length;){var a=o[i].match(s);if(!a)throw new Error("Invalid patch string: "+o[i]);var c=new e.patch_obj;for(r.push(c),c.start1=parseInt(a[1],10),""===a[2]?(c.start1--,c.length1=1):"0"==a[2]?c.length1=0:(c.start1--,c.length1=parseInt(a[2],10)),c.start2=parseInt(a[3],10),""===a[4]?(c.start2--,c.length2=1):"0"==a[4]?c.length2=0:(c.start2--,c.length2=parseInt(a[4],10)),i++;i<o.length;){var h=o[i].charAt(0);try{var l=decodeURI(o[i].substring(1))}catch(f){throw new Error("Illegal escape in patch_fromText: "+l)}if("-"==h)c.diffs.push(new e.Diff(n,l));else if("+"==h)c.diffs.push(new e.Diff(1,l));else if(" "==h)c.diffs.push(new e.Diff(0,l));else{if("@"==h)break;if(""!==h)throw new Error('Invalid patch mode "'+h+'" in: '+l)}i++}}return r},(e.patch_obj=function(){this.diffs=[],this.start1=null,this.start2=null,this.length1=0,this.length2=0}).prototype.toString=function(){for(var t,e=["@@ -"+(0===this.length1?this.start1+",0":1==this.length1?this.start1+1:this.start1+1+","+this.length1)+" +"+(0===this.length2?this.start2+",0":1==this.length2?this.start2+1:this.start2+1+","+this.length2)+" @@\n"],r=0;r<this.diffs.length;r++){switch(this.diffs[r][0]){case 1:t="+";break;case n:t="-";break;case 0:t=" "}e[r+1]=t+encodeURI(this.diffs[r][1])+"\n"}return e.join("").replace(/%20/g," ")}
1,t.exports=e,t.exports.diff_match_patch=e,t.exports.DIFF_DELETE=n,t.exports.DIFF_INSERT=1,t.exports.DIFF_EQUAL=0},77485:function(t,e,n){var r="__lodash_hash_undefined__",o="[object Function]",i="[object GeneratorFunction]",s=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/,c=/^\./,h=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,l=/\\(\\)?/g,f=/^\[object .+?Constructor\]$/,u="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,p="object"==typeof self&&self&&self.Object===Object&&self,d=u||p||Function("return this")();var g=Array.prototype,b=Function.prototype,_=Object.prototype,v=d["__core-js_shared__"],m=function(){var t=/[^.]+$/.exec(v&&v.keys&&v.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),y=b.toString,w=_.hasOwnProperty,S=_.toString,x=RegExp("^"+y.call(w).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),k=d.Symbol,M=g.splice,O=B(d,"Map"),C=B(Object,"create"),E=k?k.prototype:void 0,A=E?E.toString:void 0;function j(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function P(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function $(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function L(t,e){for(var n,r,o=t.length;o--;)if((n=t[o][0])===(r=e)||n!==n&&r!==r)return o;return-1}function D(t,e){var n;e=function(t,e){if(N(t))return!1;var n=typeof t;if("number"==n||"symbol"==n||"boolean"==n||null==t||H(t))return!0;return a.test(t)||!s.test(t)||null!=e&&t in Object(e)}(e,t)?[e]:N(n=e)?n:T(n);for(var r=0,o=e.length;null!=t&&r<o;)t=t[F(e[r++])];return r&&r==o?t:void 0}function z(t){if(!U(t)||(e=t,m&&m in e))return!1;var e,n=function(t){var e=U(t)?S.call(t):"";return e==o||e==i}(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(n){}return e}(t)?x:f;return n.test(function(t){if(null!=t){try{return y.call(t)}catch(e){}try{return t+""}catch(e){}}return""}(t))}function R(t,e){var n=t.__data__;return function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}(e)?n["string"==typeof e?"string":"hash"]:n.map}function B(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return z(n)?n:void 0}j.prototype.clear=function(){this.__data__=C?C(null):{}},j.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},j.prototype.get=function(t){var e=this.__data__;if(C){var n=e[t];return n===r?void 0:n}return w.call(e,t)?e[t]:void 0},j.prototype.has=function(t){var e=this.__data__;return C?void 0!==e[t]:w.call(e,t)},j.prototype.set=function(t,e){return this.__data__[t]=C&&void 0===e?r:e,this},P.prototype.clear=function(){this.__data__=[]},P.prototype.delete=function(t){var e=this.__data__,n=L(e,t);return!(n<0)&&(n==e.length-1?e.pop():M.call(e,n,1),!0)},P.prototype.get=function(t){var e=this.__data__,n=L(e,t);return n<0?void 0:e[n][1]},P.prototype.has=function(t){return L(this.__data__,t)>-1},P.prototype.set=function(t,e){var n=this.__data__,r=L(n,t);return r<0?n.push([t,e]):n[r][1]=e,this},$.prototype.clear=function(){this.__data__={hash:new j,map:new(O||P),string:new j}},$.prototype.delete=function(t){return R(this,t).delete(t)},$.prototype.get=function(t){return R(this,t).get(t)},$.prototype.has=function(t){return R(this,t).has(t)},$.prototype.set=function(t,e){return R(this,t).set(t,e),this};var T=I((function(t){var e;t=null==(e=t)?"":function(t){if("string"==typeof t)return t;if(H(t))return A?A.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}(e);var n=[];return c.test(t)&&n.push(""),t.replace(h,(function(t,e,r,o){n.push(r?o.replace(l,"$1"):e||t)})),n}));function F(t){if("string"==typeof t||H(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function I(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var s=t.apply(this,r);return n.cache=i.set(o,s),s};return n.cache=new(I.Cache||$),n}I.Cache=$;var N=Array.isArray;function U(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function H(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==S.call(t)}t.exports=function(t,e,n){var r=null==t?void 0:D(t,e);return void 0===r?n:r}},33958:function(t,e,n){t=n.nmd(t);var r="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",s="[object Array]",a="[object Boolean]",c="[object Date]",h="[object Error]",l="[object Function]",f="[object Map]",u="[object Number]",p="[object Object]",d="[object Promise]",g="[object RegExp]",b="[object Set]",_="[object String]",v="[object Symbol]",m="[object WeakMap]",y="[object ArrayBuffer]",w="[object DataView]",S=/^\[object .+?Constructor\]$/,x=/^(?:0|[1-9]\d*)$/,k={};
vendor: 3,796 bytes, line 1
1k["[object Float32Array]"]=k["[object Float64Array]"]=k["[object Int8Array]"]=k["[object Int16Array]"]=k["[object Int32Array]"]=k["[object Uint8Array]"]=k["[object Uint8ClampedArray]"]=k["[object Uint16Array]"]=k["[object Uint32Array]"]=!0,k[i]=k[s]=k[y]=k[a]=k[w]=k[c]=k[h]=k[l]=k[f]=k[u]=k[p]=k[g]=k[b]=k[_]=k[m]=!1;var M="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,O="object"==typeof self&&self&&self.Object===Object&&self,C=M||O||Function("return this")(),E=e&&!e.nodeType&&e,A=E&&t&&!t.nodeType&&t,j=A&&A.exports===E,P=j&&M.process,$=function(){try{return P&&P.binding&&P.binding("util")}catch(t){}}(),L=$&&$.isTypedArray;function D(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function z(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function R(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var B,T,F=Array.prototype,I=Function.prototype,N=Object.prototype,U=C["__core-js_shared__"],H=I.toString,W=N.hasOwnProperty,G=function(){var t=/[^.]+$/.exec(U&&U.keys&&U.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),V=N.toString,q=RegExp("^"+H.call(W).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),K=j?C.Buffer:void 0,J=C.Symbol,Q=C.Uint8Array,Y=N.propertyIsEnumerable,Z=F.splice,X=J?J.toStringTag:void 0,tt=Object.getOwnPropertySymbols,et=K?K.isBuffer:void 0,nt=(B=Object.keys,T=Object,function(t){return B(T(t))}),rt=Pt(C,"DataView"),ot=Pt(C,"Map"),it=Pt(C,"Promise"),st=Pt(C,"Set"),at=Pt(C,"WeakMap"),ct=Pt(Object,"create"),ht=zt(rt),lt=zt(ot),ft=zt(it),ut=zt(st),pt=zt(at),dt=J?J.prototype:void 0,gt=dt?dt.valueOf:void 0;function bt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function _t(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function vt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function mt(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new vt;++e<n;)this.add(t[e])}function yt(t){var e=this.__data__=new _t(t);this.size=e.size}function wt(t,e){var n=Tt(t),r=!n&&Bt(t),o=!n&&!r&&Ft(t),i=!n&&!r&&!o&&Wt(t),s=n||r||o||i,a=s?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],c=a.length;for(var h in t)!e&&!W.call(t,h)||s&&("length"==h||o&&("offset"==h||"parent"==h)||i&&("buffer"==h||"byteLength"==h||"byteOffset"==h)||Dt(h,c))||a.push(h);return a}function St(t,e){for(var n=t.length;n--;)if(Rt(t[n][0],e))return n;return-1}function xt(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":X&&X in Object(t)?function(t){var e=W.call(t,X),n=t[X];try{t[X]=void 0;var r=!0}catch(i){}var o=V.call(t);r&&(e?t[X]=n:delete t[X]);return o}(t):function(t){return V.call(t)}(t)}function kt(t){return Ht(t)&&xt(t)==i}function Mt(t,e,n,r,o){return t===e||(null==t||null==e||!Ht(t)&&!Ht(e)?t!==t&&e!==e:function(t,e,n,r,o,l){var d=Tt(t),m=Tt(e),S=d?s:Lt(t),x=m?s:Lt(e),k=(S=S==i?p:S)==p,M=(x=x==i?p:x)==p,O=S==x;if(O&&Ft(t)){if(!Ft(e))return!1;d=!0,k=!1}if(O&&!k)return l||(l=new yt),d||Wt(t)?Et(t,e,n,r,o,l):function(t,e,n,r,o,i,s){switch(n){case w:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case y:return!(t.byteLength!=e.byteLength||!i(new Q(t),new Q(e)));case a:case c:case u:return Rt(+t,+e);case h:return t.name==e.name&&t.message==e.message;case g:case _:return t==e+"";case f:var l=z;case b:var p=1&r;if(l||(l=R),t.size!=e.size&&!p)return!1;var d=s.get(t);if(d)return d==e;r|=2,s.set(t,e);var m=Et(l(t),l(e),r,o,i,s);return s.delete(t),m;case v:if(gt)return gt.call(t)==gt.call(e)}return!1}(t,e,S,n,r,o,l);if(!(1&n)){var C=k&&W.call(t,"__wrapped__"),E=M&&W.call(e,"__wrapped__");
vendor: 6,198 bytes, line 1
1if(C||E){var A=C?t.value():t,j=E?e.value():e;return l||(l=new yt),o(A,j,n,r,l)}}if(!O)return!1;return l||(l=new yt),function(t,e,n,r,o,i){var s=1&n,a=At(t),c=a.length,h=At(e).length;if(c!=h&&!s)return!1;var l=c;for(;l--;){var f=a[l];if(!(s?f in e:W.call(e,f)))return!1}var u=i.get(t);if(u&&i.get(e))return u==e;var p=!0;i.set(t,e),i.set(e,t);var d=s;for(;++l<c;){var g=t[f=a[l]],b=e[f];if(r)var _=s?r(b,g,f,e,t,i):r(g,b,f,t,e,i);if(!(void 0===_?g===b||o(g,b,n,r,i):_)){p=!1;break}d||(d="constructor"==f)}if(p&&!d){var v=t.constructor,m=e.constructor;v==m||!("constructor"in t)||!("constructor"in e)||"function"==typeof v&&v instanceof v&&"function"==typeof m&&m instanceof m||(p=!1)}return i.delete(t),i.delete(e),p}(t,e,n,r,o,l)}(t,e,n,r,Mt,o))}function Ot(t){return!(!Ut(t)||function(t){return!!G&&G in t}(t))&&(It(t)?q:S).test(zt(t))}function Ct(t){if(!function(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||N;return t===n}(t))return nt(t);var e=[];for(var n in Object(t))W.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Et(t,e,n,r,o,i){var s=1&n,a=t.length,c=e.length;if(a!=c&&!(s&&c>a))return!1;var h=i.get(t);if(h&&i.get(e))return h==e;var l=-1,f=!0,u=2&n?new mt:void 0;for(i.set(t,e),i.set(e,t);++l<a;){var p=t[l],d=e[l];if(r)var g=s?r(d,p,l,e,t,i):r(p,d,l,t,e,i);if(void 0!==g){if(g)continue;f=!1;break}if(u){if(!D(e,(function(t,e){if(s=e,!u.has(s)&&(p===t||o(p,t,n,r,i)))return u.push(e);var s}))){f=!1;break}}else if(p!==d&&!o(p,d,n,r,i)){f=!1;break}}return i.delete(t),i.delete(e),f}function At(t){return function(t,e,n){var r=e(t);return Tt(t)?r:function(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}(r,n(t))}(t,Gt,$t)}function jt(t,e){var n=t.__data__;return function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}(e)?n["string"==typeof e?"string":"hash"]:n.map}function Pt(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return Ot(n)?n:void 0}bt.prototype.clear=function(){this.__data__=ct?ct(null):{},this.size=0},bt.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},bt.prototype.get=function(t){var e=this.__data__;if(ct){var n=e[t];return n===r?void 0:n}return W.call(e,t)?e[t]:void 0},bt.prototype.has=function(t){var e=this.__data__;return ct?void 0!==e[t]:W.call(e,t)},bt.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=ct&&void 0===e?r:e,this},_t.prototype.clear=function(){this.__data__=[],this.size=0},_t.prototype.delete=function(t){var e=this.__data__,n=St(e,t);return!(n<0)&&(n==e.length-1?e.pop():Z.call(e,n,1),--this.size,!0)},_t.prototype.get=function(t){var e=this.__data__,n=St(e,t);return n<0?void 0:e[n][1]},_t.prototype.has=function(t){return St(this.__data__,t)>-1},_t.prototype.set=function(t,e){var n=this.__data__,r=St(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},vt.prototype.clear=function(){this.size=0,this.__data__={hash:new bt,map:new(ot||_t),string:new bt}},vt.prototype.delete=function(t){var e=jt(this,t).delete(t);return this.size-=e?1:0,e},vt.prototype.get=function(t){return jt(this,t).get(t)},vt.prototype.has=function(t){return jt(this,t).has(t)},vt.prototype.set=function(t,e){var n=jt(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},mt.prototype.add=mt.prototype.push=function(t){return this.__data__.set(t,r),this},mt.prototype.has=function(t){return this.__data__.has(t)},yt.prototype.clear=function(){this.__data__=new _t,this.size=0},yt.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},yt.prototype.get=function(t){return this.__data__.get(t)},yt.prototype.has=function(t){return this.__data__.has(t)},yt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof _t){var r=n.__data__;if(!ot||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new vt(r)}return n.set(t,e),this.size=n.size,this};var $t=tt?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var n=-1,r=null==t?0:t.length,o=0,i=[];++n<r;){var s=t[n];e(s,n,t)&&(i[o++]=s)}return i}(tt(t),(function(e){return Y.call(t,e)})))}:function(){return[]},Lt=xt;function Dt(t,e){return!!(e=null==e?o:e)&&("number"==typeof t||x.test(t))&&t>-1&&t%1==0&&t<e}function zt(t){if(null!=t){try{return H.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Rt(t,e){return t===e||t!==t&&e!==e}(rt&&Lt(new rt(new ArrayBuffer(1)))!=w||ot&&Lt(new ot)!=f||it&&Lt(it.resolve())!=d||st&&Lt(new st)!=b||at&&Lt(new at)!=m)&&(Lt=function(t){var e=xt(t),n=e==p?t.constructor:void 0,r=n?zt(n):"";if(r)switch(r){case ht:return w;case lt:return f;case ft:return d;case ut:return b;case pt:return m}return e});var Bt=kt(function(){return arguments}())?kt:function(t){return Ht(t)&&W.call(t,"callee")&&!Y.call(t,"callee")},Tt=Array.isArray;var Ft=et||function(){return!1};function It(t){if(!Ut(t))return!1;var e=xt(t);return e==l||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Nt(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=o}function Ut(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Ht(t){return null!=t&&"object"==typeof t}var Wt=L?function(t){return function(e){return t(e)}}(L):function(t){return Ht(t)&&Nt(t.length)&&!!k[xt(t)]};function Gt(t){return null!=(e=t)&&Nt(e.length)&&!It(e)?wt(t):Ct(t);var e}t.exports=function(t,e){return Mt(t,e)}},48709:function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__assign||function(){return o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},o.apply(this,arguments)};
1Object.defineProperty(e,"__esModule",{value:!0});var i=n(63185),s=n(13980),a=n(2784),c=n(33958),h=n(47662),l=(0,h.getAceInstance)(),f=function(t){function e(e){var n=t.call(this,e)||this;return h.editorEvents.forEach((function(t){n[t]=n[t].bind(n)})),n.debounce=h.debounce,n}return r(e,t),e.prototype.isInShadow=function(t){for(var e=t&&t.parentNode;e;){if("[object ShadowRoot]"===e.toString())return!0;e=e.parentNode}return!1},e.prototype.componentDidMount=function(){var t=this,e=this.props,n=e.className,r=e.onBeforeLoad,o=e.onValidate,i=e.mode,s=e.focus,a=e.theme,c=e.fontSize,f=e.value,u=e.defaultValue,p=e.showGutter,d=e.wrapEnabled,g=e.showPrintMargin,b=e.scrollMargin,_=void 0===b?[0,0,0,0]:b,v=e.keyboardHandler,m=e.onLoad,y=e.commands,w=e.annotations,S=e.markers,x=e.placeholder;this.editor=l.edit(this.refEditor),r&&r(l);for(var k=Object.keys(this.props.editorProps),M=0;M<k.length;M++)this.editor[k[M]]=this.props.editorProps[k[M]];this.props.debounceChangePeriod&&(this.onChange=this.debounce(this.onChange,this.props.debounceChangePeriod)),this.editor.renderer.setScrollMargin(_[0],_[1],_[2],_[3]),this.isInShadow(this.refEditor)&&this.editor.renderer.attachToShadowRoot(),this.editor.getSession().setMode("string"===typeof i?"ace/mode/"+i:i),a&&""!==a&&this.editor.setTheme("ace/theme/"+a),this.editor.setFontSize("number"===typeof c?c+"px":c),this.editor.getSession().setValue(u||(f||"")),this.props.navigateToFileEnd&&this.editor.navigateFileEnd(),this.editor.renderer.setShowGutter(p),this.editor.getSession().setUseWrapMode(d),this.editor.setShowPrintMargin(g),this.editor.on("focus",this.onFocus),this.editor.on("blur",this.onBlur),this.editor.on("copy",this.onCopy),this.editor.on("paste",this.onPaste),this.editor.on("change",this.onChange),this.editor.on("input",this.onInput),x&&this.updatePlaceholder(),this.editor.getSession().selection.on("changeSelection",this.onSelectionChange),this.editor.getSession().selection.on("changeCursor",this.onCursorChange),o&&this.editor.getSession().on("changeAnnotation",(function(){var e=t.editor.getSession().getAnnotations();t.props.onValidate(e)})),this.editor.session.on("changeScrollTop",this.onScroll),this.editor.getSession().setAnnotations(w||[]),S&&S.length>0&&this.handleMarkers(S);var O=this.editor.$options;h.editorOptions.forEach((function(e){O.hasOwnProperty(e)?t.editor.setOption(e,t.props[e]):t.props[e]&&console.warn("ReactAce: editor option "+e+" was activated but not found. Did you need to import a related tool or did you possibly mispell the option?")})),this.handleOptions(this.props),Array.isArray(y)&&y.forEach((function(e){"string"===typeof e.exec?t.editor.commands.bindKey(e.bindKey,e.exec):t.editor.commands.addCommand(e)})),v&&this.editor.setKeyboardHandler("ace/keyboard/"+v),n&&(this.refEditor.className+=" "+n),m&&m(this.editor),this.editor.resize(),s&&this.editor.focus()},e.prototype.componentDidUpdate=function(t){for(var e=t,n=this.props,r=0;r<h.editorOptions.length;r++){var o=h.editorOptions[r];n[o]!==e[o]&&this.editor.setOption(o,n[o])}if(n.className!==e.className){var i=this.refEditor.className.trim().split(" ");e.className.trim().split(" ").forEach((function(t){var e=i.indexOf(t);i.splice(e,1)})),this.refEditor.className=" "+n.className+" "+i.join(" ")}if(this.editor&&null!=n.value&&this.editor.getValue()!==n.value){this.silent=!0;var s=this.editor.session.selection.toJSON();
1this.editor.setValue(n.value,n.cursorStart),this.editor.session.selection.fromJSON(s),this.silent=!1}n.placeholder!==e.placeholder&&this.updatePlaceholder(),n.mode!==e.mode&&this.editor.getSession().setMode("string"===typeof n.mode?"ace/mode/"+n.mode:n.mode),n.theme!==e.theme&&this.editor.setTheme("ace/theme/"+n.theme),n.keyboardHandler!==e.keyboardHandler&&(n.keyboardHandler?this.editor.setKeyboardHandler("ace/keyboard/"+n.keyboardHandler):this.editor.setKeyboardHandler(null)),n.fontSize!==e.fontSize&&this.editor.setFontSize("number"===typeof n.fontSize?n.fontSize+"px":n.fontSize),n.wrapEnabled!==e.wrapEnabled&&this.editor.getSession().setUseWrapMode(n.wrapEnabled),n.showPrintMargin!==e.showPrintMargin&&this.editor.setShowPrintMargin(n.showPrintMargin),n.showGutter!==e.showGutter&&this.editor.renderer.setShowGutter(n.showGutter),c(n.setOptions,e.setOptions)||this.handleOptions(n),c(n.annotations,e.annotations)||this.editor.getSession().setAnnotations(n.annotations||[]),!c(n.markers,e.markers)&&Array.isArray(n.markers)&&this.handleMarkers(n.markers),c(n.scrollMargin,e.scrollMargin)||this.handleScrollMargins(n.scrollMargin),t.height===this.props.height&&t.width===this.props.width||this.editor.resize(),this.props.focus&&!t.focus&&this.editor.focus()},e.prototype.handleScrollMargins=function(t){void 0===t&&(t=[0,0,0,0]),this.editor.renderer.setScrollMargin(t[0],t[1],t[2],t[3])},e.prototype.componentWillUnmount=function(){this.editor.destroy(),this.editor=null},e.prototype.onChange=function(t){if(this.props.onChange&&!this.silent){var e=this.editor.getValue();this.props.onChange(e,t)}},e.prototype.onSelectionChange=function(t){if(this.props.onSelectionChange){var e=this.editor.getSelection();this.props.onSelectionChange(e,t)}},e.prototype.onCursorChange=function(t){if(this.props.onCursorChange){var e=this.editor.getSelection();this.props.onCursorChange(e,t)}},e.prototype.onInput=function(t){this.props.onInput&&this.props.onInput(t),this.props.placeholder&&this.updatePlaceholder()},e.prototype.onFocus=function(t){this.props.onFocus&&this.props.onFocus(t,this.editor)},e.prototype.onBlur=function(t){this.props.onBlur&&this.props.onBlur(t,this.editor)},e.prototype.onCopy=function(t){var e=t.text;this.props.onCopy&&this.props.onCopy(e)},e.prototype.onPaste=function(t){var e=t.text;this.props.onPaste&&this.props.onPaste(e)},e.prototype.onScroll=function(){this.props.onScroll&&this.props.onScroll(this.editor)},e.prototype.handleOptions=function(t){for(var e=Object.keys(t.setOptions),n=0;n<e.length;n++)this.editor.setOption(e[n],t.setOptions[e[n]])},e.prototype.handleMarkers=function(t){var e=this,n=this.editor.getSession().getMarkers(!0);for(var r in n)n.hasOwnProperty(r)&&this.editor.getSession().removeMarker(n[r].id);for(var r in n=this.editor.getSession().getMarkers(!1))n.hasOwnProperty(r)&&"ace_active-line"!==n[r].clazz&&"ace_selected-word"!==n[r].clazz&&this.editor.getSession().removeMarker(n[r].id);t.forEach((function(t){var n=t.startRow,r=t.startCol,o=t.endRow,s=t.endCol,a=t.className,c=t.type,h=t.inFront,l=void 0!==h&&h,f=new i.Range(n,r,o,s);e.editor.getSession().addMarker(f,a,c,l)}))},e.prototype.updatePlaceholder=function(){var t=this.editor,e=this.props.placeholder,n=!t.session.getValue().length,r=t.renderer.placeholderNode;!n&&r?(t.renderer.scroller.removeChild(t.renderer.placeholderNode),t.renderer.placeholderNode=null):n&&!r?((r=t.renderer.placeholderNode=document.createElement("div")).textContent=e||"",r.className="ace_comment ace_placeholder",r.style.padding="0 9px",r.style.position="absolute",r.style.zIndex="3",t.renderer.scroller.appendChild(r)):n&&r&&(r.textContent=e)},e.prototype.updateRef=function(t){this.refEditor=t},e.prototype.render=function(){var t=this.props,e=t.name,n=t.width,r=t.height,i=t.style,s=o({width:n,height:r},i);return a.createElement("div",{ref:this.updateRef,id:e,style:s})},e.propTypes={mode:s.oneOfType([s.string,s.object]),focus:s.bool,theme:s.string,name:s.string,className:s.string,height:s.string,width:s.string,fontSize:s.oneOfType([s.number,s.string]),showGutter:s.bool,onChange:s.func,onCopy:s.func,onPaste:s.func,onFocus:s.func,onInput:s.func,onBlur:s.func,onScroll:s.func,value:s.string,defaultValue:s.string,onLoad:s.func,onSelectionChange:s.func,onCursorChange:s.func,onBeforeLoad:s.func,onValidate:s.func,minLines:s.number,maxLines:s.number,readOnly:s.bool,highlightActiveLine:s.bool,tabSize:s.number,showPrintMargin:s.bool,cursorStart:s.number,debounceChangePerio
1d:s.number,editorProps:s.object,setOptions:s.object,style:s.object,scrollMargin:s.array,annotations:s.array,markers:s.array,keyboardHandler:s.string,wrapEnabled:s.bool,enableSnippets:s.bool,enableBasicAutocompletion:s.oneOfType([s.bool,s.array]),enableLiveAutocompletion:s.oneOfType([s.bool,s.array]),navigateToFileEnd:s.bool,commands:s.array,placeholder:s.string},e.defaultProps={name:"ace-editor",focus:!1,mode:"",theme:"",height:"500px",width:"500px",fontSize:12,enableSnippets:!1,showGutter:!0,onChange:null,onPaste:null,onLoad:null,onScroll:null,minLines:null,maxLines:null,readOnly:!1,highlightActiveLine:!0,showPrintMargin:!0,tabSize:4,cursorStart:1,editorProps:{},style:{},scrollMargin:[0,0,0,0],setOptions:{},wrapEnabled:!1,enableBasicAutocompletion:!1,enableLiveAutocompletion:!1,placeholder:null,navigateToFileEnd:!0},e}(a.Component);e.default=f},56546:function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(13980),i=n(2784),s=n(82537),a=n(11427),c=function(t){function e(e){var n=t.call(this,e)||this;return n.state={value:n.props.value},n.onChange=n.onChange.bind(n),n.diff=n.diff.bind(n),n}return r(e,t),e.prototype.componentDidUpdate=function(){var t=this.props.value;t!==this.state.value&&this.setState({value:t})},e.prototype.onChange=function(t){this.setState({value:t}),this.props.onChange&&this.props.onChange(t)},e.prototype.diff=function(){var t=new a,e=this.state.value[0],n=this.state.value[1];if(0===e.length&&0===n.length)return[];var r=t.diff_main(e,n);t.diff_cleanupSemantic(r);var o=this.generateDiffedLines(r);return this.setCodeMarkers(o)},e.prototype.generateDiffedLines=function(t){var e=0,n=-1,r=1,o={left:[],right:[]},i={left:1,right:1};return t.forEach((function(t){var s=t[0],a=t[1],c=a.split("\n").length-1;if(0!==a.length){var h=a[0],l=a[a.length-1],f=0;switch(s){case e:i.left+=c,i.right+=c;break;case n:"\n"===h&&(i.left++,c--),0===(f=c)&&o.right.push({startLine:i.right,endLine:i.right}),"\n"===l&&(f-=1),o.left.push({startLine:i.left,endLine:i.left+f}),i.left+=c;break;case r:"\n"===h&&(i.right++,c--),0===(f=c)&&o.left.push({startLine:i.left,endLine:i.left}),"\n"===l&&(f-=1),o.right.push({startLine:i.right,endLine:i.right+f}),i.right+=c;break;default:throw new Error("Diff type was not defined.")}}})),o},e.prototype.setCodeMarkers=function(t){void 0===t&&(t={left:[],right:[]});for(var e=[],n={left:[],right:[]},r=0;r<t.left.length;r++){var o={startRow:t.left[r].startLine-1,endRow:t.left[r].endLine,type:"text",className:"codeMarker"};n.left.push(o)}for(r=0;r<t.right.length;r++){o={startRow:t.right[r].startLine-1,endRow:t.right[r].endLine,type:"text",className:"codeMarker"};n.right.push(o)}return e[0]=n.left,e[1]=n.right,e},e.prototype.render=function(){var t=this.diff();return i.createElement(s.default,{name:this.props.name,className:this.props.className,focus:this.props.focus,orientation:this.props.orientation,splits:this.props.splits,mode:this.props.mode,theme:this.props.theme,height:this.props.height,width:this.props.width,fontSize:this.props.fontSize,showGutter:this.props.showGutter,onChange:this.onChange,onPaste:this.props.onPaste,onLoad:this.props.onLoad,onScroll:this.props.onScroll,minLines:this.props.minLines,maxLines:this.props.maxLines,readOnly:this.props.readOnly,highlightActiveLine:this.props.highlightActiveLine,showPrintMargin:this.props.showPrintMargin,tabSize:this.props.tabSize,cursorStart:this.props.cursorStart,editorProps:this.props.editorProps,style:this.props.style,scrollMargin:this.props.scrollMargin,setOptions:this.props.setOptions,wrapEnabled:this.props.wrapEnabled,enableBasicAutocompletion:this.props.enableBasicAutocompletion,enableLiveAutocompletion:this.props.enableLiveAutocompletion,value:this.state.value,markers:t})},e.propTypes={cursorStart:o.number,editorProps:o.object,enableBasicAutocompletion:o.bool,enableLiveAutocompletion:o.bool,focus:o.bool,fontSize:o.number,height:o.string,highlightActiveLine:o.bool,maxLines:o.number,minLines:o.number,mode:o.str
1ing,name:o.string,className:o.string,onLoad:o.func,onPaste:o.func,onScroll:o.func,onChange:o.func,orientation:o.string,readOnly:o.bool,scrollMargin:o.array,setOptions:o.object,showGutter:o.bool,showPrintMargin:o.bool,splits:o.number,style:o.object,tabSize:o.number,theme:o.string,value:o.array,width:o.string,wrapEnabled:o.bool},e.defaultProps={cursorStart:1,editorProps:{},enableBasicAutocompletion:!1,enableLiveAutocompletion:!1,focus:!1,fontSize:12,height:"500px",highlightActiveLine:!0,maxLines:null,minLines:null,mode:"",name:"ace-editor",onLoad:null,onScroll:null,onPaste:null,onChange:null,orientation:"beside",readOnly:!1,scrollMargin:[0,0,0,0],setOptions:{},showGutter:!0,showPrintMargin:!0,splits:2,style:{},tabSize:4,theme:"github",value:["",""],width:"500px",wrapEnabled:!0},e}(i.Component);e.default=c},47662:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getAceInstance=e.debounce=e.editorEvents=e.editorOptions=void 0;e.editorOptions=["minLines","maxLines","readOnly","highlightActiveLine","tabSize","enableBasicAutocompletion","enableLiveAutocompletion","enableSnippets"];e.editorEvents=["onChange","onFocus","onInput","onBlur","onCopy","onPaste","onSelectionChange","onCursorChange","onScroll","handleOptions","updateRef"];e.getAceInstance=function(){var t;return"undefined"===typeof window?(n.g.window={},t=n(63185),delete n.g.window):window.ace?(t=window.ace).acequire=window.ace.require||window.ace.acequire:t=n(63185),t};e.debounce=function(t,e){var n=null;return function(){var r=this,o=arguments;clearTimeout(n),n=setTimeout((function(){t.apply(r,o)}),e)}}},21291:function(t,e,n){"use strict";var r=n(48709);n(56546).default,n(82537).default,e.ZP=r.default},82537:function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__assign||function(){return o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},o.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var i=n(47662),s=(0,i.getAceInstance)(),a=n(63185),c=n(31949),h=n(13980),l=n(2784),f=n(33958),u=n(77485),p=function(t){function e(e){var n=t.call(this,e)||this;return i.editorEvents.forEach((function(t){n[t]=n[t].bind(n)})),n.debounce=i.debounce,n}return r(e,t),e.prototype.isInShadow=function(t){for(var e=t&&t.parentNode;e;){if("[object ShadowRoot]"===e.toString())return!0;e=e.parentNode}return!1},e.prototype.componentDidMount=function(){var t=this,e=this.props,n=e.className,r=e.onBeforeLoad,o=e.mode,a=e.focus,h=e.theme,l=e.fontSize,f=e.value,p=e.defaultValue,d=e.cursorStart,g=e.showGutter,b=e.wrapEnabled,_=e.showPrintMargin,v=e.scrollMargin,m=void 0===v?[0,0,0,0]:v,y=e.keyboardHandler,w=e.onLoad,S=e.commands,x=e.annotations,k=e.markers,M=e.splits;this.editor=s.edit(this.refEditor),this.isInShadow(this.refEditor)&&this.editor.renderer.attachToShadowRoot(),this.editor.setTheme("ace/theme/"+h),r&&r(s);var O=Object.keys(this.props.editorProps),C=new c.Split(this.editor.container,"ace/theme/"+h,M);this.editor.env.split=C,this.splitEditor=C.getEditor(0),this.split=C,this.editor.setShowPrintMargin(!1),this.editor.renderer.setShowGutter(!1);var E=this.splitEditor.$options;this.props.debounceChangePeriod&&(this.onChange=this.debounce(this.onChange,this.props.debounceChangePeriod)),C.forEach((function(e,n){for(var r=0;r<O.length;r++)e[O[r]]=t.props.editorProps[O[r]];var a=u(p,n),c=u(f,n,"");e.session.setUndoManager(new s.UndoManager),e.setTheme("ace/theme/"+h),e.renderer.setScrollMargin(m[0],m[1],m[2],m[3]),e.getSession().setMode("ace/mode/"+o),e.setFontSize(l),e.renderer.setShowGutter(g),e.getSession().setUseWrapMode(b),e.setShowPrintMargin(_),e.on("focus",t.onFocus),e.on("blur",t.onBlur),e.on("input",t.onInput),e.on("copy",t.onCopy),e.on("paste",t.onPaste),e.on("change",t.onChange),e.getSession().selection.on("changeSelection",t.onSelectionChange),e.getSession().selection.on("changeCursor",t.onCursorChange),e.session.on("changeScrollTop",t.onScroll),e.setValue(void 0===a?c:a,d);var v=u(x,n,[]),w=u(k,n,[]);e.getSession().setAnnotations(v),w&&w.length>0&&t.handleMarkers(w,e);for(r=0;r<i.editorOptions.length;r++){var M=i.editorOptions[r];E.hasOwnProperty(M)?e.setOption(M,t.props[M]):t.props[M]&&console.warn("ReaceAce: editor option "+M+" was activated but not found. Did you need to import a related tool or did you possibly mispell the option?")}
1t.handleOptions(t.props,e),Array.isArray(S)&&S.forEach((function(t){"string"===typeof t.exec?e.commands.bindKey(t.bindKey,t.exec):e.commands.addCommand(t)})),y&&e.setKeyboardHandler("ace/keyboard/"+y)})),n&&(this.refEditor.className+=" "+n),a&&this.splitEditor.focus();var A=this.editor.env.split;A.setOrientation("below"===this.props.orientation?A.BELOW:A.BESIDE),A.resize(!0),w&&w(A)},e.prototype.componentDidUpdate=function(t){var e=this,n=t,r=this.props,o=this.editor.env.split;if(r.splits!==n.splits&&o.setSplits(r.splits),r.orientation!==n.orientation&&o.setOrientation("below"===r.orientation?o.BELOW:o.BESIDE),o.forEach((function(t,o){r.mode!==n.mode&&t.getSession().setMode("ace/mode/"+r.mode),r.keyboardHandler!==n.keyboardHandler&&(r.keyboardHandler?t.setKeyboardHandler("ace/keyboard/"+r.keyboardHandler):t.setKeyboardHandler(null)),r.fontSize!==n.fontSize&&t.setFontSize(r.fontSize),r.wrapEnabled!==n.wrapEnabled&&t.getSession().setUseWrapMode(r.wrapEnabled),r.showPrintMargin!==n.showPrintMargin&&t.setShowPrintMargin(r.showPrintMargin),r.showGutter!==n.showGutter&&t.renderer.setShowGutter(r.showGutter);for(var s=0;s<i.editorOptions.length;s++){var a=i.editorOptions[s];r[a]!==n[a]&&t.setOption(a,r[a])}f(r.setOptions,n.setOptions)||e.handleOptions(r,t);var c=u(r.value,o,"");if(t.getValue()!==c){e.silent=!0;var h=t.session.selection.toJSON();t.setValue(c,r.cursorStart),t.session.selection.fromJSON(h),e.silent=!1}var l=u(r.annotations,o,[]),p=u(n.annotations,o,[]);f(l,p)||t.getSession().setAnnotations(l);var d=u(r.markers,o,[]),g=u(n.markers,o,[]);!f(d,g)&&Array.isArray(d)&&e.handleMarkers(d,t)})),r.className!==n.className){var s=this.refEditor.className.trim().split(" ");n.className.trim().split(" ").forEach((function(t){var e=s.indexOf(t);s.splice(e,1)})),this.refEditor.className=" "+r.className+" "+s.join(" ")}r.theme!==n.theme&&o.setTheme("ace/theme/"+r.theme),r.focus&&!n.focus&&this.splitEditor.focus(),r.height===this.props.height&&r.width===this.props.width||this.editor.resize()},e.prototype.componentWillUnmount=function(){this.editor.destroy(),this.editor=null},e.prototype.onChange=function(t){if(this.props.onChange&&!this.silent){var e=[];this.editor.env.split.forEach((function(t){e.push(t.getValue())})),this.props.onChange(e,t)}},e.prototype.onSelectionChange=function(t){if(this.props.onSelectionChange){var e=[];this.editor.env.split.forEach((function(t){e.push(t.getSelection())})),this.props.onSelectionChange(e,t)}},e.prototype.onCursorChange=function(t){if(this.props.onCursorChange){var e=[];this.editor.env.split.forEach((function(t){e.push(t.getSelection())})),this.props.onCursorChange(e,t)}},e.prototype.onFocus=function(t){this.props.onFocus&&this.props.onFocus(t)},e.prototype.onInput=function(t){this.props.onInput&&this.props.onInput(t)},e.prototype.onBlur=function(t){this.props.onBlur&&this.props.onBlur(t)},e.prototype.onCopy=function(t){this.props.onCopy&&this.props.onCopy(t)},e.prototype.onPaste=function(t){this.props.onPaste&&this.props.onPaste(t)},e.prototype.onScroll=function(){this.props.onScroll&&this.props.onScroll(this.editor)},e.prototype.handleOptions=function(t,e){for(var n=Object.keys(t.setOptions),r=0;r<n.length;r++)e.setOption(n[r],t.setOptions[n[r]])},e.prototype.handleMarkers=function(t,e){var n=e.getSession().getMarkers(!0);for(var r in n)n.hasOwnProperty(r)&&e.getSession().removeMarker(n[r].id);for(var r in n=e.getSession().getMarkers(!1))n.hasOwnProperty(r)&&e.getSession().removeMarker(n[r].id);t.forEach((function(t){var n=t.startRow,r=t.startCol,o=t.endRow,i=t.endCol,s=t.className,c=t.type,h=t.inFront,l=void 0!==h&&h,f=new a.Range(n,r,o,i);e.getSession().addMarker(f,s,c,l)}))},e.prototype.updateRef=function(t){this.refEditor=t},e.prototype.render=function(){var t=this.props,e=t.name,n=t.width,r=t.height,i=t.style,s=o({width:n,height:r},i);return l.createElement("div",{ref:this.updateRef,id:e,style:s})},e.propTypes={className:h.string,debounceChangePeriod:h.number,defaultValue:h.arrayOf(h.string),focus:h.bool,fontSize:h.oneOfType([h.number,h.string]),height:h.string,mode:h.string,name:h.string,onBlur:h.func,onChange:h.func,onCopy:h.func,onFocus:h.func,onInput:h.func,onLoad:h.func,onPaste:h.func,onScroll:h.func,orientation:h.string,
1showGutter:h.bool,splits:h.number,theme:h.string,value:h.arrayOf(h.string),width:h.string,onSelectionChange:h.func,onCursorChange:h.func,onBeforeLoad:h.func,minLines:h.number,maxLines:h.number,readOnly:h.bool,highlightActiveLine:h.bool,tabSize:h.number,showPrintMargin:h.bool,cursorStart:h.number,editorProps:h.object,setOptions:h.object,style:h.object,scrollMargin:h.array,annotations:h.array,markers:h.array,keyboardHandler:h.string,wrapEnabled:h.bool,enableBasicAutocompletion:h.oneOfType([h.bool,h.array]),enableLiveAutocompletion:h.oneOfType([h.bool,h.array]),commands:h.array},e.defaultProps={name:"ace-editor",focus:!1,orientation:"beside",splits:2,mode:"",theme:"",height:"500px",width:"500px",value:[],fontSize:12,showGutter:!0,onChange:null,onPaste:null,onLoad:null,onScroll:null,minLines:null,maxLines:null,readOnly:!1,highlightActiveLine:!0,showPrintMargin:!0,tabSize:4,cursorStart:1,editorProps:{},style:{},scrollMargin:[0,0,0,0],setOptions:{},wrapEnabled:!1,enableBasicAutocompletion:!1,enableLiveAutocompletion:!1},e}(l.Component);e.default=p},31949:function(t,e,n){t=n.nmd(t),ace.define("ace/split",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/editor","ace/virtual_renderer","ace/edit_session"],(function(t,e,n){"use strict";var r=t("./lib/oop"),o=(t("./lib/lang"),t("./lib/event_emitter").EventEmitter),i=t("./editor").Editor,s=t("./virtual_renderer").VirtualRenderer,a=t("./edit_session").EditSession,c=function(t,e,n){this.BELOW=1,this.BESIDE=0,this.$container=t,this.$theme=e,this.$splits=0,this.$editorCSS="",this.$editors=[],this.$orientation=this.BESIDE,this.setSplits(n||1),this.$cEditor=this.$editors[0],this.on("focus",function(t){this.$cEditor=t}.bind(this))};(function(){r.implement(this,o),this.$createEditor=function(){var t=document.createElement("div");t.className=this.$editorCSS,t.style.cssText="position: absolute; top:0px; bottom:0px",this.$container.appendChild(t);var e=new i(new s(t,this.$theme));return e.on("focus",function(){this._emit("focus",e)}.bind(this)),this.$editors.push(e),e.setFontSize(this.$fontSize),e},this.setSplits=function(t){var e;if(t<1)throw"The number of splits have to be > 0!";if(t!=this.$splits){if(t>this.$splits){for(;this.$splits<this.$editors.length&&this.$splits<t;)e=this.$editors[this.$splits],this.$container.appendChild(e.container),e.setFontSize(this.$fontSize),this.$splits++;for(;this.$splits<t;)this.$createEditor(),this.$splits++}else for(;this.$splits>t;)e=this.$editors[this.$splits-1],this.$container.removeChild(e.container),this.$splits--;this.resize()}}
1,this.getSplits=function(){return this.$splits},this.getEditor=function(t){return this.$editors[t]},this.getCurrentEditor=function(){return this.$cEditor},this.focus=function(){this.$cEditor.focus()},this.blur=function(){this.$cEditor.blur()},this.setTheme=function(t){this.$editors.forEach((function(e){e.setTheme(t)}))},this.setKeyboardHandler=function(t){this.$editors.forEach((function(e){e.setKeyboardHandler(t)}))},this.forEach=function(t,e){this.$editors.forEach(t,e)},this.$fontSize="",this.setFontSize=function(t){this.$fontSize=t,this.forEach((function(e){e.setFontSize(t)}))},this.$cloneSession=function(t){var e=new a(t.getDocument(),t.getMode()),n=t.getUndoManager();return e.setUndoManager(n),e.setTabSize(t.getTabSize()),e.setUseSoftTabs(t.getUseSoftTabs()),e.setOverwrite(t.getOverwrite()),e.setBreakpoints(t.getBreakpoints()),e.setUseWrapMode(t.getUseWrapMode()),e.setUseWorker(t.getUseWorker()),e.setWrapLimitRange(t.$wrapLimitRange.min,t.$wrapLimitRange.max),e.$foldData=t.$cloneFoldData(),e},this.setSession=function(t,e){var n;n=null==e?this.$cEditor:this.$editors[e];var r=this.$editors.some((function(e){return e.session===t}));return r&&(t=this.$cloneSession(t)),n.setSession(t),t},this.getOrientation=function(){return this.$orientation},this.setOrientation=function(t){this.$orientation!=t&&(this.$orientation=t,this.resize())},this.resize=function(){var t,e=this.$container.clientWidth,n=this.$container.clientHeight;if(this.$orientation==this.BESIDE)for(var r=e/this.$splits,o=0;o<this.$splits;o++)(t=this.$editors[o]).container.style.width=r+"px",t.container.style.top="0px",t.container.style.left=o*r+"px",t.container.style.height=n+"px",t.resize();else{var i=n/this.$splits;for(o=0;o<this.$splits;o++)(t=this.$editors[o]).container.style.width=e+"px",t.container.style.top=o*i+"px",t.container.style.left="0px",t.container.style.height=i+"px",t.resize()}}}).call(c.prototype),e.Split=c})),ace.define("ace/ext/split",["require","exports","module","ace/split"],(function(t,e,n){"use strict";n.exports=t("../split")})),ace.require(["ace/ext/split"],(function(e){t&&(t.exports=e)}))}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.