htmldiff-js-ie11
Version:
JavaScript port of HtmlDiff.Net which is itself a C# port of HtmlDiff (IE11 compatible fork)
1 lines • 38.1 kB
JavaScript
module.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},r.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="/dist/",r(r.s=100)}([function(t,e,r){var n=r(42)("wks"),i=r(23),o=r(3).Symbol,u="function"==typeof o;(t.exports=function(t){return n[t]||(n[t]=u&&o[t]||(u?o:i)("Symbol."+t))}).store=n},function(t,e,r){var n=r(8),i=r(91),o=r(90),u=Object.defineProperty;e.f=r(2)?Object.defineProperty:function(t,e,r){if(n(t),e=o(e,!0),n(r),i)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},function(t,e,r){t.exports=!r(15)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,r){var n=r(1),i=r(26);t.exports=r(2)?function(t,e,r){return n.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e){var r=t.exports={version:"2.5.3"};"number"==typeof __e&&(__e=r)},function(t,e,r){var n=r(3),i=r(6),o=r(9),u=r(5),s=function(t,e,r){var a,c,f,l=t&s.F,h=t&s.G,d=t&s.S,p=t&s.P,v=t&s.B,y=t&s.W,g=h?i:i[e]||(i[e]={}),w=g.prototype,x=h?n:d?n[e]:(n[e]||{}).prototype;for(a in h&&(r=e),r)(c=!l&&x&&void 0!==x[a])&&a in g||(f=c?x[a]:r[a],g[a]=h&&"function"!=typeof x[a]?r[a]:v&&c?o(f,n):y&&x[a]==f?function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):p&&"function"==typeof f?o(Function.call,f):f,p&&((g.virtual||(g.virtual={}))[a]=f,t&s.R&&w&&!w[a]&&u(w,a,f)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,e,r){var n=r(4);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},function(t,e,r){var n=r(45);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,i){return t.call(e,r,n,i)}}return function(){return t.apply(e,arguments)}}},function(t,e,r){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},function(t,e){t.exports={}},function(t,e,r){var n=r(9),i=r(37),o=r(36),u=r(8),s=r(14),a=r(19),c={},f={};(e=t.exports=function(t,e,r,l,h){var d,p,v,y,g=h?function(){return t}:a(t),w=n(r,l,e?2:1),x=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(o(g)){for(d=s(t.length);d>x;x++)if((y=e?w(u(p=t[x])[0],p[1]):w(t[x]))===c||y===f)return y}else for(v=g.call(t);!(p=v.next()).done;)if((y=i(v,w,p.value,e))===c||y===f)return y}).BREAK=c,e.RETURN=f},function(t,e,r){var n=r(25),i=Math.min;t.exports=function(t){return t>0?i(n(t),9007199254740991):0}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=/^\s*<\/?[^>]+>\s*$/,i=/<[^\s>]+/,o=/^(\s| )+$/,u=/[\w\#@]+/,s=["<img"];function a(t){return!s.some(function(e){return null!==t&&t.startsWith(e)})&&n.test(t)}function c(t){return t=i.exec(t)[0]+(t.endsWith("/>")?"/>":">")}e.isTag=a,e.stripTagAttributes=c,e.wrapText=function(t,e,r){return["<",e,' class="',r,'">',t,"</",e,">"].join("")},e.isStartOfTag=function(t){return"<"===t},e.isEndOfTag=function(t){return">"===t},e.isStartOfEntity=function(t){return"&"===t},e.isEndOfEntity=function(t){return";"===t},e.isWhiteSpace=function(t){return o.test(t)},e.stripAnyAttributes=function(t){return a(t)?c(t):t},e.isWord=function(t){return u.test(t)}},function(t,e,r){t.exports={default:r(75),__esModule:!0}},function(t,e,r){"use strict";e.__esModule=!0;var n,i=r(78),o=(n=i)&&n.__esModule?n:{default:n};e.default=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),(0,o.default)(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}()},function(t,e,r){var n=r(40),i=r(0)("iterator"),o=r(12);t.exports=r(6).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[n(t)]}},function(t,e,r){"use strict";var n=r(80)(!0);r(27)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,r=this._i;return r>=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})})},function(t,e,r){var n=r(28);t.exports=function(t){return Object(n(t))}},function(t,e,r){var n=r(1).f,i=r(11),o=r(0)("toStringTag");t.exports=function(t,e,r){t&&!i(t=r?t:t.prototype,o)&&n(t,o,{configurable:!0,value:e})}},function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+n).toString(36))}},function(t,e,r){var n=r(42)("keys"),i=r(23);t.exports=function(t){return n[t]||(n[t]=i(t))}},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,r){"use strict";var n=r(92),i=r(7),o=r(89),u=r(5),s=r(11),a=r(12),c=r(88),f=r(22),l=r(81),h=r(0)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,e,r,v,y,g,w){c(r,e,v);var x,m,_,O=function(t){if(!d&&t in W)return W[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},b=e+" Iterator",k="values"==y,I=!1,W=t.prototype,S=W[h]||W["@@iterator"]||y&&W[y],E=!d&&S||O(y),T=y?k?O("entries"):E:void 0,M="Array"==e&&W.entries||S;if(M&&(_=l(M.call(new t)))!==Object.prototype&&_.next&&(f(_,b,!0),n||s(_,h)||u(_,h,p)),k&&S&&"values"!==S.name&&(I=!0,E=function(){return S.call(this)}),n&&!w||!d&&!I&&W[h]||u(W,h,E),a[e]=E,a[b]=p,y)if(x={values:k?E:O("values"),keys:g?E:O("keys"),entries:T},w)for(m in x)m in W||o(W,m,x[m]);else i(i.P+i.F*(d||I),e,x);return x}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e,r){var n=r(46),i=r(28);t.exports=function(t){return n(i(t))}},function(t,e,r){t.exports={default:r(95),__esModule:!0}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=r(10),o=(n=i)&&n.__esModule?n:{default:n};e.default=function t(){(0,o.default)(this,t),this.blockSize=0,this.repeatingWordsAccuracy=0,this.ignoreWhitespaceDifferences=!1}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(r(10)),i=o(r(18));function o(t){return t&&t.__esModule?t:{default:t}}var u=function(){function t(e,r,i){(0,n.default)(this,t),this.startInOld=e,this.startInNew=r,this.size=i}return(0,i.default)(t,[{key:"endInOld",get:function(){return this.startInOld+this.size}},{key:"endInNew",get:function(){return this.startInNew+this.size}}]),t}();e.default=u},function(t,e,r){var n=r(4);t.exports=function(t,e){if(!n(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,r){var n=r(23)("meta"),i=r(4),o=r(11),u=r(1).f,s=0,a=Object.isExtensible||function(){return!0},c=!r(15)(function(){return a(Object.preventExtensions({}))}),f=function(t){u(t,n,{value:{i:"O"+ ++s,w:{}}})},l=t.exports={KEY:n,NEED:!1,fastKey:function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,n)){if(!a(t))return"F";if(!e)return"E";f(t)}return t[n].i},getWeak:function(t,e){if(!o(t,n)){if(!a(t))return!0;if(!e)return!1;f(t)}return t[n].w},onFreeze:function(t){return c&&l.NEED&&a(t)&&!o(t,n)&&f(t),t}}},function(t,e,r){var n=r(12),i=r(0)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||o[i]===t)}},function(t,e,r){var n=r(8);t.exports=function(t,e,r,i){try{return i?e(n(r)[0],r[1]):e(r)}catch(e){var o=t.return;throw void 0!==o&&n(o.call(t)),e}}},function(t,e){t.exports=function(t,e,r,n){if(!(t instanceof e)||void 0!==n&&n in t)throw TypeError(r+": incorrect invocation!");return t}},function(t,e,r){var n=r(5);t.exports=function(t,e,r){for(var i in e)r&&t[i]?t[i]=e[i]:n(t,i,e[i]);return t}},function(t,e,r){var n=r(29),i=r(0)("toStringTag"),o="Arguments"==n(function(){return arguments}());t.exports=function(t){var e,r,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?r:o?n(e):"Object"==(u=n(e))&&"function"==typeof e.callee?"Arguments":u}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,r){var n=r(3),i=n["__core-js_shared__"]||(n["__core-js_shared__"]={});t.exports=function(t){return i[t]||(i[t]={})}},function(t,e,r){var n=r(8),i=r(87),o=r(41),u=r(24)("IE_PROTO"),s=function(){},a=function(){var t,e=r(44)("iframe"),n=o.length;for(e.style.display="none",r(82).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;n--;)delete a.prototype[o[n]];return a()};t.exports=Object.create||function(t,e){var r;return null!==t?(s.prototype=n(t),r=new s,s.prototype=null,r[u]=t):r=a(),void 0===e?r:i(r,e)}},function(t,e,r){var n=r(4),i=r(3).document,o=n(i)&&n(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,r){var n=r(29);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,r){r(94);for(var n=r(3),i=r(5),o=r(12),u=r(0)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),a=0;a<s.length;a++){var c=s[a],f=n[c],l=f&&f.prototype;l&&!l[u]&&i(l,u,c),o[c]=o.Array}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={character:0,tag:1,whitespace:2,entity:3}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.convertHtmlToListOfWords=void 0;var n=s(r(31)),i=s(r(17)),o=s(r(49)),u=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(16));function s(t){return t&&t.__esModule?t:{default:t}}function a(t,e,r){0!==t.currentWord.length&&t.words.push(t.currentWord.join("")),t.currentWord=[e],t.mode=r}e.convertHtmlToListOfWords=function(t,e){for(var r={mode:o.default.character,currentWord:[],words:[]},s=function(t,e){var r=new i.default;if(null===e)return r;var o=!0,u=!1,s=void 0;try{for(var a,c=(0,n.default)(e);!(o=(a=c.next()).done);o=!0)for(var f=a.value,l=void 0;null!==(l=f.exec(t));){if(r.has(l.index))throw new Error("One or more block expressions result in a text sequence that overlaps. Current expression: "+f.toString());r.set(l.index,l.index+l[0].length)}}catch(t){u=!0,s=t}finally{try{!o&&c.return&&c.return()}finally{if(u)throw s}}return r}(t,e),c=!!s.size,f=!1,l=-1,h=0;h<t.length;h++){var d=t[h];if(c&&(l===index&&(l=-1,f=!1),s.has(index)&&(f=!0,l=s.get(index)),f))r.currentWord.push(d),r.mode=o.default.character;else switch(r.mode){case o.default.character:u.isStartOfTag(d)?a(r,"<",o.default.tag):u.isStartOfEntity(d)?a(r,d,o.default.entity):u.isWhiteSpace(d)?a(r,d,o.default.whitespace):u.isWord(d)&&(0===r.currentWord.length||u.isWord(r.currentWord[r.currentWord.length-1]))?r.currentWord.push(d):a(r,d,o.default.character);break;case o.default.tag:u.isEndOfTag(d)?(r.currentWord.push(d),r.words.push(r.currentWord.join("")),r.currentWord=[],r.mode=u.isWhiteSpace(d)?o.default.whitespace:o.default.character):r.currentWord.push(d);break;case o.default.whitespace:u.isStartOfTag(d)?a(r,d,o.default.tag):u.isStartOfEntity(d)?a(r,d,o.default.entity):u.isWhiteSpace(d)?r.currentWord.push(d):a(r,d,o.default.character);break;case o.default.entity:if(u.isStartOfTag(d))a(r,d,o.default.tag);else if(u.isWhiteSpace(d))a(r,d,o.default.whitespace);else if(u.isEndOfEntity(d)){var p=!0;if(0!==r.currentWord.length&&(r.currentWord.push(d),r.words.push(r.currentWord.join("")),r.words.length>2&&u.isWhiteSpace(r.words[r.words.length-2])&&u.isWhiteSpace(r.words[r.words.length-1]))){var v=r.words[r.words.length-2],y=r.words[r.words.length-1];r.words.splice(r.words.length-2,2),r.currentWord=[(v+y).split()],r.mode=o.default.whitespace,p=!1}p&&(r.currentWord=[],r.mode=o.default.character)}else u.isWord(d)?r.currentWord.push(d):a(r,d,o.default.character)}}return 0!==r.currentWord.length&&r.words.push(r.currentWord.join("")),r.words}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,i=r(10),o=(n=i)&&n.__esModule?n:{default:n};e.default=function t(e,r,n,i,u){(0,o.default)(this,t),this.action=e,this.startInOld=r,this.endInOld=n,this.startInNew=i,this.endInNew=u}},function(t,e,r){var n=r(0)("iterator"),i=!1;try{var o=[7][n]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var r=!1;try{var o=[7],u=o[n]();u.next=function(){return{done:r=!0}},o[n]=function(){return u},t(o)}catch(t){}return r}},function(t,e,r){"use strict";var n=r(1),i=r(26);t.exports=function(t,e,r){e in t?n.f(t,e,i(0,r)):t[e]=r}},function(t,e,r){"use strict";var n=r(9),i=r(7),o=r(21),u=r(37),s=r(36),a=r(14),c=r(53),f=r(19);i(i.S+i.F*!r(52)(function(t){Array.from(t)}),"Array",{from:function(t){var e,r,i,l,h=o(t),d="function"==typeof this?this:Array,p=arguments.length,v=p>1?arguments[1]:void 0,y=void 0!==v,g=0,w=f(h);if(y&&(v=n(v,p>2?arguments[2]:void 0,2)),void 0==w||d==Array&&s(w))for(r=new d(e=a(h.length));e>g;g++)c(r,g,y?v(h[g],g):h[g]);else for(l=w.call(h),r=new d;!(i=l.next()).done;g++)c(r,g,y?u(l,v,[i.value,g],!0):i.value);return r.length=g,r}})},function(t,e,r){r(20),r(54),t.exports=r(6).Array.from},function(t,e,r){t.exports={default:r(55),__esModule:!0}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=f(r(56)),i=f(r(31)),o=f(r(17)),u=f(r(10)),s=f(r(18)),a=f(r(33)),c=(f(r(32)),function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}(r(16)));function f(t){return t&&t.__esModule?t:{default:t}}function l(t,e,r){return t.push(e),t.length>r&&t.shift(),t.length!==r?null:t.join("")}var h=function(){function t(e,r,n,i,o,s,a){(0,u.default)(this,t),this.oldWords=e,this.newWords=r,this.startInOld=n,this.endInOld=i,this.startInNew=o,this.endInNew=s,this.options=a}return(0,s.default)(t,[{key:"indexNewWords",value:function(){this.wordIndices=new o.default;for(var t=[],e=this.startInNew;e<this.endInNew;e++){var r=l(t,this.normalizeForIndex(this.newWords[e]),this.options.blockSize);null!==r&&(this.wordIndices.has(r)?this.wordIndices.get(r).push(e):this.wordIndices.set(r,[e]))}}},{key:"normalizeForIndex",value:function(t){return t=c.stripAnyAttributes(t),this.options.IgnoreWhiteSpaceDifferences&&c.isWhiteSpace(t)?" ":t}},{key:"findMatch",value:function(){if(this.indexNewWords(),this.removeRepeatingWords(),0===this.wordIndices.length)return null;for(var t=this.startInOld,e=this.startInNew,r=0,n=new o.default,u=this.options.blockSize,s=[],c=this.startInOld;c<this.endInOld;c++){var f=l(s,this.normalizeForIndex(this.oldWords[c]),u);if(null!==f){var h=new o.default;if(this.wordIndices.has(f)){var d=!0,p=!1,v=void 0;try{for(var y,g=(0,i.default)(this.wordIndices.get(f));!(d=(y=g.next()).done);d=!0){var w=y.value,x=(n.has(w-1)?n.get(w-1):0)+1;h.set(w,x),x>r&&(t=c-x-u+2,e=w-x-u+2,r=x)}}catch(t){p=!0,v=t}finally{try{!d&&g.return&&g.return()}finally{if(p)throw v}}n=h}else n=h}}return 0!==r?new a.default(t,e,r+u-1):null}},{key:"removeRepeatingWords",value:function(){var t=this.newWords.length+this.options.repeatingWordsAccuracy,e=(0,n.default)(this.wordIndices.entries()).filter(function(e){return e[1].length>t}).map(function(t){return t[0]}),r=!0,o=!1,u=void 0;try{for(var s,a=(0,i.default)(e);!(r=(s=a.next()).done);r=!0){var c=s.value;this.wordIndices.delete(c)}}catch(t){o=!0,u=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw u}}}}]),t}();e.default=h},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={equal:0,delete:1,insert:2,none:3,replace:4}},function(t,e,r){"use strict";var n=r(7),i=r(45),o=r(9),u=r(13);t.exports=function(t){n(n.S,t,{from:function(t){var e,r,n,s,a=arguments[1];return i(this),(e=void 0!==a)&&i(a),void 0==t?new this:(r=[],e?(n=0,s=o(a,arguments[2],2),u(t,!1,function(t){r.push(s(t,n++))})):u(t,!1,r.push,r),new this(r))}})}},function(t,e,r){r(59)("Map")},function(t,e,r){"use strict";var n=r(7);t.exports=function(t){n(n.S,t,{of:function(){for(var t=arguments.length,e=new Array(t);t--;)e[t]=arguments[t];return new this(e)}})}},function(t,e,r){r(61)("Map")},function(t,e,r){var n=r(13);t.exports=function(t,e){var r=[];return n(t,!1,r.push,r,e),r}},function(t,e,r){var n=r(40),i=r(63);t.exports=function(t){return function(){if(n(this)!=t)throw TypeError(t+"#toJSON isn't generic");return i(this)}}},function(t,e,r){var n=r(7);n(n.P+n.R,"Map",{toJSON:r(64)("Map")})},function(t,e,r){var n=r(29);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e,r){var n=r(4),i=r(66),o=r(0)("species");t.exports=function(t){var e;return i(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!i(e.prototype)||(e=void 0),n(e)&&null===(e=e[o])&&(e=void 0)),void 0===e?Array:e}},function(t,e,r){var n=r(67);t.exports=function(t,e){return new(n(t))(e)}},function(t,e,r){var n=r(9),i=r(46),o=r(21),u=r(14),s=r(68);t.exports=function(t,e){var r=1==t,a=2==t,c=3==t,f=4==t,l=6==t,h=5==t||l,d=e||s;return function(e,s,p){for(var v,y,g=o(e),w=i(g),x=n(s,p,3),m=u(w.length),_=0,O=r?d(e,m):a?d(e,0):void 0;m>_;_++)if((h||_ in w)&&(y=x(v=w[_],_,g),t))if(r)O[_]=y;else if(y)switch(t){case 3:return!0;case 5:return v;case 6:return _;case 2:O.push(v)}else if(f)return!1;return l?-1:c||f?f:O}}},function(t,e,r){"use strict";var n=r(3),i=r(7),o=r(35),u=r(15),s=r(5),a=r(39),c=r(13),f=r(38),l=r(4),h=r(22),d=r(1).f,p=r(69)(0),v=r(2);t.exports=function(t,e,r,y,g,w){var x=n[t],m=x,_=g?"set":"add",O=m&&m.prototype,b={};return v&&"function"==typeof m&&(w||O.forEach&&!u(function(){(new m).entries().next()}))?(m=e(function(e,r){f(e,m,t,"_c"),e._c=new x,void 0!=r&&c(r,g,e[_],e)}),p("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),function(t){var e="add"==t||"set"==t;t in O&&(!w||"clear"!=t)&&s(m.prototype,t,function(r,n){if(f(this,m,t),!e&&w&&!l(r))return"get"==t&&void 0;var i=this._c[t](0===r?0:r,n);return e?this:i})}),w||d(m.prototype,"size",{get:function(){return this._c.size}})):(m=y.getConstructor(e,t,g,_),a(m.prototype,r),o.NEED=!0),h(m,t),b[t]=m,i(i.G+i.W+i.F,b),w||y.setStrong(m,t,g),m}},function(t,e,r){"use strict";var n=r(3),i=r(6),o=r(1),u=r(2),s=r(0)("species");t.exports=function(t){var e="function"==typeof i[t]?i[t]:n[t];u&&e&&!e[s]&&o.f(e,s,{configurable:!0,get:function(){return this}})}},function(t,e,r){"use strict";var n=r(1).f,i=r(43),o=r(39),u=r(9),s=r(38),a=r(13),c=r(27),f=r(47),l=r(71),h=r(2),d=r(35).fastKey,p=r(34),v=h?"_s":"size",y=function(t,e){var r,n=d(e);if("F"!==n)return t._i[n];for(r=t._f;r;r=r.n)if(r.k==e)return r};t.exports={getConstructor:function(t,e,r,c){var f=t(function(t,n){s(t,f,e,"_i"),t._t=e,t._i=i(null),t._f=void 0,t._l=void 0,t[v]=0,void 0!=n&&a(n,r,t[c],t)});return o(f.prototype,{clear:function(){for(var t=p(this,e),r=t._i,n=t._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete r[n.i];t._f=t._l=void 0,t[v]=0},delete:function(t){var r=p(this,e),n=y(r,t);if(n){var i=n.n,o=n.p;delete r._i[n.i],n.r=!0,o&&(o.n=i),i&&(i.p=o),r._f==n&&(r._f=i),r._l==n&&(r._l=o),r[v]--}return!!n},forEach:function(t){p(this,e);for(var r,n=u(t,arguments.length>1?arguments[1]:void 0,3);r=r?r.n:this._f;)for(n(r.v,r.k,this);r&&r.r;)r=r.p},has:function(t){return!!y(p(this,e),t)}}),h&&n(f.prototype,"size",{get:function(){return p(this,e)[v]}}),f},def:function(t,e,r){var n,i,o=y(t,e);return o?o.v=r:(t._l=o={i:i=d(e,!0),k:e,v:r,p:n=t._l,n:void 0,r:!1},t._f||(t._f=o),n&&(n.n=o),t[v]++,"F"!==i&&(t._i[i]=o)),t},getEntry:y,setStrong:function(t,e,r){c(t,e,function(t,r){this._t=p(t,e),this._k=r,this._l=void 0},function(){for(var t=this._k,e=this._l;e&&e.r;)e=e.p;return this._t&&(this._l=e=e?e.n:this._t._f)?f(0,"keys"==t?e.k:"values"==t?e.v:[e.k,e.v]):(this._t=void 0,f(1))},r?"entries":"values",!r,!0),l(e)}}},function(t,e,r){"use strict";var n=r(72),i=r(34);t.exports=r(70)("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=n.getEntry(i(this,"Map"),t);return e&&e.v},set:function(t,e){return n.def(i(this,"Map"),0===t?0:t,e)}},n,!0)},function(t,e){},function(t,e,r){r(74),r(20),r(48),r(73),r(65),r(62),r(60),t.exports=r(6).Map},function(t,e,r){var n=r(7);n(n.S+n.F*!r(2),"Object",{defineProperty:r(1).f})},function(t,e,r){r(76);var n=r(6).Object;t.exports=function(t,e,r){return n.defineProperty(t,e,r)}},function(t,e,r){t.exports={default:r(77),__esModule:!0}},function(t,e,r){var n=r(8),i=r(19);t.exports=r(6).getIterator=function(t){var e=i(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return n(e.call(t))}},function(t,e,r){var n=r(25),i=r(28);t.exports=function(t){return function(e,r){var o,u,s=String(i(e)),a=n(r),c=s.length;return a<0||a>=c?t?"":void 0:(o=s.charCodeAt(a))<55296||o>56319||a+1===c||(u=s.charCodeAt(a+1))<56320||u>57343?t?s.charAt(a):o:t?s.slice(a,a+2):u-56320+(o-55296<<10)+65536}}},function(t,e,r){var n=r(11),i=r(21),o=r(24)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),n(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,r){var n=r(3).document;t.exports=n&&n.documentElement},function(t,e,r){var n=r(25),i=Math.max,o=Math.min;t.exports=function(t,e){return(t=n(t))<0?i(t+e,0):o(t,e)}},function(t,e,r){var n=r(30),i=r(14),o=r(83);t.exports=function(t){return function(e,r,u){var s,a=n(e),c=i(a.length),f=o(u,c);if(t&&r!=r){for(;c>f;)if((s=a[f++])!=s)return!0}else for(;c>f;f++)if((t||f in a)&&a[f]===r)return t||f||0;return!t&&-1}}},function(t,e,r){var n=r(11),i=r(30),o=r(84)(!1),u=r(24)("IE_PROTO");t.exports=function(t,e){var r,s=i(t),a=0,c=[];for(r in s)r!=u&&n(s,r)&&c.push(r);for(;e.length>a;)n(s,r=e[a++])&&(~o(c,r)||c.push(r));return c}},function(t,e,r){var n=r(85),i=r(41);t.exports=Object.keys||function(t){return n(t,i)}},function(t,e,r){var n=r(1),i=r(8),o=r(86);t.exports=r(2)?Object.defineProperties:function(t,e){i(t);for(var r,u=o(e),s=u.length,a=0;s>a;)n.f(t,r=u[a++],e[r]);return t}},function(t,e,r){"use strict";var n=r(43),i=r(26),o=r(22),u={};r(5)(u,r(0)("iterator"),function(){return this}),t.exports=function(t,e,r){t.prototype=n(u,{next:i(1,r)}),o(t,e+" Iterator")}},function(t,e,r){t.exports=r(5)},function(t,e,r){var n=r(4);t.exports=function(t,e){if(!n(t))return t;var r,i;if(e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;if("function"==typeof(r=t.valueOf)&&!n(i=r.call(t)))return i;if(!e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e,r){t.exports=!r(2)&&!r(15)(function(){return 7!=Object.defineProperty(r(44)("div"),"a",{get:function(){return 7}}).a})},function(t,e){t.exports=!0},function(t,e){t.exports=function(){}},function(t,e,r){"use strict";var n=r(93),i=r(47),o=r(12),u=r(30);t.exports=r(27)(Array,"Array",function(t,e){this._t=u(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?r:"values"==e?t[r]:[r,t[r]])},"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},function(t,e,r){r(48),r(20),t.exports=r(79)},function(t,e){!function(e){"use strict";var r,n=Object.prototype,i=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},u=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",a=o.toStringTag||"@@toStringTag",c="object"==typeof t,f=e.regeneratorRuntime;if(f)c&&(t.exports=f);else{(f=e.regeneratorRuntime=c?t.exports:{}).wrap=m;var l="suspendedStart",h="suspendedYield",d="executing",p="completed",v={},y={};y[u]=function(){return this};var g=Object.getPrototypeOf,w=g&&g(g(j([])));w&&w!==n&&i.call(w,u)&&(y=w);var x=k.prototype=O.prototype=Object.create(y);b.prototype=x.constructor=k,k.constructor=b,k[a]=b.displayName="GeneratorFunction",f.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},f.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,k):(t.__proto__=k,a in t||(t[a]="GeneratorFunction")),t.prototype=Object.create(x),t},f.awrap=function(t){return{__await:t}},I(W.prototype),W.prototype[s]=function(){return this},f.AsyncIterator=W,f.async=function(t,e,r,n){var i=new W(m(t,e,r,n));return f.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},I(x),x[a]="Generator",x[u]=function(){return this},x.toString=function(){return"[object Generator]"},f.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},f.values=j,M.prototype={constructor:M,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(T),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,i){return s.type="throw",s.arg=t,e.next=n,i&&(e.method="next",e.arg=r),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var u=this.tryEntries[o],s=u.completion;if("root"===u.tryLoc)return n("end");if(u.tryLoc<=this.prev){var a=i.call(u,"catchLoc"),c=i.call(u,"finallyLoc");if(a&&c){if(this.prev<u.catchLoc)return n(u.catchLoc,!0);if(this.prev<u.finallyLoc)return n(u.finallyLoc)}else if(a){if(this.prev<u.catchLoc)return n(u.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<u.finallyLoc)return n(u.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var u=o?o.completion:{};return u.type=t,u.arg=e,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(u)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;T(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:j(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),v}}}function m(t,e,r,n){var i=e&&e.prototype instanceof O?e:O,o=Object.create(i.prototype),u=new M(n||[]);return o._invoke=function(t,e,r){var n=l;return function(i,o){if(n===d)throw new Error("Generator is already running");if(n===p){if("throw"===i)throw o;return L()}for(r.method=i,r.arg=o;;){var u=r.delegate;if(u){var s=S(u,r);if(s){if(s===v)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var a=_(t,e,r);if("normal"===a.type){if(n=r.done?p:h,a.arg===v)continue;return{value:a.arg,done:r.done}}"throw"===a.type&&(n=p,r.method="throw",r.arg=a.arg)}}}(t,r,u),o}function _(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}function O(){}function b(){}function k(){}function I(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function W(t){var e;this._invoke=function(r,n){function o(){return new Promise(function(e,o){!function e(r,n,o,u){var s=_(t[r],t,n);if("throw"!==s.type){var a=s.arg,c=a.value;return c&&"object"==typeof c&&i.call(c,"__await")?Promise.resolve(c.__await).then(function(t){e("next",t,o,u)},function(t){e("throw",t,o,u)}):Promise.resolve(c).then(function(t){a.value=t,o(a)},u)}u(s.arg)}(r,n,e,o)})}return e=e?e.then(o,o):o()}}function S(t,e){var n=t.iterator[e.method];if(n===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=r,S(t,e),"throw"===e.method))return v;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var i=_(n,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,v;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,v):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function M(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function j(t){if(t){var e=t[u];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(i.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=r,e.done=!0,e};return o.next=o}}return{next:L}}function L(){return{value:r,done:!0}}}(function(){return this}()||Function("return this")())},function(t,e,r){var n=function(){return this}()||Function("return this")(),i=n.regeneratorRuntime&&Object.getOwnPropertyNames(n).indexOf("regeneratorRuntime")>=0,o=i&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,t.exports=r(96),i)n.regeneratorRuntime=o;else try{delete n.regeneratorRuntime}catch(t){n.regeneratorRuntime=void 0}},function(t,e,r){t.exports=r(97)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=y(r(98)),i=y(r(31)),o=y(r(10)),u=y(r(18)),s=y(r(17)),a=y(r(58)),c=y(r(33)),f=y(r(57)),l=y(r(51)),h=y(r(32)),d=v(r(50)),p=v(r(16));function v(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function y(t){return t&&t.__esModule?t:{default:t}}var g=new s.default([["</strong>",0],["</em>",0],["</b>",0],["</i>",0],["</big>",0],["</small>",0],["</u>",0],["</sub>",0],["</strike>",0],["</s>",0],["</dfn>",0]]),w=/<((strong)|(b)|(i)|(dfn)|(em)|(big)|(small)|(u)|(sub)|(sup)|(strike)|(s))[\>\s]+/gi,x=function(){function t(e,r){(0,o.default)(this,t),this.content=[],this.newText=r,this.oldText=e,this.specialTagDiffStack=[],this.newWords=[],this.oldWords=[],this.matchGranularity=0,this.blockExpressions=[],this.repeatingWordsAccuracy=1,this.ignoreWhiteSpaceDifferences=!1,this.orphanMatchThreshold=0}return(0,u.default)(t,[{key:"build",value:function(){if(this.oldText===this.newText)return this.newText;this.splitInputsIntoWords(),this.matchGranularity=Math.min(4,this.oldWords.length,this.newWords.length);var t=this.operations(),e=!0,r=!1,n=void 0;try{for(var o,u=(0,i.default)(t);!(e=(o=u.next()).done);e=!0){var s=o.value;this.performOperation(s)}}catch(t){r=!0,n=t}finally{try{!e&&u.return&&u.return()}finally{if(r)throw n}}return this.content.join("")}},{key:"addBlockExpression",value:function(t){this.blockExpressions.push(t)}},{key:"splitInputsIntoWords",value:function(){this.oldWords=d.convertHtmlToListOfWords(this.oldText,this.blockExpressions),this.oldText=null,this.newWords=d.convertHtmlToListOfWords(this.newText,this.blockExpressions),this.newText=null}},{key:"performOperation",value:function(t){switch(t.action){case a.default.equal:this.processEqualOperation(t);break;case a.default.delete:this.processDeleteOperation(t,"diffdel");break;case a.default.insert:this.processInsertOperation(t,"diffins");break;case a.default.none:break;case a.default.replace:this.processReplaceOperation(t)}}},{key:"processReplaceOperation",value:function(t){this.processDeleteOperation(t,"diffmod"),this.processInsertOperation(t,"diffmod")}},{key:"processInsertOperation",value:function(t,e){var r=this.newWords.filter(function(e,r){return r>=t.startInNew&&r<t.endInNew});this.insertTag("ins",e,r)}},{key:"processDeleteOperation",value:function(t,e){var r=this.oldWords.filter(function(e,r){return r>=t.startInOld&&r<t.endInOld});this.insertTag("del",e,r)}},{key:"processEqualOperation",value:function(t){var e=this.newWords.filter(function(e,r){return r>=t.startInNew&&r<t.endInNew});this.content.push(e.join(""))}},{key:"insertTag",value:function(t,e,r){for(;r.length;){var n=this.extractConsecutiveWords(r,function(t){return!p.isTag(t)}),i="",o=!1;if(0!==n.length){var u=p.wrapText(n.join(""),t,e);this.content.push(u)}else{if(w.test(r[0])){if(this.specialTagDiffStack.push(r[0]),i='<ins class="mod">',"del"===t)for(r.shift();r.length>0&&w.test(r[0]);)r.shift()}else if(g.has(r[0])){var s=0===this.specialTagDiffStack.length?null:this.specialTagDiffStack.pop();if(null!==s&&s===r[0].replace(/\//g,"")&&(i="</ins>",o=!0),"del"===t)for(r.shift();r.length>0&&g.has(r[0]);)r.shift()}if(0===r.length&&0===i.length)break;o?this.content.push(i+this.extractConsecutiveWords(r,p.isTag).join("")):this.content.push(this.extractConsecutiveWords(r,p.isTag).join("")+i)}}}},{key:"extractConsecutiveWords",value:function(t,e){for(var r=null,n=0;n<t.length;n++){var i=t[n];if(0===n&&" "===i&&(t[n]=" "),!e(i)){r=n;break}}if(null!==r){var o=t.filter(function(t,e){return e>=0&&e<r});return r>0&&t.splice(0,r),o}var u=t.filter(function(e,r){return r>=0&&r<t.length});return t.splice(0,t.length),u}},{key:"operations",value:function(){var t=0,e=0,r=[],n=this.matchingBlocks();n.push(new c.default(this.oldWords.length,this.newWords.length,0));var o=this.removeOrphans(n),u=!0,s=!1,f=void 0;try{for(var h,d=(0,i.default)(o);!(u=(h=d.next()).done);u=!0){var p=h.value,v=t===p.startInOld,y=e===p.startInNew,g=void 0;(g=v||y?v&&!y?a.default.insert:v?a.default.none:a.default.delete:a.default.replace)!==a.default.none&&r.push(new l.default(g,t,p.startInOld,e,p.startInNew)),0!==p.length&&r.push(new l.default(a.default.equal,p.startInOld,p.endInOld,p.startInNew,p.endInNew)),t=p.endInOld,e=p.endInNew}}catch(t){s=!0,f=t}finally{try{!u&&d.return&&d.return()}finally{if(s)throw f}}return r}},{key:"removeOrphans",value:n.default.mark(function t(e){var r,o,u,s,a,f,l,h,d,p,v;return n.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r=null,o=null,u=!0,s=!1,a=void 0,t.prev=5,f=(0,i.default)(e);case 7:if(u=(l=f.next()).done){t.next=31;break}if(h=l.value,null!==o){t.next=13;break}return r=new c.default(0,0,0),o=h,t.abrupt("continue",28);case 13:if(!(r.endInOld===o.startInOld&&r.endInNew===o.startInNew||o.endInOld===h.startInOld&&o.endInNew===h.startInNew)){t.next=19;break}return t.next=16,o;case 16:return r=o,o=h,t.abrupt("continue",28);case 19:if(d=function(t,e){return t+e.length},p=this.oldWords.slice(r.endInOld,h.startInOld).reduce(d,0),v=this.newWords.slice(r.endInNew,h.startInNew).reduce(d,0),!(this.newWords.slice(o.startInNew,o.endInNew).reduce(d,0)>Math.max(p,v)*this.orphanMatchThreshold)){t.next=26;break}return t.next=26,o;case 26:r=o,o=h;case 28:u=!0,t.next=7;break;case 31:t.next=37;break;case 33:t.prev=33,t.t0=t.catch(5),s=!0,a=t.t0;case 37:t.prev=37,t.prev=38,!u&&f.return&&f.return();case 40:if(t.prev=40,!s){t.next=43;break}throw a;case 43:return t.finish(40);case 44:return t.finish(37);case 45:return t.next=47,o;case 47:case"end":return t.stop()}},t,this,[[5,33,37,45],[38,,40,44]])})},{key:"matchingBlocks",value:function(){var t=[];return this.findMatchingBlocks(0,this.oldWords.length,0,this.newWords.length,t),t}},{key:"findMatchingBlocks",value:function(t,e,r,n,i){var o=this.findMatch(t,e,r,n);null!==o&&(t<o.startInOld&&r<o.startInNew&&this.findMatchingBlocks(t,o.startInOld,r,o.startInNew,i),i.push(o),o.endInOld<e&&o.endInNew<n&&this.findMatchingBlocks(o.endInOld,e,o.endInNew,n,i))}},{key:"findMatch",value:function(t,e,r,n){for(var i=this.matchGranularity;i>0;i--){var o=new h.default;o.blockSize=i,o.repeatingWordsAccuracy=this.repeatingWordsAccuracy,o.ignoreWhitespaceDifferences=this.ignoreWhiteSpaceDifferences;var u=new f.default(this.oldWords,this.newWords,t,e,r,n,o).findMatch();if(null!==u)return u}return null}}]),t}();x.execute=function(t,e){return new x(t,e).build()},e.default=x},function(t,e,r){t.exports=r(99)}]);