@adminforth/rich-editor 1.0.16 → 1.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1018) hide show
  1. package/ChangeLog.md +6 -0
  2. package/dist/index.js +6 -25
  3. package/dist/types.js +0 -14
  4. package/index.ts +5 -24
  5. package/package.json +1 -1
  6. package/types.ts +4 -24
  7. package/custom/node_modules/.package-lock.json +0 -66
  8. package/custom/node_modules/eventemitter3/LICENSE +0 -21
  9. package/custom/node_modules/eventemitter3/README.md +0 -94
  10. package/custom/node_modules/eventemitter3/dist/eventemitter3.esm.js +0 -347
  11. package/custom/node_modules/eventemitter3/dist/eventemitter3.esm.min.js +0 -1
  12. package/custom/node_modules/eventemitter3/dist/eventemitter3.esm.min.js.map +0 -1
  13. package/custom/node_modules/eventemitter3/dist/eventemitter3.umd.js +0 -355
  14. package/custom/node_modules/eventemitter3/dist/eventemitter3.umd.min.js +0 -1
  15. package/custom/node_modules/eventemitter3/dist/eventemitter3.umd.min.js.map +0 -1
  16. package/custom/node_modules/eventemitter3/index.d.ts +0 -135
  17. package/custom/node_modules/eventemitter3/index.js +0 -336
  18. package/custom/node_modules/eventemitter3/index.mjs +0 -4
  19. package/custom/node_modules/eventemitter3/package.json +0 -67
  20. package/custom/node_modules/fast-diff/LICENSE +0 -201
  21. package/custom/node_modules/fast-diff/README.md +0 -24
  22. package/custom/node_modules/fast-diff/diff.d.ts +0 -21
  23. package/custom/node_modules/fast-diff/diff.js +0 -1138
  24. package/custom/node_modules/fast-diff/package.json +0 -30
  25. package/custom/node_modules/lodash-es/LICENSE +0 -47
  26. package/custom/node_modules/lodash-es/README.md +0 -10
  27. package/custom/node_modules/lodash-es/_DataView.js +0 -7
  28. package/custom/node_modules/lodash-es/_Hash.js +0 -32
  29. package/custom/node_modules/lodash-es/_LazyWrapper.js +0 -28
  30. package/custom/node_modules/lodash-es/_ListCache.js +0 -32
  31. package/custom/node_modules/lodash-es/_LodashWrapper.js +0 -22
  32. package/custom/node_modules/lodash-es/_Map.js +0 -7
  33. package/custom/node_modules/lodash-es/_MapCache.js +0 -32
  34. package/custom/node_modules/lodash-es/_Promise.js +0 -7
  35. package/custom/node_modules/lodash-es/_Set.js +0 -7
  36. package/custom/node_modules/lodash-es/_SetCache.js +0 -27
  37. package/custom/node_modules/lodash-es/_Stack.js +0 -27
  38. package/custom/node_modules/lodash-es/_Symbol.js +0 -6
  39. package/custom/node_modules/lodash-es/_Uint8Array.js +0 -6
  40. package/custom/node_modules/lodash-es/_WeakMap.js +0 -7
  41. package/custom/node_modules/lodash-es/_addMapEntry.js +0 -15
  42. package/custom/node_modules/lodash-es/_addSetEntry.js +0 -15
  43. package/custom/node_modules/lodash-es/_apply.js +0 -21
  44. package/custom/node_modules/lodash-es/_arrayAggregator.js +0 -22
  45. package/custom/node_modules/lodash-es/_arrayEach.js +0 -22
  46. package/custom/node_modules/lodash-es/_arrayEachRight.js +0 -21
  47. package/custom/node_modules/lodash-es/_arrayEvery.js +0 -23
  48. package/custom/node_modules/lodash-es/_arrayFilter.js +0 -25
  49. package/custom/node_modules/lodash-es/_arrayIncludes.js +0 -17
  50. package/custom/node_modules/lodash-es/_arrayIncludesWith.js +0 -22
  51. package/custom/node_modules/lodash-es/_arrayLikeKeys.js +0 -49
  52. package/custom/node_modules/lodash-es/_arrayMap.js +0 -21
  53. package/custom/node_modules/lodash-es/_arrayPush.js +0 -20
  54. package/custom/node_modules/lodash-es/_arrayReduce.js +0 -26
  55. package/custom/node_modules/lodash-es/_arrayReduceRight.js +0 -24
  56. package/custom/node_modules/lodash-es/_arraySample.js +0 -15
  57. package/custom/node_modules/lodash-es/_arraySampleSize.js +0 -17
  58. package/custom/node_modules/lodash-es/_arrayShuffle.js +0 -15
  59. package/custom/node_modules/lodash-es/_arraySome.js +0 -23
  60. package/custom/node_modules/lodash-es/_asciiSize.js +0 -12
  61. package/custom/node_modules/lodash-es/_asciiToArray.js +0 -12
  62. package/custom/node_modules/lodash-es/_asciiWords.js +0 -15
  63. package/custom/node_modules/lodash-es/_assignMergeValue.js +0 -20
  64. package/custom/node_modules/lodash-es/_assignValue.js +0 -28
  65. package/custom/node_modules/lodash-es/_assocIndexOf.js +0 -21
  66. package/custom/node_modules/lodash-es/_baseAggregator.js +0 -21
  67. package/custom/node_modules/lodash-es/_baseAssign.js +0 -17
  68. package/custom/node_modules/lodash-es/_baseAssignIn.js +0 -17
  69. package/custom/node_modules/lodash-es/_baseAssignValue.js +0 -25
  70. package/custom/node_modules/lodash-es/_baseAt.js +0 -23
  71. package/custom/node_modules/lodash-es/_baseClamp.js +0 -22
  72. package/custom/node_modules/lodash-es/_baseClone.js +0 -166
  73. package/custom/node_modules/lodash-es/_baseConforms.js +0 -18
  74. package/custom/node_modules/lodash-es/_baseConformsTo.js +0 -27
  75. package/custom/node_modules/lodash-es/_baseCreate.js +0 -30
  76. package/custom/node_modules/lodash-es/_baseDelay.js +0 -21
  77. package/custom/node_modules/lodash-es/_baseDifference.js +0 -67
  78. package/custom/node_modules/lodash-es/_baseEach.js +0 -14
  79. package/custom/node_modules/lodash-es/_baseEachRight.js +0 -14
  80. package/custom/node_modules/lodash-es/_baseEvery.js +0 -21
  81. package/custom/node_modules/lodash-es/_baseExtremum.js +0 -32
  82. package/custom/node_modules/lodash-es/_baseFill.js +0 -32
  83. package/custom/node_modules/lodash-es/_baseFilter.js +0 -21
  84. package/custom/node_modules/lodash-es/_baseFindIndex.js +0 -24
  85. package/custom/node_modules/lodash-es/_baseFindKey.js +0 -23
  86. package/custom/node_modules/lodash-es/_baseFlatten.js +0 -38
  87. package/custom/node_modules/lodash-es/_baseFor.js +0 -16
  88. package/custom/node_modules/lodash-es/_baseForOwn.js +0 -16
  89. package/custom/node_modules/lodash-es/_baseForOwnRight.js +0 -16
  90. package/custom/node_modules/lodash-es/_baseForRight.js +0 -15
  91. package/custom/node_modules/lodash-es/_baseFunctions.js +0 -19
  92. package/custom/node_modules/lodash-es/_baseGet.js +0 -24
  93. package/custom/node_modules/lodash-es/_baseGetAllKeys.js +0 -20
  94. package/custom/node_modules/lodash-es/_baseGetTag.js +0 -28
  95. package/custom/node_modules/lodash-es/_baseGt.js +0 -14
  96. package/custom/node_modules/lodash-es/_baseHas.js +0 -19
  97. package/custom/node_modules/lodash-es/_baseHasIn.js +0 -13
  98. package/custom/node_modules/lodash-es/_baseInRange.js +0 -18
  99. package/custom/node_modules/lodash-es/_baseIndexOf.js +0 -20
  100. package/custom/node_modules/lodash-es/_baseIndexOfWith.js +0 -23
  101. package/custom/node_modules/lodash-es/_baseIntersection.js +0 -74
  102. package/custom/node_modules/lodash-es/_baseInverter.js +0 -21
  103. package/custom/node_modules/lodash-es/_baseInvoke.js +0 -24
  104. package/custom/node_modules/lodash-es/_baseIsArguments.js +0 -18
  105. package/custom/node_modules/lodash-es/_baseIsArrayBuffer.js +0 -17
  106. package/custom/node_modules/lodash-es/_baseIsDate.js +0 -18
  107. package/custom/node_modules/lodash-es/_baseIsEqual.js +0 -28
  108. package/custom/node_modules/lodash-es/_baseIsEqualDeep.js +0 -83
  109. package/custom/node_modules/lodash-es/_baseIsMap.js +0 -18
  110. package/custom/node_modules/lodash-es/_baseIsMatch.js +0 -62
  111. package/custom/node_modules/lodash-es/_baseIsNaN.js +0 -12
  112. package/custom/node_modules/lodash-es/_baseIsNative.js +0 -47
  113. package/custom/node_modules/lodash-es/_baseIsRegExp.js +0 -18
  114. package/custom/node_modules/lodash-es/_baseIsSet.js +0 -18
  115. package/custom/node_modules/lodash-es/_baseIsTypedArray.js +0 -60
  116. package/custom/node_modules/lodash-es/_baseIteratee.js +0 -31
  117. package/custom/node_modules/lodash-es/_baseKeys.js +0 -30
  118. package/custom/node_modules/lodash-es/_baseKeysIn.js +0 -33
  119. package/custom/node_modules/lodash-es/_baseLodash.js +0 -10
  120. package/custom/node_modules/lodash-es/_baseLt.js +0 -14
  121. package/custom/node_modules/lodash-es/_baseMap.js +0 -22
  122. package/custom/node_modules/lodash-es/_baseMatches.js +0 -22
  123. package/custom/node_modules/lodash-es/_baseMatchesProperty.js +0 -33
  124. package/custom/node_modules/lodash-es/_baseMean.js +0 -20
  125. package/custom/node_modules/lodash-es/_baseMerge.js +0 -42
  126. package/custom/node_modules/lodash-es/_baseMergeDeep.js +0 -94
  127. package/custom/node_modules/lodash-es/_baseNth.js +0 -20
  128. package/custom/node_modules/lodash-es/_baseOrderBy.js +0 -49
  129. package/custom/node_modules/lodash-es/_basePick.js +0 -19
  130. package/custom/node_modules/lodash-es/_basePickBy.js +0 -30
  131. package/custom/node_modules/lodash-es/_baseProperty.js +0 -14
  132. package/custom/node_modules/lodash-es/_basePropertyDeep.js +0 -16
  133. package/custom/node_modules/lodash-es/_basePropertyOf.js +0 -14
  134. package/custom/node_modules/lodash-es/_basePullAll.js +0 -51
  135. package/custom/node_modules/lodash-es/_basePullAt.js +0 -37
  136. package/custom/node_modules/lodash-es/_baseRandom.js +0 -18
  137. package/custom/node_modules/lodash-es/_baseRange.js +0 -28
  138. package/custom/node_modules/lodash-es/_baseReduce.js +0 -23
  139. package/custom/node_modules/lodash-es/_baseRepeat.js +0 -35
  140. package/custom/node_modules/lodash-es/_baseRest.js +0 -17
  141. package/custom/node_modules/lodash-es/_baseSample.js +0 -15
  142. package/custom/node_modules/lodash-es/_baseSampleSize.js +0 -18
  143. package/custom/node_modules/lodash-es/_baseSet.js +0 -51
  144. package/custom/node_modules/lodash-es/_baseSetData.js +0 -17
  145. package/custom/node_modules/lodash-es/_baseSetToString.js +0 -22
  146. package/custom/node_modules/lodash-es/_baseShuffle.js +0 -15
  147. package/custom/node_modules/lodash-es/_baseSlice.js +0 -31
  148. package/custom/node_modules/lodash-es/_baseSome.js +0 -22
  149. package/custom/node_modules/lodash-es/_baseSortBy.js +0 -21
  150. package/custom/node_modules/lodash-es/_baseSortedIndex.js +0 -42
  151. package/custom/node_modules/lodash-es/_baseSortedIndexBy.js +0 -67
  152. package/custom/node_modules/lodash-es/_baseSortedUniq.js +0 -30
  153. package/custom/node_modules/lodash-es/_baseSum.js +0 -24
  154. package/custom/node_modules/lodash-es/_baseTimes.js +0 -20
  155. package/custom/node_modules/lodash-es/_baseToNumber.js +0 -24
  156. package/custom/node_modules/lodash-es/_baseToPairs.js +0 -18
  157. package/custom/node_modules/lodash-es/_baseToString.js +0 -37
  158. package/custom/node_modules/lodash-es/_baseTrim.js +0 -19
  159. package/custom/node_modules/lodash-es/_baseUnary.js +0 -14
  160. package/custom/node_modules/lodash-es/_baseUniq.js +0 -72
  161. package/custom/node_modules/lodash-es/_baseUnset.js +0 -20
  162. package/custom/node_modules/lodash-es/_baseUpdate.js +0 -18
  163. package/custom/node_modules/lodash-es/_baseValues.js +0 -19
  164. package/custom/node_modules/lodash-es/_baseWhile.js +0 -26
  165. package/custom/node_modules/lodash-es/_baseWrapperValue.js +0 -25
  166. package/custom/node_modules/lodash-es/_baseXor.js +0 -36
  167. package/custom/node_modules/lodash-es/_baseZipObject.js +0 -23
  168. package/custom/node_modules/lodash-es/_cacheHas.js +0 -13
  169. package/custom/node_modules/lodash-es/_castArrayLikeObject.js +0 -14
  170. package/custom/node_modules/lodash-es/_castFunction.js +0 -14
  171. package/custom/node_modules/lodash-es/_castPath.js +0 -21
  172. package/custom/node_modules/lodash-es/_castRest.js +0 -14
  173. package/custom/node_modules/lodash-es/_castSlice.js +0 -18
  174. package/custom/node_modules/lodash-es/_charsEndIndex.js +0 -19
  175. package/custom/node_modules/lodash-es/_charsStartIndex.js +0 -20
  176. package/custom/node_modules/lodash-es/_cloneArrayBuffer.js +0 -16
  177. package/custom/node_modules/lodash-es/_cloneBuffer.js +0 -35
  178. package/custom/node_modules/lodash-es/_cloneDataView.js +0 -16
  179. package/custom/node_modules/lodash-es/_cloneMap.js +0 -22
  180. package/custom/node_modules/lodash-es/_cloneRegExp.js +0 -17
  181. package/custom/node_modules/lodash-es/_cloneSet.js +0 -22
  182. package/custom/node_modules/lodash-es/_cloneSymbol.js +0 -18
  183. package/custom/node_modules/lodash-es/_cloneTypedArray.js +0 -16
  184. package/custom/node_modules/lodash-es/_compareAscending.js +0 -41
  185. package/custom/node_modules/lodash-es/_compareMultiple.js +0 -44
  186. package/custom/node_modules/lodash-es/_composeArgs.js +0 -39
  187. package/custom/node_modules/lodash-es/_composeArgsRight.js +0 -41
  188. package/custom/node_modules/lodash-es/_copyArray.js +0 -20
  189. package/custom/node_modules/lodash-es/_copyObject.js +0 -40
  190. package/custom/node_modules/lodash-es/_copySymbols.js +0 -16
  191. package/custom/node_modules/lodash-es/_copySymbolsIn.js +0 -16
  192. package/custom/node_modules/lodash-es/_coreJsData.js +0 -6
  193. package/custom/node_modules/lodash-es/_countHolders.js +0 -21
  194. package/custom/node_modules/lodash-es/_createAggregator.js +0 -23
  195. package/custom/node_modules/lodash-es/_createAssigner.js +0 -37
  196. package/custom/node_modules/lodash-es/_createBaseEach.js +0 -32
  197. package/custom/node_modules/lodash-es/_createBaseFor.js +0 -25
  198. package/custom/node_modules/lodash-es/_createBind.js +0 -28
  199. package/custom/node_modules/lodash-es/_createCaseFirst.js +0 -33
  200. package/custom/node_modules/lodash-es/_createCompounder.js +0 -24
  201. package/custom/node_modules/lodash-es/_createCtor.js +0 -37
  202. package/custom/node_modules/lodash-es/_createCurry.js +0 -46
  203. package/custom/node_modules/lodash-es/_createFind.js +0 -25
  204. package/custom/node_modules/lodash-es/_createFlow.js +0 -78
  205. package/custom/node_modules/lodash-es/_createHybrid.js +0 -92
  206. package/custom/node_modules/lodash-es/_createInverter.js +0 -17
  207. package/custom/node_modules/lodash-es/_createMathOperation.js +0 -38
  208. package/custom/node_modules/lodash-es/_createOver.js +0 -27
  209. package/custom/node_modules/lodash-es/_createPadding.js +0 -33
  210. package/custom/node_modules/lodash-es/_createPartial.js +0 -43
  211. package/custom/node_modules/lodash-es/_createRange.js +0 -30
  212. package/custom/node_modules/lodash-es/_createRecurry.js +0 -56
  213. package/custom/node_modules/lodash-es/_createRelationalOperation.js +0 -20
  214. package/custom/node_modules/lodash-es/_createRound.js +0 -35
  215. package/custom/node_modules/lodash-es/_createSet.js +0 -19
  216. package/custom/node_modules/lodash-es/_createToPairs.js +0 -30
  217. package/custom/node_modules/lodash-es/_createWrap.js +0 -106
  218. package/custom/node_modules/lodash-es/_customDefaultsAssignIn.js +0 -29
  219. package/custom/node_modules/lodash-es/_customDefaultsMerge.js +0 -28
  220. package/custom/node_modules/lodash-es/_customOmitClone.js +0 -16
  221. package/custom/node_modules/lodash-es/_deburrLetter.js +0 -71
  222. package/custom/node_modules/lodash-es/_defineProperty.js +0 -11
  223. package/custom/node_modules/lodash-es/_equalArrays.js +0 -84
  224. package/custom/node_modules/lodash-es/_equalByTag.js +0 -112
  225. package/custom/node_modules/lodash-es/_equalObjects.js +0 -90
  226. package/custom/node_modules/lodash-es/_escapeHtmlChar.js +0 -21
  227. package/custom/node_modules/lodash-es/_escapeStringChar.js +0 -22
  228. package/custom/node_modules/lodash-es/_flatRest.js +0 -16
  229. package/custom/node_modules/lodash-es/_freeGlobal.js +0 -4
  230. package/custom/node_modules/lodash-es/_getAllKeys.js +0 -16
  231. package/custom/node_modules/lodash-es/_getAllKeysIn.js +0 -17
  232. package/custom/node_modules/lodash-es/_getData.js +0 -15
  233. package/custom/node_modules/lodash-es/_getFuncName.js +0 -31
  234. package/custom/node_modules/lodash-es/_getHolder.js +0 -13
  235. package/custom/node_modules/lodash-es/_getMapData.js +0 -18
  236. package/custom/node_modules/lodash-es/_getMatchData.js +0 -24
  237. package/custom/node_modules/lodash-es/_getNative.js +0 -17
  238. package/custom/node_modules/lodash-es/_getPrototype.js +0 -6
  239. package/custom/node_modules/lodash-es/_getRawTag.js +0 -46
  240. package/custom/node_modules/lodash-es/_getSymbols.js +0 -30
  241. package/custom/node_modules/lodash-es/_getSymbolsIn.js +0 -25
  242. package/custom/node_modules/lodash-es/_getTag.js +0 -58
  243. package/custom/node_modules/lodash-es/_getValue.js +0 -13
  244. package/custom/node_modules/lodash-es/_getView.js +0 -33
  245. package/custom/node_modules/lodash-es/_getWrapDetails.js +0 -17
  246. package/custom/node_modules/lodash-es/_hasPath.js +0 -39
  247. package/custom/node_modules/lodash-es/_hasUnicode.js +0 -26
  248. package/custom/node_modules/lodash-es/_hasUnicodeWord.js +0 -15
  249. package/custom/node_modules/lodash-es/_hashClear.js +0 -15
  250. package/custom/node_modules/lodash-es/_hashDelete.js +0 -17
  251. package/custom/node_modules/lodash-es/_hashGet.js +0 -30
  252. package/custom/node_modules/lodash-es/_hashHas.js +0 -23
  253. package/custom/node_modules/lodash-es/_hashSet.js +0 -23
  254. package/custom/node_modules/lodash-es/_initCloneArray.js +0 -26
  255. package/custom/node_modules/lodash-es/_initCloneByTag.js +0 -77
  256. package/custom/node_modules/lodash-es/_initCloneObject.js +0 -18
  257. package/custom/node_modules/lodash-es/_insertWrapDetails.js +0 -23
  258. package/custom/node_modules/lodash-es/_isFlattenable.js +0 -20
  259. package/custom/node_modules/lodash-es/_isIndex.js +0 -25
  260. package/custom/node_modules/lodash-es/_isIterateeCall.js +0 -30
  261. package/custom/node_modules/lodash-es/_isKey.js +0 -29
  262. package/custom/node_modules/lodash-es/_isKeyable.js +0 -15
  263. package/custom/node_modules/lodash-es/_isLaziable.js +0 -28
  264. package/custom/node_modules/lodash-es/_isMaskable.js +0 -14
  265. package/custom/node_modules/lodash-es/_isMasked.js +0 -20
  266. package/custom/node_modules/lodash-es/_isPrototype.js +0 -18
  267. package/custom/node_modules/lodash-es/_isStrictComparable.js +0 -15
  268. package/custom/node_modules/lodash-es/_iteratorToArray.js +0 -18
  269. package/custom/node_modules/lodash-es/_lazyClone.js +0 -23
  270. package/custom/node_modules/lodash-es/_lazyReverse.js +0 -23
  271. package/custom/node_modules/lodash-es/_lazyValue.js +0 -69
  272. package/custom/node_modules/lodash-es/_listCacheClear.js +0 -13
  273. package/custom/node_modules/lodash-es/_listCacheDelete.js +0 -35
  274. package/custom/node_modules/lodash-es/_listCacheGet.js +0 -19
  275. package/custom/node_modules/lodash-es/_listCacheHas.js +0 -16
  276. package/custom/node_modules/lodash-es/_listCacheSet.js +0 -26
  277. package/custom/node_modules/lodash-es/_mapCacheClear.js +0 -21
  278. package/custom/node_modules/lodash-es/_mapCacheDelete.js +0 -18
  279. package/custom/node_modules/lodash-es/_mapCacheGet.js +0 -16
  280. package/custom/node_modules/lodash-es/_mapCacheHas.js +0 -16
  281. package/custom/node_modules/lodash-es/_mapCacheSet.js +0 -22
  282. package/custom/node_modules/lodash-es/_mapToArray.js +0 -18
  283. package/custom/node_modules/lodash-es/_matchesStrictComparable.js +0 -20
  284. package/custom/node_modules/lodash-es/_memoizeCapped.js +0 -26
  285. package/custom/node_modules/lodash-es/_mergeData.js +0 -90
  286. package/custom/node_modules/lodash-es/_metaMap.js +0 -6
  287. package/custom/node_modules/lodash-es/_nativeCreate.js +0 -6
  288. package/custom/node_modules/lodash-es/_nativeKeys.js +0 -6
  289. package/custom/node_modules/lodash-es/_nativeKeysIn.js +0 -20
  290. package/custom/node_modules/lodash-es/_nodeUtil.js +0 -30
  291. package/custom/node_modules/lodash-es/_objectToString.js +0 -22
  292. package/custom/node_modules/lodash-es/_overArg.js +0 -15
  293. package/custom/node_modules/lodash-es/_overRest.js +0 -36
  294. package/custom/node_modules/lodash-es/_parent.js +0 -16
  295. package/custom/node_modules/lodash-es/_reEscape.js +0 -4
  296. package/custom/node_modules/lodash-es/_reEvaluate.js +0 -4
  297. package/custom/node_modules/lodash-es/_reInterpolate.js +0 -4
  298. package/custom/node_modules/lodash-es/_realNames.js +0 -4
  299. package/custom/node_modules/lodash-es/_reorder.js +0 -29
  300. package/custom/node_modules/lodash-es/_replaceHolders.js +0 -29
  301. package/custom/node_modules/lodash-es/_root.js +0 -9
  302. package/custom/node_modules/lodash-es/_safeGet.js +0 -21
  303. package/custom/node_modules/lodash-es/_setCacheAdd.js +0 -19
  304. package/custom/node_modules/lodash-es/_setCacheHas.js +0 -14
  305. package/custom/node_modules/lodash-es/_setData.js +0 -20
  306. package/custom/node_modules/lodash-es/_setToArray.js +0 -18
  307. package/custom/node_modules/lodash-es/_setToPairs.js +0 -18
  308. package/custom/node_modules/lodash-es/_setToString.js +0 -14
  309. package/custom/node_modules/lodash-es/_setWrapToString.js +0 -21
  310. package/custom/node_modules/lodash-es/_shortOut.js +0 -37
  311. package/custom/node_modules/lodash-es/_shuffleSelf.js +0 -28
  312. package/custom/node_modules/lodash-es/_stackClear.js +0 -15
  313. package/custom/node_modules/lodash-es/_stackDelete.js +0 -18
  314. package/custom/node_modules/lodash-es/_stackGet.js +0 -14
  315. package/custom/node_modules/lodash-es/_stackHas.js +0 -14
  316. package/custom/node_modules/lodash-es/_stackSet.js +0 -34
  317. package/custom/node_modules/lodash-es/_strictIndexOf.js +0 -23
  318. package/custom/node_modules/lodash-es/_strictLastIndexOf.js +0 -21
  319. package/custom/node_modules/lodash-es/_stringSize.js +0 -18
  320. package/custom/node_modules/lodash-es/_stringToArray.js +0 -18
  321. package/custom/node_modules/lodash-es/_stringToPath.js +0 -27
  322. package/custom/node_modules/lodash-es/_toKey.js +0 -21
  323. package/custom/node_modules/lodash-es/_toSource.js +0 -26
  324. package/custom/node_modules/lodash-es/_trimmedEndIndex.js +0 -19
  325. package/custom/node_modules/lodash-es/_unescapeHtmlChar.js +0 -21
  326. package/custom/node_modules/lodash-es/_unicodeSize.js +0 -44
  327. package/custom/node_modules/lodash-es/_unicodeToArray.js +0 -40
  328. package/custom/node_modules/lodash-es/_unicodeWords.js +0 -69
  329. package/custom/node_modules/lodash-es/_updateWrapDetails.js +0 -46
  330. package/custom/node_modules/lodash-es/_wrapperClone.js +0 -23
  331. package/custom/node_modules/lodash-es/add.js +0 -22
  332. package/custom/node_modules/lodash-es/after.js +0 -42
  333. package/custom/node_modules/lodash-es/array.default.js +0 -81
  334. package/custom/node_modules/lodash-es/array.js +0 -66
  335. package/custom/node_modules/lodash-es/ary.js +0 -29
  336. package/custom/node_modules/lodash-es/assign.js +0 -58
  337. package/custom/node_modules/lodash-es/assignIn.js +0 -40
  338. package/custom/node_modules/lodash-es/assignInWith.js +0 -38
  339. package/custom/node_modules/lodash-es/assignWith.js +0 -37
  340. package/custom/node_modules/lodash-es/at.js +0 -23
  341. package/custom/node_modules/lodash-es/attempt.js +0 -35
  342. package/custom/node_modules/lodash-es/before.js +0 -40
  343. package/custom/node_modules/lodash-es/bind.js +0 -57
  344. package/custom/node_modules/lodash-es/bindAll.js +0 -41
  345. package/custom/node_modules/lodash-es/bindKey.js +0 -68
  346. package/custom/node_modules/lodash-es/camelCase.js +0 -29
  347. package/custom/node_modules/lodash-es/capitalize.js +0 -23
  348. package/custom/node_modules/lodash-es/castArray.js +0 -44
  349. package/custom/node_modules/lodash-es/ceil.js +0 -26
  350. package/custom/node_modules/lodash-es/chain.js +0 -38
  351. package/custom/node_modules/lodash-es/chunk.js +0 -50
  352. package/custom/node_modules/lodash-es/clamp.js +0 -39
  353. package/custom/node_modules/lodash-es/clone.js +0 -36
  354. package/custom/node_modules/lodash-es/cloneDeep.js +0 -29
  355. package/custom/node_modules/lodash-es/cloneDeepWith.js +0 -40
  356. package/custom/node_modules/lodash-es/cloneWith.js +0 -42
  357. package/custom/node_modules/lodash-es/collection.default.js +0 -37
  358. package/custom/node_modules/lodash-es/collection.js +0 -29
  359. package/custom/node_modules/lodash-es/commit.js +0 -33
  360. package/custom/node_modules/lodash-es/compact.js +0 -31
  361. package/custom/node_modules/lodash-es/concat.js +0 -43
  362. package/custom/node_modules/lodash-es/cond.js +0 -60
  363. package/custom/node_modules/lodash-es/conforms.js +0 -35
  364. package/custom/node_modules/lodash-es/conformsTo.js +0 -32
  365. package/custom/node_modules/lodash-es/constant.js +0 -26
  366. package/custom/node_modules/lodash-es/countBy.js +0 -40
  367. package/custom/node_modules/lodash-es/create.js +0 -43
  368. package/custom/node_modules/lodash-es/curry.js +0 -57
  369. package/custom/node_modules/lodash-es/curryRight.js +0 -54
  370. package/custom/node_modules/lodash-es/date.default.js +0 -5
  371. package/custom/node_modules/lodash-es/date.js +0 -2
  372. package/custom/node_modules/lodash-es/debounce.js +0 -191
  373. package/custom/node_modules/lodash-es/deburr.js +0 -45
  374. package/custom/node_modules/lodash-es/defaultTo.js +0 -25
  375. package/custom/node_modules/lodash-es/defaults.js +0 -64
  376. package/custom/node_modules/lodash-es/defaultsDeep.js +0 -30
  377. package/custom/node_modules/lodash-es/defer.js +0 -26
  378. package/custom/node_modules/lodash-es/delay.js +0 -28
  379. package/custom/node_modules/lodash-es/difference.js +0 -33
  380. package/custom/node_modules/lodash-es/differenceBy.js +0 -44
  381. package/custom/node_modules/lodash-es/differenceWith.js +0 -40
  382. package/custom/node_modules/lodash-es/divide.js +0 -22
  383. package/custom/node_modules/lodash-es/drop.js +0 -38
  384. package/custom/node_modules/lodash-es/dropRight.js +0 -39
  385. package/custom/node_modules/lodash-es/dropRightWhile.js +0 -45
  386. package/custom/node_modules/lodash-es/dropWhile.js +0 -45
  387. package/custom/node_modules/lodash-es/each.js +0 -1
  388. package/custom/node_modules/lodash-es/eachRight.js +0 -1
  389. package/custom/node_modules/lodash-es/endsWith.js +0 -43
  390. package/custom/node_modules/lodash-es/entries.js +0 -1
  391. package/custom/node_modules/lodash-es/entriesIn.js +0 -1
  392. package/custom/node_modules/lodash-es/eq.js +0 -37
  393. package/custom/node_modules/lodash-es/escape.js +0 -43
  394. package/custom/node_modules/lodash-es/escapeRegExp.js +0 -32
  395. package/custom/node_modules/lodash-es/every.js +0 -56
  396. package/custom/node_modules/lodash-es/extend.js +0 -1
  397. package/custom/node_modules/lodash-es/extendWith.js +0 -1
  398. package/custom/node_modules/lodash-es/fill.js +0 -45
  399. package/custom/node_modules/lodash-es/filter.js +0 -52
  400. package/custom/node_modules/lodash-es/find.js +0 -42
  401. package/custom/node_modules/lodash-es/findIndex.js +0 -55
  402. package/custom/node_modules/lodash-es/findKey.js +0 -44
  403. package/custom/node_modules/lodash-es/findLast.js +0 -25
  404. package/custom/node_modules/lodash-es/findLastIndex.js +0 -59
  405. package/custom/node_modules/lodash-es/findLastKey.js +0 -44
  406. package/custom/node_modules/lodash-es/first.js +0 -1
  407. package/custom/node_modules/lodash-es/flake.lock +0 -40
  408. package/custom/node_modules/lodash-es/flake.nix +0 -20
  409. package/custom/node_modules/lodash-es/flatMap.js +0 -29
  410. package/custom/node_modules/lodash-es/flatMapDeep.js +0 -31
  411. package/custom/node_modules/lodash-es/flatMapDepth.js +0 -31
  412. package/custom/node_modules/lodash-es/flatten.js +0 -22
  413. package/custom/node_modules/lodash-es/flattenDeep.js +0 -25
  414. package/custom/node_modules/lodash-es/flattenDepth.js +0 -33
  415. package/custom/node_modules/lodash-es/flip.js +0 -28
  416. package/custom/node_modules/lodash-es/floor.js +0 -26
  417. package/custom/node_modules/lodash-es/flow.js +0 -27
  418. package/custom/node_modules/lodash-es/flowRight.js +0 -26
  419. package/custom/node_modules/lodash-es/forEach.js +0 -41
  420. package/custom/node_modules/lodash-es/forEachRight.js +0 -31
  421. package/custom/node_modules/lodash-es/forIn.js +0 -39
  422. package/custom/node_modules/lodash-es/forInRight.js +0 -37
  423. package/custom/node_modules/lodash-es/forOwn.js +0 -36
  424. package/custom/node_modules/lodash-es/forOwnRight.js +0 -34
  425. package/custom/node_modules/lodash-es/fromPairs.js +0 -28
  426. package/custom/node_modules/lodash-es/function.default.js +0 -31
  427. package/custom/node_modules/lodash-es/function.js +0 -24
  428. package/custom/node_modules/lodash-es/functions.js +0 -31
  429. package/custom/node_modules/lodash-es/functionsIn.js +0 -31
  430. package/custom/node_modules/lodash-es/get.js +0 -33
  431. package/custom/node_modules/lodash-es/groupBy.js +0 -41
  432. package/custom/node_modules/lodash-es/gt.js +0 -29
  433. package/custom/node_modules/lodash-es/gte.js +0 -30
  434. package/custom/node_modules/lodash-es/has.js +0 -35
  435. package/custom/node_modules/lodash-es/hasIn.js +0 -34
  436. package/custom/node_modules/lodash-es/head.js +0 -23
  437. package/custom/node_modules/lodash-es/identity.js +0 -21
  438. package/custom/node_modules/lodash-es/inRange.js +0 -55
  439. package/custom/node_modules/lodash-es/includes.js +0 -53
  440. package/custom/node_modules/lodash-es/indexOf.js +0 -42
  441. package/custom/node_modules/lodash-es/initial.js +0 -22
  442. package/custom/node_modules/lodash-es/intersection.js +0 -30
  443. package/custom/node_modules/lodash-es/intersectionBy.js +0 -45
  444. package/custom/node_modules/lodash-es/intersectionWith.js +0 -41
  445. package/custom/node_modules/lodash-es/invert.js +0 -42
  446. package/custom/node_modules/lodash-es/invertBy.js +0 -56
  447. package/custom/node_modules/lodash-es/invoke.js +0 -24
  448. package/custom/node_modules/lodash-es/invokeMap.js +0 -41
  449. package/custom/node_modules/lodash-es/isArguments.js +0 -36
  450. package/custom/node_modules/lodash-es/isArray.js +0 -26
  451. package/custom/node_modules/lodash-es/isArrayBuffer.js +0 -27
  452. package/custom/node_modules/lodash-es/isArrayLike.js +0 -33
  453. package/custom/node_modules/lodash-es/isArrayLikeObject.js +0 -33
  454. package/custom/node_modules/lodash-es/isBoolean.js +0 -29
  455. package/custom/node_modules/lodash-es/isBuffer.js +0 -38
  456. package/custom/node_modules/lodash-es/isDate.js +0 -27
  457. package/custom/node_modules/lodash-es/isElement.js +0 -25
  458. package/custom/node_modules/lodash-es/isEmpty.js +0 -77
  459. package/custom/node_modules/lodash-es/isEqual.js +0 -35
  460. package/custom/node_modules/lodash-es/isEqualWith.js +0 -41
  461. package/custom/node_modules/lodash-es/isError.js +0 -36
  462. package/custom/node_modules/lodash-es/isFinite.js +0 -36
  463. package/custom/node_modules/lodash-es/isFunction.js +0 -37
  464. package/custom/node_modules/lodash-es/isInteger.js +0 -33
  465. package/custom/node_modules/lodash-es/isLength.js +0 -35
  466. package/custom/node_modules/lodash-es/isMap.js +0 -27
  467. package/custom/node_modules/lodash-es/isMatch.js +0 -36
  468. package/custom/node_modules/lodash-es/isMatchWith.js +0 -41
  469. package/custom/node_modules/lodash-es/isNaN.js +0 -38
  470. package/custom/node_modules/lodash-es/isNative.js +0 -40
  471. package/custom/node_modules/lodash-es/isNil.js +0 -25
  472. package/custom/node_modules/lodash-es/isNull.js +0 -22
  473. package/custom/node_modules/lodash-es/isNumber.js +0 -38
  474. package/custom/node_modules/lodash-es/isObject.js +0 -31
  475. package/custom/node_modules/lodash-es/isObjectLike.js +0 -29
  476. package/custom/node_modules/lodash-es/isPlainObject.js +0 -62
  477. package/custom/node_modules/lodash-es/isRegExp.js +0 -27
  478. package/custom/node_modules/lodash-es/isSafeInteger.js +0 -37
  479. package/custom/node_modules/lodash-es/isSet.js +0 -27
  480. package/custom/node_modules/lodash-es/isString.js +0 -30
  481. package/custom/node_modules/lodash-es/isSymbol.js +0 -29
  482. package/custom/node_modules/lodash-es/isTypedArray.js +0 -27
  483. package/custom/node_modules/lodash-es/isUndefined.js +0 -22
  484. package/custom/node_modules/lodash-es/isWeakMap.js +0 -28
  485. package/custom/node_modules/lodash-es/isWeakSet.js +0 -28
  486. package/custom/node_modules/lodash-es/iteratee.js +0 -53
  487. package/custom/node_modules/lodash-es/join.js +0 -26
  488. package/custom/node_modules/lodash-es/kebabCase.js +0 -28
  489. package/custom/node_modules/lodash-es/keyBy.js +0 -36
  490. package/custom/node_modules/lodash-es/keys.js +0 -37
  491. package/custom/node_modules/lodash-es/keysIn.js +0 -32
  492. package/custom/node_modules/lodash-es/lang.default.js +0 -71
  493. package/custom/node_modules/lodash-es/lang.js +0 -57
  494. package/custom/node_modules/lodash-es/last.js +0 -20
  495. package/custom/node_modules/lodash-es/lastIndexOf.js +0 -46
  496. package/custom/node_modules/lodash-es/lodash.default.js +0 -643
  497. package/custom/node_modules/lodash-es/lodash.js +0 -331
  498. package/custom/node_modules/lodash-es/lowerCase.js +0 -27
  499. package/custom/node_modules/lodash-es/lowerFirst.js +0 -22
  500. package/custom/node_modules/lodash-es/lt.js +0 -29
  501. package/custom/node_modules/lodash-es/lte.js +0 -30
  502. package/custom/node_modules/lodash-es/map.js +0 -53
  503. package/custom/node_modules/lodash-es/mapKeys.js +0 -36
  504. package/custom/node_modules/lodash-es/mapValues.js +0 -43
  505. package/custom/node_modules/lodash-es/matches.js +0 -46
  506. package/custom/node_modules/lodash-es/matchesProperty.js +0 -44
  507. package/custom/node_modules/lodash-es/math.default.js +0 -21
  508. package/custom/node_modules/lodash-es/math.js +0 -16
  509. package/custom/node_modules/lodash-es/max.js +0 -29
  510. package/custom/node_modules/lodash-es/maxBy.js +0 -34
  511. package/custom/node_modules/lodash-es/mean.js +0 -22
  512. package/custom/node_modules/lodash-es/meanBy.js +0 -31
  513. package/custom/node_modules/lodash-es/memoize.js +0 -73
  514. package/custom/node_modules/lodash-es/merge.js +0 -39
  515. package/custom/node_modules/lodash-es/mergeWith.js +0 -39
  516. package/custom/node_modules/lodash-es/method.js +0 -34
  517. package/custom/node_modules/lodash-es/methodOf.js +0 -33
  518. package/custom/node_modules/lodash-es/min.js +0 -29
  519. package/custom/node_modules/lodash-es/minBy.js +0 -34
  520. package/custom/node_modules/lodash-es/mixin.js +0 -74
  521. package/custom/node_modules/lodash-es/multiply.js +0 -22
  522. package/custom/node_modules/lodash-es/negate.js +0 -40
  523. package/custom/node_modules/lodash-es/next.js +0 -35
  524. package/custom/node_modules/lodash-es/noop.js +0 -17
  525. package/custom/node_modules/lodash-es/now.js +0 -23
  526. package/custom/node_modules/lodash-es/nth.js +0 -29
  527. package/custom/node_modules/lodash-es/nthArg.js +0 -32
  528. package/custom/node_modules/lodash-es/number.default.js +0 -7
  529. package/custom/node_modules/lodash-es/number.js +0 -4
  530. package/custom/node_modules/lodash-es/object.default.js +0 -60
  531. package/custom/node_modules/lodash-es/object.js +0 -48
  532. package/custom/node_modules/lodash-es/omit.js +0 -57
  533. package/custom/node_modules/lodash-es/omitBy.js +0 -29
  534. package/custom/node_modules/lodash-es/once.js +0 -25
  535. package/custom/node_modules/lodash-es/orderBy.js +0 -47
  536. package/custom/node_modules/lodash-es/over.js +0 -24
  537. package/custom/node_modules/lodash-es/overArgs.js +0 -61
  538. package/custom/node_modules/lodash-es/overEvery.js +0 -34
  539. package/custom/node_modules/lodash-es/overSome.js +0 -37
  540. package/custom/node_modules/lodash-es/package.json +0 -21
  541. package/custom/node_modules/lodash-es/pad.js +0 -49
  542. package/custom/node_modules/lodash-es/padEnd.js +0 -39
  543. package/custom/node_modules/lodash-es/padStart.js +0 -39
  544. package/custom/node_modules/lodash-es/parseInt.js +0 -43
  545. package/custom/node_modules/lodash-es/partial.js +0 -50
  546. package/custom/node_modules/lodash-es/partialRight.js +0 -49
  547. package/custom/node_modules/lodash-es/partition.js +0 -43
  548. package/custom/node_modules/lodash-es/pick.js +0 -25
  549. package/custom/node_modules/lodash-es/pickBy.js +0 -37
  550. package/custom/node_modules/lodash-es/plant.js +0 -48
  551. package/custom/node_modules/lodash-es/property.js +0 -32
  552. package/custom/node_modules/lodash-es/propertyOf.js +0 -30
  553. package/custom/node_modules/lodash-es/pull.js +0 -29
  554. package/custom/node_modules/lodash-es/pullAll.js +0 -29
  555. package/custom/node_modules/lodash-es/pullAllBy.js +0 -33
  556. package/custom/node_modules/lodash-es/pullAllWith.js +0 -32
  557. package/custom/node_modules/lodash-es/pullAt.js +0 -43
  558. package/custom/node_modules/lodash-es/random.js +0 -82
  559. package/custom/node_modules/lodash-es/range.js +0 -46
  560. package/custom/node_modules/lodash-es/rangeRight.js +0 -41
  561. package/custom/node_modules/lodash-es/rearg.js +0 -33
  562. package/custom/node_modules/lodash-es/reduce.js +0 -51
  563. package/custom/node_modules/lodash-es/reduceRight.js +0 -36
  564. package/custom/node_modules/lodash-es/reject.js +0 -46
  565. package/custom/node_modules/lodash-es/release.md +0 -48
  566. package/custom/node_modules/lodash-es/remove.js +0 -53
  567. package/custom/node_modules/lodash-es/repeat.js +0 -37
  568. package/custom/node_modules/lodash-es/replace.js +0 -29
  569. package/custom/node_modules/lodash-es/rest.js +0 -40
  570. package/custom/node_modules/lodash-es/result.js +0 -56
  571. package/custom/node_modules/lodash-es/reverse.js +0 -34
  572. package/custom/node_modules/lodash-es/round.js +0 -26
  573. package/custom/node_modules/lodash-es/sample.js +0 -24
  574. package/custom/node_modules/lodash-es/sampleSize.js +0 -37
  575. package/custom/node_modules/lodash-es/seq.default.js +0 -20
  576. package/custom/node_modules/lodash-es/seq.js +0 -15
  577. package/custom/node_modules/lodash-es/set.js +0 -35
  578. package/custom/node_modules/lodash-es/setWith.js +0 -32
  579. package/custom/node_modules/lodash-es/shuffle.js +0 -25
  580. package/custom/node_modules/lodash-es/size.js +0 -46
  581. package/custom/node_modules/lodash-es/slice.js +0 -37
  582. package/custom/node_modules/lodash-es/snakeCase.js +0 -28
  583. package/custom/node_modules/lodash-es/some.js +0 -51
  584. package/custom/node_modules/lodash-es/sortBy.js +0 -48
  585. package/custom/node_modules/lodash-es/sortedIndex.js +0 -24
  586. package/custom/node_modules/lodash-es/sortedIndexBy.js +0 -33
  587. package/custom/node_modules/lodash-es/sortedIndexOf.js +0 -31
  588. package/custom/node_modules/lodash-es/sortedLastIndex.js +0 -25
  589. package/custom/node_modules/lodash-es/sortedLastIndexBy.js +0 -33
  590. package/custom/node_modules/lodash-es/sortedLastIndexOf.js +0 -31
  591. package/custom/node_modules/lodash-es/sortedUniq.js +0 -24
  592. package/custom/node_modules/lodash-es/sortedUniqBy.js +0 -26
  593. package/custom/node_modules/lodash-es/split.js +0 -52
  594. package/custom/node_modules/lodash-es/spread.js +0 -63
  595. package/custom/node_modules/lodash-es/startCase.js +0 -29
  596. package/custom/node_modules/lodash-es/startsWith.js +0 -39
  597. package/custom/node_modules/lodash-es/string.default.js +0 -41
  598. package/custom/node_modules/lodash-es/string.js +0 -32
  599. package/custom/node_modules/lodash-es/stubArray.js +0 -23
  600. package/custom/node_modules/lodash-es/stubFalse.js +0 -18
  601. package/custom/node_modules/lodash-es/stubObject.js +0 -23
  602. package/custom/node_modules/lodash-es/stubString.js +0 -18
  603. package/custom/node_modules/lodash-es/stubTrue.js +0 -18
  604. package/custom/node_modules/lodash-es/subtract.js +0 -22
  605. package/custom/node_modules/lodash-es/sum.js +0 -24
  606. package/custom/node_modules/lodash-es/sumBy.js +0 -33
  607. package/custom/node_modules/lodash-es/tail.js +0 -22
  608. package/custom/node_modules/lodash-es/take.js +0 -37
  609. package/custom/node_modules/lodash-es/takeRight.js +0 -39
  610. package/custom/node_modules/lodash-es/takeRightWhile.js +0 -45
  611. package/custom/node_modules/lodash-es/takeWhile.js +0 -45
  612. package/custom/node_modules/lodash-es/tap.js +0 -29
  613. package/custom/node_modules/lodash-es/template.js +0 -272
  614. package/custom/node_modules/lodash-es/templateSettings.js +0 -67
  615. package/custom/node_modules/lodash-es/throttle.js +0 -69
  616. package/custom/node_modules/lodash-es/thru.js +0 -28
  617. package/custom/node_modules/lodash-es/times.js +0 -51
  618. package/custom/node_modules/lodash-es/toArray.js +0 -58
  619. package/custom/node_modules/lodash-es/toFinite.js +0 -42
  620. package/custom/node_modules/lodash-es/toInteger.js +0 -36
  621. package/custom/node_modules/lodash-es/toIterator.js +0 -23
  622. package/custom/node_modules/lodash-es/toJSON.js +0 -1
  623. package/custom/node_modules/lodash-es/toLength.js +0 -38
  624. package/custom/node_modules/lodash-es/toLower.js +0 -28
  625. package/custom/node_modules/lodash-es/toNumber.js +0 -64
  626. package/custom/node_modules/lodash-es/toPairs.js +0 -30
  627. package/custom/node_modules/lodash-es/toPairsIn.js +0 -30
  628. package/custom/node_modules/lodash-es/toPath.js +0 -33
  629. package/custom/node_modules/lodash-es/toPlainObject.js +0 -32
  630. package/custom/node_modules/lodash-es/toSafeInteger.js +0 -37
  631. package/custom/node_modules/lodash-es/toString.js +0 -28
  632. package/custom/node_modules/lodash-es/toUpper.js +0 -28
  633. package/custom/node_modules/lodash-es/transform.js +0 -65
  634. package/custom/node_modules/lodash-es/trim.js +0 -47
  635. package/custom/node_modules/lodash-es/trimEnd.js +0 -41
  636. package/custom/node_modules/lodash-es/trimStart.js +0 -43
  637. package/custom/node_modules/lodash-es/truncate.js +0 -111
  638. package/custom/node_modules/lodash-es/unary.js +0 -22
  639. package/custom/node_modules/lodash-es/unescape.js +0 -34
  640. package/custom/node_modules/lodash-es/union.js +0 -26
  641. package/custom/node_modules/lodash-es/unionBy.js +0 -39
  642. package/custom/node_modules/lodash-es/unionWith.js +0 -34
  643. package/custom/node_modules/lodash-es/uniq.js +0 -25
  644. package/custom/node_modules/lodash-es/uniqBy.js +0 -31
  645. package/custom/node_modules/lodash-es/uniqWith.js +0 -28
  646. package/custom/node_modules/lodash-es/uniqueId.js +0 -28
  647. package/custom/node_modules/lodash-es/unset.js +0 -34
  648. package/custom/node_modules/lodash-es/unzip.js +0 -45
  649. package/custom/node_modules/lodash-es/unzipWith.js +0 -39
  650. package/custom/node_modules/lodash-es/update.js +0 -35
  651. package/custom/node_modules/lodash-es/updateWith.js +0 -33
  652. package/custom/node_modules/lodash-es/upperCase.js +0 -27
  653. package/custom/node_modules/lodash-es/upperFirst.js +0 -22
  654. package/custom/node_modules/lodash-es/util.default.js +0 -42
  655. package/custom/node_modules/lodash-es/util.js +0 -33
  656. package/custom/node_modules/lodash-es/value.js +0 -1
  657. package/custom/node_modules/lodash-es/valueOf.js +0 -1
  658. package/custom/node_modules/lodash-es/values.js +0 -34
  659. package/custom/node_modules/lodash-es/valuesIn.js +0 -32
  660. package/custom/node_modules/lodash-es/without.js +0 -31
  661. package/custom/node_modules/lodash-es/words.js +0 -35
  662. package/custom/node_modules/lodash-es/wrap.js +0 -30
  663. package/custom/node_modules/lodash-es/wrapperAt.js +0 -48
  664. package/custom/node_modules/lodash-es/wrapperChain.js +0 -34
  665. package/custom/node_modules/lodash-es/wrapperLodash.js +0 -147
  666. package/custom/node_modules/lodash-es/wrapperReverse.js +0 -44
  667. package/custom/node_modules/lodash-es/wrapperValue.js +0 -21
  668. package/custom/node_modules/lodash-es/xor.js +0 -28
  669. package/custom/node_modules/lodash-es/xorBy.js +0 -39
  670. package/custom/node_modules/lodash-es/xorWith.js +0 -34
  671. package/custom/node_modules/lodash-es/zip.js +0 -22
  672. package/custom/node_modules/lodash-es/zipObject.js +0 -24
  673. package/custom/node_modules/lodash-es/zipObjectDeep.js +0 -23
  674. package/custom/node_modules/lodash-es/zipWith.js +0 -32
  675. package/custom/node_modules/lodash.clonedeep/LICENSE +0 -47
  676. package/custom/node_modules/lodash.clonedeep/README.md +0 -18
  677. package/custom/node_modules/lodash.clonedeep/index.js +0 -1748
  678. package/custom/node_modules/lodash.clonedeep/package.json +0 -17
  679. package/custom/node_modules/lodash.isequal/LICENSE +0 -47
  680. package/custom/node_modules/lodash.isequal/README.md +0 -18
  681. package/custom/node_modules/lodash.isequal/index.js +0 -1848
  682. package/custom/node_modules/lodash.isequal/package.json +0 -16
  683. package/custom/node_modules/parchment/LICENSE +0 -30
  684. package/custom/node_modules/parchment/README.md +0 -271
  685. package/custom/node_modules/parchment/dist/parchment.d.ts +0 -453
  686. package/custom/node_modules/parchment/dist/parchment.js +0 -847
  687. package/custom/node_modules/parchment/dist/parchment.js.map +0 -1
  688. package/custom/node_modules/parchment/dist/parchment.umd.cjs +0 -2
  689. package/custom/node_modules/parchment/dist/parchment.umd.cjs.map +0 -1
  690. package/custom/node_modules/parchment/package.json +0 -53
  691. package/custom/node_modules/parchment/src/attributor/attributor.ts +0 -62
  692. package/custom/node_modules/parchment/src/attributor/class.ts +0 -43
  693. package/custom/node_modules/parchment/src/attributor/store.ts +0 -79
  694. package/custom/node_modules/parchment/src/attributor/style.ts +0 -44
  695. package/custom/node_modules/parchment/src/blot/abstract/blot.ts +0 -128
  696. package/custom/node_modules/parchment/src/blot/abstract/container.ts +0 -48
  697. package/custom/node_modules/parchment/src/blot/abstract/leaf.ts +0 -57
  698. package/custom/node_modules/parchment/src/blot/abstract/parent.ts +0 -400
  699. package/custom/node_modules/parchment/src/blot/abstract/shadow.ts +0 -188
  700. package/custom/node_modules/parchment/src/blot/block.ts +0 -123
  701. package/custom/node_modules/parchment/src/blot/embed.ts +0 -34
  702. package/custom/node_modules/parchment/src/blot/inline.ts +0 -159
  703. package/custom/node_modules/parchment/src/blot/scroll.ts +0 -216
  704. package/custom/node_modules/parchment/src/blot/text.ts +0 -100
  705. package/custom/node_modules/parchment/src/collection/linked-list.ts +0 -201
  706. package/custom/node_modules/parchment/src/collection/linked-node.ts +0 -8
  707. package/custom/node_modules/parchment/src/error.ts +0 -12
  708. package/custom/node_modules/parchment/src/parchment.ts +0 -48
  709. package/custom/node_modules/parchment/src/registry.ts +0 -155
  710. package/custom/node_modules/parchment/src/scope.ts +0 -18
  711. package/custom/node_modules/parchment/tsconfig.json +0 -16
  712. package/custom/node_modules/quill/LICENSE +0 -31
  713. package/custom/node_modules/quill/README.md +0 -104
  714. package/custom/node_modules/quill/assets/base.styl +0 -309
  715. package/custom/node_modules/quill/assets/bubble/toolbar.styl +0 -14
  716. package/custom/node_modules/quill/assets/bubble/tooltip.styl +0 -49
  717. package/custom/node_modules/quill/assets/bubble.styl +0 -45
  718. package/custom/node_modules/quill/assets/core.styl +0 -215
  719. package/custom/node_modules/quill/assets/favicon.png +0 -0
  720. package/custom/node_modules/quill/assets/icons/align-center.svg +0 -5
  721. package/custom/node_modules/quill/assets/icons/align-justify.svg +0 -5
  722. package/custom/node_modules/quill/assets/icons/align-left.svg +0 -5
  723. package/custom/node_modules/quill/assets/icons/align-right.svg +0 -5
  724. package/custom/node_modules/quill/assets/icons/attachment.svg +0 -3
  725. package/custom/node_modules/quill/assets/icons/audio.svg +0 -5
  726. package/custom/node_modules/quill/assets/icons/authorship.svg +0 -5
  727. package/custom/node_modules/quill/assets/icons/background.svg +0 -52
  728. package/custom/node_modules/quill/assets/icons/blockquote.svg +0 -6
  729. package/custom/node_modules/quill/assets/icons/bold.svg +0 -4
  730. package/custom/node_modules/quill/assets/icons/clean.svg +0 -7
  731. package/custom/node_modules/quill/assets/icons/code.svg +0 -5
  732. package/custom/node_modules/quill/assets/icons/color.svg +0 -5
  733. package/custom/node_modules/quill/assets/icons/comment.svg +0 -3
  734. package/custom/node_modules/quill/assets/icons/direction-ltr.svg +0 -7
  735. package/custom/node_modules/quill/assets/icons/direction-rtl.svg +0 -7
  736. package/custom/node_modules/quill/assets/icons/dropdown.svg +0 -4
  737. package/custom/node_modules/quill/assets/icons/embed.svg +0 -3
  738. package/custom/node_modules/quill/assets/icons/emoji.svg +0 -6
  739. package/custom/node_modules/quill/assets/icons/float-center.svg +0 -5
  740. package/custom/node_modules/quill/assets/icons/float-full.svg +0 -5
  741. package/custom/node_modules/quill/assets/icons/float-left.svg +0 -7
  742. package/custom/node_modules/quill/assets/icons/float-right.svg +0 -7
  743. package/custom/node_modules/quill/assets/icons/font.svg +0 -5
  744. package/custom/node_modules/quill/assets/icons/formula.svg +0 -5
  745. package/custom/node_modules/quill/assets/icons/hashtag.svg +0 -6
  746. package/custom/node_modules/quill/assets/icons/header-2.svg +0 -3
  747. package/custom/node_modules/quill/assets/icons/header-3.svg +0 -3
  748. package/custom/node_modules/quill/assets/icons/header-4.svg +0 -3
  749. package/custom/node_modules/quill/assets/icons/header-5.svg +0 -3
  750. package/custom/node_modules/quill/assets/icons/header-6.svg +0 -3
  751. package/custom/node_modules/quill/assets/icons/header.svg +0 -3
  752. package/custom/node_modules/quill/assets/icons/horizontal-rule.svg +0 -4
  753. package/custom/node_modules/quill/assets/icons/image.svg +0 -5
  754. package/custom/node_modules/quill/assets/icons/indent.svg +0 -6
  755. package/custom/node_modules/quill/assets/icons/italic.svg +0 -5
  756. package/custom/node_modules/quill/assets/icons/link.svg +0 -5
  757. package/custom/node_modules/quill/assets/icons/list-bullet.svg +0 -8
  758. package/custom/node_modules/quill/assets/icons/list-check.svg +0 -8
  759. package/custom/node_modules/quill/assets/icons/list-ordered.svg +0 -9
  760. package/custom/node_modules/quill/assets/icons/map.svg +0 -5
  761. package/custom/node_modules/quill/assets/icons/mention.svg +0 -4
  762. package/custom/node_modules/quill/assets/icons/more.svg +0 -3
  763. package/custom/node_modules/quill/assets/icons/outdent.svg +0 -6
  764. package/custom/node_modules/quill/assets/icons/redo.svg +0 -4
  765. package/custom/node_modules/quill/assets/icons/size-decrease.svg +0 -5
  766. package/custom/node_modules/quill/assets/icons/size-increase.svg +0 -6
  767. package/custom/node_modules/quill/assets/icons/size.svg +0 -6
  768. package/custom/node_modules/quill/assets/icons/spacing.svg +0 -9
  769. package/custom/node_modules/quill/assets/icons/speech.svg +0 -6
  770. package/custom/node_modules/quill/assets/icons/strike.svg +0 -5
  771. package/custom/node_modules/quill/assets/icons/subscript.svg +0 -4
  772. package/custom/node_modules/quill/assets/icons/superscript.svg +0 -4
  773. package/custom/node_modules/quill/assets/icons/table-border-all.svg +0 -5
  774. package/custom/node_modules/quill/assets/icons/table-border-bottom.svg +0 -28
  775. package/custom/node_modules/quill/assets/icons/table-border-left.svg +0 -28
  776. package/custom/node_modules/quill/assets/icons/table-border-none.svg +0 -25
  777. package/custom/node_modules/quill/assets/icons/table-border-outside.svg +0 -35
  778. package/custom/node_modules/quill/assets/icons/table-border-right.svg +0 -28
  779. package/custom/node_modules/quill/assets/icons/table-border-top.svg +0 -28
  780. package/custom/node_modules/quill/assets/icons/table-delete-cells.svg +0 -13
  781. package/custom/node_modules/quill/assets/icons/table-delete-columns.svg +0 -8
  782. package/custom/node_modules/quill/assets/icons/table-delete-rows.svg +0 -9
  783. package/custom/node_modules/quill/assets/icons/table-insert-cells.svg +0 -13
  784. package/custom/node_modules/quill/assets/icons/table-insert-columns.svg +0 -8
  785. package/custom/node_modules/quill/assets/icons/table-insert-rows.svg +0 -9
  786. package/custom/node_modules/quill/assets/icons/table-merge-cells.svg +0 -4
  787. package/custom/node_modules/quill/assets/icons/table-unmerge-cells.svg +0 -7
  788. package/custom/node_modules/quill/assets/icons/table.svg +0 -11
  789. package/custom/node_modules/quill/assets/icons/underline.svg +0 -4
  790. package/custom/node_modules/quill/assets/icons/undo.svg +0 -4
  791. package/custom/node_modules/quill/assets/icons/video.svg +0 -14
  792. package/custom/node_modules/quill/assets/snow/toolbar.styl +0 -26
  793. package/custom/node_modules/quill/assets/snow/tooltip.styl +0 -53
  794. package/custom/node_modules/quill/assets/snow.styl +0 -18
  795. package/custom/node_modules/quill/blots/block.d.ts +0 -34
  796. package/custom/node_modules/quill/blots/block.js +0 -182
  797. package/custom/node_modules/quill/blots/block.js.map +0 -1
  798. package/custom/node_modules/quill/blots/break.d.ts +0 -8
  799. package/custom/node_modules/quill/blots/break.js +0 -21
  800. package/custom/node_modules/quill/blots/break.js.map +0 -1
  801. package/custom/node_modules/quill/blots/container.d.ts +0 -4
  802. package/custom/node_modules/quill/blots/container.js +0 -4
  803. package/custom/node_modules/quill/blots/container.js.map +0 -1
  804. package/custom/node_modules/quill/blots/cursor.d.ts +0 -26
  805. package/custom/node_modules/quill/blots/cursor.js +0 -170
  806. package/custom/node_modules/quill/blots/cursor.js.map +0 -1
  807. package/custom/node_modules/quill/blots/embed.d.ts +0 -18
  808. package/custom/node_modules/quill/blots/embed.js +0 -72
  809. package/custom/node_modules/quill/blots/embed.js.map +0 -1
  810. package/custom/node_modules/quill/blots/inline.d.ts +0 -12
  811. package/custom/node_modules/quill/blots/inline.js +0 -48
  812. package/custom/node_modules/quill/blots/inline.js.map +0 -1
  813. package/custom/node_modules/quill/blots/scroll.d.ts +0 -49
  814. package/custom/node_modules/quill/blots/scroll.js +0 -349
  815. package/custom/node_modules/quill/blots/scroll.js.map +0 -1
  816. package/custom/node_modules/quill/blots/text.d.ts +0 -5
  817. package/custom/node_modules/quill/blots/text.js +0 -17
  818. package/custom/node_modules/quill/blots/text.js.map +0 -1
  819. package/custom/node_modules/quill/core/composition.d.ts +0 -12
  820. package/custom/node_modules/quill/core/composition.js +0 -44
  821. package/custom/node_modules/quill/core/composition.js.map +0 -1
  822. package/custom/node_modules/quill/core/editor.d.ts +0 -28
  823. package/custom/node_modules/quill/core/editor.js +0 -403
  824. package/custom/node_modules/quill/core/editor.js.map +0 -1
  825. package/custom/node_modules/quill/core/emitter.d.ts +0 -33
  826. package/custom/node_modules/quill/core/emitter.js +0 -78
  827. package/custom/node_modules/quill/core/emitter.js.map +0 -1
  828. package/custom/node_modules/quill/core/instances.d.ts +0 -3
  829. package/custom/node_modules/quill/core/instances.js +0 -2
  830. package/custom/node_modules/quill/core/instances.js.map +0 -1
  831. package/custom/node_modules/quill/core/logger.d.ts +0 -7
  832. package/custom/node_modules/quill/core/logger.js +0 -24
  833. package/custom/node_modules/quill/core/logger.js.map +0 -1
  834. package/custom/node_modules/quill/core/module.d.ts +0 -8
  835. package/custom/node_modules/quill/core/module.js +0 -10
  836. package/custom/node_modules/quill/core/module.js.map +0 -1
  837. package/custom/node_modules/quill/core/quill.d.ts +0 -218
  838. package/custom/node_modules/quill/core/quill.js +0 -628
  839. package/custom/node_modules/quill/core/quill.js.map +0 -1
  840. package/custom/node_modules/quill/core/selection.d.ts +0 -74
  841. package/custom/node_modules/quill/core/selection.js +0 -374
  842. package/custom/node_modules/quill/core/selection.js.map +0 -1
  843. package/custom/node_modules/quill/core/theme.d.ts +0 -32
  844. package/custom/node_modules/quill/core/theme.js +0 -28
  845. package/custom/node_modules/quill/core/theme.js.map +0 -1
  846. package/custom/node_modules/quill/core/utils/createRegistryWithFormats.d.ts +0 -5
  847. package/custom/node_modules/quill/core/utils/createRegistryWithFormats.js +0 -29
  848. package/custom/node_modules/quill/core/utils/createRegistryWithFormats.js.map +0 -1
  849. package/custom/node_modules/quill/core/utils/scrollRectIntoView.d.ts +0 -8
  850. package/custom/node_modules/quill/core/utils/scrollRectIntoView.js +0 -75
  851. package/custom/node_modules/quill/core/utils/scrollRectIntoView.js.map +0 -1
  852. package/custom/node_modules/quill/core.d.ts +0 -7
  853. package/custom/node_modules/quill/core.js +0 -37
  854. package/custom/node_modules/quill/core.js.map +0 -1
  855. package/custom/node_modules/quill/dist/quill.bubble.css +0 -10
  856. package/custom/node_modules/quill/dist/quill.bubble.css.map +0 -1
  857. package/custom/node_modules/quill/dist/quill.core.css +0 -10
  858. package/custom/node_modules/quill/dist/quill.core.css.map +0 -1
  859. package/custom/node_modules/quill/dist/quill.core.js +0 -3
  860. package/custom/node_modules/quill/dist/quill.core.js.LICENSE.txt +0 -7
  861. package/custom/node_modules/quill/dist/quill.core.js.map +0 -1
  862. package/custom/node_modules/quill/dist/quill.js +0 -3
  863. package/custom/node_modules/quill/dist/quill.js.LICENSE.txt +0 -7
  864. package/custom/node_modules/quill/dist/quill.js.map +0 -1
  865. package/custom/node_modules/quill/dist/quill.snow.css +0 -10
  866. package/custom/node_modules/quill/dist/quill.snow.css.map +0 -1
  867. package/custom/node_modules/quill/formats/align.d.ts +0 -5
  868. package/custom/node_modules/quill/formats/align.js +0 -10
  869. package/custom/node_modules/quill/formats/align.js.map +0 -1
  870. package/custom/node_modules/quill/formats/background.d.ts +0 -5
  871. package/custom/node_modules/quill/formats/background.js +0 -10
  872. package/custom/node_modules/quill/formats/background.js.map +0 -1
  873. package/custom/node_modules/quill/formats/blockquote.d.ts +0 -6
  874. package/custom/node_modules/quill/formats/blockquote.js +0 -7
  875. package/custom/node_modules/quill/formats/blockquote.js.map +0 -1
  876. package/custom/node_modules/quill/formats/bold.d.ts +0 -11
  877. package/custom/node_modules/quill/formats/bold.js +0 -19
  878. package/custom/node_modules/quill/formats/bold.js.map +0 -1
  879. package/custom/node_modules/quill/formats/code.d.ts +0 -15
  880. package/custom/node_modules/quill/formats/code.js +0 -44
  881. package/custom/node_modules/quill/formats/code.js.map +0 -1
  882. package/custom/node_modules/quill/formats/color.d.ts +0 -7
  883. package/custom/node_modules/quill/formats/color.js +0 -18
  884. package/custom/node_modules/quill/formats/color.js.map +0 -1
  885. package/custom/node_modules/quill/formats/direction.d.ts +0 -5
  886. package/custom/node_modules/quill/formats/direction.js +0 -10
  887. package/custom/node_modules/quill/formats/direction.js.map +0 -1
  888. package/custom/node_modules/quill/formats/font.d.ts +0 -7
  889. package/custom/node_modules/quill/formats/font.js +0 -14
  890. package/custom/node_modules/quill/formats/font.js.map +0 -1
  891. package/custom/node_modules/quill/formats/formula.d.ts +0 -10
  892. package/custom/node_modules/quill/formats/formula.js +0 -33
  893. package/custom/node_modules/quill/formats/formula.js.map +0 -1
  894. package/custom/node_modules/quill/formats/header.d.ts +0 -7
  895. package/custom/node_modules/quill/formats/header.js +0 -10
  896. package/custom/node_modules/quill/formats/header.js.map +0 -1
  897. package/custom/node_modules/quill/formats/image.d.ts +0 -13
  898. package/custom/node_modules/quill/formats/image.js +0 -44
  899. package/custom/node_modules/quill/formats/image.js.map +0 -1
  900. package/custom/node_modules/quill/formats/indent.d.ts +0 -8
  901. package/custom/node_modules/quill/formats/indent.js +0 -30
  902. package/custom/node_modules/quill/formats/indent.js.map +0 -1
  903. package/custom/node_modules/quill/formats/italic.d.ts +0 -6
  904. package/custom/node_modules/quill/formats/italic.js +0 -7
  905. package/custom/node_modules/quill/formats/italic.js.map +0 -1
  906. package/custom/node_modules/quill/formats/link.d.ts +0 -13
  907. package/custom/node_modules/quill/formats/link.js +0 -36
  908. package/custom/node_modules/quill/formats/link.js.map +0 -1
  909. package/custom/node_modules/quill/formats/list.d.ts +0 -13
  910. package/custom/node_modules/quill/formats/list.js +0 -50
  911. package/custom/node_modules/quill/formats/list.js.map +0 -1
  912. package/custom/node_modules/quill/formats/script.d.ts +0 -8
  913. package/custom/node_modules/quill/formats/script.js +0 -21
  914. package/custom/node_modules/quill/formats/script.js.map +0 -1
  915. package/custom/node_modules/quill/formats/size.d.ts +0 -4
  916. package/custom/node_modules/quill/formats/size.js +0 -11
  917. package/custom/node_modules/quill/formats/size.js.map +0 -1
  918. package/custom/node_modules/quill/formats/strike.d.ts +0 -6
  919. package/custom/node_modules/quill/formats/strike.js +0 -7
  920. package/custom/node_modules/quill/formats/strike.js.map +0 -1
  921. package/custom/node_modules/quill/formats/table.d.ts +0 -45
  922. package/custom/node_modules/quill/formats/table.js +0 -176
  923. package/custom/node_modules/quill/formats/table.js.map +0 -1
  924. package/custom/node_modules/quill/formats/underline.d.ts +0 -6
  925. package/custom/node_modules/quill/formats/underline.js +0 -7
  926. package/custom/node_modules/quill/formats/underline.js.map +0 -1
  927. package/custom/node_modules/quill/formats/video.d.ts +0 -14
  928. package/custom/node_modules/quill/formats/video.js +0 -48
  929. package/custom/node_modules/quill/formats/video.js.map +0 -1
  930. package/custom/node_modules/quill/modules/clipboard.d.ts +0 -43
  931. package/custom/node_modules/quill/modules/clipboard.js +0 -475
  932. package/custom/node_modules/quill/modules/clipboard.js.map +0 -1
  933. package/custom/node_modules/quill/modules/history.d.ts +0 -36
  934. package/custom/node_modules/quill/modules/history.js +0 -178
  935. package/custom/node_modules/quill/modules/history.js.map +0 -1
  936. package/custom/node_modules/quill/modules/input.d.ts +0 -10
  937. package/custom/node_modules/quill/modules/input.js +0 -83
  938. package/custom/node_modules/quill/modules/input.js.map +0 -1
  939. package/custom/node_modules/quill/modules/keyboard.d.ts +0 -58
  940. package/custom/node_modules/quill/modules/keyboard.js +0 -713
  941. package/custom/node_modules/quill/modules/keyboard.js.map +0 -1
  942. package/custom/node_modules/quill/modules/normalizeExternalHTML/index.d.ts +0 -2
  943. package/custom/node_modules/quill/modules/normalizeExternalHTML/index.js +0 -12
  944. package/custom/node_modules/quill/modules/normalizeExternalHTML/index.js.map +0 -1
  945. package/custom/node_modules/quill/modules/normalizeExternalHTML/normalizers/googleDocs.d.ts +0 -1
  946. package/custom/node_modules/quill/modules/normalizeExternalHTML/normalizers/googleDocs.js +0 -24
  947. package/custom/node_modules/quill/modules/normalizeExternalHTML/normalizers/googleDocs.js.map +0 -1
  948. package/custom/node_modules/quill/modules/normalizeExternalHTML/normalizers/msWord.d.ts +0 -1
  949. package/custom/node_modules/quill/modules/normalizeExternalHTML/normalizers/msWord.js +0 -87
  950. package/custom/node_modules/quill/modules/normalizeExternalHTML/normalizers/msWord.js.map +0 -1
  951. package/custom/node_modules/quill/modules/syntax.d.ts +0 -50
  952. package/custom/node_modules/quill/modules/syntax.js +0 -332
  953. package/custom/node_modules/quill/modules/syntax.js.map +0 -1
  954. package/custom/node_modules/quill/modules/table.d.ts +0 -20
  955. package/custom/node_modules/quill/modules/table.js +0 -125
  956. package/custom/node_modules/quill/modules/table.js.map +0 -1
  957. package/custom/node_modules/quill/modules/tableEmbed.d.ts +0 -27
  958. package/custom/node_modules/quill/modules/tableEmbed.js +0 -209
  959. package/custom/node_modules/quill/modules/tableEmbed.js.map +0 -1
  960. package/custom/node_modules/quill/modules/toolbar.d.ts +0 -24
  961. package/custom/node_modules/quill/modules/toolbar.js +0 -265
  962. package/custom/node_modules/quill/modules/toolbar.js.map +0 -1
  963. package/custom/node_modules/quill/modules/uiNode.d.ts +0 -19
  964. package/custom/node_modules/quill/modules/uiNode.js +0 -95
  965. package/custom/node_modules/quill/modules/uiNode.js.map +0 -1
  966. package/custom/node_modules/quill/modules/uploader.d.ts +0 -15
  967. package/custom/node_modules/quill/modules/uploader.js +0 -69
  968. package/custom/node_modules/quill/modules/uploader.js.map +0 -1
  969. package/custom/node_modules/quill/package.json +0 -100
  970. package/custom/node_modules/quill/quill.d.ts +0 -6
  971. package/custom/node_modules/quill/quill.js +0 -83
  972. package/custom/node_modules/quill/quill.js.map +0 -1
  973. package/custom/node_modules/quill/themes/base.d.ts +0 -35
  974. package/custom/node_modules/quill/themes/base.js +0 -257
  975. package/custom/node_modules/quill/themes/base.js.map +0 -1
  976. package/custom/node_modules/quill/themes/bubble.d.ts +0 -18
  977. package/custom/node_modules/quill/themes/bubble.js +0 -114
  978. package/custom/node_modules/quill/themes/bubble.js.map +0 -1
  979. package/custom/node_modules/quill/themes/snow.d.ts +0 -9
  980. package/custom/node_modules/quill/themes/snow.js +0 -122
  981. package/custom/node_modules/quill/themes/snow.js.map +0 -1
  982. package/custom/node_modules/quill/types.d.js +0 -2
  983. package/custom/node_modules/quill/types.d.js.map +0 -1
  984. package/custom/node_modules/quill/ui/color-picker.d.ts +0 -7
  985. package/custom/node_modules/quill/ui/color-picker.js +0 -30
  986. package/custom/node_modules/quill/ui/color-picker.js.map +0 -1
  987. package/custom/node_modules/quill/ui/icon-picker.d.ts +0 -7
  988. package/custom/node_modules/quill/ui/icon-picker.js +0 -22
  989. package/custom/node_modules/quill/ui/icon-picker.js.map +0 -1
  990. package/custom/node_modules/quill/ui/icons.d.ts +0 -49
  991. package/custom/node_modules/quill/ui/icons.js +0 -82
  992. package/custom/node_modules/quill/ui/icons.js.map +0 -1
  993. package/custom/node_modules/quill/ui/picker.d.ts +0 -16
  994. package/custom/node_modules/quill/ui/picker.js +0 -171
  995. package/custom/node_modules/quill/ui/picker.js.map +0 -1
  996. package/custom/node_modules/quill/ui/tooltip.d.ts +0 -12
  997. package/custom/node_modules/quill/ui/tooltip.js +0 -56
  998. package/custom/node_modules/quill/ui/tooltip.js.map +0 -1
  999. package/custom/node_modules/quill-delta/LICENSE +0 -14
  1000. package/custom/node_modules/quill-delta/README.md +0 -672
  1001. package/custom/node_modules/quill-delta/dist/AttributeMap.d.ts +0 -10
  1002. package/custom/node_modules/quill-delta/dist/AttributeMap.js +0 -86
  1003. package/custom/node_modules/quill-delta/dist/AttributeMap.js.map +0 -1
  1004. package/custom/node_modules/quill-delta/dist/Delta.d.ts +0 -45
  1005. package/custom/node_modules/quill-delta/dist/Delta.js +0 -478
  1006. package/custom/node_modules/quill-delta/dist/Delta.js.map +0 -1
  1007. package/custom/node_modules/quill-delta/dist/Op.d.ts +0 -11
  1008. package/custom/node_modules/quill-delta/dist/Op.js +0 -22
  1009. package/custom/node_modules/quill-delta/dist/Op.js.map +0 -1
  1010. package/custom/node_modules/quill-delta/dist/OpIterator.d.ts +0 -13
  1011. package/custom/node_modules/quill-delta/dist/OpIterator.js +0 -106
  1012. package/custom/node_modules/quill-delta/dist/OpIterator.js.map +0 -1
  1013. package/custom/node_modules/quill-delta/package.json +0 -77
  1014. package/custom/node_modules/quill-delta/src/AttributeMap.ts +0 -101
  1015. package/custom/node_modules/quill-delta/src/Delta.ts +0 -573
  1016. package/custom/node_modules/quill-delta/src/Op.ts +0 -26
  1017. package/custom/node_modules/quill-delta/src/OpIterator.ts +0 -106
  1018. package/custom/node_modules/quill-delta/tsconfig.json +0 -15
@@ -1,1138 +0,0 @@
1
- /**
2
- * This library modifies the diff-patch-match library by Neil Fraser
3
- * by removing the patch and match functionality and certain advanced
4
- * options in the diff function. The original license is as follows:
5
- *
6
- * ===
7
- *
8
- * Diff Match and Patch
9
- *
10
- * Copyright 2006 Google Inc.
11
- * http://code.google.com/p/google-diff-match-patch/
12
- *
13
- * Licensed under the Apache License, Version 2.0 (the "License");
14
- * you may not use this file except in compliance with the License.
15
- * You may obtain a copy of the License at
16
- *
17
- * http://www.apache.org/licenses/LICENSE-2.0
18
- *
19
- * Unless required by applicable law or agreed to in writing, software
20
- * distributed under the License is distributed on an "AS IS" BASIS,
21
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22
- * See the License for the specific language governing permissions and
23
- * limitations under the License.
24
- */
25
-
26
- /**
27
- * The data structure representing a diff is an array of tuples:
28
- * [[DIFF_DELETE, 'Hello'], [DIFF_INSERT, 'Goodbye'], [DIFF_EQUAL, ' world.']]
29
- * which means: delete 'Hello', add 'Goodbye' and keep ' world.'
30
- */
31
- var DIFF_DELETE = -1;
32
- var DIFF_INSERT = 1;
33
- var DIFF_EQUAL = 0;
34
-
35
- /**
36
- * Find the differences between two texts. Simplifies the problem by stripping
37
- * any common prefix or suffix off the texts before diffing.
38
- * @param {string} text1 Old string to be diffed.
39
- * @param {string} text2 New string to be diffed.
40
- * @param {Int|Object} [cursor_pos] Edit position in text1 or object with more info
41
- * @param {boolean} [cleanup] Apply semantic cleanup before returning.
42
- * @return {Array} Array of diff tuples.
43
- */
44
- function diff_main(text1, text2, cursor_pos, cleanup, _fix_unicode) {
45
- // Check for equality
46
- if (text1 === text2) {
47
- if (text1) {
48
- return [[DIFF_EQUAL, text1]];
49
- }
50
- return [];
51
- }
52
-
53
- if (cursor_pos != null) {
54
- var editdiff = find_cursor_edit_diff(text1, text2, cursor_pos);
55
- if (editdiff) {
56
- return editdiff;
57
- }
58
- }
59
-
60
- // Trim off common prefix (speedup).
61
- var commonlength = diff_commonPrefix(text1, text2);
62
- var commonprefix = text1.substring(0, commonlength);
63
- text1 = text1.substring(commonlength);
64
- text2 = text2.substring(commonlength);
65
-
66
- // Trim off common suffix (speedup).
67
- commonlength = diff_commonSuffix(text1, text2);
68
- var commonsuffix = text1.substring(text1.length - commonlength);
69
- text1 = text1.substring(0, text1.length - commonlength);
70
- text2 = text2.substring(0, text2.length - commonlength);
71
-
72
- // Compute the diff on the middle block.
73
- var diffs = diff_compute_(text1, text2);
74
-
75
- // Restore the prefix and suffix.
76
- if (commonprefix) {
77
- diffs.unshift([DIFF_EQUAL, commonprefix]);
78
- }
79
- if (commonsuffix) {
80
- diffs.push([DIFF_EQUAL, commonsuffix]);
81
- }
82
- diff_cleanupMerge(diffs, _fix_unicode);
83
- if (cleanup) {
84
- diff_cleanupSemantic(diffs);
85
- }
86
- return diffs;
87
- }
88
-
89
- /**
90
- * Find the differences between two texts. Assumes that the texts do not
91
- * have any common prefix or suffix.
92
- * @param {string} text1 Old string to be diffed.
93
- * @param {string} text2 New string to be diffed.
94
- * @return {Array} Array of diff tuples.
95
- */
96
- function diff_compute_(text1, text2) {
97
- var diffs;
98
-
99
- if (!text1) {
100
- // Just add some text (speedup).
101
- return [[DIFF_INSERT, text2]];
102
- }
103
-
104
- if (!text2) {
105
- // Just delete some text (speedup).
106
- return [[DIFF_DELETE, text1]];
107
- }
108
-
109
- var longtext = text1.length > text2.length ? text1 : text2;
110
- var shorttext = text1.length > text2.length ? text2 : text1;
111
- var i = longtext.indexOf(shorttext);
112
- if (i !== -1) {
113
- // Shorter text is inside the longer text (speedup).
114
- diffs = [
115
- [DIFF_INSERT, longtext.substring(0, i)],
116
- [DIFF_EQUAL, shorttext],
117
- [DIFF_INSERT, longtext.substring(i + shorttext.length)],
118
- ];
119
- // Swap insertions for deletions if diff is reversed.
120
- if (text1.length > text2.length) {
121
- diffs[0][0] = diffs[2][0] = DIFF_DELETE;
122
- }
123
- return diffs;
124
- }
125
-
126
- if (shorttext.length === 1) {
127
- // Single character string.
128
- // After the previous speedup, the character can't be an equality.
129
- return [
130
- [DIFF_DELETE, text1],
131
- [DIFF_INSERT, text2],
132
- ];
133
- }
134
-
135
- // Check to see if the problem can be split in two.
136
- var hm = diff_halfMatch_(text1, text2);
137
- if (hm) {
138
- // A half-match was found, sort out the return data.
139
- var text1_a = hm[0];
140
- var text1_b = hm[1];
141
- var text2_a = hm[2];
142
- var text2_b = hm[3];
143
- var mid_common = hm[4];
144
- // Send both pairs off for separate processing.
145
- var diffs_a = diff_main(text1_a, text2_a);
146
- var diffs_b = diff_main(text1_b, text2_b);
147
- // Merge the results.
148
- return diffs_a.concat([[DIFF_EQUAL, mid_common]], diffs_b);
149
- }
150
-
151
- return diff_bisect_(text1, text2);
152
- }
153
-
154
- /**
155
- * Find the 'middle snake' of a diff, split the problem in two
156
- * and return the recursively constructed diff.
157
- * See Myers 1986 paper: An O(ND) Difference Algorithm and Its Variations.
158
- * @param {string} text1 Old string to be diffed.
159
- * @param {string} text2 New string to be diffed.
160
- * @return {Array} Array of diff tuples.
161
- * @private
162
- */
163
- function diff_bisect_(text1, text2) {
164
- // Cache the text lengths to prevent multiple calls.
165
- var text1_length = text1.length;
166
- var text2_length = text2.length;
167
- var max_d = Math.ceil((text1_length + text2_length) / 2);
168
- var v_offset = max_d;
169
- var v_length = 2 * max_d;
170
- var v1 = new Array(v_length);
171
- var v2 = new Array(v_length);
172
- // Setting all elements to -1 is faster in Chrome & Firefox than mixing
173
- // integers and undefined.
174
- for (var x = 0; x < v_length; x++) {
175
- v1[x] = -1;
176
- v2[x] = -1;
177
- }
178
- v1[v_offset + 1] = 0;
179
- v2[v_offset + 1] = 0;
180
- var delta = text1_length - text2_length;
181
- // If the total number of characters is odd, then the front path will collide
182
- // with the reverse path.
183
- var front = delta % 2 !== 0;
184
- // Offsets for start and end of k loop.
185
- // Prevents mapping of space beyond the grid.
186
- var k1start = 0;
187
- var k1end = 0;
188
- var k2start = 0;
189
- var k2end = 0;
190
- for (var d = 0; d < max_d; d++) {
191
- // Walk the front path one step.
192
- for (var k1 = -d + k1start; k1 <= d - k1end; k1 += 2) {
193
- var k1_offset = v_offset + k1;
194
- var x1;
195
- if (k1 === -d || (k1 !== d && v1[k1_offset - 1] < v1[k1_offset + 1])) {
196
- x1 = v1[k1_offset + 1];
197
- } else {
198
- x1 = v1[k1_offset - 1] + 1;
199
- }
200
- var y1 = x1 - k1;
201
- while (
202
- x1 < text1_length &&
203
- y1 < text2_length &&
204
- text1.charAt(x1) === text2.charAt(y1)
205
- ) {
206
- x1++;
207
- y1++;
208
- }
209
- v1[k1_offset] = x1;
210
- if (x1 > text1_length) {
211
- // Ran off the right of the graph.
212
- k1end += 2;
213
- } else if (y1 > text2_length) {
214
- // Ran off the bottom of the graph.
215
- k1start += 2;
216
- } else if (front) {
217
- var k2_offset = v_offset + delta - k1;
218
- if (k2_offset >= 0 && k2_offset < v_length && v2[k2_offset] !== -1) {
219
- // Mirror x2 onto top-left coordinate system.
220
- var x2 = text1_length - v2[k2_offset];
221
- if (x1 >= x2) {
222
- // Overlap detected.
223
- return diff_bisectSplit_(text1, text2, x1, y1);
224
- }
225
- }
226
- }
227
- }
228
-
229
- // Walk the reverse path one step.
230
- for (var k2 = -d + k2start; k2 <= d - k2end; k2 += 2) {
231
- var k2_offset = v_offset + k2;
232
- var x2;
233
- if (k2 === -d || (k2 !== d && v2[k2_offset - 1] < v2[k2_offset + 1])) {
234
- x2 = v2[k2_offset + 1];
235
- } else {
236
- x2 = v2[k2_offset - 1] + 1;
237
- }
238
- var y2 = x2 - k2;
239
- while (
240
- x2 < text1_length &&
241
- y2 < text2_length &&
242
- text1.charAt(text1_length - x2 - 1) ===
243
- text2.charAt(text2_length - y2 - 1)
244
- ) {
245
- x2++;
246
- y2++;
247
- }
248
- v2[k2_offset] = x2;
249
- if (x2 > text1_length) {
250
- // Ran off the left of the graph.
251
- k2end += 2;
252
- } else if (y2 > text2_length) {
253
- // Ran off the top of the graph.
254
- k2start += 2;
255
- } else if (!front) {
256
- var k1_offset = v_offset + delta - k2;
257
- if (k1_offset >= 0 && k1_offset < v_length && v1[k1_offset] !== -1) {
258
- var x1 = v1[k1_offset];
259
- var y1 = v_offset + x1 - k1_offset;
260
- // Mirror x2 onto top-left coordinate system.
261
- x2 = text1_length - x2;
262
- if (x1 >= x2) {
263
- // Overlap detected.
264
- return diff_bisectSplit_(text1, text2, x1, y1);
265
- }
266
- }
267
- }
268
- }
269
- }
270
- // Diff took too long and hit the deadline or
271
- // number of diffs equals number of characters, no commonality at all.
272
- return [
273
- [DIFF_DELETE, text1],
274
- [DIFF_INSERT, text2],
275
- ];
276
- }
277
-
278
- /**
279
- * Given the location of the 'middle snake', split the diff in two parts
280
- * and recurse.
281
- * @param {string} text1 Old string to be diffed.
282
- * @param {string} text2 New string to be diffed.
283
- * @param {number} x Index of split point in text1.
284
- * @param {number} y Index of split point in text2.
285
- * @return {Array} Array of diff tuples.
286
- */
287
- function diff_bisectSplit_(text1, text2, x, y) {
288
- var text1a = text1.substring(0, x);
289
- var text2a = text2.substring(0, y);
290
- var text1b = text1.substring(x);
291
- var text2b = text2.substring(y);
292
-
293
- // Compute both diffs serially.
294
- var diffs = diff_main(text1a, text2a);
295
- var diffsb = diff_main(text1b, text2b);
296
-
297
- return diffs.concat(diffsb);
298
- }
299
-
300
- /**
301
- * Determine the common prefix of two strings.
302
- * @param {string} text1 First string.
303
- * @param {string} text2 Second string.
304
- * @return {number} The number of characters common to the start of each
305
- * string.
306
- */
307
- function diff_commonPrefix(text1, text2) {
308
- // Quick check for common null cases.
309
- if (!text1 || !text2 || text1.charAt(0) !== text2.charAt(0)) {
310
- return 0;
311
- }
312
- // Binary search.
313
- // Performance analysis: http://neil.fraser.name/news/2007/10/09/
314
- var pointermin = 0;
315
- var pointermax = Math.min(text1.length, text2.length);
316
- var pointermid = pointermax;
317
- var pointerstart = 0;
318
- while (pointermin < pointermid) {
319
- if (
320
- text1.substring(pointerstart, pointermid) ==
321
- text2.substring(pointerstart, pointermid)
322
- ) {
323
- pointermin = pointermid;
324
- pointerstart = pointermin;
325
- } else {
326
- pointermax = pointermid;
327
- }
328
- pointermid = Math.floor((pointermax - pointermin) / 2 + pointermin);
329
- }
330
-
331
- if (is_surrogate_pair_start(text1.charCodeAt(pointermid - 1))) {
332
- pointermid--;
333
- }
334
-
335
- return pointermid;
336
- }
337
-
338
- /**
339
- * Determine if the suffix of one string is the prefix of another.
340
- * @param {string} text1 First string.
341
- * @param {string} text2 Second string.
342
- * @return {number} The number of characters common to the end of the first
343
- * string and the start of the second string.
344
- * @private
345
- */
346
- function diff_commonOverlap_(text1, text2) {
347
- // Cache the text lengths to prevent multiple calls.
348
- var text1_length = text1.length;
349
- var text2_length = text2.length;
350
- // Eliminate the null case.
351
- if (text1_length == 0 || text2_length == 0) {
352
- return 0;
353
- }
354
- // Truncate the longer string.
355
- if (text1_length > text2_length) {
356
- text1 = text1.substring(text1_length - text2_length);
357
- } else if (text1_length < text2_length) {
358
- text2 = text2.substring(0, text1_length);
359
- }
360
- var text_length = Math.min(text1_length, text2_length);
361
- // Quick check for the worst case.
362
- if (text1 == text2) {
363
- return text_length;
364
- }
365
-
366
- // Start by looking for a single character match
367
- // and increase length until no match is found.
368
- // Performance analysis: http://neil.fraser.name/news/2010/11/04/
369
- var best = 0;
370
- var length = 1;
371
- while (true) {
372
- var pattern = text1.substring(text_length - length);
373
- var found = text2.indexOf(pattern);
374
- if (found == -1) {
375
- return best;
376
- }
377
- length += found;
378
- if (
379
- found == 0 ||
380
- text1.substring(text_length - length) == text2.substring(0, length)
381
- ) {
382
- best = length;
383
- length++;
384
- }
385
- }
386
- }
387
-
388
- /**
389
- * Determine the common suffix of two strings.
390
- * @param {string} text1 First string.
391
- * @param {string} text2 Second string.
392
- * @return {number} The number of characters common to the end of each string.
393
- */
394
- function diff_commonSuffix(text1, text2) {
395
- // Quick check for common null cases.
396
- if (!text1 || !text2 || text1.slice(-1) !== text2.slice(-1)) {
397
- return 0;
398
- }
399
- // Binary search.
400
- // Performance analysis: http://neil.fraser.name/news/2007/10/09/
401
- var pointermin = 0;
402
- var pointermax = Math.min(text1.length, text2.length);
403
- var pointermid = pointermax;
404
- var pointerend = 0;
405
- while (pointermin < pointermid) {
406
- if (
407
- text1.substring(text1.length - pointermid, text1.length - pointerend) ==
408
- text2.substring(text2.length - pointermid, text2.length - pointerend)
409
- ) {
410
- pointermin = pointermid;
411
- pointerend = pointermin;
412
- } else {
413
- pointermax = pointermid;
414
- }
415
- pointermid = Math.floor((pointermax - pointermin) / 2 + pointermin);
416
- }
417
-
418
- if (is_surrogate_pair_end(text1.charCodeAt(text1.length - pointermid))) {
419
- pointermid--;
420
- }
421
-
422
- return pointermid;
423
- }
424
-
425
- /**
426
- * Do the two texts share a substring which is at least half the length of the
427
- * longer text?
428
- * This speedup can produce non-minimal diffs.
429
- * @param {string} text1 First string.
430
- * @param {string} text2 Second string.
431
- * @return {Array.<string>} Five element Array, containing the prefix of
432
- * text1, the suffix of text1, the prefix of text2, the suffix of
433
- * text2 and the common middle. Or null if there was no match.
434
- */
435
- function diff_halfMatch_(text1, text2) {
436
- var longtext = text1.length > text2.length ? text1 : text2;
437
- var shorttext = text1.length > text2.length ? text2 : text1;
438
- if (longtext.length < 4 || shorttext.length * 2 < longtext.length) {
439
- return null; // Pointless.
440
- }
441
-
442
- /**
443
- * Does a substring of shorttext exist within longtext such that the substring
444
- * is at least half the length of longtext?
445
- * Closure, but does not reference any external variables.
446
- * @param {string} longtext Longer string.
447
- * @param {string} shorttext Shorter string.
448
- * @param {number} i Start index of quarter length substring within longtext.
449
- * @return {Array.<string>} Five element Array, containing the prefix of
450
- * longtext, the suffix of longtext, the prefix of shorttext, the suffix
451
- * of shorttext and the common middle. Or null if there was no match.
452
- * @private
453
- */
454
- function diff_halfMatchI_(longtext, shorttext, i) {
455
- // Start with a 1/4 length substring at position i as a seed.
456
- var seed = longtext.substring(i, i + Math.floor(longtext.length / 4));
457
- var j = -1;
458
- var best_common = "";
459
- var best_longtext_a, best_longtext_b, best_shorttext_a, best_shorttext_b;
460
- while ((j = shorttext.indexOf(seed, j + 1)) !== -1) {
461
- var prefixLength = diff_commonPrefix(
462
- longtext.substring(i),
463
- shorttext.substring(j)
464
- );
465
- var suffixLength = diff_commonSuffix(
466
- longtext.substring(0, i),
467
- shorttext.substring(0, j)
468
- );
469
- if (best_common.length < suffixLength + prefixLength) {
470
- best_common =
471
- shorttext.substring(j - suffixLength, j) +
472
- shorttext.substring(j, j + prefixLength);
473
- best_longtext_a = longtext.substring(0, i - suffixLength);
474
- best_longtext_b = longtext.substring(i + prefixLength);
475
- best_shorttext_a = shorttext.substring(0, j - suffixLength);
476
- best_shorttext_b = shorttext.substring(j + prefixLength);
477
- }
478
- }
479
- if (best_common.length * 2 >= longtext.length) {
480
- return [
481
- best_longtext_a,
482
- best_longtext_b,
483
- best_shorttext_a,
484
- best_shorttext_b,
485
- best_common,
486
- ];
487
- } else {
488
- return null;
489
- }
490
- }
491
-
492
- // First check if the second quarter is the seed for a half-match.
493
- var hm1 = diff_halfMatchI_(
494
- longtext,
495
- shorttext,
496
- Math.ceil(longtext.length / 4)
497
- );
498
- // Check again based on the third quarter.
499
- var hm2 = diff_halfMatchI_(
500
- longtext,
501
- shorttext,
502
- Math.ceil(longtext.length / 2)
503
- );
504
- var hm;
505
- if (!hm1 && !hm2) {
506
- return null;
507
- } else if (!hm2) {
508
- hm = hm1;
509
- } else if (!hm1) {
510
- hm = hm2;
511
- } else {
512
- // Both matched. Select the longest.
513
- hm = hm1[4].length > hm2[4].length ? hm1 : hm2;
514
- }
515
-
516
- // A half-match was found, sort out the return data.
517
- var text1_a, text1_b, text2_a, text2_b;
518
- if (text1.length > text2.length) {
519
- text1_a = hm[0];
520
- text1_b = hm[1];
521
- text2_a = hm[2];
522
- text2_b = hm[3];
523
- } else {
524
- text2_a = hm[0];
525
- text2_b = hm[1];
526
- text1_a = hm[2];
527
- text1_b = hm[3];
528
- }
529
- var mid_common = hm[4];
530
- return [text1_a, text1_b, text2_a, text2_b, mid_common];
531
- }
532
-
533
- /**
534
- * Reduce the number of edits by eliminating semantically trivial equalities.
535
- * @param {!Array.<!diff_match_patch.Diff>} diffs Array of diff tuples.
536
- */
537
- function diff_cleanupSemantic(diffs) {
538
- var changes = false;
539
- var equalities = []; // Stack of indices where equalities are found.
540
- var equalitiesLength = 0; // Keeping our own length var is faster in JS.
541
- /** @type {?string} */
542
- var lastequality = null;
543
- // Always equal to diffs[equalities[equalitiesLength - 1]][1]
544
- var pointer = 0; // Index of current position.
545
- // Number of characters that changed prior to the equality.
546
- var length_insertions1 = 0;
547
- var length_deletions1 = 0;
548
- // Number of characters that changed after the equality.
549
- var length_insertions2 = 0;
550
- var length_deletions2 = 0;
551
- while (pointer < diffs.length) {
552
- if (diffs[pointer][0] == DIFF_EQUAL) {
553
- // Equality found.
554
- equalities[equalitiesLength++] = pointer;
555
- length_insertions1 = length_insertions2;
556
- length_deletions1 = length_deletions2;
557
- length_insertions2 = 0;
558
- length_deletions2 = 0;
559
- lastequality = diffs[pointer][1];
560
- } else {
561
- // An insertion or deletion.
562
- if (diffs[pointer][0] == DIFF_INSERT) {
563
- length_insertions2 += diffs[pointer][1].length;
564
- } else {
565
- length_deletions2 += diffs[pointer][1].length;
566
- }
567
- // Eliminate an equality that is smaller or equal to the edits on both
568
- // sides of it.
569
- if (
570
- lastequality &&
571
- lastequality.length <=
572
- Math.max(length_insertions1, length_deletions1) &&
573
- lastequality.length <= Math.max(length_insertions2, length_deletions2)
574
- ) {
575
- // Duplicate record.
576
- diffs.splice(equalities[equalitiesLength - 1], 0, [
577
- DIFF_DELETE,
578
- lastequality,
579
- ]);
580
- // Change second copy to insert.
581
- diffs[equalities[equalitiesLength - 1] + 1][0] = DIFF_INSERT;
582
- // Throw away the equality we just deleted.
583
- equalitiesLength--;
584
- // Throw away the previous equality (it needs to be reevaluated).
585
- equalitiesLength--;
586
- pointer = equalitiesLength > 0 ? equalities[equalitiesLength - 1] : -1;
587
- length_insertions1 = 0; // Reset the counters.
588
- length_deletions1 = 0;
589
- length_insertions2 = 0;
590
- length_deletions2 = 0;
591
- lastequality = null;
592
- changes = true;
593
- }
594
- }
595
- pointer++;
596
- }
597
-
598
- // Normalize the diff.
599
- if (changes) {
600
- diff_cleanupMerge(diffs);
601
- }
602
- diff_cleanupSemanticLossless(diffs);
603
-
604
- // Find any overlaps between deletions and insertions.
605
- // e.g: <del>abcxxx</del><ins>xxxdef</ins>
606
- // -> <del>abc</del>xxx<ins>def</ins>
607
- // e.g: <del>xxxabc</del><ins>defxxx</ins>
608
- // -> <ins>def</ins>xxx<del>abc</del>
609
- // Only extract an overlap if it is as big as the edit ahead or behind it.
610
- pointer = 1;
611
- while (pointer < diffs.length) {
612
- if (
613
- diffs[pointer - 1][0] == DIFF_DELETE &&
614
- diffs[pointer][0] == DIFF_INSERT
615
- ) {
616
- var deletion = diffs[pointer - 1][1];
617
- var insertion = diffs[pointer][1];
618
- var overlap_length1 = diff_commonOverlap_(deletion, insertion);
619
- var overlap_length2 = diff_commonOverlap_(insertion, deletion);
620
- if (overlap_length1 >= overlap_length2) {
621
- if (
622
- overlap_length1 >= deletion.length / 2 ||
623
- overlap_length1 >= insertion.length / 2
624
- ) {
625
- // Overlap found. Insert an equality and trim the surrounding edits.
626
- diffs.splice(pointer, 0, [
627
- DIFF_EQUAL,
628
- insertion.substring(0, overlap_length1),
629
- ]);
630
- diffs[pointer - 1][1] = deletion.substring(
631
- 0,
632
- deletion.length - overlap_length1
633
- );
634
- diffs[pointer + 1][1] = insertion.substring(overlap_length1);
635
- pointer++;
636
- }
637
- } else {
638
- if (
639
- overlap_length2 >= deletion.length / 2 ||
640
- overlap_length2 >= insertion.length / 2
641
- ) {
642
- // Reverse overlap found.
643
- // Insert an equality and swap and trim the surrounding edits.
644
- diffs.splice(pointer, 0, [
645
- DIFF_EQUAL,
646
- deletion.substring(0, overlap_length2),
647
- ]);
648
- diffs[pointer - 1][0] = DIFF_INSERT;
649
- diffs[pointer - 1][1] = insertion.substring(
650
- 0,
651
- insertion.length - overlap_length2
652
- );
653
- diffs[pointer + 1][0] = DIFF_DELETE;
654
- diffs[pointer + 1][1] = deletion.substring(overlap_length2);
655
- pointer++;
656
- }
657
- }
658
- pointer++;
659
- }
660
- pointer++;
661
- }
662
- }
663
-
664
- var nonAlphaNumericRegex_ = /[^a-zA-Z0-9]/;
665
- var whitespaceRegex_ = /\s/;
666
- var linebreakRegex_ = /[\r\n]/;
667
- var blanklineEndRegex_ = /\n\r?\n$/;
668
- var blanklineStartRegex_ = /^\r?\n\r?\n/;
669
-
670
- /**
671
- * Look for single edits surrounded on both sides by equalities
672
- * which can be shifted sideways to align the edit to a word boundary.
673
- * e.g: The c<ins>at c</ins>ame. -> The <ins>cat </ins>came.
674
- * @param {!Array.<!diff_match_patch.Diff>} diffs Array of diff tuples.
675
- */
676
- function diff_cleanupSemanticLossless(diffs) {
677
- /**
678
- * Given two strings, compute a score representing whether the internal
679
- * boundary falls on logical boundaries.
680
- * Scores range from 6 (best) to 0 (worst).
681
- * Closure, but does not reference any external variables.
682
- * @param {string} one First string.
683
- * @param {string} two Second string.
684
- * @return {number} The score.
685
- * @private
686
- */
687
- function diff_cleanupSemanticScore_(one, two) {
688
- if (!one || !two) {
689
- // Edges are the best.
690
- return 6;
691
- }
692
-
693
- // Each port of this function behaves slightly differently due to
694
- // subtle differences in each language's definition of things like
695
- // 'whitespace'. Since this function's purpose is largely cosmetic,
696
- // the choice has been made to use each language's native features
697
- // rather than force total conformity.
698
- var char1 = one.charAt(one.length - 1);
699
- var char2 = two.charAt(0);
700
- var nonAlphaNumeric1 = char1.match(nonAlphaNumericRegex_);
701
- var nonAlphaNumeric2 = char2.match(nonAlphaNumericRegex_);
702
- var whitespace1 = nonAlphaNumeric1 && char1.match(whitespaceRegex_);
703
- var whitespace2 = nonAlphaNumeric2 && char2.match(whitespaceRegex_);
704
- var lineBreak1 = whitespace1 && char1.match(linebreakRegex_);
705
- var lineBreak2 = whitespace2 && char2.match(linebreakRegex_);
706
- var blankLine1 = lineBreak1 && one.match(blanklineEndRegex_);
707
- var blankLine2 = lineBreak2 && two.match(blanklineStartRegex_);
708
-
709
- if (blankLine1 || blankLine2) {
710
- // Five points for blank lines.
711
- return 5;
712
- } else if (lineBreak1 || lineBreak2) {
713
- // Four points for line breaks.
714
- return 4;
715
- } else if (nonAlphaNumeric1 && !whitespace1 && whitespace2) {
716
- // Three points for end of sentences.
717
- return 3;
718
- } else if (whitespace1 || whitespace2) {
719
- // Two points for whitespace.
720
- return 2;
721
- } else if (nonAlphaNumeric1 || nonAlphaNumeric2) {
722
- // One point for non-alphanumeric.
723
- return 1;
724
- }
725
- return 0;
726
- }
727
-
728
- var pointer = 1;
729
- // Intentionally ignore the first and last element (don't need checking).
730
- while (pointer < diffs.length - 1) {
731
- if (
732
- diffs[pointer - 1][0] == DIFF_EQUAL &&
733
- diffs[pointer + 1][0] == DIFF_EQUAL
734
- ) {
735
- // This is a single edit surrounded by equalities.
736
- var equality1 = diffs[pointer - 1][1];
737
- var edit = diffs[pointer][1];
738
- var equality2 = diffs[pointer + 1][1];
739
-
740
- // First, shift the edit as far left as possible.
741
- var commonOffset = diff_commonSuffix(equality1, edit);
742
- if (commonOffset) {
743
- var commonString = edit.substring(edit.length - commonOffset);
744
- equality1 = equality1.substring(0, equality1.length - commonOffset);
745
- edit = commonString + edit.substring(0, edit.length - commonOffset);
746
- equality2 = commonString + equality2;
747
- }
748
-
749
- // Second, step character by character right, looking for the best fit.
750
- var bestEquality1 = equality1;
751
- var bestEdit = edit;
752
- var bestEquality2 = equality2;
753
- var bestScore =
754
- diff_cleanupSemanticScore_(equality1, edit) +
755
- diff_cleanupSemanticScore_(edit, equality2);
756
- while (edit.charAt(0) === equality2.charAt(0)) {
757
- equality1 += edit.charAt(0);
758
- edit = edit.substring(1) + equality2.charAt(0);
759
- equality2 = equality2.substring(1);
760
- var score =
761
- diff_cleanupSemanticScore_(equality1, edit) +
762
- diff_cleanupSemanticScore_(edit, equality2);
763
- // The >= encourages trailing rather than leading whitespace on edits.
764
- if (score >= bestScore) {
765
- bestScore = score;
766
- bestEquality1 = equality1;
767
- bestEdit = edit;
768
- bestEquality2 = equality2;
769
- }
770
- }
771
-
772
- if (diffs[pointer - 1][1] != bestEquality1) {
773
- // We have an improvement, save it back to the diff.
774
- if (bestEquality1) {
775
- diffs[pointer - 1][1] = bestEquality1;
776
- } else {
777
- diffs.splice(pointer - 1, 1);
778
- pointer--;
779
- }
780
- diffs[pointer][1] = bestEdit;
781
- if (bestEquality2) {
782
- diffs[pointer + 1][1] = bestEquality2;
783
- } else {
784
- diffs.splice(pointer + 1, 1);
785
- pointer--;
786
- }
787
- }
788
- }
789
- pointer++;
790
- }
791
- }
792
-
793
- /**
794
- * Reorder and merge like edit sections. Merge equalities.
795
- * Any edit section can move as long as it doesn't cross an equality.
796
- * @param {Array} diffs Array of diff tuples.
797
- * @param {boolean} fix_unicode Whether to normalize to a unicode-correct diff
798
- */
799
- function diff_cleanupMerge(diffs, fix_unicode) {
800
- diffs.push([DIFF_EQUAL, ""]); // Add a dummy entry at the end.
801
- var pointer = 0;
802
- var count_delete = 0;
803
- var count_insert = 0;
804
- var text_delete = "";
805
- var text_insert = "";
806
- var commonlength;
807
- while (pointer < diffs.length) {
808
- if (pointer < diffs.length - 1 && !diffs[pointer][1]) {
809
- diffs.splice(pointer, 1);
810
- continue;
811
- }
812
- switch (diffs[pointer][0]) {
813
- case DIFF_INSERT:
814
- count_insert++;
815
- text_insert += diffs[pointer][1];
816
- pointer++;
817
- break;
818
- case DIFF_DELETE:
819
- count_delete++;
820
- text_delete += diffs[pointer][1];
821
- pointer++;
822
- break;
823
- case DIFF_EQUAL:
824
- var previous_equality = pointer - count_insert - count_delete - 1;
825
- if (fix_unicode) {
826
- // prevent splitting of unicode surrogate pairs. when fix_unicode is true,
827
- // we assume that the old and new text in the diff are complete and correct
828
- // unicode-encoded JS strings, but the tuple boundaries may fall between
829
- // surrogate pairs. we fix this by shaving off stray surrogates from the end
830
- // of the previous equality and the beginning of this equality. this may create
831
- // empty equalities or a common prefix or suffix. for example, if AB and AC are
832
- // emojis, `[[0, 'A'], [-1, 'BA'], [0, 'C']]` would turn into deleting 'ABAC' and
833
- // inserting 'AC', and then the common suffix 'AC' will be eliminated. in this
834
- // particular case, both equalities go away, we absorb any previous inequalities,
835
- // and we keep scanning for the next equality before rewriting the tuples.
836
- if (
837
- previous_equality >= 0 &&
838
- ends_with_pair_start(diffs[previous_equality][1])
839
- ) {
840
- var stray = diffs[previous_equality][1].slice(-1);
841
- diffs[previous_equality][1] = diffs[previous_equality][1].slice(
842
- 0,
843
- -1
844
- );
845
- text_delete = stray + text_delete;
846
- text_insert = stray + text_insert;
847
- if (!diffs[previous_equality][1]) {
848
- // emptied out previous equality, so delete it and include previous delete/insert
849
- diffs.splice(previous_equality, 1);
850
- pointer--;
851
- var k = previous_equality - 1;
852
- if (diffs[k] && diffs[k][0] === DIFF_INSERT) {
853
- count_insert++;
854
- text_insert = diffs[k][1] + text_insert;
855
- k--;
856
- }
857
- if (diffs[k] && diffs[k][0] === DIFF_DELETE) {
858
- count_delete++;
859
- text_delete = diffs[k][1] + text_delete;
860
- k--;
861
- }
862
- previous_equality = k;
863
- }
864
- }
865
- if (starts_with_pair_end(diffs[pointer][1])) {
866
- var stray = diffs[pointer][1].charAt(0);
867
- diffs[pointer][1] = diffs[pointer][1].slice(1);
868
- text_delete += stray;
869
- text_insert += stray;
870
- }
871
- }
872
- if (pointer < diffs.length - 1 && !diffs[pointer][1]) {
873
- // for empty equality not at end, wait for next equality
874
- diffs.splice(pointer, 1);
875
- break;
876
- }
877
- if (text_delete.length > 0 || text_insert.length > 0) {
878
- // note that diff_commonPrefix and diff_commonSuffix are unicode-aware
879
- if (text_delete.length > 0 && text_insert.length > 0) {
880
- // Factor out any common prefixes.
881
- commonlength = diff_commonPrefix(text_insert, text_delete);
882
- if (commonlength !== 0) {
883
- if (previous_equality >= 0) {
884
- diffs[previous_equality][1] += text_insert.substring(
885
- 0,
886
- commonlength
887
- );
888
- } else {
889
- diffs.splice(0, 0, [
890
- DIFF_EQUAL,
891
- text_insert.substring(0, commonlength),
892
- ]);
893
- pointer++;
894
- }
895
- text_insert = text_insert.substring(commonlength);
896
- text_delete = text_delete.substring(commonlength);
897
- }
898
- // Factor out any common suffixes.
899
- commonlength = diff_commonSuffix(text_insert, text_delete);
900
- if (commonlength !== 0) {
901
- diffs[pointer][1] =
902
- text_insert.substring(text_insert.length - commonlength) +
903
- diffs[pointer][1];
904
- text_insert = text_insert.substring(
905
- 0,
906
- text_insert.length - commonlength
907
- );
908
- text_delete = text_delete.substring(
909
- 0,
910
- text_delete.length - commonlength
911
- );
912
- }
913
- }
914
- // Delete the offending records and add the merged ones.
915
- var n = count_insert + count_delete;
916
- if (text_delete.length === 0 && text_insert.length === 0) {
917
- diffs.splice(pointer - n, n);
918
- pointer = pointer - n;
919
- } else if (text_delete.length === 0) {
920
- diffs.splice(pointer - n, n, [DIFF_INSERT, text_insert]);
921
- pointer = pointer - n + 1;
922
- } else if (text_insert.length === 0) {
923
- diffs.splice(pointer - n, n, [DIFF_DELETE, text_delete]);
924
- pointer = pointer - n + 1;
925
- } else {
926
- diffs.splice(
927
- pointer - n,
928
- n,
929
- [DIFF_DELETE, text_delete],
930
- [DIFF_INSERT, text_insert]
931
- );
932
- pointer = pointer - n + 2;
933
- }
934
- }
935
- if (pointer !== 0 && diffs[pointer - 1][0] === DIFF_EQUAL) {
936
- // Merge this equality with the previous one.
937
- diffs[pointer - 1][1] += diffs[pointer][1];
938
- diffs.splice(pointer, 1);
939
- } else {
940
- pointer++;
941
- }
942
- count_insert = 0;
943
- count_delete = 0;
944
- text_delete = "";
945
- text_insert = "";
946
- break;
947
- }
948
- }
949
- if (diffs[diffs.length - 1][1] === "") {
950
- diffs.pop(); // Remove the dummy entry at the end.
951
- }
952
-
953
- // Second pass: look for single edits surrounded on both sides by equalities
954
- // which can be shifted sideways to eliminate an equality.
955
- // e.g: A<ins>BA</ins>C -> <ins>AB</ins>AC
956
- var changes = false;
957
- pointer = 1;
958
- // Intentionally ignore the first and last element (don't need checking).
959
- while (pointer < diffs.length - 1) {
960
- if (
961
- diffs[pointer - 1][0] === DIFF_EQUAL &&
962
- diffs[pointer + 1][0] === DIFF_EQUAL
963
- ) {
964
- // This is a single edit surrounded by equalities.
965
- if (
966
- diffs[pointer][1].substring(
967
- diffs[pointer][1].length - diffs[pointer - 1][1].length
968
- ) === diffs[pointer - 1][1]
969
- ) {
970
- // Shift the edit over the previous equality.
971
- diffs[pointer][1] =
972
- diffs[pointer - 1][1] +
973
- diffs[pointer][1].substring(
974
- 0,
975
- diffs[pointer][1].length - diffs[pointer - 1][1].length
976
- );
977
- diffs[pointer + 1][1] = diffs[pointer - 1][1] + diffs[pointer + 1][1];
978
- diffs.splice(pointer - 1, 1);
979
- changes = true;
980
- } else if (
981
- diffs[pointer][1].substring(0, diffs[pointer + 1][1].length) ==
982
- diffs[pointer + 1][1]
983
- ) {
984
- // Shift the edit over the next equality.
985
- diffs[pointer - 1][1] += diffs[pointer + 1][1];
986
- diffs[pointer][1] =
987
- diffs[pointer][1].substring(diffs[pointer + 1][1].length) +
988
- diffs[pointer + 1][1];
989
- diffs.splice(pointer + 1, 1);
990
- changes = true;
991
- }
992
- }
993
- pointer++;
994
- }
995
- // If shifts were made, the diff needs reordering and another shift sweep.
996
- if (changes) {
997
- diff_cleanupMerge(diffs, fix_unicode);
998
- }
999
- }
1000
-
1001
- function is_surrogate_pair_start(charCode) {
1002
- return charCode >= 0xd800 && charCode <= 0xdbff;
1003
- }
1004
-
1005
- function is_surrogate_pair_end(charCode) {
1006
- return charCode >= 0xdc00 && charCode <= 0xdfff;
1007
- }
1008
-
1009
- function starts_with_pair_end(str) {
1010
- return is_surrogate_pair_end(str.charCodeAt(0));
1011
- }
1012
-
1013
- function ends_with_pair_start(str) {
1014
- return is_surrogate_pair_start(str.charCodeAt(str.length - 1));
1015
- }
1016
-
1017
- function remove_empty_tuples(tuples) {
1018
- var ret = [];
1019
- for (var i = 0; i < tuples.length; i++) {
1020
- if (tuples[i][1].length > 0) {
1021
- ret.push(tuples[i]);
1022
- }
1023
- }
1024
- return ret;
1025
- }
1026
-
1027
- function make_edit_splice(before, oldMiddle, newMiddle, after) {
1028
- if (ends_with_pair_start(before) || starts_with_pair_end(after)) {
1029
- return null;
1030
- }
1031
- return remove_empty_tuples([
1032
- [DIFF_EQUAL, before],
1033
- [DIFF_DELETE, oldMiddle],
1034
- [DIFF_INSERT, newMiddle],
1035
- [DIFF_EQUAL, after],
1036
- ]);
1037
- }
1038
-
1039
- function find_cursor_edit_diff(oldText, newText, cursor_pos) {
1040
- // note: this runs after equality check has ruled out exact equality
1041
- var oldRange =
1042
- typeof cursor_pos === "number"
1043
- ? { index: cursor_pos, length: 0 }
1044
- : cursor_pos.oldRange;
1045
- var newRange = typeof cursor_pos === "number" ? null : cursor_pos.newRange;
1046
- // take into account the old and new selection to generate the best diff
1047
- // possible for a text edit. for example, a text change from "xxx" to "xx"
1048
- // could be a delete or forwards-delete of any one of the x's, or the
1049
- // result of selecting two of the x's and typing "x".
1050
- var oldLength = oldText.length;
1051
- var newLength = newText.length;
1052
- if (oldRange.length === 0 && (newRange === null || newRange.length === 0)) {
1053
- // see if we have an insert or delete before or after cursor
1054
- var oldCursor = oldRange.index;
1055
- var oldBefore = oldText.slice(0, oldCursor);
1056
- var oldAfter = oldText.slice(oldCursor);
1057
- var maybeNewCursor = newRange ? newRange.index : null;
1058
- editBefore: {
1059
- // is this an insert or delete right before oldCursor?
1060
- var newCursor = oldCursor + newLength - oldLength;
1061
- if (maybeNewCursor !== null && maybeNewCursor !== newCursor) {
1062
- break editBefore;
1063
- }
1064
- if (newCursor < 0 || newCursor > newLength) {
1065
- break editBefore;
1066
- }
1067
- var newBefore = newText.slice(0, newCursor);
1068
- var newAfter = newText.slice(newCursor);
1069
- if (newAfter !== oldAfter) {
1070
- break editBefore;
1071
- }
1072
- var prefixLength = Math.min(oldCursor, newCursor);
1073
- var oldPrefix = oldBefore.slice(0, prefixLength);
1074
- var newPrefix = newBefore.slice(0, prefixLength);
1075
- if (oldPrefix !== newPrefix) {
1076
- break editBefore;
1077
- }
1078
- var oldMiddle = oldBefore.slice(prefixLength);
1079
- var newMiddle = newBefore.slice(prefixLength);
1080
- return make_edit_splice(oldPrefix, oldMiddle, newMiddle, oldAfter);
1081
- }
1082
- editAfter: {
1083
- // is this an insert or delete right after oldCursor?
1084
- if (maybeNewCursor !== null && maybeNewCursor !== oldCursor) {
1085
- break editAfter;
1086
- }
1087
- var cursor = oldCursor;
1088
- var newBefore = newText.slice(0, cursor);
1089
- var newAfter = newText.slice(cursor);
1090
- if (newBefore !== oldBefore) {
1091
- break editAfter;
1092
- }
1093
- var suffixLength = Math.min(oldLength - cursor, newLength - cursor);
1094
- var oldSuffix = oldAfter.slice(oldAfter.length - suffixLength);
1095
- var newSuffix = newAfter.slice(newAfter.length - suffixLength);
1096
- if (oldSuffix !== newSuffix) {
1097
- break editAfter;
1098
- }
1099
- var oldMiddle = oldAfter.slice(0, oldAfter.length - suffixLength);
1100
- var newMiddle = newAfter.slice(0, newAfter.length - suffixLength);
1101
- return make_edit_splice(oldBefore, oldMiddle, newMiddle, oldSuffix);
1102
- }
1103
- }
1104
- if (oldRange.length > 0 && newRange && newRange.length === 0) {
1105
- replaceRange: {
1106
- // see if diff could be a splice of the old selection range
1107
- var oldPrefix = oldText.slice(0, oldRange.index);
1108
- var oldSuffix = oldText.slice(oldRange.index + oldRange.length);
1109
- var prefixLength = oldPrefix.length;
1110
- var suffixLength = oldSuffix.length;
1111
- if (newLength < prefixLength + suffixLength) {
1112
- break replaceRange;
1113
- }
1114
- var newPrefix = newText.slice(0, prefixLength);
1115
- var newSuffix = newText.slice(newLength - suffixLength);
1116
- if (oldPrefix !== newPrefix || oldSuffix !== newSuffix) {
1117
- break replaceRange;
1118
- }
1119
- var oldMiddle = oldText.slice(prefixLength, oldLength - suffixLength);
1120
- var newMiddle = newText.slice(prefixLength, newLength - suffixLength);
1121
- return make_edit_splice(oldPrefix, oldMiddle, newMiddle, oldSuffix);
1122
- }
1123
- }
1124
-
1125
- return null;
1126
- }
1127
-
1128
- function diff(text1, text2, cursor_pos, cleanup) {
1129
- // only pass fix_unicode=true at the top level, not when diff_main is
1130
- // recursively invoked
1131
- return diff_main(text1, text2, cursor_pos, cleanup, true);
1132
- }
1133
-
1134
- diff.INSERT = DIFF_INSERT;
1135
- diff.DELETE = DIFF_DELETE;
1136
- diff.EQUAL = DIFF_EQUAL;
1137
-
1138
- module.exports = diff;