Files
DocsGPT/extensions/react-widget/dist/assets/diff-BsmxFTPD.js
ManishMadan2882 3a6770a1ae preparing build
2024-02-26 21:10:22 +05:30

2 lines
1.0 KiB
JavaScript

import{g as o}from"./index-TA8jW4qE.js";function s(t,d){for(var i=0;i<d.length;i++){const e=d[i];if(typeof e!="string"&&!Array.isArray(e)){for(const n in e)if(n!=="default"&&!(n in t)){const a=Object.getOwnPropertyDescriptor(e,n);a&&Object.defineProperty(t,n,a.get?a:{enumerable:!0,get:()=>e[n]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}function f(t){return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,variants:[{begin:/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/},{begin:/^\*\*\* +\d+,\d+ +\*\*\*\*$/},{begin:/^--- +\d+,\d+ +----$/}]},{className:"comment",variants:[{begin:/Index: /,end:/$/},{begin:/^index/,end:/$/},{begin:/={3,}/,end:/$/},{begin:/^-{3}/,end:/$/},{begin:/^\*{3} /,end:/$/},{begin:/^\+{3}/,end:/$/},{begin:/^\*{15}$/},{begin:/^diff --git/,end:/$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}var r=f;const g=o(r),b=s({__proto__:null,default:g},[r]);export{b as d};