@teselagen/sequence-utils 0.1.5 → 0.1.6
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.
- package/index.js +21 -21
- package/index.mjs +2602 -2620
- package/index.umd.js +57 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var
|
|
1
|
+
"use strict";var w2=Object.defineProperty,R2=Object.defineProperties;var O2=Object.getOwnPropertyDescriptors;var Qf=Object.getOwnPropertySymbols;var B2=Object.prototype.hasOwnProperty,A2=Object.prototype.propertyIsEnumerable;var we=Math.pow,ec=(a,n,r)=>n in a?w2(a,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):a[n]=r,se=(a,n)=>{for(var r in n||(n={}))B2.call(n,r)&&ec(a,r,n[r]);if(Qf)for(var r of Qf(n))A2.call(n,r)&&ec(a,r,n[r]);return a},Se=(a,n)=>R2(a,O2(n));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var Wr=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Zr(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var ts={exports:{}};/**
|
|
2
2
|
* @license
|
|
3
3
|
* Lodash <https://lodash.com/>
|
|
4
4
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
5
5
|
* Released under MIT license <https://lodash.com/license>
|
|
6
6
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
7
7
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
8
|
-
*/Yn.exports;(function(a,n){(function(){var r,o="4.17.21",f=200,i="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",c="Expected a function",g="Invalid `variable` option passed into `_.template`",l="__lodash_hash_undefined__",p=500,I="__lodash_placeholder__",h=1,v=2,m=4,w=1,B=2,x=1,C=2,H=4,F=8,N=16,_=32,U=64,L=128,W=256,z=512,he=30,ae="...",oe=800,we=16,Ve=1,Ag=2,xg=3,Dt=1/0,xt=9007199254740991,_g=17976931348623157e292,Zr=0/0,it=4294967295,Eg=it-1,Cg=it>>>1,Fg=[["ary",L],["bind",x],["bindKey",C],["curry",F],["curryRight",N],["flip",z],["partial",_],["partialRight",U],["rearg",W]],Qt="[object Arguments]",Yr="[object Array]",Tg="[object AsyncFunction]",br="[object Boolean]",yr="[object Date]",Mg="[object DOMException]",Qr="[object Error]",en="[object Function]",vi="[object GeneratorFunction]",et="[object Map]",wr="[object Number]",Pg="[object Null]",It="[object Object]",mi="[object Promise]",Ug="[object Proxy]",Rr="[object RegExp]",tt="[object Set]",Or="[object String]",tn="[object Symbol]",kg="[object Undefined]",Br="[object WeakMap]",Dg="[object WeakSet]",Ar="[object ArrayBuffer]",er="[object DataView]",hs="[object Float32Array]",ds="[object Float64Array]",vs="[object Int8Array]",ms="[object Int16Array]",Ss="[object Int32Array]",bs="[object Uint8Array]",ys="[object Uint8ClampedArray]",ws="[object Uint16Array]",Rs="[object Uint32Array]",Hg=/\b__p \+= '';/g,Ng=/\b(__p \+=) '' \+/g,Lg=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Si=/&(?:amp|lt|gt|quot|#39);/g,bi=/[&<>"']/g,Gg=RegExp(Si.source),Kg=RegExp(bi.source),Vg=/<%-([\s\S]+?)%>/g,qg=/<%([\s\S]+?)%>/g,yi=/<%=([\s\S]+?)%>/g,Wg=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,$g=/^\w*$/,jg=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Os=/[\\^$.*+?()[\]{}|]/g,Xg=RegExp(Os.source),Bs=/^\s+/,zg=/\s/,Jg=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Zg=/\{\n\/\* \[wrapped with (.+)\] \*/,Yg=/,? & /,Qg=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,el=/[()=,{}\[\]\/\s]/,tl=/\\(\\)?/g,rl=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,wi=/\w*$/,nl=/^[-+]0x[0-9a-f]+$/i,sl=/^0b[01]+$/i,al=/^\[object .+?Constructor\]$/,il=/^0o[0-7]+$/i,ol=/^(?:0|[1-9]\d*)$/,fl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,rn=/($^)/,cl=/['\n\r\u2028\u2029\\]/g,nn="\\ud800-\\udfff",gl="\\u0300-\\u036f",ll="\\ufe20-\\ufe2f",ul="\\u20d0-\\u20ff",Ri=gl+ll+ul,Oi="\\u2700-\\u27bf",Bi="a-z\\xdf-\\xf6\\xf8-\\xff",pl="\\xac\\xb1\\xd7\\xf7",Il="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",hl="\\u2000-\\u206f",dl=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ai="A-Z\\xc0-\\xd6\\xd8-\\xde",xi="\\ufe0e\\ufe0f",_i=pl+Il+hl+dl,As="['’]",vl="["+nn+"]",Ei="["+_i+"]",sn="["+Ri+"]",Ci="\\d+",ml="["+Oi+"]",Fi="["+Bi+"]",Ti="[^"+nn+_i+Ci+Oi+Bi+Ai+"]",xs="\\ud83c[\\udffb-\\udfff]",Sl="(?:"+sn+"|"+xs+")",Mi="[^"+nn+"]",_s="(?:\\ud83c[\\udde6-\\uddff]){2}",Es="[\\ud800-\\udbff][\\udc00-\\udfff]",tr="["+Ai+"]",Pi="\\u200d",Ui="(?:"+Fi+"|"+Ti+")",bl="(?:"+tr+"|"+Ti+")",ki="(?:"+As+"(?:d|ll|m|re|s|t|ve))?",Di="(?:"+As+"(?:D|LL|M|RE|S|T|VE))?",Hi=Sl+"?",Ni="["+xi+"]?",yl="(?:"+Pi+"(?:"+[Mi,_s,Es].join("|")+")"+Ni+Hi+")*",wl="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Rl="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Li=Ni+Hi+yl,Ol="(?:"+[ml,_s,Es].join("|")+")"+Li,Bl="(?:"+[Mi+sn+"?",sn,_s,Es,vl].join("|")+")",Al=RegExp(As,"g"),xl=RegExp(sn,"g"),Cs=RegExp(xs+"(?="+xs+")|"+Bl+Li,"g"),_l=RegExp([tr+"?"+Fi+"+"+ki+"(?="+[Ei,tr,"$"].join("|")+")",bl+"+"+Di+"(?="+[Ei,tr+Ui,"$"].join("|")+")",tr+"?"+Ui+"+"+ki,tr+"+"+Di,Rl,wl,Ci,Ol].join("|"),"g"),El=RegExp("["+Pi+nn+Ri+xi+"]"),Cl=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Fl=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Tl=-1,ue={};ue[hs]=ue[ds]=ue[vs]=ue[ms]=ue[Ss]=ue[bs]=ue[ys]=ue[ws]=ue[Rs]=!0,ue[Qt]=ue[Yr]=ue[Ar]=ue[br]=ue[er]=ue[yr]=ue[Qr]=ue[en]=ue[et]=ue[wr]=ue[It]=ue[Rr]=ue[tt]=ue[Or]=ue[Br]=!1;var le={};le[Qt]=le[Yr]=le[Ar]=le[er]=le[br]=le[yr]=le[hs]=le[ds]=le[vs]=le[ms]=le[Ss]=le[et]=le[wr]=le[It]=le[Rr]=le[tt]=le[Or]=le[tn]=le[bs]=le[ys]=le[ws]=le[Rs]=!0,le[Qr]=le[en]=le[Br]=!1;var Ml={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Pl={"&":"&","<":"<",">":">",'"':""","'":"'"},Ul={"&":"&","<":"<",">":">",""":'"',"'":"'"},kl={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Dl=parseFloat,Hl=parseInt,Gi=typeof Kr=="object"&&Kr&&Kr.Object===Object&&Kr,Nl=typeof self=="object"&&self&&self.Object===Object&&self,Be=Gi||Nl||Function("return this")(),Fs=n&&!n.nodeType&&n,Ht=Fs&&!0&&a&&!a.nodeType&&a,Ki=Ht&&Ht.exports===Fs,Ts=Ki&&Gi.process,qe=function(){try{var O=Ht&&Ht.require&&Ht.require("util").types;return O||Ts&&Ts.binding&&Ts.binding("util")}catch{}}(),Vi=qe&&qe.isArrayBuffer,qi=qe&&qe.isDate,Wi=qe&&qe.isMap,$i=qe&&qe.isRegExp,ji=qe&&qe.isSet,Xi=qe&&qe.isTypedArray;function De(O,T,E){switch(E.length){case 0:return O.call(T);case 1:return O.call(T,E[0]);case 2:return O.call(T,E[0],E[1]);case 3:return O.call(T,E[0],E[1],E[2])}return O.apply(T,E)}function Ll(O,T,E,K){for(var J=-1,ie=O==null?0:O.length;++J<ie;){var be=O[J];T(K,be,E(be),O)}return K}function We(O,T){for(var E=-1,K=O==null?0:O.length;++E<K&&T(O[E],E,O)!==!1;);return O}function Gl(O,T){for(var E=O==null?0:O.length;E--&&T(O[E],E,O)!==!1;);return O}function zi(O,T){for(var E=-1,K=O==null?0:O.length;++E<K;)if(!T(O[E],E,O))return!1;return!0}function _t(O,T){for(var E=-1,K=O==null?0:O.length,J=0,ie=[];++E<K;){var be=O[E];T(be,E,O)&&(ie[J++]=be)}return ie}function an(O,T){var E=O==null?0:O.length;return!!E&&rr(O,T,0)>-1}function Ms(O,T,E){for(var K=-1,J=O==null?0:O.length;++K<J;)if(E(T,O[K]))return!0;return!1}function pe(O,T){for(var E=-1,K=O==null?0:O.length,J=Array(K);++E<K;)J[E]=T(O[E],E,O);return J}function Et(O,T){for(var E=-1,K=T.length,J=O.length;++E<K;)O[J+E]=T[E];return O}function Ps(O,T,E,K){var J=-1,ie=O==null?0:O.length;for(K&&ie&&(E=O[++J]);++J<ie;)E=T(E,O[J],J,O);return E}function Kl(O,T,E,K){var J=O==null?0:O.length;for(K&&J&&(E=O[--J]);J--;)E=T(E,O[J],J,O);return E}function Us(O,T){for(var E=-1,K=O==null?0:O.length;++E<K;)if(T(O[E],E,O))return!0;return!1}var Vl=ks("length");function ql(O){return O.split("")}function Wl(O){return O.match(Qg)||[]}function Ji(O,T,E){var K;return E(O,function(J,ie,be){if(T(J,ie,be))return K=ie,!1}),K}function on(O,T,E,K){for(var J=O.length,ie=E+(K?1:-1);K?ie--:++ie<J;)if(T(O[ie],ie,O))return ie;return-1}function rr(O,T,E){return T===T?nu(O,T,E):on(O,Zi,E)}function $l(O,T,E,K){for(var J=E-1,ie=O.length;++J<ie;)if(K(O[J],T))return J;return-1}function Zi(O){return O!==O}function Yi(O,T){var E=O==null?0:O.length;return E?Hs(O,T)/E:Zr}function ks(O){return function(T){return T==null?r:T[O]}}function Ds(O){return function(T){return O==null?r:O[T]}}function Qi(O,T,E,K,J){return J(O,function(ie,be,ge){E=K?(K=!1,ie):T(E,ie,be,ge)}),E}function jl(O,T){var E=O.length;for(O.sort(T);E--;)O[E]=O[E].value;return O}function Hs(O,T){for(var E,K=-1,J=O.length;++K<J;){var ie=T(O[K]);ie!==r&&(E=E===r?ie:E+ie)}return E}function Ns(O,T){for(var E=-1,K=Array(O);++E<O;)K[E]=T(E);return K}function Xl(O,T){return pe(T,function(E){return[E,O[E]]})}function eo(O){return O&&O.slice(0,so(O)+1).replace(Bs,"")}function He(O){return function(T){return O(T)}}function Ls(O,T){return pe(T,function(E){return O[E]})}function xr(O,T){return O.has(T)}function to(O,T){for(var E=-1,K=O.length;++E<K&&rr(T,O[E],0)>-1;);return E}function ro(O,T){for(var E=O.length;E--&&rr(T,O[E],0)>-1;);return E}function zl(O,T){for(var E=O.length,K=0;E--;)O[E]===T&&++K;return K}var Jl=Ds(Ml),Zl=Ds(Pl);function Yl(O){return"\\"+kl[O]}function Ql(O,T){return O==null?r:O[T]}function nr(O){return El.test(O)}function eu(O){return Cl.test(O)}function tu(O){for(var T,E=[];!(T=O.next()).done;)E.push(T.value);return E}function Gs(O){var T=-1,E=Array(O.size);return O.forEach(function(K,J){E[++T]=[J,K]}),E}function no(O,T){return function(E){return O(T(E))}}function Ct(O,T){for(var E=-1,K=O.length,J=0,ie=[];++E<K;){var be=O[E];(be===T||be===I)&&(O[E]=I,ie[J++]=E)}return ie}function fn(O){var T=-1,E=Array(O.size);return O.forEach(function(K){E[++T]=K}),E}function ru(O){var T=-1,E=Array(O.size);return O.forEach(function(K){E[++T]=[K,K]}),E}function nu(O,T,E){for(var K=E-1,J=O.length;++K<J;)if(O[K]===T)return K;return-1}function su(O,T,E){for(var K=E+1;K--;)if(O[K]===T)return K;return K}function sr(O){return nr(O)?iu(O):Vl(O)}function rt(O){return nr(O)?ou(O):ql(O)}function so(O){for(var T=O.length;T--&&zg.test(O.charAt(T)););return T}var au=Ds(Ul);function iu(O){for(var T=Cs.lastIndex=0;Cs.test(O);)++T;return T}function ou(O){return O.match(Cs)||[]}function fu(O){return O.match(_l)||[]}var cu=function O(T){T=T==null?Be:ar.defaults(Be.Object(),T,ar.pick(Be,Fl));var E=T.Array,K=T.Date,J=T.Error,ie=T.Function,be=T.Math,ge=T.Object,Ks=T.RegExp,gu=T.String,$e=T.TypeError,cn=E.prototype,lu=ie.prototype,ir=ge.prototype,gn=T["__core-js_shared__"],ln=lu.toString,ce=ir.hasOwnProperty,uu=0,ao=function(){var e=/[^.]+$/.exec(gn&&gn.keys&&gn.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),un=ir.toString,pu=ln.call(ge),Iu=Be._,hu=Ks("^"+ln.call(ce).replace(Os,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),pn=Ki?T.Buffer:r,Ft=T.Symbol,In=T.Uint8Array,io=pn?pn.allocUnsafe:r,hn=no(ge.getPrototypeOf,ge),oo=ge.create,fo=ir.propertyIsEnumerable,dn=cn.splice,co=Ft?Ft.isConcatSpreadable:r,_r=Ft?Ft.iterator:r,Nt=Ft?Ft.toStringTag:r,vn=function(){try{var e=qt(ge,"defineProperty");return e({},"",{}),e}catch{}}(),du=T.clearTimeout!==Be.clearTimeout&&T.clearTimeout,vu=K&&K.now!==Be.Date.now&&K.now,mu=T.setTimeout!==Be.setTimeout&&T.setTimeout,mn=be.ceil,Sn=be.floor,Vs=ge.getOwnPropertySymbols,Su=pn?pn.isBuffer:r,go=T.isFinite,bu=cn.join,yu=no(ge.keys,ge),ye=be.max,xe=be.min,wu=K.now,Ru=T.parseInt,lo=be.random,Ou=cn.reverse,qs=qt(T,"DataView"),Er=qt(T,"Map"),Ws=qt(T,"Promise"),or=qt(T,"Set"),Cr=qt(T,"WeakMap"),Fr=qt(ge,"create"),bn=Cr&&new Cr,fr={},Bu=Wt(qs),Au=Wt(Er),xu=Wt(Ws),_u=Wt(or),Eu=Wt(Cr),yn=Ft?Ft.prototype:r,Tr=yn?yn.valueOf:r,uo=yn?yn.toString:r;function S(e){if(ve(e)&&!Z(e)&&!(e instanceof re)){if(e instanceof je)return e;if(ce.call(e,"__wrapped__"))return hf(e)}return new je(e)}var cr=function(){function e(){}return function(t){if(!de(t))return{};if(oo)return oo(t);e.prototype=t;var s=new e;return e.prototype=r,s}}();function wn(){}function je(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=r}S.templateSettings={escape:Vg,evaluate:qg,interpolate:yi,variable:"",imports:{_:S}},S.prototype=wn.prototype,S.prototype.constructor=S,je.prototype=cr(wn.prototype),je.prototype.constructor=je;function re(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=it,this.__views__=[]}function Cu(){var e=new re(this.__wrapped__);return e.__actions__=Me(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Me(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Me(this.__views__),e}function Fu(){if(this.__filtered__){var e=new re(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function Tu(){var e=this.__wrapped__.value(),t=this.__dir__,s=Z(e),u=t<0,d=s?e.length:0,b=qp(0,d,this.__views__),y=b.start,R=b.end,A=R-y,M=u?R:y-1,P=this.__iteratees__,D=P.length,G=0,q=xe(A,this.__takeCount__);if(!s||!u&&d==A&&q==A)return Do(e,this.__actions__);var j=[];e:for(;A--&&G<q;){M+=t;for(var Q=-1,X=e[M];++Q<D;){var te=P[Q],ne=te.iteratee,Ge=te.type,Fe=ne(X);if(Ge==Ag)X=Fe;else if(!Fe){if(Ge==Ve)continue e;break e}}j[G++]=X}return j}re.prototype=cr(wn.prototype),re.prototype.constructor=re;function Lt(e){var t=-1,s=e==null?0:e.length;for(this.clear();++t<s;){var u=e[t];this.set(u[0],u[1])}}function Mu(){this.__data__=Fr?Fr(null):{},this.size=0}function Pu(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function Uu(e){var t=this.__data__;if(Fr){var s=t[e];return s===l?r:s}return ce.call(t,e)?t[e]:r}function ku(e){var t=this.__data__;return Fr?t[e]!==r:ce.call(t,e)}function Du(e,t){var s=this.__data__;return this.size+=this.has(e)?0:1,s[e]=Fr&&t===r?l:t,this}Lt.prototype.clear=Mu,Lt.prototype.delete=Pu,Lt.prototype.get=Uu,Lt.prototype.has=ku,Lt.prototype.set=Du;function ht(e){var t=-1,s=e==null?0:e.length;for(this.clear();++t<s;){var u=e[t];this.set(u[0],u[1])}}function Hu(){this.__data__=[],this.size=0}function Nu(e){var t=this.__data__,s=Rn(t,e);if(s<0)return!1;var u=t.length-1;return s==u?t.pop():dn.call(t,s,1),--this.size,!0}function Lu(e){var t=this.__data__,s=Rn(t,e);return s<0?r:t[s][1]}function Gu(e){return Rn(this.__data__,e)>-1}function Ku(e,t){var s=this.__data__,u=Rn(s,e);return u<0?(++this.size,s.push([e,t])):s[u][1]=t,this}ht.prototype.clear=Hu,ht.prototype.delete=Nu,ht.prototype.get=Lu,ht.prototype.has=Gu,ht.prototype.set=Ku;function dt(e){var t=-1,s=e==null?0:e.length;for(this.clear();++t<s;){var u=e[t];this.set(u[0],u[1])}}function Vu(){this.size=0,this.__data__={hash:new Lt,map:new(Er||ht),string:new Lt}}function qu(e){var t=Un(this,e).delete(e);return this.size-=t?1:0,t}function Wu(e){return Un(this,e).get(e)}function $u(e){return Un(this,e).has(e)}function ju(e,t){var s=Un(this,e),u=s.size;return s.set(e,t),this.size+=s.size==u?0:1,this}dt.prototype.clear=Vu,dt.prototype.delete=qu,dt.prototype.get=Wu,dt.prototype.has=$u,dt.prototype.set=ju;function Gt(e){var t=-1,s=e==null?0:e.length;for(this.__data__=new dt;++t<s;)this.add(e[t])}function Xu(e){return this.__data__.set(e,l),this}function zu(e){return this.__data__.has(e)}Gt.prototype.add=Gt.prototype.push=Xu,Gt.prototype.has=zu;function nt(e){var t=this.__data__=new ht(e);this.size=t.size}function Ju(){this.__data__=new ht,this.size=0}function Zu(e){var t=this.__data__,s=t.delete(e);return this.size=t.size,s}function Yu(e){return this.__data__.get(e)}function Qu(e){return this.__data__.has(e)}function ep(e,t){var s=this.__data__;if(s instanceof ht){var u=s.__data__;if(!Er||u.length<f-1)return u.push([e,t]),this.size=++s.size,this;s=this.__data__=new dt(u)}return s.set(e,t),this.size=s.size,this}nt.prototype.clear=Ju,nt.prototype.delete=Zu,nt.prototype.get=Yu,nt.prototype.has=Qu,nt.prototype.set=ep;function po(e,t){var s=Z(e),u=!s&&$t(e),d=!s&&!u&&kt(e),b=!s&&!u&&!d&&pr(e),y=s||u||d||b,R=y?Ns(e.length,gu):[],A=R.length;for(var M in e)(t||ce.call(e,M))&&!(y&&(M=="length"||d&&(M=="offset"||M=="parent")||b&&(M=="buffer"||M=="byteLength"||M=="byteOffset")||bt(M,A)))&&R.push(M);return R}function Io(e){var t=e.length;return t?e[ra(0,t-1)]:r}function tp(e,t){return kn(Me(e),Kt(t,0,e.length))}function rp(e){return kn(Me(e))}function $s(e,t,s){(s!==r&&!st(e[t],s)||s===r&&!(t in e))&&vt(e,t,s)}function Mr(e,t,s){var u=e[t];(!(ce.call(e,t)&&st(u,s))||s===r&&!(t in e))&&vt(e,t,s)}function Rn(e,t){for(var s=e.length;s--;)if(st(e[s][0],t))return s;return-1}function np(e,t,s,u){return Tt(e,function(d,b,y){t(u,d,s(d),y)}),u}function ho(e,t){return e&&ft(t,Re(t),e)}function sp(e,t){return e&&ft(t,Ue(t),e)}function vt(e,t,s){t=="__proto__"&&vn?vn(e,t,{configurable:!0,enumerable:!0,value:s,writable:!0}):e[t]=s}function js(e,t){for(var s=-1,u=t.length,d=E(u),b=e==null;++s<u;)d[s]=b?r:xa(e,t[s]);return d}function Kt(e,t,s){return e===e&&(s!==r&&(e=e<=s?e:s),t!==r&&(e=e>=t?e:t)),e}function Xe(e,t,s,u,d,b){var y,R=t&h,A=t&v,M=t&m;if(s&&(y=d?s(e,u,d,b):s(e)),y!==r)return y;if(!de(e))return e;var P=Z(e);if(P){if(y=$p(e),!R)return Me(e,y)}else{var D=_e(e),G=D==en||D==vi;if(kt(e))return Lo(e,R);if(D==It||D==Qt||G&&!d){if(y=A||G?{}:af(e),!R)return A?Up(e,sp(y,e)):Pp(e,ho(y,e))}else{if(!le[D])return d?e:{};y=jp(e,D,R)}}b||(b=new nt);var q=b.get(e);if(q)return q;b.set(e,y),Uf(e)?e.forEach(function(X){y.add(Xe(X,t,s,X,e,b))}):Mf(e)&&e.forEach(function(X,te){y.set(te,Xe(X,t,s,te,e,b))});var j=M?A?pa:ua:A?Ue:Re,Q=P?r:j(e);return We(Q||e,function(X,te){Q&&(te=X,X=e[te]),Mr(y,te,Xe(X,t,s,te,e,b))}),y}function ap(e){var t=Re(e);return function(s){return vo(s,e,t)}}function vo(e,t,s){var u=s.length;if(e==null)return!u;for(e=ge(e);u--;){var d=s[u],b=t[d],y=e[d];if(y===r&&!(d in e)||!b(y))return!1}return!0}function mo(e,t,s){if(typeof e!="function")throw new $e(c);return Lr(function(){e.apply(r,s)},t)}function Pr(e,t,s,u){var d=-1,b=an,y=!0,R=e.length,A=[],M=t.length;if(!R)return A;s&&(t=pe(t,He(s))),u?(b=Ms,y=!1):t.length>=f&&(b=xr,y=!1,t=new Gt(t));e:for(;++d<R;){var P=e[d],D=s==null?P:s(P);if(P=u||P!==0?P:0,y&&D===D){for(var G=M;G--;)if(t[G]===D)continue e;A.push(P)}else b(t,D,u)||A.push(P)}return A}var Tt=Wo(ot),So=Wo(zs,!0);function ip(e,t){var s=!0;return Tt(e,function(u,d,b){return s=!!t(u,d,b),s}),s}function On(e,t,s){for(var u=-1,d=e.length;++u<d;){var b=e[u],y=t(b);if(y!=null&&(R===r?y===y&&!Le(y):s(y,R)))var R=y,A=b}return A}function op(e,t,s,u){var d=e.length;for(s=Y(s),s<0&&(s=-s>d?0:d+s),u=u===r||u>d?d:Y(u),u<0&&(u+=d),u=s>u?0:Df(u);s<u;)e[s++]=t;return e}function bo(e,t){var s=[];return Tt(e,function(u,d,b){t(u,d,b)&&s.push(u)}),s}function Ae(e,t,s,u,d){var b=-1,y=e.length;for(s||(s=zp),d||(d=[]);++b<y;){var R=e[b];t>0&&s(R)?t>1?Ae(R,t-1,s,u,d):Et(d,R):u||(d[d.length]=R)}return d}var Xs=$o(),yo=$o(!0);function ot(e,t){return e&&Xs(e,t,Re)}function zs(e,t){return e&&yo(e,t,Re)}function Bn(e,t){return _t(t,function(s){return yt(e[s])})}function Vt(e,t){t=Pt(t,e);for(var s=0,u=t.length;e!=null&&s<u;)e=e[ct(t[s++])];return s&&s==u?e:r}function wo(e,t,s){var u=t(e);return Z(e)?u:Et(u,s(e))}function Ee(e){return e==null?e===r?kg:Pg:Nt&&Nt in ge(e)?Vp(e):rI(e)}function Js(e,t){return e>t}function fp(e,t){return e!=null&&ce.call(e,t)}function cp(e,t){return e!=null&&t in ge(e)}function gp(e,t,s){return e>=xe(t,s)&&e<ye(t,s)}function Zs(e,t,s){for(var u=s?Ms:an,d=e[0].length,b=e.length,y=b,R=E(b),A=1/0,M=[];y--;){var P=e[y];y&&t&&(P=pe(P,He(t))),A=xe(P.length,A),R[y]=!s&&(t||d>=120&&P.length>=120)?new Gt(y&&P):r}P=e[0];var D=-1,G=R[0];e:for(;++D<d&&M.length<A;){var q=P[D],j=t?t(q):q;if(q=s||q!==0?q:0,!(G?xr(G,j):u(M,j,s))){for(y=b;--y;){var Q=R[y];if(!(Q?xr(Q,j):u(e[y],j,s)))continue e}G&&G.push(j),M.push(q)}}return M}function lp(e,t,s,u){return ot(e,function(d,b,y){t(u,s(d),b,y)}),u}function Ur(e,t,s){t=Pt(t,e),e=gf(e,t);var u=e==null?e:e[ct(Je(t))];return u==null?r:De(u,e,s)}function Ro(e){return ve(e)&&Ee(e)==Qt}function up(e){return ve(e)&&Ee(e)==Ar}function pp(e){return ve(e)&&Ee(e)==yr}function kr(e,t,s,u,d){return e===t?!0:e==null||t==null||!ve(e)&&!ve(t)?e!==e&&t!==t:Ip(e,t,s,u,kr,d)}function Ip(e,t,s,u,d,b){var y=Z(e),R=Z(t),A=y?Yr:_e(e),M=R?Yr:_e(t);A=A==Qt?It:A,M=M==Qt?It:M;var P=A==It,D=M==It,G=A==M;if(G&&kt(e)){if(!kt(t))return!1;y=!0,P=!1}if(G&&!P)return b||(b=new nt),y||pr(e)?rf(e,t,s,u,d,b):Gp(e,t,A,s,u,d,b);if(!(s&w)){var q=P&&ce.call(e,"__wrapped__"),j=D&&ce.call(t,"__wrapped__");if(q||j){var Q=q?e.value():e,X=j?t.value():t;return b||(b=new nt),d(Q,X,s,u,b)}}return G?(b||(b=new nt),Kp(e,t,s,u,d,b)):!1}function hp(e){return ve(e)&&_e(e)==et}function Ys(e,t,s,u){var d=s.length,b=d,y=!u;if(e==null)return!b;for(e=ge(e);d--;){var R=s[d];if(y&&R[2]?R[1]!==e[R[0]]:!(R[0]in e))return!1}for(;++d<b;){R=s[d];var A=R[0],M=e[A],P=R[1];if(y&&R[2]){if(M===r&&!(A in e))return!1}else{var D=new nt;if(u)var G=u(M,P,A,e,t,D);if(!(G===r?kr(P,M,w|B,u,D):G))return!1}}return!0}function Oo(e){if(!de(e)||Zp(e))return!1;var t=yt(e)?hu:al;return t.test(Wt(e))}function dp(e){return ve(e)&&Ee(e)==Rr}function vp(e){return ve(e)&&_e(e)==tt}function mp(e){return ve(e)&&Kn(e.length)&&!!ue[Ee(e)]}function Bo(e){return typeof e=="function"?e:e==null?ke:typeof e=="object"?Z(e)?_o(e[0],e[1]):xo(e):Xf(e)}function Qs(e){if(!Nr(e))return yu(e);var t=[];for(var s in ge(e))ce.call(e,s)&&s!="constructor"&&t.push(s);return t}function Sp(e){if(!de(e))return tI(e);var t=Nr(e),s=[];for(var u in e)u=="constructor"&&(t||!ce.call(e,u))||s.push(u);return s}function ea(e,t){return e<t}function Ao(e,t){var s=-1,u=Pe(e)?E(e.length):[];return Tt(e,function(d,b,y){u[++s]=t(d,b,y)}),u}function xo(e){var t=ha(e);return t.length==1&&t[0][2]?ff(t[0][0],t[0][1]):function(s){return s===e||Ys(s,e,t)}}function _o(e,t){return va(e)&&of(t)?ff(ct(e),t):function(s){var u=xa(s,e);return u===r&&u===t?_a(s,e):kr(t,u,w|B)}}function An(e,t,s,u,d){e!==t&&Xs(t,function(b,y){if(d||(d=new nt),de(b))bp(e,t,y,s,An,u,d);else{var R=u?u(Sa(e,y),b,y+"",e,t,d):r;R===r&&(R=b),$s(e,y,R)}},Ue)}function bp(e,t,s,u,d,b,y){var R=Sa(e,s),A=Sa(t,s),M=y.get(A);if(M){$s(e,s,M);return}var P=b?b(R,A,s+"",e,t,y):r,D=P===r;if(D){var G=Z(A),q=!G&&kt(A),j=!G&&!q&&pr(A);P=A,G||q||j?Z(R)?P=R:me(R)?P=Me(R):q?(D=!1,P=Lo(A,!0)):j?(D=!1,P=Go(A,!0)):P=[]:Gr(A)||$t(A)?(P=R,$t(R)?P=Hf(R):(!de(R)||yt(R))&&(P=af(A))):D=!1}D&&(y.set(A,P),d(P,A,u,b,y),y.delete(A)),$s(e,s,P)}function Eo(e,t){var s=e.length;if(s)return t+=t<0?s:0,bt(t,s)?e[t]:r}function Co(e,t,s){t.length?t=pe(t,function(b){return Z(b)?function(y){return Vt(y,b.length===1?b[0]:b)}:b}):t=[ke];var u=-1;t=pe(t,He($()));var d=Ao(e,function(b,y,R){var A=pe(t,function(M){return M(b)});return{criteria:A,index:++u,value:b}});return jl(d,function(b,y){return Mp(b,y,s)})}function yp(e,t){return Fo(e,t,function(s,u){return _a(e,u)})}function Fo(e,t,s){for(var u=-1,d=t.length,b={};++u<d;){var y=t[u],R=Vt(e,y);s(R,y)&&Dr(b,Pt(y,e),R)}return b}function wp(e){return function(t){return Vt(t,e)}}function ta(e,t,s,u){var d=u?$l:rr,b=-1,y=t.length,R=e;for(e===t&&(t=Me(t)),s&&(R=pe(e,He(s)));++b<y;)for(var A=0,M=t[b],P=s?s(M):M;(A=d(R,P,A,u))>-1;)R!==e&&dn.call(R,A,1),dn.call(e,A,1);return e}function To(e,t){for(var s=e?t.length:0,u=s-1;s--;){var d=t[s];if(s==u||d!==b){var b=d;bt(d)?dn.call(e,d,1):aa(e,d)}}return e}function ra(e,t){return e+Sn(lo()*(t-e+1))}function Rp(e,t,s,u){for(var d=-1,b=ye(mn((t-e)/(s||1)),0),y=E(b);b--;)y[u?b:++d]=e,e+=s;return y}function na(e,t){var s="";if(!e||t<1||t>xt)return s;do t%2&&(s+=e),t=Sn(t/2),t&&(e+=e);while(t);return s}function ee(e,t){return ba(cf(e,t,ke),e+"")}function Op(e){return Io(Ir(e))}function Bp(e,t){var s=Ir(e);return kn(s,Kt(t,0,s.length))}function Dr(e,t,s,u){if(!de(e))return e;t=Pt(t,e);for(var d=-1,b=t.length,y=b-1,R=e;R!=null&&++d<b;){var A=ct(t[d]),M=s;if(A==="__proto__"||A==="constructor"||A==="prototype")return e;if(d!=y){var P=R[A];M=u?u(P,A,R):r,M===r&&(M=de(P)?P:bt(t[d+1])?[]:{})}Mr(R,A,M),R=R[A]}return e}var Mo=bn?function(e,t){return bn.set(e,t),e}:ke,Ap=vn?function(e,t){return vn(e,"toString",{configurable:!0,enumerable:!1,value:Ca(t),writable:!0})}:ke;function xp(e){return kn(Ir(e))}function ze(e,t,s){var u=-1,d=e.length;t<0&&(t=-t>d?0:d+t),s=s>d?d:s,s<0&&(s+=d),d=t>s?0:s-t>>>0,t>>>=0;for(var b=E(d);++u<d;)b[u]=e[u+t];return b}function _p(e,t){var s;return Tt(e,function(u,d,b){return s=t(u,d,b),!s}),!!s}function xn(e,t,s){var u=0,d=e==null?u:e.length;if(typeof t=="number"&&t===t&&d<=Cg){for(;u<d;){var b=u+d>>>1,y=e[b];y!==null&&!Le(y)&&(s?y<=t:y<t)?u=b+1:d=b}return d}return sa(e,t,ke,s)}function sa(e,t,s,u){var d=0,b=e==null?0:e.length;if(b===0)return 0;t=s(t);for(var y=t!==t,R=t===null,A=Le(t),M=t===r;d<b;){var P=Sn((d+b)/2),D=s(e[P]),G=D!==r,q=D===null,j=D===D,Q=Le(D);if(y)var X=u||j;else M?X=j&&(u||G):R?X=j&&G&&(u||!q):A?X=j&&G&&!q&&(u||!Q):q||Q?X=!1:X=u?D<=t:D<t;X?d=P+1:b=P}return xe(b,Eg)}function Po(e,t){for(var s=-1,u=e.length,d=0,b=[];++s<u;){var y=e[s],R=t?t(y):y;if(!s||!st(R,A)){var A=R;b[d++]=y===0?0:y}}return b}function Uo(e){return typeof e=="number"?e:Le(e)?Zr:+e}function Ne(e){if(typeof e=="string")return e;if(Z(e))return pe(e,Ne)+"";if(Le(e))return uo?uo.call(e):"";var t=e+"";return t=="0"&&1/e==-Dt?"-0":t}function Mt(e,t,s){var u=-1,d=an,b=e.length,y=!0,R=[],A=R;if(s)y=!1,d=Ms;else if(b>=f){var M=t?null:Np(e);if(M)return fn(M);y=!1,d=xr,A=new Gt}else A=t?[]:R;e:for(;++u<b;){var P=e[u],D=t?t(P):P;if(P=s||P!==0?P:0,y&&D===D){for(var G=A.length;G--;)if(A[G]===D)continue e;t&&A.push(D),R.push(P)}else d(A,D,s)||(A!==R&&A.push(D),R.push(P))}return R}function aa(e,t){return t=Pt(t,e),e=gf(e,t),e==null||delete e[ct(Je(t))]}function ko(e,t,s,u){return Dr(e,t,s(Vt(e,t)),u)}function _n(e,t,s,u){for(var d=e.length,b=u?d:-1;(u?b--:++b<d)&&t(e[b],b,e););return s?ze(e,u?0:b,u?b+1:d):ze(e,u?b+1:0,u?d:b)}function Do(e,t){var s=e;return s instanceof re&&(s=s.value()),Ps(t,function(u,d){return d.func.apply(d.thisArg,Et([u],d.args))},s)}function ia(e,t,s){var u=e.length;if(u<2)return u?Mt(e[0]):[];for(var d=-1,b=E(u);++d<u;)for(var y=e[d],R=-1;++R<u;)R!=d&&(b[d]=Pr(b[d]||y,e[R],t,s));return Mt(Ae(b,1),t,s)}function Ho(e,t,s){for(var u=-1,d=e.length,b=t.length,y={};++u<d;){var R=u<b?t[u]:r;s(y,e[u],R)}return y}function oa(e){return me(e)?e:[]}function fa(e){return typeof e=="function"?e:ke}function Pt(e,t){return Z(e)?e:va(e,t)?[e]:If(fe(e))}var Ep=ee;function Ut(e,t,s){var u=e.length;return s=s===r?u:s,!t&&s>=u?e:ze(e,t,s)}var No=du||function(e){return Be.clearTimeout(e)};function Lo(e,t){if(t)return e.slice();var s=e.length,u=io?io(s):new e.constructor(s);return e.copy(u),u}function ca(e){var t=new e.constructor(e.byteLength);return new In(t).set(new In(e)),t}function Cp(e,t){var s=t?ca(e.buffer):e.buffer;return new e.constructor(s,e.byteOffset,e.byteLength)}function Fp(e){var t=new e.constructor(e.source,wi.exec(e));return t.lastIndex=e.lastIndex,t}function Tp(e){return Tr?ge(Tr.call(e)):{}}function Go(e,t){var s=t?ca(e.buffer):e.buffer;return new e.constructor(s,e.byteOffset,e.length)}function Ko(e,t){if(e!==t){var s=e!==r,u=e===null,d=e===e,b=Le(e),y=t!==r,R=t===null,A=t===t,M=Le(t);if(!R&&!M&&!b&&e>t||b&&y&&A&&!R&&!M||u&&y&&A||!s&&A||!d)return 1;if(!u&&!b&&!M&&e<t||M&&s&&d&&!u&&!b||R&&s&&d||!y&&d||!A)return-1}return 0}function Mp(e,t,s){for(var u=-1,d=e.criteria,b=t.criteria,y=d.length,R=s.length;++u<y;){var A=Ko(d[u],b[u]);if(A){if(u>=R)return A;var M=s[u];return A*(M=="desc"?-1:1)}}return e.index-t.index}function Vo(e,t,s,u){for(var d=-1,b=e.length,y=s.length,R=-1,A=t.length,M=ye(b-y,0),P=E(A+M),D=!u;++R<A;)P[R]=t[R];for(;++d<y;)(D||d<b)&&(P[s[d]]=e[d]);for(;M--;)P[R++]=e[d++];return P}function qo(e,t,s,u){for(var d=-1,b=e.length,y=-1,R=s.length,A=-1,M=t.length,P=ye(b-R,0),D=E(P+M),G=!u;++d<P;)D[d]=e[d];for(var q=d;++A<M;)D[q+A]=t[A];for(;++y<R;)(G||d<b)&&(D[q+s[y]]=e[d++]);return D}function Me(e,t){var s=-1,u=e.length;for(t||(t=E(u));++s<u;)t[s]=e[s];return t}function ft(e,t,s,u){var d=!s;s||(s={});for(var b=-1,y=t.length;++b<y;){var R=t[b],A=u?u(s[R],e[R],R,s,e):r;A===r&&(A=e[R]),d?vt(s,R,A):Mr(s,R,A)}return s}function Pp(e,t){return ft(e,da(e),t)}function Up(e,t){return ft(e,nf(e),t)}function En(e,t){return function(s,u){var d=Z(s)?Ll:np,b=t?t():{};return d(s,e,$(u,2),b)}}function gr(e){return ee(function(t,s){var u=-1,d=s.length,b=d>1?s[d-1]:r,y=d>2?s[2]:r;for(b=e.length>3&&typeof b=="function"?(d--,b):r,y&&Ce(s[0],s[1],y)&&(b=d<3?r:b,d=1),t=ge(t);++u<d;){var R=s[u];R&&e(t,R,u,b)}return t})}function Wo(e,t){return function(s,u){if(s==null)return s;if(!Pe(s))return e(s,u);for(var d=s.length,b=t?d:-1,y=ge(s);(t?b--:++b<d)&&u(y[b],b,y)!==!1;);return s}}function $o(e){return function(t,s,u){for(var d=-1,b=ge(t),y=u(t),R=y.length;R--;){var A=y[e?R:++d];if(s(b[A],A,b)===!1)break}return t}}function kp(e,t,s){var u=t&x,d=Hr(e);function b(){var y=this&&this!==Be&&this instanceof b?d:e;return y.apply(u?s:this,arguments)}return b}function jo(e){return function(t){t=fe(t);var s=nr(t)?rt(t):r,u=s?s[0]:t.charAt(0),d=s?Ut(s,1).join(""):t.slice(1);return u[e]()+d}}function lr(e){return function(t){return Ps($f(Wf(t).replace(Al,"")),e,"")}}function Hr(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var s=cr(e.prototype),u=e.apply(s,t);return de(u)?u:s}}function Dp(e,t,s){var u=Hr(e);function d(){for(var b=arguments.length,y=E(b),R=b,A=ur(d);R--;)y[R]=arguments[R];var M=b<3&&y[0]!==A&&y[b-1]!==A?[]:Ct(y,A);if(b-=M.length,b<s)return Yo(e,t,Cn,d.placeholder,r,y,M,r,r,s-b);var P=this&&this!==Be&&this instanceof d?u:e;return De(P,this,y)}return d}function Xo(e){return function(t,s,u){var d=ge(t);if(!Pe(t)){var b=$(s,3);t=Re(t),s=function(R){return b(d[R],R,d)}}var y=e(t,s,u);return y>-1?d[b?t[y]:y]:r}}function zo(e){return St(function(t){var s=t.length,u=s,d=je.prototype.thru;for(e&&t.reverse();u--;){var b=t[u];if(typeof b!="function")throw new $e(c);if(d&&!y&&Pn(b)=="wrapper")var y=new je([],!0)}for(u=y?u:s;++u<s;){b=t[u];var R=Pn(b),A=R=="wrapper"?Ia(b):r;A&&ma(A[0])&&A[1]==(L|F|_|W)&&!A[4].length&&A[9]==1?y=y[Pn(A[0])].apply(y,A[3]):y=b.length==1&&ma(b)?y[R]():y.thru(b)}return function(){var M=arguments,P=M[0];if(y&&M.length==1&&Z(P))return y.plant(P).value();for(var D=0,G=s?t[D].apply(this,M):P;++D<s;)G=t[D].call(this,G);return G}})}function Cn(e,t,s,u,d,b,y,R,A,M){var P=t&L,D=t&x,G=t&C,q=t&(F|N),j=t&z,Q=G?r:Hr(e);function X(){for(var te=arguments.length,ne=E(te),Ge=te;Ge--;)ne[Ge]=arguments[Ge];if(q)var Fe=ur(X),Ke=zl(ne,Fe);if(u&&(ne=Vo(ne,u,d,q)),b&&(ne=qo(ne,b,y,q)),te-=Ke,q&&te<M){var Se=Ct(ne,Fe);return Yo(e,t,Cn,X.placeholder,s,ne,Se,R,A,M-te)}var at=D?s:this,Rt=G?at[e]:e;return te=ne.length,R?ne=nI(ne,R):j&&te>1&&ne.reverse(),P&&A<te&&(ne.length=A),this&&this!==Be&&this instanceof X&&(Rt=Q||Hr(Rt)),Rt.apply(at,ne)}return X}function Jo(e,t){return function(s,u){return lp(s,e,t(u),{})}}function Fn(e,t){return function(s,u){var d;if(s===r&&u===r)return t;if(s!==r&&(d=s),u!==r){if(d===r)return u;typeof s=="string"||typeof u=="string"?(s=Ne(s),u=Ne(u)):(s=Uo(s),u=Uo(u)),d=e(s,u)}return d}}function ga(e){return St(function(t){return t=pe(t,He($())),ee(function(s){var u=this;return e(t,function(d){return De(d,u,s)})})})}function Tn(e,t){t=t===r?" ":Ne(t);var s=t.length;if(s<2)return s?na(t,e):t;var u=na(t,mn(e/sr(t)));return nr(t)?Ut(rt(u),0,e).join(""):u.slice(0,e)}function Hp(e,t,s,u){var d=t&x,b=Hr(e);function y(){for(var R=-1,A=arguments.length,M=-1,P=u.length,D=E(P+A),G=this&&this!==Be&&this instanceof y?b:e;++M<P;)D[M]=u[M];for(;A--;)D[M++]=arguments[++R];return De(G,d?s:this,D)}return y}function Zo(e){return function(t,s,u){return u&&typeof u!="number"&&Ce(t,s,u)&&(s=u=r),t=wt(t),s===r?(s=t,t=0):s=wt(s),u=u===r?t<s?1:-1:wt(u),Rp(t,s,u,e)}}function Mn(e){return function(t,s){return typeof t=="string"&&typeof s=="string"||(t=Ze(t),s=Ze(s)),e(t,s)}}function Yo(e,t,s,u,d,b,y,R,A,M){var P=t&F,D=P?y:r,G=P?r:y,q=P?b:r,j=P?r:b;t|=P?_:U,t&=~(P?U:_),t&H||(t&=~(x|C));var Q=[e,t,d,q,D,j,G,R,A,M],X=s.apply(r,Q);return ma(e)&&lf(X,Q),X.placeholder=u,uf(X,e,t)}function la(e){var t=be[e];return function(s,u){if(s=Ze(s),u=u==null?0:xe(Y(u),292),u&&go(s)){var d=(fe(s)+"e").split("e"),b=t(d[0]+"e"+(+d[1]+u));return d=(fe(b)+"e").split("e"),+(d[0]+"e"+(+d[1]-u))}return t(s)}}var Np=or&&1/fn(new or([,-0]))[1]==Dt?function(e){return new or(e)}:Ma;function Qo(e){return function(t){var s=_e(t);return s==et?Gs(t):s==tt?ru(t):Xl(t,e(t))}}function mt(e,t,s,u,d,b,y,R){var A=t&C;if(!A&&typeof e!="function")throw new $e(c);var M=u?u.length:0;if(M||(t&=~(_|U),u=d=r),y=y===r?y:ye(Y(y),0),R=R===r?R:Y(R),M-=d?d.length:0,t&U){var P=u,D=d;u=d=r}var G=A?r:Ia(e),q=[e,t,s,u,d,P,D,b,y,R];if(G&&eI(q,G),e=q[0],t=q[1],s=q[2],u=q[3],d=q[4],R=q[9]=q[9]===r?A?0:e.length:ye(q[9]-M,0),!R&&t&(F|N)&&(t&=~(F|N)),!t||t==x)var j=kp(e,t,s);else t==F||t==N?j=Dp(e,t,R):(t==_||t==(x|_))&&!d.length?j=Hp(e,t,s,u):j=Cn.apply(r,q);var Q=G?Mo:lf;return uf(Q(j,q),e,t)}function ef(e,t,s,u){return e===r||st(e,ir[s])&&!ce.call(u,s)?t:e}function tf(e,t,s,u,d,b){return de(e)&&de(t)&&(b.set(t,e),An(e,t,r,tf,b),b.delete(t)),e}function Lp(e){return Gr(e)?r:e}function rf(e,t,s,u,d,b){var y=s&w,R=e.length,A=t.length;if(R!=A&&!(y&&A>R))return!1;var M=b.get(e),P=b.get(t);if(M&&P)return M==t&&P==e;var D=-1,G=!0,q=s&B?new Gt:r;for(b.set(e,t),b.set(t,e);++D<R;){var j=e[D],Q=t[D];if(u)var X=y?u(Q,j,D,t,e,b):u(j,Q,D,e,t,b);if(X!==r){if(X)continue;G=!1;break}if(q){if(!Us(t,function(te,ne){if(!xr(q,ne)&&(j===te||d(j,te,s,u,b)))return q.push(ne)})){G=!1;break}}else if(!(j===Q||d(j,Q,s,u,b))){G=!1;break}}return b.delete(e),b.delete(t),G}function Gp(e,t,s,u,d,b,y){switch(s){case er:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Ar:return!(e.byteLength!=t.byteLength||!b(new In(e),new In(t)));case br:case yr:case wr:return st(+e,+t);case Qr:return e.name==t.name&&e.message==t.message;case Rr:case Or:return e==t+"";case et:var R=Gs;case tt:var A=u&w;if(R||(R=fn),e.size!=t.size&&!A)return!1;var M=y.get(e);if(M)return M==t;u|=B,y.set(e,t);var P=rf(R(e),R(t),u,d,b,y);return y.delete(e),P;case tn:if(Tr)return Tr.call(e)==Tr.call(t)}return!1}function Kp(e,t,s,u,d,b){var y=s&w,R=ua(e),A=R.length,M=ua(t),P=M.length;if(A!=P&&!y)return!1;for(var D=A;D--;){var G=R[D];if(!(y?G in t:ce.call(t,G)))return!1}var q=b.get(e),j=b.get(t);if(q&&j)return q==t&&j==e;var Q=!0;b.set(e,t),b.set(t,e);for(var X=y;++D<A;){G=R[D];var te=e[G],ne=t[G];if(u)var Ge=y?u(ne,te,G,t,e,b):u(te,ne,G,e,t,b);if(!(Ge===r?te===ne||d(te,ne,s,u,b):Ge)){Q=!1;break}X||(X=G=="constructor")}if(Q&&!X){var Fe=e.constructor,Ke=t.constructor;Fe!=Ke&&"constructor"in e&&"constructor"in t&&!(typeof Fe=="function"&&Fe instanceof Fe&&typeof Ke=="function"&&Ke instanceof Ke)&&(Q=!1)}return b.delete(e),b.delete(t),Q}function St(e){return ba(cf(e,r,mf),e+"")}function ua(e){return wo(e,Re,da)}function pa(e){return wo(e,Ue,nf)}var Ia=bn?function(e){return bn.get(e)}:Ma;function Pn(e){for(var t=e.name+"",s=fr[t],u=ce.call(fr,t)?s.length:0;u--;){var d=s[u],b=d.func;if(b==null||b==e)return d.name}return t}function ur(e){var t=ce.call(S,"placeholder")?S:e;return t.placeholder}function $(){var e=S.iteratee||Fa;return e=e===Fa?Bo:e,arguments.length?e(arguments[0],arguments[1]):e}function Un(e,t){var s=e.__data__;return Jp(t)?s[typeof t=="string"?"string":"hash"]:s.map}function ha(e){for(var t=Re(e),s=t.length;s--;){var u=t[s],d=e[u];t[s]=[u,d,of(d)]}return t}function qt(e,t){var s=Ql(e,t);return Oo(s)?s:r}function Vp(e){var t=ce.call(e,Nt),s=e[Nt];try{e[Nt]=r;var u=!0}catch{}var d=un.call(e);return u&&(t?e[Nt]=s:delete e[Nt]),d}var da=Vs?function(e){return e==null?[]:(e=ge(e),_t(Vs(e),function(t){return fo.call(e,t)}))}:Pa,nf=Vs?function(e){for(var t=[];e;)Et(t,da(e)),e=hn(e);return t}:Pa,_e=Ee;(qs&&_e(new qs(new ArrayBuffer(1)))!=er||Er&&_e(new Er)!=et||Ws&&_e(Ws.resolve())!=mi||or&&_e(new or)!=tt||Cr&&_e(new Cr)!=Br)&&(_e=function(e){var t=Ee(e),s=t==It?e.constructor:r,u=s?Wt(s):"";if(u)switch(u){case Bu:return er;case Au:return et;case xu:return mi;case _u:return tt;case Eu:return Br}return t});function qp(e,t,s){for(var u=-1,d=s.length;++u<d;){var b=s[u],y=b.size;switch(b.type){case"drop":e+=y;break;case"dropRight":t-=y;break;case"take":t=xe(t,e+y);break;case"takeRight":e=ye(e,t-y);break}}return{start:e,end:t}}function Wp(e){var t=e.match(Zg);return t?t[1].split(Yg):[]}function sf(e,t,s){t=Pt(t,e);for(var u=-1,d=t.length,b=!1;++u<d;){var y=ct(t[u]);if(!(b=e!=null&&s(e,y)))break;e=e[y]}return b||++u!=d?b:(d=e==null?0:e.length,!!d&&Kn(d)&&bt(y,d)&&(Z(e)||$t(e)))}function $p(e){var t=e.length,s=new e.constructor(t);return t&&typeof e[0]=="string"&&ce.call(e,"index")&&(s.index=e.index,s.input=e.input),s}function af(e){return typeof e.constructor=="function"&&!Nr(e)?cr(hn(e)):{}}function jp(e,t,s){var u=e.constructor;switch(t){case Ar:return ca(e);case br:case yr:return new u(+e);case er:return Cp(e,s);case hs:case ds:case vs:case ms:case Ss:case bs:case ys:case ws:case Rs:return Go(e,s);case et:return new u;case wr:case Or:return new u(e);case Rr:return Fp(e);case tt:return new u;case tn:return Tp(e)}}function Xp(e,t){var s=t.length;if(!s)return e;var u=s-1;return t[u]=(s>1?"& ":"")+t[u],t=t.join(s>2?", ":" "),e.replace(Jg,`{
|
|
8
|
+
*/ts.exports;(function(a,n){(function(){var r,o="4.17.21",f=200,i="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",c="Expected a function",g="Invalid `variable` option passed into `_.template`",l="__lodash_hash_undefined__",p=500,I="__lodash_placeholder__",h=1,v=2,m=4,w=1,B=2,x=1,C=2,H=4,F=8,N=16,_=32,U=64,L=128,W=256,z=512,de=30,ie="...",fe=800,Be=16,$e=1,Fg=2,Tg=3,Lt=1/0,Ct=9007199254740991,Mg=17976931348623157e292,en=0/0,ct=4294967295,Pg=ct-1,Ug=ct>>>1,kg=[["ary",L],["bind",x],["bindKey",C],["curry",F],["curryRight",N],["flip",z],["partial",_],["partialRight",U],["rearg",W]],rr="[object Arguments]",tn="[object Array]",Dg="[object AsyncFunction]",Rr="[object Boolean]",Or="[object Date]",Hg="[object DOMException]",rn="[object Error]",nn="[object Function]",bi="[object GeneratorFunction]",nt="[object Map]",Br="[object Number]",Ng="[object Null]",vt="[object Object]",yi="[object Promise]",Lg="[object Proxy]",Ar="[object RegExp]",st="[object Set]",xr="[object String]",sn="[object Symbol]",Gg="[object Undefined]",_r="[object WeakMap]",Kg="[object WeakSet]",Er="[object ArrayBuffer]",nr="[object DataView]",ms="[object Float32Array]",Ss="[object Float64Array]",bs="[object Int8Array]",ys="[object Int16Array]",ws="[object Int32Array]",Rs="[object Uint8Array]",Os="[object Uint8ClampedArray]",Bs="[object Uint16Array]",As="[object Uint32Array]",Vg=/\b__p \+= '';/g,qg=/\b(__p \+=) '' \+/g,Wg=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wi=/&(?:amp|lt|gt|quot|#39);/g,Ri=/[&<>"']/g,$g=RegExp(wi.source),jg=RegExp(Ri.source),Xg=/<%-([\s\S]+?)%>/g,zg=/<%([\s\S]+?)%>/g,Oi=/<%=([\s\S]+?)%>/g,Jg=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Zg=/^\w*$/,Yg=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,xs=/[\\^$.*+?()[\]{}|]/g,Qg=RegExp(xs.source),_s=/^\s+/,el=/\s/,tl=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,rl=/\{\n\/\* \[wrapped with (.+)\] \*/,nl=/,? & /,sl=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,al=/[()=,{}\[\]\/\s]/,il=/\\(\\)?/g,ol=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Bi=/\w*$/,fl=/^[-+]0x[0-9a-f]+$/i,cl=/^0b[01]+$/i,gl=/^\[object .+?Constructor\]$/,ll=/^0o[0-7]+$/i,ul=/^(?:0|[1-9]\d*)$/,pl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,an=/($^)/,Il=/['\n\r\u2028\u2029\\]/g,on="\\ud800-\\udfff",hl="\\u0300-\\u036f",dl="\\ufe20-\\ufe2f",vl="\\u20d0-\\u20ff",Ai=hl+dl+vl,xi="\\u2700-\\u27bf",_i="a-z\\xdf-\\xf6\\xf8-\\xff",ml="\\xac\\xb1\\xd7\\xf7",Sl="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",bl="\\u2000-\\u206f",yl=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ei="A-Z\\xc0-\\xd6\\xd8-\\xde",Ci="\\ufe0e\\ufe0f",Fi=ml+Sl+bl+yl,Es="['’]",wl="["+on+"]",Ti="["+Fi+"]",fn="["+Ai+"]",Mi="\\d+",Rl="["+xi+"]",Pi="["+_i+"]",Ui="[^"+on+Fi+Mi+xi+_i+Ei+"]",Cs="\\ud83c[\\udffb-\\udfff]",Ol="(?:"+fn+"|"+Cs+")",ki="[^"+on+"]",Fs="(?:\\ud83c[\\udde6-\\uddff]){2}",Ts="[\\ud800-\\udbff][\\udc00-\\udfff]",sr="["+Ei+"]",Di="\\u200d",Hi="(?:"+Pi+"|"+Ui+")",Bl="(?:"+sr+"|"+Ui+")",Ni="(?:"+Es+"(?:d|ll|m|re|s|t|ve))?",Li="(?:"+Es+"(?:D|LL|M|RE|S|T|VE))?",Gi=Ol+"?",Ki="["+Ci+"]?",Al="(?:"+Di+"(?:"+[ki,Fs,Ts].join("|")+")"+Ki+Gi+")*",xl="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",_l="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Vi=Ki+Gi+Al,El="(?:"+[Rl,Fs,Ts].join("|")+")"+Vi,Cl="(?:"+[ki+fn+"?",fn,Fs,Ts,wl].join("|")+")",Fl=RegExp(Es,"g"),Tl=RegExp(fn,"g"),Ms=RegExp(Cs+"(?="+Cs+")|"+Cl+Vi,"g"),Ml=RegExp([sr+"?"+Pi+"+"+Ni+"(?="+[Ti,sr,"$"].join("|")+")",Bl+"+"+Li+"(?="+[Ti,sr+Hi,"$"].join("|")+")",sr+"?"+Hi+"+"+Ni,sr+"+"+Li,_l,xl,Mi,El].join("|"),"g"),Pl=RegExp("["+Di+on+Ai+Ci+"]"),Ul=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,kl=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Dl=-1,pe={};pe[ms]=pe[Ss]=pe[bs]=pe[ys]=pe[ws]=pe[Rs]=pe[Os]=pe[Bs]=pe[As]=!0,pe[rr]=pe[tn]=pe[Er]=pe[Rr]=pe[nr]=pe[Or]=pe[rn]=pe[nn]=pe[nt]=pe[Br]=pe[vt]=pe[Ar]=pe[st]=pe[xr]=pe[_r]=!1;var ue={};ue[rr]=ue[tn]=ue[Er]=ue[nr]=ue[Rr]=ue[Or]=ue[ms]=ue[Ss]=ue[bs]=ue[ys]=ue[ws]=ue[nt]=ue[Br]=ue[vt]=ue[Ar]=ue[st]=ue[xr]=ue[sn]=ue[Rs]=ue[Os]=ue[Bs]=ue[As]=!0,ue[rn]=ue[nn]=ue[_r]=!1;var Hl={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Nl={"&":"&","<":"<",">":">",'"':""","'":"'"},Ll={"&":"&","<":"<",">":">",""":'"',"'":"'"},Gl={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Kl=parseFloat,Vl=parseInt,qi=typeof Wr=="object"&&Wr&&Wr.Object===Object&&Wr,ql=typeof self=="object"&&self&&self.Object===Object&&self,_e=qi||ql||Function("return this")(),Ps=n&&!n.nodeType&&n,Gt=Ps&&!0&&a&&!a.nodeType&&a,Wi=Gt&&Gt.exports===Ps,Us=Wi&&qi.process,je=function(){try{var O=Gt&&Gt.require&&Gt.require("util").types;return O||Us&&Us.binding&&Us.binding("util")}catch(T){}}(),$i=je&&je.isArrayBuffer,ji=je&&je.isDate,Xi=je&&je.isMap,zi=je&&je.isRegExp,Ji=je&&je.isSet,Zi=je&&je.isTypedArray;function Le(O,T,E){switch(E.length){case 0:return O.call(T);case 1:return O.call(T,E[0]);case 2:return O.call(T,E[0],E[1]);case 3:return O.call(T,E[0],E[1],E[2])}return O.apply(T,E)}function Wl(O,T,E,K){for(var J=-1,oe=O==null?0:O.length;++J<oe;){var Re=O[J];T(K,Re,E(Re),O)}return K}function Xe(O,T){for(var E=-1,K=O==null?0:O.length;++E<K&&T(O[E],E,O)!==!1;);return O}function $l(O,T){for(var E=O==null?0:O.length;E--&&T(O[E],E,O)!==!1;);return O}function Yi(O,T){for(var E=-1,K=O==null?0:O.length;++E<K;)if(!T(O[E],E,O))return!1;return!0}function Ft(O,T){for(var E=-1,K=O==null?0:O.length,J=0,oe=[];++E<K;){var Re=O[E];T(Re,E,O)&&(oe[J++]=Re)}return oe}function cn(O,T){var E=O==null?0:O.length;return!!E&&ar(O,T,0)>-1}function ks(O,T,E){for(var K=-1,J=O==null?0:O.length;++K<J;)if(E(T,O[K]))return!0;return!1}function Ie(O,T){for(var E=-1,K=O==null?0:O.length,J=Array(K);++E<K;)J[E]=T(O[E],E,O);return J}function Tt(O,T){for(var E=-1,K=T.length,J=O.length;++E<K;)O[J+E]=T[E];return O}function Ds(O,T,E,K){var J=-1,oe=O==null?0:O.length;for(K&&oe&&(E=O[++J]);++J<oe;)E=T(E,O[J],J,O);return E}function jl(O,T,E,K){var J=O==null?0:O.length;for(K&&J&&(E=O[--J]);J--;)E=T(E,O[J],J,O);return E}function Hs(O,T){for(var E=-1,K=O==null?0:O.length;++E<K;)if(T(O[E],E,O))return!0;return!1}var Xl=Ns("length");function zl(O){return O.split("")}function Jl(O){return O.match(sl)||[]}function Qi(O,T,E){var K;return E(O,function(J,oe,Re){if(T(J,oe,Re))return K=oe,!1}),K}function gn(O,T,E,K){for(var J=O.length,oe=E+(K?1:-1);K?oe--:++oe<J;)if(T(O[oe],oe,O))return oe;return-1}function ar(O,T,E){return T===T?fu(O,T,E):gn(O,eo,E)}function Zl(O,T,E,K){for(var J=E-1,oe=O.length;++J<oe;)if(K(O[J],T))return J;return-1}function eo(O){return O!==O}function to(O,T){var E=O==null?0:O.length;return E?Gs(O,T)/E:en}function Ns(O){return function(T){return T==null?r:T[O]}}function Ls(O){return function(T){return O==null?r:O[T]}}function ro(O,T,E,K,J){return J(O,function(oe,Re,le){E=K?(K=!1,oe):T(E,oe,Re,le)}),E}function Yl(O,T){var E=O.length;for(O.sort(T);E--;)O[E]=O[E].value;return O}function Gs(O,T){for(var E,K=-1,J=O.length;++K<J;){var oe=T(O[K]);oe!==r&&(E=E===r?oe:E+oe)}return E}function Ks(O,T){for(var E=-1,K=Array(O);++E<O;)K[E]=T(E);return K}function Ql(O,T){return Ie(T,function(E){return[E,O[E]]})}function no(O){return O&&O.slice(0,oo(O)+1).replace(_s,"")}function Ge(O){return function(T){return O(T)}}function Vs(O,T){return Ie(T,function(E){return O[E]})}function Cr(O,T){return O.has(T)}function so(O,T){for(var E=-1,K=O.length;++E<K&&ar(T,O[E],0)>-1;);return E}function ao(O,T){for(var E=O.length;E--&&ar(T,O[E],0)>-1;);return E}function eu(O,T){for(var E=O.length,K=0;E--;)O[E]===T&&++K;return K}var tu=Ls(Hl),ru=Ls(Nl);function nu(O){return"\\"+Gl[O]}function su(O,T){return O==null?r:O[T]}function ir(O){return Pl.test(O)}function au(O){return Ul.test(O)}function iu(O){for(var T,E=[];!(T=O.next()).done;)E.push(T.value);return E}function qs(O){var T=-1,E=Array(O.size);return O.forEach(function(K,J){E[++T]=[J,K]}),E}function io(O,T){return function(E){return O(T(E))}}function Mt(O,T){for(var E=-1,K=O.length,J=0,oe=[];++E<K;){var Re=O[E];(Re===T||Re===I)&&(O[E]=I,oe[J++]=E)}return oe}function ln(O){var T=-1,E=Array(O.size);return O.forEach(function(K){E[++T]=K}),E}function ou(O){var T=-1,E=Array(O.size);return O.forEach(function(K){E[++T]=[K,K]}),E}function fu(O,T,E){for(var K=E-1,J=O.length;++K<J;)if(O[K]===T)return K;return-1}function cu(O,T,E){for(var K=E+1;K--;)if(O[K]===T)return K;return K}function or(O){return ir(O)?lu(O):Xl(O)}function at(O){return ir(O)?uu(O):zl(O)}function oo(O){for(var T=O.length;T--&&el.test(O.charAt(T)););return T}var gu=Ls(Ll);function lu(O){for(var T=Ms.lastIndex=0;Ms.test(O);)++T;return T}function uu(O){return O.match(Ms)||[]}function pu(O){return O.match(Ml)||[]}var Iu=function O(T){T=T==null?_e:fr.defaults(_e.Object(),T,fr.pick(_e,kl));var E=T.Array,K=T.Date,J=T.Error,oe=T.Function,Re=T.Math,le=T.Object,Ws=T.RegExp,hu=T.String,ze=T.TypeError,un=E.prototype,du=oe.prototype,cr=le.prototype,pn=T["__core-js_shared__"],In=du.toString,ge=cr.hasOwnProperty,vu=0,fo=function(){var e=/[^.]+$/.exec(pn&&pn.keys&&pn.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),hn=cr.toString,mu=In.call(le),Su=_e._,bu=Ws("^"+In.call(ge).replace(xs,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),dn=Wi?T.Buffer:r,Pt=T.Symbol,vn=T.Uint8Array,co=dn?dn.allocUnsafe:r,mn=io(le.getPrototypeOf,le),go=le.create,lo=cr.propertyIsEnumerable,Sn=un.splice,uo=Pt?Pt.isConcatSpreadable:r,Fr=Pt?Pt.iterator:r,Kt=Pt?Pt.toStringTag:r,bn=function(){try{var e=jt(le,"defineProperty");return e({},"",{}),e}catch(t){}}(),yu=T.clearTimeout!==_e.clearTimeout&&T.clearTimeout,wu=K&&K.now!==_e.Date.now&&K.now,Ru=T.setTimeout!==_e.setTimeout&&T.setTimeout,yn=Re.ceil,wn=Re.floor,$s=le.getOwnPropertySymbols,Ou=dn?dn.isBuffer:r,po=T.isFinite,Bu=un.join,Au=io(le.keys,le),Oe=Re.max,Ce=Re.min,xu=K.now,_u=T.parseInt,Io=Re.random,Eu=un.reverse,js=jt(T,"DataView"),Tr=jt(T,"Map"),Xs=jt(T,"Promise"),gr=jt(T,"Set"),Mr=jt(T,"WeakMap"),Pr=jt(le,"create"),Rn=Mr&&new Mr,lr={},Cu=Xt(js),Fu=Xt(Tr),Tu=Xt(Xs),Mu=Xt(gr),Pu=Xt(Mr),On=Pt?Pt.prototype:r,Ur=On?On.valueOf:r,ho=On?On.toString:r;function S(e){if(me(e)&&!Z(e)&&!(e instanceof re)){if(e instanceof Je)return e;if(ge.call(e,"__wrapped__"))return mf(e)}return new Je(e)}var ur=function(){function e(){}return function(t){if(!ve(t))return{};if(go)return go(t);e.prototype=t;var s=new e;return e.prototype=r,s}}();function Bn(){}function Je(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=r}S.templateSettings={escape:Xg,evaluate:zg,interpolate:Oi,variable:"",imports:{_:S}},S.prototype=Bn.prototype,S.prototype.constructor=S,Je.prototype=ur(Bn.prototype),Je.prototype.constructor=Je;function re(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ct,this.__views__=[]}function Uu(){var e=new re(this.__wrapped__);return e.__actions__=ke(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=ke(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=ke(this.__views__),e}function ku(){if(this.__filtered__){var e=new re(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function Du(){var e=this.__wrapped__.value(),t=this.__dir__,s=Z(e),u=t<0,d=s?e.length:0,b=zp(0,d,this.__views__),y=b.start,R=b.end,A=R-y,M=u?R:y-1,P=this.__iteratees__,D=P.length,G=0,q=Ce(A,this.__takeCount__);if(!s||!u&&d==A&&q==A)return Lo(e,this.__actions__);var j=[];e:for(;A--&&G<q;){M+=t;for(var Q=-1,X=e[M];++Q<D;){var te=P[Q],ne=te.iteratee,qe=te.type,Pe=ne(X);if(qe==Fg)X=Pe;else if(!Pe){if(qe==$e)continue e;break e}}j[G++]=X}return j}re.prototype=ur(Bn.prototype),re.prototype.constructor=re;function Vt(e){var t=-1,s=e==null?0:e.length;for(this.clear();++t<s;){var u=e[t];this.set(u[0],u[1])}}function Hu(){this.__data__=Pr?Pr(null):{},this.size=0}function Nu(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function Lu(e){var t=this.__data__;if(Pr){var s=t[e];return s===l?r:s}return ge.call(t,e)?t[e]:r}function Gu(e){var t=this.__data__;return Pr?t[e]!==r:ge.call(t,e)}function Ku(e,t){var s=this.__data__;return this.size+=this.has(e)?0:1,s[e]=Pr&&t===r?l:t,this}Vt.prototype.clear=Hu,Vt.prototype.delete=Nu,Vt.prototype.get=Lu,Vt.prototype.has=Gu,Vt.prototype.set=Ku;function mt(e){var t=-1,s=e==null?0:e.length;for(this.clear();++t<s;){var u=e[t];this.set(u[0],u[1])}}function Vu(){this.__data__=[],this.size=0}function qu(e){var t=this.__data__,s=An(t,e);if(s<0)return!1;var u=t.length-1;return s==u?t.pop():Sn.call(t,s,1),--this.size,!0}function Wu(e){var t=this.__data__,s=An(t,e);return s<0?r:t[s][1]}function $u(e){return An(this.__data__,e)>-1}function ju(e,t){var s=this.__data__,u=An(s,e);return u<0?(++this.size,s.push([e,t])):s[u][1]=t,this}mt.prototype.clear=Vu,mt.prototype.delete=qu,mt.prototype.get=Wu,mt.prototype.has=$u,mt.prototype.set=ju;function St(e){var t=-1,s=e==null?0:e.length;for(this.clear();++t<s;){var u=e[t];this.set(u[0],u[1])}}function Xu(){this.size=0,this.__data__={hash:new Vt,map:new(Tr||mt),string:new Vt}}function zu(e){var t=Hn(this,e).delete(e);return this.size-=t?1:0,t}function Ju(e){return Hn(this,e).get(e)}function Zu(e){return Hn(this,e).has(e)}function Yu(e,t){var s=Hn(this,e),u=s.size;return s.set(e,t),this.size+=s.size==u?0:1,this}St.prototype.clear=Xu,St.prototype.delete=zu,St.prototype.get=Ju,St.prototype.has=Zu,St.prototype.set=Yu;function qt(e){var t=-1,s=e==null?0:e.length;for(this.__data__=new St;++t<s;)this.add(e[t])}function Qu(e){return this.__data__.set(e,l),this}function ep(e){return this.__data__.has(e)}qt.prototype.add=qt.prototype.push=Qu,qt.prototype.has=ep;function it(e){var t=this.__data__=new mt(e);this.size=t.size}function tp(){this.__data__=new mt,this.size=0}function rp(e){var t=this.__data__,s=t.delete(e);return this.size=t.size,s}function np(e){return this.__data__.get(e)}function sp(e){return this.__data__.has(e)}function ap(e,t){var s=this.__data__;if(s instanceof mt){var u=s.__data__;if(!Tr||u.length<f-1)return u.push([e,t]),this.size=++s.size,this;s=this.__data__=new St(u)}return s.set(e,t),this.size=s.size,this}it.prototype.clear=tp,it.prototype.delete=rp,it.prototype.get=np,it.prototype.has=sp,it.prototype.set=ap;function vo(e,t){var s=Z(e),u=!s&&zt(e),d=!s&&!u&&Nt(e),b=!s&&!u&&!d&&dr(e),y=s||u||d||b,R=y?Ks(e.length,hu):[],A=R.length;for(var M in e)(t||ge.call(e,M))&&!(y&&(M=="length"||d&&(M=="offset"||M=="parent")||b&&(M=="buffer"||M=="byteLength"||M=="byteOffset")||Rt(M,A)))&&R.push(M);return R}function mo(e){var t=e.length;return t?e[aa(0,t-1)]:r}function ip(e,t){return Nn(ke(e),Wt(t,0,e.length))}function op(e){return Nn(ke(e))}function zs(e,t,s){(s!==r&&!ot(e[t],s)||s===r&&!(t in e))&&bt(e,t,s)}function kr(e,t,s){var u=e[t];(!(ge.call(e,t)&&ot(u,s))||s===r&&!(t in e))&&bt(e,t,s)}function An(e,t){for(var s=e.length;s--;)if(ot(e[s][0],t))return s;return-1}function fp(e,t,s,u){return Ut(e,function(d,b,y){t(u,d,s(d),y)}),u}function So(e,t){return e&<(t,Ae(t),e)}function cp(e,t){return e&<(t,He(t),e)}function bt(e,t,s){t=="__proto__"&&bn?bn(e,t,{configurable:!0,enumerable:!0,value:s,writable:!0}):e[t]=s}function Js(e,t){for(var s=-1,u=t.length,d=E(u),b=e==null;++s<u;)d[s]=b?r:Ca(e,t[s]);return d}function Wt(e,t,s){return e===e&&(s!==r&&(e=e<=s?e:s),t!==r&&(e=e>=t?e:t)),e}function Ze(e,t,s,u,d,b){var y,R=t&h,A=t&v,M=t&m;if(s&&(y=d?s(e,u,d,b):s(e)),y!==r)return y;if(!ve(e))return e;var P=Z(e);if(P){if(y=Zp(e),!R)return ke(e,y)}else{var D=Fe(e),G=D==nn||D==bi;if(Nt(e))return Vo(e,R);if(D==vt||D==rr||G&&!d){if(y=A||G?{}:cf(e),!R)return A?Lp(e,cp(y,e)):Np(e,So(y,e))}else{if(!ue[D])return d?e:{};y=Yp(e,D,R)}}b||(b=new it);var q=b.get(e);if(q)return q;b.set(e,y),Hf(e)?e.forEach(function(X){y.add(Ze(X,t,s,X,e,b))}):kf(e)&&e.forEach(function(X,te){y.set(te,Ze(X,t,s,te,e,b))});var j=M?A?da:ha:A?He:Ae,Q=P?r:j(e);return Xe(Q||e,function(X,te){Q&&(te=X,X=e[te]),kr(y,te,Ze(X,t,s,te,e,b))}),y}function gp(e){var t=Ae(e);return function(s){return bo(s,e,t)}}function bo(e,t,s){var u=s.length;if(e==null)return!u;for(e=le(e);u--;){var d=s[u],b=t[d],y=e[d];if(y===r&&!(d in e)||!b(y))return!1}return!0}function yo(e,t,s){if(typeof e!="function")throw new ze(c);return Vr(function(){e.apply(r,s)},t)}function Dr(e,t,s,u){var d=-1,b=cn,y=!0,R=e.length,A=[],M=t.length;if(!R)return A;s&&(t=Ie(t,Ge(s))),u?(b=ks,y=!1):t.length>=f&&(b=Cr,y=!1,t=new qt(t));e:for(;++d<R;){var P=e[d],D=s==null?P:s(P);if(P=u||P!==0?P:0,y&&D===D){for(var G=M;G--;)if(t[G]===D)continue e;A.push(P)}else b(t,D,u)||A.push(P)}return A}var Ut=Xo(gt),wo=Xo(Ys,!0);function lp(e,t){var s=!0;return Ut(e,function(u,d,b){return s=!!t(u,d,b),s}),s}function xn(e,t,s){for(var u=-1,d=e.length;++u<d;){var b=e[u],y=t(b);if(y!=null&&(R===r?y===y&&!Ve(y):s(y,R)))var R=y,A=b}return A}function up(e,t,s,u){var d=e.length;for(s=Y(s),s<0&&(s=-s>d?0:d+s),u=u===r||u>d?d:Y(u),u<0&&(u+=d),u=s>u?0:Lf(u);s<u;)e[s++]=t;return e}function Ro(e,t){var s=[];return Ut(e,function(u,d,b){t(u,d,b)&&s.push(u)}),s}function Ee(e,t,s,u,d){var b=-1,y=e.length;for(s||(s=eI),d||(d=[]);++b<y;){var R=e[b];t>0&&s(R)?t>1?Ee(R,t-1,s,u,d):Tt(d,R):u||(d[d.length]=R)}return d}var Zs=zo(),Oo=zo(!0);function gt(e,t){return e&&Zs(e,t,Ae)}function Ys(e,t){return e&&Oo(e,t,Ae)}function _n(e,t){return Ft(t,function(s){return Ot(e[s])})}function $t(e,t){t=Dt(t,e);for(var s=0,u=t.length;e!=null&&s<u;)e=e[ut(t[s++])];return s&&s==u?e:r}function Bo(e,t,s){var u=t(e);return Z(e)?u:Tt(u,s(e))}function Te(e){return e==null?e===r?Gg:Ng:Kt&&Kt in le(e)?Xp(e):oI(e)}function Qs(e,t){return e>t}function pp(e,t){return e!=null&&ge.call(e,t)}function Ip(e,t){return e!=null&&t in le(e)}function hp(e,t,s){return e>=Ce(t,s)&&e<Oe(t,s)}function ea(e,t,s){for(var u=s?ks:cn,d=e[0].length,b=e.length,y=b,R=E(b),A=1/0,M=[];y--;){var P=e[y];y&&t&&(P=Ie(P,Ge(t))),A=Ce(P.length,A),R[y]=!s&&(t||d>=120&&P.length>=120)?new qt(y&&P):r}P=e[0];var D=-1,G=R[0];e:for(;++D<d&&M.length<A;){var q=P[D],j=t?t(q):q;if(q=s||q!==0?q:0,!(G?Cr(G,j):u(M,j,s))){for(y=b;--y;){var Q=R[y];if(!(Q?Cr(Q,j):u(e[y],j,s)))continue e}G&&G.push(j),M.push(q)}}return M}function dp(e,t,s,u){return gt(e,function(d,b,y){t(u,s(d),b,y)}),u}function Hr(e,t,s){t=Dt(t,e),e=pf(e,t);var u=e==null?e:e[ut(Qe(t))];return u==null?r:Le(u,e,s)}function Ao(e){return me(e)&&Te(e)==rr}function vp(e){return me(e)&&Te(e)==Er}function mp(e){return me(e)&&Te(e)==Or}function Nr(e,t,s,u,d){return e===t?!0:e==null||t==null||!me(e)&&!me(t)?e!==e&&t!==t:Sp(e,t,s,u,Nr,d)}function Sp(e,t,s,u,d,b){var y=Z(e),R=Z(t),A=y?tn:Fe(e),M=R?tn:Fe(t);A=A==rr?vt:A,M=M==rr?vt:M;var P=A==vt,D=M==vt,G=A==M;if(G&&Nt(e)){if(!Nt(t))return!1;y=!0,P=!1}if(G&&!P)return b||(b=new it),y||dr(e)?af(e,t,s,u,d,b):$p(e,t,A,s,u,d,b);if(!(s&w)){var q=P&&ge.call(e,"__wrapped__"),j=D&&ge.call(t,"__wrapped__");if(q||j){var Q=q?e.value():e,X=j?t.value():t;return b||(b=new it),d(Q,X,s,u,b)}}return G?(b||(b=new it),jp(e,t,s,u,d,b)):!1}function bp(e){return me(e)&&Fe(e)==nt}function ta(e,t,s,u){var d=s.length,b=d,y=!u;if(e==null)return!b;for(e=le(e);d--;){var R=s[d];if(y&&R[2]?R[1]!==e[R[0]]:!(R[0]in e))return!1}for(;++d<b;){R=s[d];var A=R[0],M=e[A],P=R[1];if(y&&R[2]){if(M===r&&!(A in e))return!1}else{var D=new it;if(u)var G=u(M,P,A,e,t,D);if(!(G===r?Nr(P,M,w|B,u,D):G))return!1}}return!0}function xo(e){if(!ve(e)||rI(e))return!1;var t=Ot(e)?bu:gl;return t.test(Xt(e))}function yp(e){return me(e)&&Te(e)==Ar}function wp(e){return me(e)&&Fe(e)==st}function Rp(e){return me(e)&&Wn(e.length)&&!!pe[Te(e)]}function _o(e){return typeof e=="function"?e:e==null?Ne:typeof e=="object"?Z(e)?Fo(e[0],e[1]):Co(e):Zf(e)}function ra(e){if(!Kr(e))return Au(e);var t=[];for(var s in le(e))ge.call(e,s)&&s!="constructor"&&t.push(s);return t}function Op(e){if(!ve(e))return iI(e);var t=Kr(e),s=[];for(var u in e)u=="constructor"&&(t||!ge.call(e,u))||s.push(u);return s}function na(e,t){return e<t}function Eo(e,t){var s=-1,u=De(e)?E(e.length):[];return Ut(e,function(d,b,y){u[++s]=t(d,b,y)}),u}function Co(e){var t=ma(e);return t.length==1&&t[0][2]?lf(t[0][0],t[0][1]):function(s){return s===e||ta(s,e,t)}}function Fo(e,t){return ba(e)&&gf(t)?lf(ut(e),t):function(s){var u=Ca(s,e);return u===r&&u===t?Fa(s,e):Nr(t,u,w|B)}}function En(e,t,s,u,d){e!==t&&Zs(t,function(b,y){if(d||(d=new it),ve(b))Bp(e,t,y,s,En,u,d);else{var R=u?u(wa(e,y),b,y+"",e,t,d):r;R===r&&(R=b),zs(e,y,R)}},He)}function Bp(e,t,s,u,d,b,y){var R=wa(e,s),A=wa(t,s),M=y.get(A);if(M){zs(e,s,M);return}var P=b?b(R,A,s+"",e,t,y):r,D=P===r;if(D){var G=Z(A),q=!G&&Nt(A),j=!G&&!q&&dr(A);P=A,G||q||j?Z(R)?P=R:be(R)?P=ke(R):q?(D=!1,P=Vo(A,!0)):j?(D=!1,P=qo(A,!0)):P=[]:qr(A)||zt(A)?(P=R,zt(R)?P=Gf(R):(!ve(R)||Ot(R))&&(P=cf(A))):D=!1}D&&(y.set(A,P),d(P,A,u,b,y),y.delete(A)),zs(e,s,P)}function To(e,t){var s=e.length;if(s)return t+=t<0?s:0,Rt(t,s)?e[t]:r}function Mo(e,t,s){t.length?t=Ie(t,function(b){return Z(b)?function(y){return $t(y,b.length===1?b[0]:b)}:b}):t=[Ne];var u=-1;t=Ie(t,Ge($()));var d=Eo(e,function(b,y,R){var A=Ie(t,function(M){return M(b)});return{criteria:A,index:++u,value:b}});return Yl(d,function(b,y){return Hp(b,y,s)})}function Ap(e,t){return Po(e,t,function(s,u){return Fa(e,u)})}function Po(e,t,s){for(var u=-1,d=t.length,b={};++u<d;){var y=t[u],R=$t(e,y);s(R,y)&&Lr(b,Dt(y,e),R)}return b}function xp(e){return function(t){return $t(t,e)}}function sa(e,t,s,u){var d=u?Zl:ar,b=-1,y=t.length,R=e;for(e===t&&(t=ke(t)),s&&(R=Ie(e,Ge(s)));++b<y;)for(var A=0,M=t[b],P=s?s(M):M;(A=d(R,P,A,u))>-1;)R!==e&&Sn.call(R,A,1),Sn.call(e,A,1);return e}function Uo(e,t){for(var s=e?t.length:0,u=s-1;s--;){var d=t[s];if(s==u||d!==b){var b=d;Rt(d)?Sn.call(e,d,1):fa(e,d)}}return e}function aa(e,t){return e+wn(Io()*(t-e+1))}function _p(e,t,s,u){for(var d=-1,b=Oe(yn((t-e)/(s||1)),0),y=E(b);b--;)y[u?b:++d]=e,e+=s;return y}function ia(e,t){var s="";if(!e||t<1||t>Ct)return s;do t%2&&(s+=e),t=wn(t/2),t&&(e+=e);while(t);return s}function ee(e,t){return Ra(uf(e,t,Ne),e+"")}function Ep(e){return mo(vr(e))}function Cp(e,t){var s=vr(e);return Nn(s,Wt(t,0,s.length))}function Lr(e,t,s,u){if(!ve(e))return e;t=Dt(t,e);for(var d=-1,b=t.length,y=b-1,R=e;R!=null&&++d<b;){var A=ut(t[d]),M=s;if(A==="__proto__"||A==="constructor"||A==="prototype")return e;if(d!=y){var P=R[A];M=u?u(P,A,R):r,M===r&&(M=ve(P)?P:Rt(t[d+1])?[]:{})}kr(R,A,M),R=R[A]}return e}var ko=Rn?function(e,t){return Rn.set(e,t),e}:Ne,Fp=bn?function(e,t){return bn(e,"toString",{configurable:!0,enumerable:!1,value:Ma(t),writable:!0})}:Ne;function Tp(e){return Nn(vr(e))}function Ye(e,t,s){var u=-1,d=e.length;t<0&&(t=-t>d?0:d+t),s=s>d?d:s,s<0&&(s+=d),d=t>s?0:s-t>>>0,t>>>=0;for(var b=E(d);++u<d;)b[u]=e[u+t];return b}function Mp(e,t){var s;return Ut(e,function(u,d,b){return s=t(u,d,b),!s}),!!s}function Cn(e,t,s){var u=0,d=e==null?u:e.length;if(typeof t=="number"&&t===t&&d<=Ug){for(;u<d;){var b=u+d>>>1,y=e[b];y!==null&&!Ve(y)&&(s?y<=t:y<t)?u=b+1:d=b}return d}return oa(e,t,Ne,s)}function oa(e,t,s,u){var d=0,b=e==null?0:e.length;if(b===0)return 0;t=s(t);for(var y=t!==t,R=t===null,A=Ve(t),M=t===r;d<b;){var P=wn((d+b)/2),D=s(e[P]),G=D!==r,q=D===null,j=D===D,Q=Ve(D);if(y)var X=u||j;else M?X=j&&(u||G):R?X=j&&G&&(u||!q):A?X=j&&G&&!q&&(u||!Q):q||Q?X=!1:X=u?D<=t:D<t;X?d=P+1:b=P}return Ce(b,Pg)}function Do(e,t){for(var s=-1,u=e.length,d=0,b=[];++s<u;){var y=e[s],R=t?t(y):y;if(!s||!ot(R,A)){var A=R;b[d++]=y===0?0:y}}return b}function Ho(e){return typeof e=="number"?e:Ve(e)?en:+e}function Ke(e){if(typeof e=="string")return e;if(Z(e))return Ie(e,Ke)+"";if(Ve(e))return ho?ho.call(e):"";var t=e+"";return t=="0"&&1/e==-Lt?"-0":t}function kt(e,t,s){var u=-1,d=cn,b=e.length,y=!0,R=[],A=R;if(s)y=!1,d=ks;else if(b>=f){var M=t?null:qp(e);if(M)return ln(M);y=!1,d=Cr,A=new qt}else A=t?[]:R;e:for(;++u<b;){var P=e[u],D=t?t(P):P;if(P=s||P!==0?P:0,y&&D===D){for(var G=A.length;G--;)if(A[G]===D)continue e;t&&A.push(D),R.push(P)}else d(A,D,s)||(A!==R&&A.push(D),R.push(P))}return R}function fa(e,t){return t=Dt(t,e),e=pf(e,t),e==null||delete e[ut(Qe(t))]}function No(e,t,s,u){return Lr(e,t,s($t(e,t)),u)}function Fn(e,t,s,u){for(var d=e.length,b=u?d:-1;(u?b--:++b<d)&&t(e[b],b,e););return s?Ye(e,u?0:b,u?b+1:d):Ye(e,u?b+1:0,u?d:b)}function Lo(e,t){var s=e;return s instanceof re&&(s=s.value()),Ds(t,function(u,d){return d.func.apply(d.thisArg,Tt([u],d.args))},s)}function ca(e,t,s){var u=e.length;if(u<2)return u?kt(e[0]):[];for(var d=-1,b=E(u);++d<u;)for(var y=e[d],R=-1;++R<u;)R!=d&&(b[d]=Dr(b[d]||y,e[R],t,s));return kt(Ee(b,1),t,s)}function Go(e,t,s){for(var u=-1,d=e.length,b=t.length,y={};++u<d;){var R=u<b?t[u]:r;s(y,e[u],R)}return y}function ga(e){return be(e)?e:[]}function la(e){return typeof e=="function"?e:Ne}function Dt(e,t){return Z(e)?e:ba(e,t)?[e]:vf(ce(e))}var Pp=ee;function Ht(e,t,s){var u=e.length;return s=s===r?u:s,!t&&s>=u?e:Ye(e,t,s)}var Ko=yu||function(e){return _e.clearTimeout(e)};function Vo(e,t){if(t)return e.slice();var s=e.length,u=co?co(s):new e.constructor(s);return e.copy(u),u}function ua(e){var t=new e.constructor(e.byteLength);return new vn(t).set(new vn(e)),t}function Up(e,t){var s=t?ua(e.buffer):e.buffer;return new e.constructor(s,e.byteOffset,e.byteLength)}function kp(e){var t=new e.constructor(e.source,Bi.exec(e));return t.lastIndex=e.lastIndex,t}function Dp(e){return Ur?le(Ur.call(e)):{}}function qo(e,t){var s=t?ua(e.buffer):e.buffer;return new e.constructor(s,e.byteOffset,e.length)}function Wo(e,t){if(e!==t){var s=e!==r,u=e===null,d=e===e,b=Ve(e),y=t!==r,R=t===null,A=t===t,M=Ve(t);if(!R&&!M&&!b&&e>t||b&&y&&A&&!R&&!M||u&&y&&A||!s&&A||!d)return 1;if(!u&&!b&&!M&&e<t||M&&s&&d&&!u&&!b||R&&s&&d||!y&&d||!A)return-1}return 0}function Hp(e,t,s){for(var u=-1,d=e.criteria,b=t.criteria,y=d.length,R=s.length;++u<y;){var A=Wo(d[u],b[u]);if(A){if(u>=R)return A;var M=s[u];return A*(M=="desc"?-1:1)}}return e.index-t.index}function $o(e,t,s,u){for(var d=-1,b=e.length,y=s.length,R=-1,A=t.length,M=Oe(b-y,0),P=E(A+M),D=!u;++R<A;)P[R]=t[R];for(;++d<y;)(D||d<b)&&(P[s[d]]=e[d]);for(;M--;)P[R++]=e[d++];return P}function jo(e,t,s,u){for(var d=-1,b=e.length,y=-1,R=s.length,A=-1,M=t.length,P=Oe(b-R,0),D=E(P+M),G=!u;++d<P;)D[d]=e[d];for(var q=d;++A<M;)D[q+A]=t[A];for(;++y<R;)(G||d<b)&&(D[q+s[y]]=e[d++]);return D}function ke(e,t){var s=-1,u=e.length;for(t||(t=E(u));++s<u;)t[s]=e[s];return t}function lt(e,t,s,u){var d=!s;s||(s={});for(var b=-1,y=t.length;++b<y;){var R=t[b],A=u?u(s[R],e[R],R,s,e):r;A===r&&(A=e[R]),d?bt(s,R,A):kr(s,R,A)}return s}function Np(e,t){return lt(e,Sa(e),t)}function Lp(e,t){return lt(e,of(e),t)}function Tn(e,t){return function(s,u){var d=Z(s)?Wl:fp,b=t?t():{};return d(s,e,$(u,2),b)}}function pr(e){return ee(function(t,s){var u=-1,d=s.length,b=d>1?s[d-1]:r,y=d>2?s[2]:r;for(b=e.length>3&&typeof b=="function"?(d--,b):r,y&&Me(s[0],s[1],y)&&(b=d<3?r:b,d=1),t=le(t);++u<d;){var R=s[u];R&&e(t,R,u,b)}return t})}function Xo(e,t){return function(s,u){if(s==null)return s;if(!De(s))return e(s,u);for(var d=s.length,b=t?d:-1,y=le(s);(t?b--:++b<d)&&u(y[b],b,y)!==!1;);return s}}function zo(e){return function(t,s,u){for(var d=-1,b=le(t),y=u(t),R=y.length;R--;){var A=y[e?R:++d];if(s(b[A],A,b)===!1)break}return t}}function Gp(e,t,s){var u=t&x,d=Gr(e);function b(){var y=this&&this!==_e&&this instanceof b?d:e;return y.apply(u?s:this,arguments)}return b}function Jo(e){return function(t){t=ce(t);var s=ir(t)?at(t):r,u=s?s[0]:t.charAt(0),d=s?Ht(s,1).join(""):t.slice(1);return u[e]()+d}}function Ir(e){return function(t){return Ds(zf(Xf(t).replace(Fl,"")),e,"")}}function Gr(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var s=ur(e.prototype),u=e.apply(s,t);return ve(u)?u:s}}function Kp(e,t,s){var u=Gr(e);function d(){for(var b=arguments.length,y=E(b),R=b,A=hr(d);R--;)y[R]=arguments[R];var M=b<3&&y[0]!==A&&y[b-1]!==A?[]:Mt(y,A);if(b-=M.length,b<s)return tf(e,t,Mn,d.placeholder,r,y,M,r,r,s-b);var P=this&&this!==_e&&this instanceof d?u:e;return Le(P,this,y)}return d}function Zo(e){return function(t,s,u){var d=le(t);if(!De(t)){var b=$(s,3);t=Ae(t),s=function(R){return b(d[R],R,d)}}var y=e(t,s,u);return y>-1?d[b?t[y]:y]:r}}function Yo(e){return wt(function(t){var s=t.length,u=s,d=Je.prototype.thru;for(e&&t.reverse();u--;){var b=t[u];if(typeof b!="function")throw new ze(c);if(d&&!y&&Dn(b)=="wrapper")var y=new Je([],!0)}for(u=y?u:s;++u<s;){b=t[u];var R=Dn(b),A=R=="wrapper"?va(b):r;A&&ya(A[0])&&A[1]==(L|F|_|W)&&!A[4].length&&A[9]==1?y=y[Dn(A[0])].apply(y,A[3]):y=b.length==1&&ya(b)?y[R]():y.thru(b)}return function(){var M=arguments,P=M[0];if(y&&M.length==1&&Z(P))return y.plant(P).value();for(var D=0,G=s?t[D].apply(this,M):P;++D<s;)G=t[D].call(this,G);return G}})}function Mn(e,t,s,u,d,b,y,R,A,M){var P=t&L,D=t&x,G=t&C,q=t&(F|N),j=t&z,Q=G?r:Gr(e);function X(){for(var te=arguments.length,ne=E(te),qe=te;qe--;)ne[qe]=arguments[qe];if(q)var Pe=hr(X),We=eu(ne,Pe);if(u&&(ne=$o(ne,u,d,q)),b&&(ne=jo(ne,b,y,q)),te-=We,q&&te<M){var ye=Mt(ne,Pe);return tf(e,t,Mn,X.placeholder,s,ne,ye,R,A,M-te)}var ft=D?s:this,At=G?ft[e]:e;return te=ne.length,R?ne=fI(ne,R):j&&te>1&&ne.reverse(),P&&A<te&&(ne.length=A),this&&this!==_e&&this instanceof X&&(At=Q||Gr(At)),At.apply(ft,ne)}return X}function Qo(e,t){return function(s,u){return dp(s,e,t(u),{})}}function Pn(e,t){return function(s,u){var d;if(s===r&&u===r)return t;if(s!==r&&(d=s),u!==r){if(d===r)return u;typeof s=="string"||typeof u=="string"?(s=Ke(s),u=Ke(u)):(s=Ho(s),u=Ho(u)),d=e(s,u)}return d}}function pa(e){return wt(function(t){return t=Ie(t,Ge($())),ee(function(s){var u=this;return e(t,function(d){return Le(d,u,s)})})})}function Un(e,t){t=t===r?" ":Ke(t);var s=t.length;if(s<2)return s?ia(t,e):t;var u=ia(t,yn(e/or(t)));return ir(t)?Ht(at(u),0,e).join(""):u.slice(0,e)}function Vp(e,t,s,u){var d=t&x,b=Gr(e);function y(){for(var R=-1,A=arguments.length,M=-1,P=u.length,D=E(P+A),G=this&&this!==_e&&this instanceof y?b:e;++M<P;)D[M]=u[M];for(;A--;)D[M++]=arguments[++R];return Le(G,d?s:this,D)}return y}function ef(e){return function(t,s,u){return u&&typeof u!="number"&&Me(t,s,u)&&(s=u=r),t=Bt(t),s===r?(s=t,t=0):s=Bt(s),u=u===r?t<s?1:-1:Bt(u),_p(t,s,u,e)}}function kn(e){return function(t,s){return typeof t=="string"&&typeof s=="string"||(t=et(t),s=et(s)),e(t,s)}}function tf(e,t,s,u,d,b,y,R,A,M){var P=t&F,D=P?y:r,G=P?r:y,q=P?b:r,j=P?r:b;t|=P?_:U,t&=~(P?U:_),t&H||(t&=~(x|C));var Q=[e,t,d,q,D,j,G,R,A,M],X=s.apply(r,Q);return ya(e)&&If(X,Q),X.placeholder=u,hf(X,e,t)}function Ia(e){var t=Re[e];return function(s,u){if(s=et(s),u=u==null?0:Ce(Y(u),292),u&&po(s)){var d=(ce(s)+"e").split("e"),b=t(d[0]+"e"+(+d[1]+u));return d=(ce(b)+"e").split("e"),+(d[0]+"e"+(+d[1]-u))}return t(s)}}var qp=gr&&1/ln(new gr([,-0]))[1]==Lt?function(e){return new gr(e)}:ka;function rf(e){return function(t){var s=Fe(t);return s==nt?qs(t):s==st?ou(t):Ql(t,e(t))}}function yt(e,t,s,u,d,b,y,R){var A=t&C;if(!A&&typeof e!="function")throw new ze(c);var M=u?u.length:0;if(M||(t&=~(_|U),u=d=r),y=y===r?y:Oe(Y(y),0),R=R===r?R:Y(R),M-=d?d.length:0,t&U){var P=u,D=d;u=d=r}var G=A?r:va(e),q=[e,t,s,u,d,P,D,b,y,R];if(G&&aI(q,G),e=q[0],t=q[1],s=q[2],u=q[3],d=q[4],R=q[9]=q[9]===r?A?0:e.length:Oe(q[9]-M,0),!R&&t&(F|N)&&(t&=~(F|N)),!t||t==x)var j=Gp(e,t,s);else t==F||t==N?j=Kp(e,t,R):(t==_||t==(x|_))&&!d.length?j=Vp(e,t,s,u):j=Mn.apply(r,q);var Q=G?ko:If;return hf(Q(j,q),e,t)}function nf(e,t,s,u){return e===r||ot(e,cr[s])&&!ge.call(u,s)?t:e}function sf(e,t,s,u,d,b){return ve(e)&&ve(t)&&(b.set(t,e),En(e,t,r,sf,b),b.delete(t)),e}function Wp(e){return qr(e)?r:e}function af(e,t,s,u,d,b){var y=s&w,R=e.length,A=t.length;if(R!=A&&!(y&&A>R))return!1;var M=b.get(e),P=b.get(t);if(M&&P)return M==t&&P==e;var D=-1,G=!0,q=s&B?new qt:r;for(b.set(e,t),b.set(t,e);++D<R;){var j=e[D],Q=t[D];if(u)var X=y?u(Q,j,D,t,e,b):u(j,Q,D,e,t,b);if(X!==r){if(X)continue;G=!1;break}if(q){if(!Hs(t,function(te,ne){if(!Cr(q,ne)&&(j===te||d(j,te,s,u,b)))return q.push(ne)})){G=!1;break}}else if(!(j===Q||d(j,Q,s,u,b))){G=!1;break}}return b.delete(e),b.delete(t),G}function $p(e,t,s,u,d,b,y){switch(s){case nr:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Er:return!(e.byteLength!=t.byteLength||!b(new vn(e),new vn(t)));case Rr:case Or:case Br:return ot(+e,+t);case rn:return e.name==t.name&&e.message==t.message;case Ar:case xr:return e==t+"";case nt:var R=qs;case st:var A=u&w;if(R||(R=ln),e.size!=t.size&&!A)return!1;var M=y.get(e);if(M)return M==t;u|=B,y.set(e,t);var P=af(R(e),R(t),u,d,b,y);return y.delete(e),P;case sn:if(Ur)return Ur.call(e)==Ur.call(t)}return!1}function jp(e,t,s,u,d,b){var y=s&w,R=ha(e),A=R.length,M=ha(t),P=M.length;if(A!=P&&!y)return!1;for(var D=A;D--;){var G=R[D];if(!(y?G in t:ge.call(t,G)))return!1}var q=b.get(e),j=b.get(t);if(q&&j)return q==t&&j==e;var Q=!0;b.set(e,t),b.set(t,e);for(var X=y;++D<A;){G=R[D];var te=e[G],ne=t[G];if(u)var qe=y?u(ne,te,G,t,e,b):u(te,ne,G,e,t,b);if(!(qe===r?te===ne||d(te,ne,s,u,b):qe)){Q=!1;break}X||(X=G=="constructor")}if(Q&&!X){var Pe=e.constructor,We=t.constructor;Pe!=We&&"constructor"in e&&"constructor"in t&&!(typeof Pe=="function"&&Pe instanceof Pe&&typeof We=="function"&&We instanceof We)&&(Q=!1)}return b.delete(e),b.delete(t),Q}function wt(e){return Ra(uf(e,r,yf),e+"")}function ha(e){return Bo(e,Ae,Sa)}function da(e){return Bo(e,He,of)}var va=Rn?function(e){return Rn.get(e)}:ka;function Dn(e){for(var t=e.name+"",s=lr[t],u=ge.call(lr,t)?s.length:0;u--;){var d=s[u],b=d.func;if(b==null||b==e)return d.name}return t}function hr(e){var t=ge.call(S,"placeholder")?S:e;return t.placeholder}function $(){var e=S.iteratee||Pa;return e=e===Pa?_o:e,arguments.length?e(arguments[0],arguments[1]):e}function Hn(e,t){var s=e.__data__;return tI(t)?s[typeof t=="string"?"string":"hash"]:s.map}function ma(e){for(var t=Ae(e),s=t.length;s--;){var u=t[s],d=e[u];t[s]=[u,d,gf(d)]}return t}function jt(e,t){var s=su(e,t);return xo(s)?s:r}function Xp(e){var t=ge.call(e,Kt),s=e[Kt];try{e[Kt]=r;var u=!0}catch(b){}var d=hn.call(e);return u&&(t?e[Kt]=s:delete e[Kt]),d}var Sa=$s?function(e){return e==null?[]:(e=le(e),Ft($s(e),function(t){return lo.call(e,t)}))}:Da,of=$s?function(e){for(var t=[];e;)Tt(t,Sa(e)),e=mn(e);return t}:Da,Fe=Te;(js&&Fe(new js(new ArrayBuffer(1)))!=nr||Tr&&Fe(new Tr)!=nt||Xs&&Fe(Xs.resolve())!=yi||gr&&Fe(new gr)!=st||Mr&&Fe(new Mr)!=_r)&&(Fe=function(e){var t=Te(e),s=t==vt?e.constructor:r,u=s?Xt(s):"";if(u)switch(u){case Cu:return nr;case Fu:return nt;case Tu:return yi;case Mu:return st;case Pu:return _r}return t});function zp(e,t,s){for(var u=-1,d=s.length;++u<d;){var b=s[u],y=b.size;switch(b.type){case"drop":e+=y;break;case"dropRight":t-=y;break;case"take":t=Ce(t,e+y);break;case"takeRight":e=Oe(e,t-y);break}}return{start:e,end:t}}function Jp(e){var t=e.match(rl);return t?t[1].split(nl):[]}function ff(e,t,s){t=Dt(t,e);for(var u=-1,d=t.length,b=!1;++u<d;){var y=ut(t[u]);if(!(b=e!=null&&s(e,y)))break;e=e[y]}return b||++u!=d?b:(d=e==null?0:e.length,!!d&&Wn(d)&&Rt(y,d)&&(Z(e)||zt(e)))}function Zp(e){var t=e.length,s=new e.constructor(t);return t&&typeof e[0]=="string"&&ge.call(e,"index")&&(s.index=e.index,s.input=e.input),s}function cf(e){return typeof e.constructor=="function"&&!Kr(e)?ur(mn(e)):{}}function Yp(e,t,s){var u=e.constructor;switch(t){case Er:return ua(e);case Rr:case Or:return new u(+e);case nr:return Up(e,s);case ms:case Ss:case bs:case ys:case ws:case Rs:case Os:case Bs:case As:return qo(e,s);case nt:return new u;case Br:case xr:return new u(e);case Ar:return kp(e);case st:return new u;case sn:return Dp(e)}}function Qp(e,t){var s=t.length;if(!s)return e;var u=s-1;return t[u]=(s>1?"& ":"")+t[u],t=t.join(s>2?", ":" "),e.replace(tl,`{
|
|
9
9
|
/* [wrapped with `+t+`] */
|
|
10
|
-
`)}function zp(e){return Z(e)||$t(e)||!!(co&&e&&e[co])}function bt(e,t){var s=typeof e;return t=t??xt,!!t&&(s=="number"||s!="symbol"&&ol.test(e))&&e>-1&&e%1==0&&e<t}function Ce(e,t,s){if(!de(s))return!1;var u=typeof t;return(u=="number"?Pe(s)&&bt(t,s.length):u=="string"&&t in s)?st(s[t],e):!1}function va(e,t){if(Z(e))return!1;var s=typeof e;return s=="number"||s=="symbol"||s=="boolean"||e==null||Le(e)?!0:$g.test(e)||!Wg.test(e)||t!=null&&e in ge(t)}function Jp(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function ma(e){var t=Pn(e),s=S[t];if(typeof s!="function"||!(t in re.prototype))return!1;if(e===s)return!0;var u=Ia(s);return!!u&&e===u[0]}function Zp(e){return!!ao&&ao in e}var Yp=gn?yt:Ua;function Nr(e){var t=e&&e.constructor,s=typeof t=="function"&&t.prototype||ir;return e===s}function of(e){return e===e&&!de(e)}function ff(e,t){return function(s){return s==null?!1:s[e]===t&&(t!==r||e in ge(s))}}function Qp(e){var t=Ln(e,function(u){return s.size===p&&s.clear(),u}),s=t.cache;return t}function eI(e,t){var s=e[1],u=t[1],d=s|u,b=d<(x|C|L),y=u==L&&s==F||u==L&&s==W&&e[7].length<=t[8]||u==(L|W)&&t[7].length<=t[8]&&s==F;if(!(b||y))return e;u&x&&(e[2]=t[2],d|=s&x?0:H);var R=t[3];if(R){var A=e[3];e[3]=A?Vo(A,R,t[4]):R,e[4]=A?Ct(e[3],I):t[4]}return R=t[5],R&&(A=e[5],e[5]=A?qo(A,R,t[6]):R,e[6]=A?Ct(e[5],I):t[6]),R=t[7],R&&(e[7]=R),u&L&&(e[8]=e[8]==null?t[8]:xe(e[8],t[8])),e[9]==null&&(e[9]=t[9]),e[0]=t[0],e[1]=d,e}function tI(e){var t=[];if(e!=null)for(var s in ge(e))t.push(s);return t}function rI(e){return un.call(e)}function cf(e,t,s){return t=ye(t===r?e.length-1:t,0),function(){for(var u=arguments,d=-1,b=ye(u.length-t,0),y=E(b);++d<b;)y[d]=u[t+d];d=-1;for(var R=E(t+1);++d<t;)R[d]=u[d];return R[t]=s(y),De(e,this,R)}}function gf(e,t){return t.length<2?e:Vt(e,ze(t,0,-1))}function nI(e,t){for(var s=e.length,u=xe(t.length,s),d=Me(e);u--;){var b=t[u];e[u]=bt(b,s)?d[b]:r}return e}function Sa(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var lf=pf(Mo),Lr=mu||function(e,t){return Be.setTimeout(e,t)},ba=pf(Ap);function uf(e,t,s){var u=t+"";return ba(e,Xp(u,sI(Wp(u),s)))}function pf(e){var t=0,s=0;return function(){var u=wu(),d=we-(u-s);if(s=u,d>0){if(++t>=oe)return arguments[0]}else t=0;return e.apply(r,arguments)}}function kn(e,t){var s=-1,u=e.length,d=u-1;for(t=t===r?u:t;++s<t;){var b=ra(s,d),y=e[b];e[b]=e[s],e[s]=y}return e.length=t,e}var If=Qp(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(jg,function(s,u,d,b){t.push(d?b.replace(tl,"$1"):u||s)}),t});function ct(e){if(typeof e=="string"||Le(e))return e;var t=e+"";return t=="0"&&1/e==-Dt?"-0":t}function Wt(e){if(e!=null){try{return ln.call(e)}catch{}try{return e+""}catch{}}return""}function sI(e,t){return We(Fg,function(s){var u="_."+s[0];t&s[1]&&!an(e,u)&&e.push(u)}),e.sort()}function hf(e){if(e instanceof re)return e.clone();var t=new je(e.__wrapped__,e.__chain__);return t.__actions__=Me(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function aI(e,t,s){(s?Ce(e,t,s):t===r)?t=1:t=ye(Y(t),0);var u=e==null?0:e.length;if(!u||t<1)return[];for(var d=0,b=0,y=E(mn(u/t));d<u;)y[b++]=ze(e,d,d+=t);return y}function iI(e){for(var t=-1,s=e==null?0:e.length,u=0,d=[];++t<s;){var b=e[t];b&&(d[u++]=b)}return d}function oI(){var e=arguments.length;if(!e)return[];for(var t=E(e-1),s=arguments[0],u=e;u--;)t[u-1]=arguments[u];return Et(Z(s)?Me(s):[s],Ae(t,1))}var fI=ee(function(e,t){return me(e)?Pr(e,Ae(t,1,me,!0)):[]}),cI=ee(function(e,t){var s=Je(t);return me(s)&&(s=r),me(e)?Pr(e,Ae(t,1,me,!0),$(s,2)):[]}),gI=ee(function(e,t){var s=Je(t);return me(s)&&(s=r),me(e)?Pr(e,Ae(t,1,me,!0),r,s):[]});function lI(e,t,s){var u=e==null?0:e.length;return u?(t=s||t===r?1:Y(t),ze(e,t<0?0:t,u)):[]}function uI(e,t,s){var u=e==null?0:e.length;return u?(t=s||t===r?1:Y(t),t=u-t,ze(e,0,t<0?0:t)):[]}function pI(e,t){return e&&e.length?_n(e,$(t,3),!0,!0):[]}function II(e,t){return e&&e.length?_n(e,$(t,3),!0):[]}function hI(e,t,s,u){var d=e==null?0:e.length;return d?(s&&typeof s!="number"&&Ce(e,t,s)&&(s=0,u=d),op(e,t,s,u)):[]}function df(e,t,s){var u=e==null?0:e.length;if(!u)return-1;var d=s==null?0:Y(s);return d<0&&(d=ye(u+d,0)),on(e,$(t,3),d)}function vf(e,t,s){var u=e==null?0:e.length;if(!u)return-1;var d=u-1;return s!==r&&(d=Y(s),d=s<0?ye(u+d,0):xe(d,u-1)),on(e,$(t,3),d,!0)}function mf(e){var t=e==null?0:e.length;return t?Ae(e,1):[]}function dI(e){var t=e==null?0:e.length;return t?Ae(e,Dt):[]}function vI(e,t){var s=e==null?0:e.length;return s?(t=t===r?1:Y(t),Ae(e,t)):[]}function mI(e){for(var t=-1,s=e==null?0:e.length,u={};++t<s;){var d=e[t];u[d[0]]=d[1]}return u}function Sf(e){return e&&e.length?e[0]:r}function SI(e,t,s){var u=e==null?0:e.length;if(!u)return-1;var d=s==null?0:Y(s);return d<0&&(d=ye(u+d,0)),rr(e,t,d)}function bI(e){var t=e==null?0:e.length;return t?ze(e,0,-1):[]}var yI=ee(function(e){var t=pe(e,oa);return t.length&&t[0]===e[0]?Zs(t):[]}),wI=ee(function(e){var t=Je(e),s=pe(e,oa);return t===Je(s)?t=r:s.pop(),s.length&&s[0]===e[0]?Zs(s,$(t,2)):[]}),RI=ee(function(e){var t=Je(e),s=pe(e,oa);return t=typeof t=="function"?t:r,t&&s.pop(),s.length&&s[0]===e[0]?Zs(s,r,t):[]});function OI(e,t){return e==null?"":bu.call(e,t)}function Je(e){var t=e==null?0:e.length;return t?e[t-1]:r}function BI(e,t,s){var u=e==null?0:e.length;if(!u)return-1;var d=u;return s!==r&&(d=Y(s),d=d<0?ye(u+d,0):xe(d,u-1)),t===t?su(e,t,d):on(e,Zi,d,!0)}function AI(e,t){return e&&e.length?Eo(e,Y(t)):r}var xI=ee(bf);function bf(e,t){return e&&e.length&&t&&t.length?ta(e,t):e}function _I(e,t,s){return e&&e.length&&t&&t.length?ta(e,t,$(s,2)):e}function EI(e,t,s){return e&&e.length&&t&&t.length?ta(e,t,r,s):e}var CI=St(function(e,t){var s=e==null?0:e.length,u=js(e,t);return To(e,pe(t,function(d){return bt(d,s)?+d:d}).sort(Ko)),u});function FI(e,t){var s=[];if(!(e&&e.length))return s;var u=-1,d=[],b=e.length;for(t=$(t,3);++u<b;){var y=e[u];t(y,u,e)&&(s.push(y),d.push(u))}return To(e,d),s}function ya(e){return e==null?e:Ou.call(e)}function TI(e,t,s){var u=e==null?0:e.length;return u?(s&&typeof s!="number"&&Ce(e,t,s)?(t=0,s=u):(t=t==null?0:Y(t),s=s===r?u:Y(s)),ze(e,t,s)):[]}function MI(e,t){return xn(e,t)}function PI(e,t,s){return sa(e,t,$(s,2))}function UI(e,t){var s=e==null?0:e.length;if(s){var u=xn(e,t);if(u<s&&st(e[u],t))return u}return-1}function kI(e,t){return xn(e,t,!0)}function DI(e,t,s){return sa(e,t,$(s,2),!0)}function HI(e,t){var s=e==null?0:e.length;if(s){var u=xn(e,t,!0)-1;if(st(e[u],t))return u}return-1}function NI(e){return e&&e.length?Po(e):[]}function LI(e,t){return e&&e.length?Po(e,$(t,2)):[]}function GI(e){var t=e==null?0:e.length;return t?ze(e,1,t):[]}function KI(e,t,s){return e&&e.length?(t=s||t===r?1:Y(t),ze(e,0,t<0?0:t)):[]}function VI(e,t,s){var u=e==null?0:e.length;return u?(t=s||t===r?1:Y(t),t=u-t,ze(e,t<0?0:t,u)):[]}function qI(e,t){return e&&e.length?_n(e,$(t,3),!1,!0):[]}function WI(e,t){return e&&e.length?_n(e,$(t,3)):[]}var $I=ee(function(e){return Mt(Ae(e,1,me,!0))}),jI=ee(function(e){var t=Je(e);return me(t)&&(t=r),Mt(Ae(e,1,me,!0),$(t,2))}),XI=ee(function(e){var t=Je(e);return t=typeof t=="function"?t:r,Mt(Ae(e,1,me,!0),r,t)});function zI(e){return e&&e.length?Mt(e):[]}function JI(e,t){return e&&e.length?Mt(e,$(t,2)):[]}function ZI(e,t){return t=typeof t=="function"?t:r,e&&e.length?Mt(e,r,t):[]}function wa(e){if(!(e&&e.length))return[];var t=0;return e=_t(e,function(s){if(me(s))return t=ye(s.length,t),!0}),Ns(t,function(s){return pe(e,ks(s))})}function yf(e,t){if(!(e&&e.length))return[];var s=wa(e);return t==null?s:pe(s,function(u){return De(t,r,u)})}var YI=ee(function(e,t){return me(e)?Pr(e,t):[]}),QI=ee(function(e){return ia(_t(e,me))}),e1=ee(function(e){var t=Je(e);return me(t)&&(t=r),ia(_t(e,me),$(t,2))}),t1=ee(function(e){var t=Je(e);return t=typeof t=="function"?t:r,ia(_t(e,me),r,t)}),r1=ee(wa);function n1(e,t){return Ho(e||[],t||[],Mr)}function s1(e,t){return Ho(e||[],t||[],Dr)}var a1=ee(function(e){var t=e.length,s=t>1?e[t-1]:r;return s=typeof s=="function"?(e.pop(),s):r,yf(e,s)});function wf(e){var t=S(e);return t.__chain__=!0,t}function i1(e,t){return t(e),e}function Dn(e,t){return t(e)}var o1=St(function(e){var t=e.length,s=t?e[0]:0,u=this.__wrapped__,d=function(b){return js(b,e)};return t>1||this.__actions__.length||!(u instanceof re)||!bt(s)?this.thru(d):(u=u.slice(s,+s+(t?1:0)),u.__actions__.push({func:Dn,args:[d],thisArg:r}),new je(u,this.__chain__).thru(function(b){return t&&!b.length&&b.push(r),b}))});function f1(){return wf(this)}function c1(){return new je(this.value(),this.__chain__)}function g1(){this.__values__===r&&(this.__values__=kf(this.value()));var e=this.__index__>=this.__values__.length,t=e?r:this.__values__[this.__index__++];return{done:e,value:t}}function l1(){return this}function u1(e){for(var t,s=this;s instanceof wn;){var u=hf(s);u.__index__=0,u.__values__=r,t?d.__wrapped__=u:t=u;var d=u;s=s.__wrapped__}return d.__wrapped__=e,t}function p1(){var e=this.__wrapped__;if(e instanceof re){var t=e;return this.__actions__.length&&(t=new re(this)),t=t.reverse(),t.__actions__.push({func:Dn,args:[ya],thisArg:r}),new je(t,this.__chain__)}return this.thru(ya)}function I1(){return Do(this.__wrapped__,this.__actions__)}var h1=En(function(e,t,s){ce.call(e,s)?++e[s]:vt(e,s,1)});function d1(e,t,s){var u=Z(e)?zi:ip;return s&&Ce(e,t,s)&&(t=r),u(e,$(t,3))}function v1(e,t){var s=Z(e)?_t:bo;return s(e,$(t,3))}var m1=Xo(df),S1=Xo(vf);function b1(e,t){return Ae(Hn(e,t),1)}function y1(e,t){return Ae(Hn(e,t),Dt)}function w1(e,t,s){return s=s===r?1:Y(s),Ae(Hn(e,t),s)}function Rf(e,t){var s=Z(e)?We:Tt;return s(e,$(t,3))}function Of(e,t){var s=Z(e)?Gl:So;return s(e,$(t,3))}var R1=En(function(e,t,s){ce.call(e,s)?e[s].push(t):vt(e,s,[t])});function O1(e,t,s,u){e=Pe(e)?e:Ir(e),s=s&&!u?Y(s):0;var d=e.length;return s<0&&(s=ye(d+s,0)),Vn(e)?s<=d&&e.indexOf(t,s)>-1:!!d&&rr(e,t,s)>-1}var B1=ee(function(e,t,s){var u=-1,d=typeof t=="function",b=Pe(e)?E(e.length):[];return Tt(e,function(y){b[++u]=d?De(t,y,s):Ur(y,t,s)}),b}),A1=En(function(e,t,s){vt(e,s,t)});function Hn(e,t){var s=Z(e)?pe:Ao;return s(e,$(t,3))}function x1(e,t,s,u){return e==null?[]:(Z(t)||(t=t==null?[]:[t]),s=u?r:s,Z(s)||(s=s==null?[]:[s]),Co(e,t,s))}var _1=En(function(e,t,s){e[s?0:1].push(t)},function(){return[[],[]]});function E1(e,t,s){var u=Z(e)?Ps:Qi,d=arguments.length<3;return u(e,$(t,4),s,d,Tt)}function C1(e,t,s){var u=Z(e)?Kl:Qi,d=arguments.length<3;return u(e,$(t,4),s,d,So)}function F1(e,t){var s=Z(e)?_t:bo;return s(e,Gn($(t,3)))}function T1(e){var t=Z(e)?Io:Op;return t(e)}function M1(e,t,s){(s?Ce(e,t,s):t===r)?t=1:t=Y(t);var u=Z(e)?tp:Bp;return u(e,t)}function P1(e){var t=Z(e)?rp:xp;return t(e)}function U1(e){if(e==null)return 0;if(Pe(e))return Vn(e)?sr(e):e.length;var t=_e(e);return t==et||t==tt?e.size:Qs(e).length}function k1(e,t,s){var u=Z(e)?Us:_p;return s&&Ce(e,t,s)&&(t=r),u(e,$(t,3))}var D1=ee(function(e,t){if(e==null)return[];var s=t.length;return s>1&&Ce(e,t[0],t[1])?t=[]:s>2&&Ce(t[0],t[1],t[2])&&(t=[t[0]]),Co(e,Ae(t,1),[])}),Nn=vu||function(){return Be.Date.now()};function H1(e,t){if(typeof t!="function")throw new $e(c);return e=Y(e),function(){if(--e<1)return t.apply(this,arguments)}}function Bf(e,t,s){return t=s?r:t,t=e&&t==null?e.length:t,mt(e,L,r,r,r,r,t)}function Af(e,t){var s;if(typeof t!="function")throw new $e(c);return e=Y(e),function(){return--e>0&&(s=t.apply(this,arguments)),e<=1&&(t=r),s}}var Ra=ee(function(e,t,s){var u=x;if(s.length){var d=Ct(s,ur(Ra));u|=_}return mt(e,u,t,s,d)}),xf=ee(function(e,t,s){var u=x|C;if(s.length){var d=Ct(s,ur(xf));u|=_}return mt(t,u,e,s,d)});function _f(e,t,s){t=s?r:t;var u=mt(e,F,r,r,r,r,r,t);return u.placeholder=_f.placeholder,u}function Ef(e,t,s){t=s?r:t;var u=mt(e,N,r,r,r,r,r,t);return u.placeholder=Ef.placeholder,u}function Cf(e,t,s){var u,d,b,y,R,A,M=0,P=!1,D=!1,G=!0;if(typeof e!="function")throw new $e(c);t=Ze(t)||0,de(s)&&(P=!!s.leading,D="maxWait"in s,b=D?ye(Ze(s.maxWait)||0,t):b,G="trailing"in s?!!s.trailing:G);function q(Se){var at=u,Rt=d;return u=d=r,M=Se,y=e.apply(Rt,at),y}function j(Se){return M=Se,R=Lr(te,t),P?q(Se):y}function Q(Se){var at=Se-A,Rt=Se-M,zf=t-at;return D?xe(zf,b-Rt):zf}function X(Se){var at=Se-A,Rt=Se-M;return A===r||at>=t||at<0||D&&Rt>=b}function te(){var Se=Nn();if(X(Se))return ne(Se);R=Lr(te,Q(Se))}function ne(Se){return R=r,G&&u?q(Se):(u=d=r,y)}function Ge(){R!==r&&No(R),M=0,u=A=d=R=r}function Fe(){return R===r?y:ne(Nn())}function Ke(){var Se=Nn(),at=X(Se);if(u=arguments,d=this,A=Se,at){if(R===r)return j(A);if(D)return No(R),R=Lr(te,t),q(A)}return R===r&&(R=Lr(te,t)),y}return Ke.cancel=Ge,Ke.flush=Fe,Ke}var N1=ee(function(e,t){return mo(e,1,t)}),L1=ee(function(e,t,s){return mo(e,Ze(t)||0,s)});function G1(e){return mt(e,z)}function Ln(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new $e(c);var s=function(){var u=arguments,d=t?t.apply(this,u):u[0],b=s.cache;if(b.has(d))return b.get(d);var y=e.apply(this,u);return s.cache=b.set(d,y)||b,y};return s.cache=new(Ln.Cache||dt),s}Ln.Cache=dt;function Gn(e){if(typeof e!="function")throw new $e(c);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function K1(e){return Af(2,e)}var V1=Ep(function(e,t){t=t.length==1&&Z(t[0])?pe(t[0],He($())):pe(Ae(t,1),He($()));var s=t.length;return ee(function(u){for(var d=-1,b=xe(u.length,s);++d<b;)u[d]=t[d].call(this,u[d]);return De(e,this,u)})}),Oa=ee(function(e,t){var s=Ct(t,ur(Oa));return mt(e,_,r,t,s)}),Ff=ee(function(e,t){var s=Ct(t,ur(Ff));return mt(e,U,r,t,s)}),q1=St(function(e,t){return mt(e,W,r,r,r,t)});function W1(e,t){if(typeof e!="function")throw new $e(c);return t=t===r?t:Y(t),ee(e,t)}function $1(e,t){if(typeof e!="function")throw new $e(c);return t=t==null?0:ye(Y(t),0),ee(function(s){var u=s[t],d=Ut(s,0,t);return u&&Et(d,u),De(e,this,d)})}function j1(e,t,s){var u=!0,d=!0;if(typeof e!="function")throw new $e(c);return de(s)&&(u="leading"in s?!!s.leading:u,d="trailing"in s?!!s.trailing:d),Cf(e,t,{leading:u,maxWait:t,trailing:d})}function X1(e){return Bf(e,1)}function z1(e,t){return Oa(fa(t),e)}function J1(){if(!arguments.length)return[];var e=arguments[0];return Z(e)?e:[e]}function Z1(e){return Xe(e,m)}function Y1(e,t){return t=typeof t=="function"?t:r,Xe(e,m,t)}function Q1(e){return Xe(e,h|m)}function eh(e,t){return t=typeof t=="function"?t:r,Xe(e,h|m,t)}function th(e,t){return t==null||vo(e,t,Re(t))}function st(e,t){return e===t||e!==e&&t!==t}var rh=Mn(Js),nh=Mn(function(e,t){return e>=t}),$t=Ro(function(){return arguments}())?Ro:function(e){return ve(e)&&ce.call(e,"callee")&&!fo.call(e,"callee")},Z=E.isArray,sh=Vi?He(Vi):up;function Pe(e){return e!=null&&Kn(e.length)&&!yt(e)}function me(e){return ve(e)&&Pe(e)}function ah(e){return e===!0||e===!1||ve(e)&&Ee(e)==br}var kt=Su||Ua,ih=qi?He(qi):pp;function oh(e){return ve(e)&&e.nodeType===1&&!Gr(e)}function fh(e){if(e==null)return!0;if(Pe(e)&&(Z(e)||typeof e=="string"||typeof e.splice=="function"||kt(e)||pr(e)||$t(e)))return!e.length;var t=_e(e);if(t==et||t==tt)return!e.size;if(Nr(e))return!Qs(e).length;for(var s in e)if(ce.call(e,s))return!1;return!0}function ch(e,t){return kr(e,t)}function gh(e,t,s){s=typeof s=="function"?s:r;var u=s?s(e,t):r;return u===r?kr(e,t,r,s):!!u}function Ba(e){if(!ve(e))return!1;var t=Ee(e);return t==Qr||t==Mg||typeof e.message=="string"&&typeof e.name=="string"&&!Gr(e)}function lh(e){return typeof e=="number"&&go(e)}function yt(e){if(!de(e))return!1;var t=Ee(e);return t==en||t==vi||t==Tg||t==Ug}function Tf(e){return typeof e=="number"&&e==Y(e)}function Kn(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=xt}function de(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function ve(e){return e!=null&&typeof e=="object"}var Mf=Wi?He(Wi):hp;function uh(e,t){return e===t||Ys(e,t,ha(t))}function ph(e,t,s){return s=typeof s=="function"?s:r,Ys(e,t,ha(t),s)}function Ih(e){return Pf(e)&&e!=+e}function hh(e){if(Yp(e))throw new J(i);return Oo(e)}function dh(e){return e===null}function vh(e){return e==null}function Pf(e){return typeof e=="number"||ve(e)&&Ee(e)==wr}function Gr(e){if(!ve(e)||Ee(e)!=It)return!1;var t=hn(e);if(t===null)return!0;var s=ce.call(t,"constructor")&&t.constructor;return typeof s=="function"&&s instanceof s&&ln.call(s)==pu}var Aa=$i?He($i):dp;function mh(e){return Tf(e)&&e>=-xt&&e<=xt}var Uf=ji?He(ji):vp;function Vn(e){return typeof e=="string"||!Z(e)&&ve(e)&&Ee(e)==Or}function Le(e){return typeof e=="symbol"||ve(e)&&Ee(e)==tn}var pr=Xi?He(Xi):mp;function Sh(e){return e===r}function bh(e){return ve(e)&&_e(e)==Br}function yh(e){return ve(e)&&Ee(e)==Dg}var wh=Mn(ea),Rh=Mn(function(e,t){return e<=t});function kf(e){if(!e)return[];if(Pe(e))return Vn(e)?rt(e):Me(e);if(_r&&e[_r])return tu(e[_r]());var t=_e(e),s=t==et?Gs:t==tt?fn:Ir;return s(e)}function wt(e){if(!e)return e===0?e:0;if(e=Ze(e),e===Dt||e===-Dt){var t=e<0?-1:1;return t*_g}return e===e?e:0}function Y(e){var t=wt(e),s=t%1;return t===t?s?t-s:t:0}function Df(e){return e?Kt(Y(e),0,it):0}function Ze(e){if(typeof e=="number")return e;if(Le(e))return Zr;if(de(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=de(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=eo(e);var s=sl.test(e);return s||il.test(e)?Hl(e.slice(2),s?2:8):nl.test(e)?Zr:+e}function Hf(e){return ft(e,Ue(e))}function Oh(e){return e?Kt(Y(e),-xt,xt):e===0?e:0}function fe(e){return e==null?"":Ne(e)}var Bh=gr(function(e,t){if(Nr(t)||Pe(t)){ft(t,Re(t),e);return}for(var s in t)ce.call(t,s)&&Mr(e,s,t[s])}),Nf=gr(function(e,t){ft(t,Ue(t),e)}),qn=gr(function(e,t,s,u){ft(t,Ue(t),e,u)}),Ah=gr(function(e,t,s,u){ft(t,Re(t),e,u)}),xh=St(js);function _h(e,t){var s=cr(e);return t==null?s:ho(s,t)}var Eh=ee(function(e,t){e=ge(e);var s=-1,u=t.length,d=u>2?t[2]:r;for(d&&Ce(t[0],t[1],d)&&(u=1);++s<u;)for(var b=t[s],y=Ue(b),R=-1,A=y.length;++R<A;){var M=y[R],P=e[M];(P===r||st(P,ir[M])&&!ce.call(e,M))&&(e[M]=b[M])}return e}),Ch=ee(function(e){return e.push(r,tf),De(Lf,r,e)});function Fh(e,t){return Ji(e,$(t,3),ot)}function Th(e,t){return Ji(e,$(t,3),zs)}function Mh(e,t){return e==null?e:Xs(e,$(t,3),Ue)}function Ph(e,t){return e==null?e:yo(e,$(t,3),Ue)}function Uh(e,t){return e&&ot(e,$(t,3))}function kh(e,t){return e&&zs(e,$(t,3))}function Dh(e){return e==null?[]:Bn(e,Re(e))}function Hh(e){return e==null?[]:Bn(e,Ue(e))}function xa(e,t,s){var u=e==null?r:Vt(e,t);return u===r?s:u}function Nh(e,t){return e!=null&&sf(e,t,fp)}function _a(e,t){return e!=null&&sf(e,t,cp)}var Lh=Jo(function(e,t,s){t!=null&&typeof t.toString!="function"&&(t=un.call(t)),e[t]=s},Ca(ke)),Gh=Jo(function(e,t,s){t!=null&&typeof t.toString!="function"&&(t=un.call(t)),ce.call(e,t)?e[t].push(s):e[t]=[s]},$),Kh=ee(Ur);function Re(e){return Pe(e)?po(e):Qs(e)}function Ue(e){return Pe(e)?po(e,!0):Sp(e)}function Vh(e,t){var s={};return t=$(t,3),ot(e,function(u,d,b){vt(s,t(u,d,b),u)}),s}function qh(e,t){var s={};return t=$(t,3),ot(e,function(u,d,b){vt(s,d,t(u,d,b))}),s}var Wh=gr(function(e,t,s){An(e,t,s)}),Lf=gr(function(e,t,s,u){An(e,t,s,u)}),$h=St(function(e,t){var s={};if(e==null)return s;var u=!1;t=pe(t,function(b){return b=Pt(b,e),u||(u=b.length>1),b}),ft(e,pa(e),s),u&&(s=Xe(s,h|v|m,Lp));for(var d=t.length;d--;)aa(s,t[d]);return s});function jh(e,t){return Gf(e,Gn($(t)))}var Xh=St(function(e,t){return e==null?{}:yp(e,t)});function Gf(e,t){if(e==null)return{};var s=pe(pa(e),function(u){return[u]});return t=$(t),Fo(e,s,function(u,d){return t(u,d[0])})}function zh(e,t,s){t=Pt(t,e);var u=-1,d=t.length;for(d||(d=1,e=r);++u<d;){var b=e==null?r:e[ct(t[u])];b===r&&(u=d,b=s),e=yt(b)?b.call(e):b}return e}function Jh(e,t,s){return e==null?e:Dr(e,t,s)}function Zh(e,t,s,u){return u=typeof u=="function"?u:r,e==null?e:Dr(e,t,s,u)}var Kf=Qo(Re),Vf=Qo(Ue);function Yh(e,t,s){var u=Z(e),d=u||kt(e)||pr(e);if(t=$(t,4),s==null){var b=e&&e.constructor;d?s=u?new b:[]:de(e)?s=yt(b)?cr(hn(e)):{}:s={}}return(d?We:ot)(e,function(y,R,A){return t(s,y,R,A)}),s}function Qh(e,t){return e==null?!0:aa(e,t)}function ed(e,t,s){return e==null?e:ko(e,t,fa(s))}function td(e,t,s,u){return u=typeof u=="function"?u:r,e==null?e:ko(e,t,fa(s),u)}function Ir(e){return e==null?[]:Ls(e,Re(e))}function rd(e){return e==null?[]:Ls(e,Ue(e))}function nd(e,t,s){return s===r&&(s=t,t=r),s!==r&&(s=Ze(s),s=s===s?s:0),t!==r&&(t=Ze(t),t=t===t?t:0),Kt(Ze(e),t,s)}function sd(e,t,s){return t=wt(t),s===r?(s=t,t=0):s=wt(s),e=Ze(e),gp(e,t,s)}function ad(e,t,s){if(s&&typeof s!="boolean"&&Ce(e,t,s)&&(t=s=r),s===r&&(typeof t=="boolean"?(s=t,t=r):typeof e=="boolean"&&(s=e,e=r)),e===r&&t===r?(e=0,t=1):(e=wt(e),t===r?(t=e,e=0):t=wt(t)),e>t){var u=e;e=t,t=u}if(s||e%1||t%1){var d=lo();return xe(e+d*(t-e+Dl("1e-"+((d+"").length-1))),t)}return ra(e,t)}var id=lr(function(e,t,s){return t=t.toLowerCase(),e+(s?qf(t):t)});function qf(e){return Ea(fe(e).toLowerCase())}function Wf(e){return e=fe(e),e&&e.replace(fl,Jl).replace(xl,"")}function od(e,t,s){e=fe(e),t=Ne(t);var u=e.length;s=s===r?u:Kt(Y(s),0,u);var d=s;return s-=t.length,s>=0&&e.slice(s,d)==t}function fd(e){return e=fe(e),e&&Kg.test(e)?e.replace(bi,Zl):e}function cd(e){return e=fe(e),e&&Xg.test(e)?e.replace(Os,"\\$&"):e}var gd=lr(function(e,t,s){return e+(s?"-":"")+t.toLowerCase()}),ld=lr(function(e,t,s){return e+(s?" ":"")+t.toLowerCase()}),ud=jo("toLowerCase");function pd(e,t,s){e=fe(e),t=Y(t);var u=t?sr(e):0;if(!t||u>=t)return e;var d=(t-u)/2;return Tn(Sn(d),s)+e+Tn(mn(d),s)}function Id(e,t,s){e=fe(e),t=Y(t);var u=t?sr(e):0;return t&&u<t?e+Tn(t-u,s):e}function hd(e,t,s){e=fe(e),t=Y(t);var u=t?sr(e):0;return t&&u<t?Tn(t-u,s)+e:e}function dd(e,t,s){return s||t==null?t=0:t&&(t=+t),Ru(fe(e).replace(Bs,""),t||0)}function vd(e,t,s){return(s?Ce(e,t,s):t===r)?t=1:t=Y(t),na(fe(e),t)}function md(){var e=arguments,t=fe(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var Sd=lr(function(e,t,s){return e+(s?"_":"")+t.toLowerCase()});function bd(e,t,s){return s&&typeof s!="number"&&Ce(e,t,s)&&(t=s=r),s=s===r?it:s>>>0,s?(e=fe(e),e&&(typeof t=="string"||t!=null&&!Aa(t))&&(t=Ne(t),!t&&nr(e))?Ut(rt(e),0,s):e.split(t,s)):[]}var yd=lr(function(e,t,s){return e+(s?" ":"")+Ea(t)});function wd(e,t,s){return e=fe(e),s=s==null?0:Kt(Y(s),0,e.length),t=Ne(t),e.slice(s,s+t.length)==t}function Rd(e,t,s){var u=S.templateSettings;s&&Ce(e,t,s)&&(t=r),e=fe(e),t=qn({},t,u,ef);var d=qn({},t.imports,u.imports,ef),b=Re(d),y=Ls(d,b),R,A,M=0,P=t.interpolate||rn,D="__p += '",G=Ks((t.escape||rn).source+"|"+P.source+"|"+(P===yi?rl:rn).source+"|"+(t.evaluate||rn).source+"|$","g"),q="//# sourceURL="+(ce.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Tl+"]")+`
|
|
11
|
-
`;e.replace(G,function(X,te,ne,
|
|
10
|
+
`)}function eI(e){return Z(e)||zt(e)||!!(uo&&e&&e[uo])}function Rt(e,t){var s=typeof e;return t=t==null?Ct:t,!!t&&(s=="number"||s!="symbol"&&ul.test(e))&&e>-1&&e%1==0&&e<t}function Me(e,t,s){if(!ve(s))return!1;var u=typeof t;return(u=="number"?De(s)&&Rt(t,s.length):u=="string"&&t in s)?ot(s[t],e):!1}function ba(e,t){if(Z(e))return!1;var s=typeof e;return s=="number"||s=="symbol"||s=="boolean"||e==null||Ve(e)?!0:Zg.test(e)||!Jg.test(e)||t!=null&&e in le(t)}function tI(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function ya(e){var t=Dn(e),s=S[t];if(typeof s!="function"||!(t in re.prototype))return!1;if(e===s)return!0;var u=va(s);return!!u&&e===u[0]}function rI(e){return!!fo&&fo in e}var nI=pn?Ot:Ha;function Kr(e){var t=e&&e.constructor,s=typeof t=="function"&&t.prototype||cr;return e===s}function gf(e){return e===e&&!ve(e)}function lf(e,t){return function(s){return s==null?!1:s[e]===t&&(t!==r||e in le(s))}}function sI(e){var t=Vn(e,function(u){return s.size===p&&s.clear(),u}),s=t.cache;return t}function aI(e,t){var s=e[1],u=t[1],d=s|u,b=d<(x|C|L),y=u==L&&s==F||u==L&&s==W&&e[7].length<=t[8]||u==(L|W)&&t[7].length<=t[8]&&s==F;if(!(b||y))return e;u&x&&(e[2]=t[2],d|=s&x?0:H);var R=t[3];if(R){var A=e[3];e[3]=A?$o(A,R,t[4]):R,e[4]=A?Mt(e[3],I):t[4]}return R=t[5],R&&(A=e[5],e[5]=A?jo(A,R,t[6]):R,e[6]=A?Mt(e[5],I):t[6]),R=t[7],R&&(e[7]=R),u&L&&(e[8]=e[8]==null?t[8]:Ce(e[8],t[8])),e[9]==null&&(e[9]=t[9]),e[0]=t[0],e[1]=d,e}function iI(e){var t=[];if(e!=null)for(var s in le(e))t.push(s);return t}function oI(e){return hn.call(e)}function uf(e,t,s){return t=Oe(t===r?e.length-1:t,0),function(){for(var u=arguments,d=-1,b=Oe(u.length-t,0),y=E(b);++d<b;)y[d]=u[t+d];d=-1;for(var R=E(t+1);++d<t;)R[d]=u[d];return R[t]=s(y),Le(e,this,R)}}function pf(e,t){return t.length<2?e:$t(e,Ye(t,0,-1))}function fI(e,t){for(var s=e.length,u=Ce(t.length,s),d=ke(e);u--;){var b=t[u];e[u]=Rt(b,s)?d[b]:r}return e}function wa(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var If=df(ko),Vr=Ru||function(e,t){return _e.setTimeout(e,t)},Ra=df(Fp);function hf(e,t,s){var u=t+"";return Ra(e,Qp(u,cI(Jp(u),s)))}function df(e){var t=0,s=0;return function(){var u=xu(),d=Be-(u-s);if(s=u,d>0){if(++t>=fe)return arguments[0]}else t=0;return e.apply(r,arguments)}}function Nn(e,t){var s=-1,u=e.length,d=u-1;for(t=t===r?u:t;++s<t;){var b=aa(s,d),y=e[b];e[b]=e[s],e[s]=y}return e.length=t,e}var vf=sI(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Yg,function(s,u,d,b){t.push(d?b.replace(il,"$1"):u||s)}),t});function ut(e){if(typeof e=="string"||Ve(e))return e;var t=e+"";return t=="0"&&1/e==-Lt?"-0":t}function Xt(e){if(e!=null){try{return In.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function cI(e,t){return Xe(kg,function(s){var u="_."+s[0];t&s[1]&&!cn(e,u)&&e.push(u)}),e.sort()}function mf(e){if(e instanceof re)return e.clone();var t=new Je(e.__wrapped__,e.__chain__);return t.__actions__=ke(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function gI(e,t,s){(s?Me(e,t,s):t===r)?t=1:t=Oe(Y(t),0);var u=e==null?0:e.length;if(!u||t<1)return[];for(var d=0,b=0,y=E(yn(u/t));d<u;)y[b++]=Ye(e,d,d+=t);return y}function lI(e){for(var t=-1,s=e==null?0:e.length,u=0,d=[];++t<s;){var b=e[t];b&&(d[u++]=b)}return d}function uI(){var e=arguments.length;if(!e)return[];for(var t=E(e-1),s=arguments[0],u=e;u--;)t[u-1]=arguments[u];return Tt(Z(s)?ke(s):[s],Ee(t,1))}var pI=ee(function(e,t){return be(e)?Dr(e,Ee(t,1,be,!0)):[]}),II=ee(function(e,t){var s=Qe(t);return be(s)&&(s=r),be(e)?Dr(e,Ee(t,1,be,!0),$(s,2)):[]}),hI=ee(function(e,t){var s=Qe(t);return be(s)&&(s=r),be(e)?Dr(e,Ee(t,1,be,!0),r,s):[]});function dI(e,t,s){var u=e==null?0:e.length;return u?(t=s||t===r?1:Y(t),Ye(e,t<0?0:t,u)):[]}function vI(e,t,s){var u=e==null?0:e.length;return u?(t=s||t===r?1:Y(t),t=u-t,Ye(e,0,t<0?0:t)):[]}function mI(e,t){return e&&e.length?Fn(e,$(t,3),!0,!0):[]}function SI(e,t){return e&&e.length?Fn(e,$(t,3),!0):[]}function bI(e,t,s,u){var d=e==null?0:e.length;return d?(s&&typeof s!="number"&&Me(e,t,s)&&(s=0,u=d),up(e,t,s,u)):[]}function Sf(e,t,s){var u=e==null?0:e.length;if(!u)return-1;var d=s==null?0:Y(s);return d<0&&(d=Oe(u+d,0)),gn(e,$(t,3),d)}function bf(e,t,s){var u=e==null?0:e.length;if(!u)return-1;var d=u-1;return s!==r&&(d=Y(s),d=s<0?Oe(u+d,0):Ce(d,u-1)),gn(e,$(t,3),d,!0)}function yf(e){var t=e==null?0:e.length;return t?Ee(e,1):[]}function yI(e){var t=e==null?0:e.length;return t?Ee(e,Lt):[]}function wI(e,t){var s=e==null?0:e.length;return s?(t=t===r?1:Y(t),Ee(e,t)):[]}function RI(e){for(var t=-1,s=e==null?0:e.length,u={};++t<s;){var d=e[t];u[d[0]]=d[1]}return u}function wf(e){return e&&e.length?e[0]:r}function OI(e,t,s){var u=e==null?0:e.length;if(!u)return-1;var d=s==null?0:Y(s);return d<0&&(d=Oe(u+d,0)),ar(e,t,d)}function BI(e){var t=e==null?0:e.length;return t?Ye(e,0,-1):[]}var AI=ee(function(e){var t=Ie(e,ga);return t.length&&t[0]===e[0]?ea(t):[]}),xI=ee(function(e){var t=Qe(e),s=Ie(e,ga);return t===Qe(s)?t=r:s.pop(),s.length&&s[0]===e[0]?ea(s,$(t,2)):[]}),_I=ee(function(e){var t=Qe(e),s=Ie(e,ga);return t=typeof t=="function"?t:r,t&&s.pop(),s.length&&s[0]===e[0]?ea(s,r,t):[]});function EI(e,t){return e==null?"":Bu.call(e,t)}function Qe(e){var t=e==null?0:e.length;return t?e[t-1]:r}function CI(e,t,s){var u=e==null?0:e.length;if(!u)return-1;var d=u;return s!==r&&(d=Y(s),d=d<0?Oe(u+d,0):Ce(d,u-1)),t===t?cu(e,t,d):gn(e,eo,d,!0)}function FI(e,t){return e&&e.length?To(e,Y(t)):r}var TI=ee(Rf);function Rf(e,t){return e&&e.length&&t&&t.length?sa(e,t):e}function MI(e,t,s){return e&&e.length&&t&&t.length?sa(e,t,$(s,2)):e}function PI(e,t,s){return e&&e.length&&t&&t.length?sa(e,t,r,s):e}var UI=wt(function(e,t){var s=e==null?0:e.length,u=Js(e,t);return Uo(e,Ie(t,function(d){return Rt(d,s)?+d:d}).sort(Wo)),u});function kI(e,t){var s=[];if(!(e&&e.length))return s;var u=-1,d=[],b=e.length;for(t=$(t,3);++u<b;){var y=e[u];t(y,u,e)&&(s.push(y),d.push(u))}return Uo(e,d),s}function Oa(e){return e==null?e:Eu.call(e)}function DI(e,t,s){var u=e==null?0:e.length;return u?(s&&typeof s!="number"&&Me(e,t,s)?(t=0,s=u):(t=t==null?0:Y(t),s=s===r?u:Y(s)),Ye(e,t,s)):[]}function HI(e,t){return Cn(e,t)}function NI(e,t,s){return oa(e,t,$(s,2))}function LI(e,t){var s=e==null?0:e.length;if(s){var u=Cn(e,t);if(u<s&&ot(e[u],t))return u}return-1}function GI(e,t){return Cn(e,t,!0)}function KI(e,t,s){return oa(e,t,$(s,2),!0)}function VI(e,t){var s=e==null?0:e.length;if(s){var u=Cn(e,t,!0)-1;if(ot(e[u],t))return u}return-1}function qI(e){return e&&e.length?Do(e):[]}function WI(e,t){return e&&e.length?Do(e,$(t,2)):[]}function $I(e){var t=e==null?0:e.length;return t?Ye(e,1,t):[]}function jI(e,t,s){return e&&e.length?(t=s||t===r?1:Y(t),Ye(e,0,t<0?0:t)):[]}function XI(e,t,s){var u=e==null?0:e.length;return u?(t=s||t===r?1:Y(t),t=u-t,Ye(e,t<0?0:t,u)):[]}function zI(e,t){return e&&e.length?Fn(e,$(t,3),!1,!0):[]}function JI(e,t){return e&&e.length?Fn(e,$(t,3)):[]}var ZI=ee(function(e){return kt(Ee(e,1,be,!0))}),YI=ee(function(e){var t=Qe(e);return be(t)&&(t=r),kt(Ee(e,1,be,!0),$(t,2))}),QI=ee(function(e){var t=Qe(e);return t=typeof t=="function"?t:r,kt(Ee(e,1,be,!0),r,t)});function e1(e){return e&&e.length?kt(e):[]}function t1(e,t){return e&&e.length?kt(e,$(t,2)):[]}function r1(e,t){return t=typeof t=="function"?t:r,e&&e.length?kt(e,r,t):[]}function Ba(e){if(!(e&&e.length))return[];var t=0;return e=Ft(e,function(s){if(be(s))return t=Oe(s.length,t),!0}),Ks(t,function(s){return Ie(e,Ns(s))})}function Of(e,t){if(!(e&&e.length))return[];var s=Ba(e);return t==null?s:Ie(s,function(u){return Le(t,r,u)})}var n1=ee(function(e,t){return be(e)?Dr(e,t):[]}),s1=ee(function(e){return ca(Ft(e,be))}),a1=ee(function(e){var t=Qe(e);return be(t)&&(t=r),ca(Ft(e,be),$(t,2))}),i1=ee(function(e){var t=Qe(e);return t=typeof t=="function"?t:r,ca(Ft(e,be),r,t)}),o1=ee(Ba);function f1(e,t){return Go(e||[],t||[],kr)}function c1(e,t){return Go(e||[],t||[],Lr)}var g1=ee(function(e){var t=e.length,s=t>1?e[t-1]:r;return s=typeof s=="function"?(e.pop(),s):r,Of(e,s)});function Bf(e){var t=S(e);return t.__chain__=!0,t}function l1(e,t){return t(e),e}function Ln(e,t){return t(e)}var u1=wt(function(e){var t=e.length,s=t?e[0]:0,u=this.__wrapped__,d=function(b){return Js(b,e)};return t>1||this.__actions__.length||!(u instanceof re)||!Rt(s)?this.thru(d):(u=u.slice(s,+s+(t?1:0)),u.__actions__.push({func:Ln,args:[d],thisArg:r}),new Je(u,this.__chain__).thru(function(b){return t&&!b.length&&b.push(r),b}))});function p1(){return Bf(this)}function I1(){return new Je(this.value(),this.__chain__)}function h1(){this.__values__===r&&(this.__values__=Nf(this.value()));var e=this.__index__>=this.__values__.length,t=e?r:this.__values__[this.__index__++];return{done:e,value:t}}function d1(){return this}function v1(e){for(var t,s=this;s instanceof Bn;){var u=mf(s);u.__index__=0,u.__values__=r,t?d.__wrapped__=u:t=u;var d=u;s=s.__wrapped__}return d.__wrapped__=e,t}function m1(){var e=this.__wrapped__;if(e instanceof re){var t=e;return this.__actions__.length&&(t=new re(this)),t=t.reverse(),t.__actions__.push({func:Ln,args:[Oa],thisArg:r}),new Je(t,this.__chain__)}return this.thru(Oa)}function S1(){return Lo(this.__wrapped__,this.__actions__)}var b1=Tn(function(e,t,s){ge.call(e,s)?++e[s]:bt(e,s,1)});function y1(e,t,s){var u=Z(e)?Yi:lp;return s&&Me(e,t,s)&&(t=r),u(e,$(t,3))}function w1(e,t){var s=Z(e)?Ft:Ro;return s(e,$(t,3))}var R1=Zo(Sf),O1=Zo(bf);function B1(e,t){return Ee(Gn(e,t),1)}function A1(e,t){return Ee(Gn(e,t),Lt)}function x1(e,t,s){return s=s===r?1:Y(s),Ee(Gn(e,t),s)}function Af(e,t){var s=Z(e)?Xe:Ut;return s(e,$(t,3))}function xf(e,t){var s=Z(e)?$l:wo;return s(e,$(t,3))}var _1=Tn(function(e,t,s){ge.call(e,s)?e[s].push(t):bt(e,s,[t])});function E1(e,t,s,u){e=De(e)?e:vr(e),s=s&&!u?Y(s):0;var d=e.length;return s<0&&(s=Oe(d+s,0)),$n(e)?s<=d&&e.indexOf(t,s)>-1:!!d&&ar(e,t,s)>-1}var C1=ee(function(e,t,s){var u=-1,d=typeof t=="function",b=De(e)?E(e.length):[];return Ut(e,function(y){b[++u]=d?Le(t,y,s):Hr(y,t,s)}),b}),F1=Tn(function(e,t,s){bt(e,s,t)});function Gn(e,t){var s=Z(e)?Ie:Eo;return s(e,$(t,3))}function T1(e,t,s,u){return e==null?[]:(Z(t)||(t=t==null?[]:[t]),s=u?r:s,Z(s)||(s=s==null?[]:[s]),Mo(e,t,s))}var M1=Tn(function(e,t,s){e[s?0:1].push(t)},function(){return[[],[]]});function P1(e,t,s){var u=Z(e)?Ds:ro,d=arguments.length<3;return u(e,$(t,4),s,d,Ut)}function U1(e,t,s){var u=Z(e)?jl:ro,d=arguments.length<3;return u(e,$(t,4),s,d,wo)}function k1(e,t){var s=Z(e)?Ft:Ro;return s(e,qn($(t,3)))}function D1(e){var t=Z(e)?mo:Ep;return t(e)}function H1(e,t,s){(s?Me(e,t,s):t===r)?t=1:t=Y(t);var u=Z(e)?ip:Cp;return u(e,t)}function N1(e){var t=Z(e)?op:Tp;return t(e)}function L1(e){if(e==null)return 0;if(De(e))return $n(e)?or(e):e.length;var t=Fe(e);return t==nt||t==st?e.size:ra(e).length}function G1(e,t,s){var u=Z(e)?Hs:Mp;return s&&Me(e,t,s)&&(t=r),u(e,$(t,3))}var K1=ee(function(e,t){if(e==null)return[];var s=t.length;return s>1&&Me(e,t[0],t[1])?t=[]:s>2&&Me(t[0],t[1],t[2])&&(t=[t[0]]),Mo(e,Ee(t,1),[])}),Kn=wu||function(){return _e.Date.now()};function V1(e,t){if(typeof t!="function")throw new ze(c);return e=Y(e),function(){if(--e<1)return t.apply(this,arguments)}}function _f(e,t,s){return t=s?r:t,t=e&&t==null?e.length:t,yt(e,L,r,r,r,r,t)}function Ef(e,t){var s;if(typeof t!="function")throw new ze(c);return e=Y(e),function(){return--e>0&&(s=t.apply(this,arguments)),e<=1&&(t=r),s}}var Aa=ee(function(e,t,s){var u=x;if(s.length){var d=Mt(s,hr(Aa));u|=_}return yt(e,u,t,s,d)}),Cf=ee(function(e,t,s){var u=x|C;if(s.length){var d=Mt(s,hr(Cf));u|=_}return yt(t,u,e,s,d)});function Ff(e,t,s){t=s?r:t;var u=yt(e,F,r,r,r,r,r,t);return u.placeholder=Ff.placeholder,u}function Tf(e,t,s){t=s?r:t;var u=yt(e,N,r,r,r,r,r,t);return u.placeholder=Tf.placeholder,u}function Mf(e,t,s){var u,d,b,y,R,A,M=0,P=!1,D=!1,G=!0;if(typeof e!="function")throw new ze(c);t=et(t)||0,ve(s)&&(P=!!s.leading,D="maxWait"in s,b=D?Oe(et(s.maxWait)||0,t):b,G="trailing"in s?!!s.trailing:G);function q(ye){var ft=u,At=d;return u=d=r,M=ye,y=e.apply(At,ft),y}function j(ye){return M=ye,R=Vr(te,t),P?q(ye):y}function Q(ye){var ft=ye-A,At=ye-M,Yf=t-ft;return D?Ce(Yf,b-At):Yf}function X(ye){var ft=ye-A,At=ye-M;return A===r||ft>=t||ft<0||D&&At>=b}function te(){var ye=Kn();if(X(ye))return ne(ye);R=Vr(te,Q(ye))}function ne(ye){return R=r,G&&u?q(ye):(u=d=r,y)}function qe(){R!==r&&Ko(R),M=0,u=A=d=R=r}function Pe(){return R===r?y:ne(Kn())}function We(){var ye=Kn(),ft=X(ye);if(u=arguments,d=this,A=ye,ft){if(R===r)return j(A);if(D)return Ko(R),R=Vr(te,t),q(A)}return R===r&&(R=Vr(te,t)),y}return We.cancel=qe,We.flush=Pe,We}var q1=ee(function(e,t){return yo(e,1,t)}),W1=ee(function(e,t,s){return yo(e,et(t)||0,s)});function $1(e){return yt(e,z)}function Vn(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new ze(c);var s=function(){var u=arguments,d=t?t.apply(this,u):u[0],b=s.cache;if(b.has(d))return b.get(d);var y=e.apply(this,u);return s.cache=b.set(d,y)||b,y};return s.cache=new(Vn.Cache||St),s}Vn.Cache=St;function qn(e){if(typeof e!="function")throw new ze(c);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function j1(e){return Ef(2,e)}var X1=Pp(function(e,t){t=t.length==1&&Z(t[0])?Ie(t[0],Ge($())):Ie(Ee(t,1),Ge($()));var s=t.length;return ee(function(u){for(var d=-1,b=Ce(u.length,s);++d<b;)u[d]=t[d].call(this,u[d]);return Le(e,this,u)})}),xa=ee(function(e,t){var s=Mt(t,hr(xa));return yt(e,_,r,t,s)}),Pf=ee(function(e,t){var s=Mt(t,hr(Pf));return yt(e,U,r,t,s)}),z1=wt(function(e,t){return yt(e,W,r,r,r,t)});function J1(e,t){if(typeof e!="function")throw new ze(c);return t=t===r?t:Y(t),ee(e,t)}function Z1(e,t){if(typeof e!="function")throw new ze(c);return t=t==null?0:Oe(Y(t),0),ee(function(s){var u=s[t],d=Ht(s,0,t);return u&&Tt(d,u),Le(e,this,d)})}function Y1(e,t,s){var u=!0,d=!0;if(typeof e!="function")throw new ze(c);return ve(s)&&(u="leading"in s?!!s.leading:u,d="trailing"in s?!!s.trailing:d),Mf(e,t,{leading:u,maxWait:t,trailing:d})}function Q1(e){return _f(e,1)}function eh(e,t){return xa(la(t),e)}function th(){if(!arguments.length)return[];var e=arguments[0];return Z(e)?e:[e]}function rh(e){return Ze(e,m)}function nh(e,t){return t=typeof t=="function"?t:r,Ze(e,m,t)}function sh(e){return Ze(e,h|m)}function ah(e,t){return t=typeof t=="function"?t:r,Ze(e,h|m,t)}function ih(e,t){return t==null||bo(e,t,Ae(t))}function ot(e,t){return e===t||e!==e&&t!==t}var oh=kn(Qs),fh=kn(function(e,t){return e>=t}),zt=Ao(function(){return arguments}())?Ao:function(e){return me(e)&&ge.call(e,"callee")&&!lo.call(e,"callee")},Z=E.isArray,ch=$i?Ge($i):vp;function De(e){return e!=null&&Wn(e.length)&&!Ot(e)}function be(e){return me(e)&&De(e)}function gh(e){return e===!0||e===!1||me(e)&&Te(e)==Rr}var Nt=Ou||Ha,lh=ji?Ge(ji):mp;function uh(e){return me(e)&&e.nodeType===1&&!qr(e)}function ph(e){if(e==null)return!0;if(De(e)&&(Z(e)||typeof e=="string"||typeof e.splice=="function"||Nt(e)||dr(e)||zt(e)))return!e.length;var t=Fe(e);if(t==nt||t==st)return!e.size;if(Kr(e))return!ra(e).length;for(var s in e)if(ge.call(e,s))return!1;return!0}function Ih(e,t){return Nr(e,t)}function hh(e,t,s){s=typeof s=="function"?s:r;var u=s?s(e,t):r;return u===r?Nr(e,t,r,s):!!u}function _a(e){if(!me(e))return!1;var t=Te(e);return t==rn||t==Hg||typeof e.message=="string"&&typeof e.name=="string"&&!qr(e)}function dh(e){return typeof e=="number"&&po(e)}function Ot(e){if(!ve(e))return!1;var t=Te(e);return t==nn||t==bi||t==Dg||t==Lg}function Uf(e){return typeof e=="number"&&e==Y(e)}function Wn(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Ct}function ve(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function me(e){return e!=null&&typeof e=="object"}var kf=Xi?Ge(Xi):bp;function vh(e,t){return e===t||ta(e,t,ma(t))}function mh(e,t,s){return s=typeof s=="function"?s:r,ta(e,t,ma(t),s)}function Sh(e){return Df(e)&&e!=+e}function bh(e){if(nI(e))throw new J(i);return xo(e)}function yh(e){return e===null}function wh(e){return e==null}function Df(e){return typeof e=="number"||me(e)&&Te(e)==Br}function qr(e){if(!me(e)||Te(e)!=vt)return!1;var t=mn(e);if(t===null)return!0;var s=ge.call(t,"constructor")&&t.constructor;return typeof s=="function"&&s instanceof s&&In.call(s)==mu}var Ea=zi?Ge(zi):yp;function Rh(e){return Uf(e)&&e>=-Ct&&e<=Ct}var Hf=Ji?Ge(Ji):wp;function $n(e){return typeof e=="string"||!Z(e)&&me(e)&&Te(e)==xr}function Ve(e){return typeof e=="symbol"||me(e)&&Te(e)==sn}var dr=Zi?Ge(Zi):Rp;function Oh(e){return e===r}function Bh(e){return me(e)&&Fe(e)==_r}function Ah(e){return me(e)&&Te(e)==Kg}var xh=kn(na),_h=kn(function(e,t){return e<=t});function Nf(e){if(!e)return[];if(De(e))return $n(e)?at(e):ke(e);if(Fr&&e[Fr])return iu(e[Fr]());var t=Fe(e),s=t==nt?qs:t==st?ln:vr;return s(e)}function Bt(e){if(!e)return e===0?e:0;if(e=et(e),e===Lt||e===-Lt){var t=e<0?-1:1;return t*Mg}return e===e?e:0}function Y(e){var t=Bt(e),s=t%1;return t===t?s?t-s:t:0}function Lf(e){return e?Wt(Y(e),0,ct):0}function et(e){if(typeof e=="number")return e;if(Ve(e))return en;if(ve(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ve(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=no(e);var s=cl.test(e);return s||ll.test(e)?Vl(e.slice(2),s?2:8):fl.test(e)?en:+e}function Gf(e){return lt(e,He(e))}function Eh(e){return e?Wt(Y(e),-Ct,Ct):e===0?e:0}function ce(e){return e==null?"":Ke(e)}var Ch=pr(function(e,t){if(Kr(t)||De(t)){lt(t,Ae(t),e);return}for(var s in t)ge.call(t,s)&&kr(e,s,t[s])}),Kf=pr(function(e,t){lt(t,He(t),e)}),jn=pr(function(e,t,s,u){lt(t,He(t),e,u)}),Fh=pr(function(e,t,s,u){lt(t,Ae(t),e,u)}),Th=wt(Js);function Mh(e,t){var s=ur(e);return t==null?s:So(s,t)}var Ph=ee(function(e,t){e=le(e);var s=-1,u=t.length,d=u>2?t[2]:r;for(d&&Me(t[0],t[1],d)&&(u=1);++s<u;)for(var b=t[s],y=He(b),R=-1,A=y.length;++R<A;){var M=y[R],P=e[M];(P===r||ot(P,cr[M])&&!ge.call(e,M))&&(e[M]=b[M])}return e}),Uh=ee(function(e){return e.push(r,sf),Le(Vf,r,e)});function kh(e,t){return Qi(e,$(t,3),gt)}function Dh(e,t){return Qi(e,$(t,3),Ys)}function Hh(e,t){return e==null?e:Zs(e,$(t,3),He)}function Nh(e,t){return e==null?e:Oo(e,$(t,3),He)}function Lh(e,t){return e&>(e,$(t,3))}function Gh(e,t){return e&&Ys(e,$(t,3))}function Kh(e){return e==null?[]:_n(e,Ae(e))}function Vh(e){return e==null?[]:_n(e,He(e))}function Ca(e,t,s){var u=e==null?r:$t(e,t);return u===r?s:u}function qh(e,t){return e!=null&&ff(e,t,pp)}function Fa(e,t){return e!=null&&ff(e,t,Ip)}var Wh=Qo(function(e,t,s){t!=null&&typeof t.toString!="function"&&(t=hn.call(t)),e[t]=s},Ma(Ne)),$h=Qo(function(e,t,s){t!=null&&typeof t.toString!="function"&&(t=hn.call(t)),ge.call(e,t)?e[t].push(s):e[t]=[s]},$),jh=ee(Hr);function Ae(e){return De(e)?vo(e):ra(e)}function He(e){return De(e)?vo(e,!0):Op(e)}function Xh(e,t){var s={};return t=$(t,3),gt(e,function(u,d,b){bt(s,t(u,d,b),u)}),s}function zh(e,t){var s={};return t=$(t,3),gt(e,function(u,d,b){bt(s,d,t(u,d,b))}),s}var Jh=pr(function(e,t,s){En(e,t,s)}),Vf=pr(function(e,t,s,u){En(e,t,s,u)}),Zh=wt(function(e,t){var s={};if(e==null)return s;var u=!1;t=Ie(t,function(b){return b=Dt(b,e),u||(u=b.length>1),b}),lt(e,da(e),s),u&&(s=Ze(s,h|v|m,Wp));for(var d=t.length;d--;)fa(s,t[d]);return s});function Yh(e,t){return qf(e,qn($(t)))}var Qh=wt(function(e,t){return e==null?{}:Ap(e,t)});function qf(e,t){if(e==null)return{};var s=Ie(da(e),function(u){return[u]});return t=$(t),Po(e,s,function(u,d){return t(u,d[0])})}function ed(e,t,s){t=Dt(t,e);var u=-1,d=t.length;for(d||(d=1,e=r);++u<d;){var b=e==null?r:e[ut(t[u])];b===r&&(u=d,b=s),e=Ot(b)?b.call(e):b}return e}function td(e,t,s){return e==null?e:Lr(e,t,s)}function rd(e,t,s,u){return u=typeof u=="function"?u:r,e==null?e:Lr(e,t,s,u)}var Wf=rf(Ae),$f=rf(He);function nd(e,t,s){var u=Z(e),d=u||Nt(e)||dr(e);if(t=$(t,4),s==null){var b=e&&e.constructor;d?s=u?new b:[]:ve(e)?s=Ot(b)?ur(mn(e)):{}:s={}}return(d?Xe:gt)(e,function(y,R,A){return t(s,y,R,A)}),s}function sd(e,t){return e==null?!0:fa(e,t)}function ad(e,t,s){return e==null?e:No(e,t,la(s))}function id(e,t,s,u){return u=typeof u=="function"?u:r,e==null?e:No(e,t,la(s),u)}function vr(e){return e==null?[]:Vs(e,Ae(e))}function od(e){return e==null?[]:Vs(e,He(e))}function fd(e,t,s){return s===r&&(s=t,t=r),s!==r&&(s=et(s),s=s===s?s:0),t!==r&&(t=et(t),t=t===t?t:0),Wt(et(e),t,s)}function cd(e,t,s){return t=Bt(t),s===r?(s=t,t=0):s=Bt(s),e=et(e),hp(e,t,s)}function gd(e,t,s){if(s&&typeof s!="boolean"&&Me(e,t,s)&&(t=s=r),s===r&&(typeof t=="boolean"?(s=t,t=r):typeof e=="boolean"&&(s=e,e=r)),e===r&&t===r?(e=0,t=1):(e=Bt(e),t===r?(t=e,e=0):t=Bt(t)),e>t){var u=e;e=t,t=u}if(s||e%1||t%1){var d=Io();return Ce(e+d*(t-e+Kl("1e-"+((d+"").length-1))),t)}return aa(e,t)}var ld=Ir(function(e,t,s){return t=t.toLowerCase(),e+(s?jf(t):t)});function jf(e){return Ta(ce(e).toLowerCase())}function Xf(e){return e=ce(e),e&&e.replace(pl,tu).replace(Tl,"")}function ud(e,t,s){e=ce(e),t=Ke(t);var u=e.length;s=s===r?u:Wt(Y(s),0,u);var d=s;return s-=t.length,s>=0&&e.slice(s,d)==t}function pd(e){return e=ce(e),e&&jg.test(e)?e.replace(Ri,ru):e}function Id(e){return e=ce(e),e&&Qg.test(e)?e.replace(xs,"\\$&"):e}var hd=Ir(function(e,t,s){return e+(s?"-":"")+t.toLowerCase()}),dd=Ir(function(e,t,s){return e+(s?" ":"")+t.toLowerCase()}),vd=Jo("toLowerCase");function md(e,t,s){e=ce(e),t=Y(t);var u=t?or(e):0;if(!t||u>=t)return e;var d=(t-u)/2;return Un(wn(d),s)+e+Un(yn(d),s)}function Sd(e,t,s){e=ce(e),t=Y(t);var u=t?or(e):0;return t&&u<t?e+Un(t-u,s):e}function bd(e,t,s){e=ce(e),t=Y(t);var u=t?or(e):0;return t&&u<t?Un(t-u,s)+e:e}function yd(e,t,s){return s||t==null?t=0:t&&(t=+t),_u(ce(e).replace(_s,""),t||0)}function wd(e,t,s){return(s?Me(e,t,s):t===r)?t=1:t=Y(t),ia(ce(e),t)}function Rd(){var e=arguments,t=ce(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var Od=Ir(function(e,t,s){return e+(s?"_":"")+t.toLowerCase()});function Bd(e,t,s){return s&&typeof s!="number"&&Me(e,t,s)&&(t=s=r),s=s===r?ct:s>>>0,s?(e=ce(e),e&&(typeof t=="string"||t!=null&&!Ea(t))&&(t=Ke(t),!t&&ir(e))?Ht(at(e),0,s):e.split(t,s)):[]}var Ad=Ir(function(e,t,s){return e+(s?" ":"")+Ta(t)});function xd(e,t,s){return e=ce(e),s=s==null?0:Wt(Y(s),0,e.length),t=Ke(t),e.slice(s,s+t.length)==t}function _d(e,t,s){var u=S.templateSettings;s&&Me(e,t,s)&&(t=r),e=ce(e),t=jn({},t,u,nf);var d=jn({},t.imports,u.imports,nf),b=Ae(d),y=Vs(d,b),R,A,M=0,P=t.interpolate||an,D="__p += '",G=Ws((t.escape||an).source+"|"+P.source+"|"+(P===Oi?ol:an).source+"|"+(t.evaluate||an).source+"|$","g"),q="//# sourceURL="+(ge.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Dl+"]")+`
|
|
11
|
+
`;e.replace(G,function(X,te,ne,qe,Pe,We){return ne||(ne=qe),D+=e.slice(M,We).replace(Il,nu),te&&(R=!0,D+=`' +
|
|
12
12
|
__e(`+te+`) +
|
|
13
|
-
'`),
|
|
14
|
-
`+
|
|
13
|
+
'`),Pe&&(A=!0,D+=`';
|
|
14
|
+
`+Pe+`;
|
|
15
15
|
__p += '`),ne&&(D+=`' +
|
|
16
16
|
((__t = (`+ne+`)) == null ? '' : __t) +
|
|
17
|
-
'`),M=
|
|
18
|
-
`;var j=
|
|
17
|
+
'`),M=We+X.length,X}),D+=`';
|
|
18
|
+
`;var j=ge.call(t,"variable")&&t.variable;if(!j)D=`with (obj) {
|
|
19
19
|
`+D+`
|
|
20
20
|
}
|
|
21
|
-
`;else if(
|
|
21
|
+
`;else if(al.test(j))throw new J(g);D=(A?D.replace(Vg,""):D).replace(qg,"$1").replace(Wg,"$1;"),D="function("+(j||"obj")+`) {
|
|
22
22
|
`+(j?"":`obj || (obj = {});
|
|
23
23
|
`)+"var __t, __p = ''"+(R?", __e = _.escape":"")+(A?`, __j = Array.prototype.join;
|
|
24
24
|
function print() { __p += __j.call(arguments, '') }
|
|
25
25
|
`:`;
|
|
26
26
|
`)+D+`return __p
|
|
27
|
-
}`;var Q=jf(function(){return ie(b,q+"return "+D).apply(r,y)});if(Q.source=D,Ba(Q))throw Q;return Q}function Od(e){return fe(e).toLowerCase()}function Bd(e){return fe(e).toUpperCase()}function Ad(e,t,s){if(e=fe(e),e&&(s||t===r))return eo(e);if(!e||!(t=Ne(t)))return e;var u=rt(e),d=rt(t),b=to(u,d),y=ro(u,d)+1;return Ut(u,b,y).join("")}function xd(e,t,s){if(e=fe(e),e&&(s||t===r))return e.slice(0,so(e)+1);if(!e||!(t=Ne(t)))return e;var u=rt(e),d=ro(u,rt(t))+1;return Ut(u,0,d).join("")}function _d(e,t,s){if(e=fe(e),e&&(s||t===r))return e.replace(Bs,"");if(!e||!(t=Ne(t)))return e;var u=rt(e),d=to(u,rt(t));return Ut(u,d).join("")}function Ed(e,t){var s=he,u=ae;if(de(t)){var d="separator"in t?t.separator:d;s="length"in t?Y(t.length):s,u="omission"in t?Ne(t.omission):u}e=fe(e);var b=e.length;if(nr(e)){var y=rt(e);b=y.length}if(s>=b)return e;var R=s-sr(u);if(R<1)return u;var A=y?Ut(y,0,R).join(""):e.slice(0,R);if(d===r)return A+u;if(y&&(R+=A.length-R),Aa(d)){if(e.slice(R).search(d)){var M,P=A;for(d.global||(d=Ks(d.source,fe(wi.exec(d))+"g")),d.lastIndex=0;M=d.exec(P);)var D=M.index;A=A.slice(0,D===r?R:D)}}else if(e.indexOf(Ne(d),R)!=R){var G=A.lastIndexOf(d);G>-1&&(A=A.slice(0,G))}return A+u}function Cd(e){return e=fe(e),e&&Gg.test(e)?e.replace(Si,au):e}var Fd=lr(function(e,t,s){return e+(s?" ":"")+t.toUpperCase()}),Ea=jo("toUpperCase");function $f(e,t,s){return e=fe(e),t=s?r:t,t===r?eu(e)?fu(e):Wl(e):e.match(t)||[]}var jf=ee(function(e,t){try{return De(e,r,t)}catch(s){return Ba(s)?s:new J(s)}}),Td=St(function(e,t){return We(t,function(s){s=ct(s),vt(e,s,Ra(e[s],e))}),e});function Md(e){var t=e==null?0:e.length,s=$();return e=t?pe(e,function(u){if(typeof u[1]!="function")throw new $e(c);return[s(u[0]),u[1]]}):[],ee(function(u){for(var d=-1;++d<t;){var b=e[d];if(De(b[0],this,u))return De(b[1],this,u)}})}function Pd(e){return ap(Xe(e,h))}function Ca(e){return function(){return e}}function Ud(e,t){return e==null||e!==e?t:e}var kd=zo(),Dd=zo(!0);function ke(e){return e}function Fa(e){return Bo(typeof e=="function"?e:Xe(e,h))}function Hd(e){return xo(Xe(e,h))}function Nd(e,t){return _o(e,Xe(t,h))}var Ld=ee(function(e,t){return function(s){return Ur(s,e,t)}}),Gd=ee(function(e,t){return function(s){return Ur(e,s,t)}});function Ta(e,t,s){var u=Re(t),d=Bn(t,u);s==null&&!(de(t)&&(d.length||!u.length))&&(s=t,t=e,e=this,d=Bn(t,Re(t)));var b=!(de(s)&&"chain"in s)||!!s.chain,y=yt(e);return We(d,function(R){var A=t[R];e[R]=A,y&&(e.prototype[R]=function(){var M=this.__chain__;if(b||M){var P=e(this.__wrapped__),D=P.__actions__=Me(this.__actions__);return D.push({func:A,args:arguments,thisArg:e}),P.__chain__=M,P}return A.apply(e,Et([this.value()],arguments))})}),e}function Kd(){return Be._===this&&(Be._=Iu),this}function Ma(){}function Vd(e){return e=Y(e),ee(function(t){return Eo(t,e)})}var qd=ga(pe),Wd=ga(zi),$d=ga(Us);function Xf(e){return va(e)?ks(ct(e)):wp(e)}function jd(e){return function(t){return e==null?r:Vt(e,t)}}var Xd=Zo(),zd=Zo(!0);function Pa(){return[]}function Ua(){return!1}function Jd(){return{}}function Zd(){return""}function Yd(){return!0}function Qd(e,t){if(e=Y(e),e<1||e>xt)return[];var s=it,u=xe(e,it);t=$(t),e-=it;for(var d=Ns(u,t);++s<e;)t(s);return d}function e2(e){return Z(e)?pe(e,ct):Le(e)?[e]:Me(If(fe(e)))}function t2(e){var t=++uu;return fe(e)+t}var r2=Fn(function(e,t){return e+t},0),n2=la("ceil"),s2=Fn(function(e,t){return e/t},1),a2=la("floor");function i2(e){return e&&e.length?On(e,ke,Js):r}function o2(e,t){return e&&e.length?On(e,$(t,2),Js):r}function f2(e){return Yi(e,ke)}function c2(e,t){return Yi(e,$(t,2))}function g2(e){return e&&e.length?On(e,ke,ea):r}function l2(e,t){return e&&e.length?On(e,$(t,2),ea):r}var u2=Fn(function(e,t){return e*t},1),p2=la("round"),I2=Fn(function(e,t){return e-t},0);function h2(e){return e&&e.length?Hs(e,ke):0}function d2(e,t){return e&&e.length?Hs(e,$(t,2)):0}return S.after=H1,S.ary=Bf,S.assign=Bh,S.assignIn=Nf,S.assignInWith=qn,S.assignWith=Ah,S.at=xh,S.before=Af,S.bind=Ra,S.bindAll=Td,S.bindKey=xf,S.castArray=J1,S.chain=wf,S.chunk=aI,S.compact=iI,S.concat=oI,S.cond=Md,S.conforms=Pd,S.constant=Ca,S.countBy=h1,S.create=_h,S.curry=_f,S.curryRight=Ef,S.debounce=Cf,S.defaults=Eh,S.defaultsDeep=Ch,S.defer=N1,S.delay=L1,S.difference=fI,S.differenceBy=cI,S.differenceWith=gI,S.drop=lI,S.dropRight=uI,S.dropRightWhile=pI,S.dropWhile=II,S.fill=hI,S.filter=v1,S.flatMap=b1,S.flatMapDeep=y1,S.flatMapDepth=w1,S.flatten=mf,S.flattenDeep=dI,S.flattenDepth=vI,S.flip=G1,S.flow=kd,S.flowRight=Dd,S.fromPairs=mI,S.functions=Dh,S.functionsIn=Hh,S.groupBy=R1,S.initial=bI,S.intersection=yI,S.intersectionBy=wI,S.intersectionWith=RI,S.invert=Lh,S.invertBy=Gh,S.invokeMap=B1,S.iteratee=Fa,S.keyBy=A1,S.keys=Re,S.keysIn=Ue,S.map=Hn,S.mapKeys=Vh,S.mapValues=qh,S.matches=Hd,S.matchesProperty=Nd,S.memoize=Ln,S.merge=Wh,S.mergeWith=Lf,S.method=Ld,S.methodOf=Gd,S.mixin=Ta,S.negate=Gn,S.nthArg=Vd,S.omit=$h,S.omitBy=jh,S.once=K1,S.orderBy=x1,S.over=qd,S.overArgs=V1,S.overEvery=Wd,S.overSome=$d,S.partial=Oa,S.partialRight=Ff,S.partition=_1,S.pick=Xh,S.pickBy=Gf,S.property=Xf,S.propertyOf=jd,S.pull=xI,S.pullAll=bf,S.pullAllBy=_I,S.pullAllWith=EI,S.pullAt=CI,S.range=Xd,S.rangeRight=zd,S.rearg=q1,S.reject=F1,S.remove=FI,S.rest=W1,S.reverse=ya,S.sampleSize=M1,S.set=Jh,S.setWith=Zh,S.shuffle=P1,S.slice=TI,S.sortBy=D1,S.sortedUniq=NI,S.sortedUniqBy=LI,S.split=bd,S.spread=$1,S.tail=GI,S.take=KI,S.takeRight=VI,S.takeRightWhile=qI,S.takeWhile=WI,S.tap=i1,S.throttle=j1,S.thru=Dn,S.toArray=kf,S.toPairs=Kf,S.toPairsIn=Vf,S.toPath=e2,S.toPlainObject=Hf,S.transform=Yh,S.unary=X1,S.union=$I,S.unionBy=jI,S.unionWith=XI,S.uniq=zI,S.uniqBy=JI,S.uniqWith=ZI,S.unset=Qh,S.unzip=wa,S.unzipWith=yf,S.update=ed,S.updateWith=td,S.values=Ir,S.valuesIn=rd,S.without=YI,S.words=$f,S.wrap=z1,S.xor=QI,S.xorBy=e1,S.xorWith=t1,S.zip=r1,S.zipObject=n1,S.zipObjectDeep=s1,S.zipWith=a1,S.entries=Kf,S.entriesIn=Vf,S.extend=Nf,S.extendWith=qn,Ta(S,S),S.add=r2,S.attempt=jf,S.camelCase=id,S.capitalize=qf,S.ceil=n2,S.clamp=nd,S.clone=Z1,S.cloneDeep=Q1,S.cloneDeepWith=eh,S.cloneWith=Y1,S.conformsTo=th,S.deburr=Wf,S.defaultTo=Ud,S.divide=s2,S.endsWith=od,S.eq=st,S.escape=fd,S.escapeRegExp=cd,S.every=d1,S.find=m1,S.findIndex=df,S.findKey=Fh,S.findLast=S1,S.findLastIndex=vf,S.findLastKey=Th,S.floor=a2,S.forEach=Rf,S.forEachRight=Of,S.forIn=Mh,S.forInRight=Ph,S.forOwn=Uh,S.forOwnRight=kh,S.get=xa,S.gt=rh,S.gte=nh,S.has=Nh,S.hasIn=_a,S.head=Sf,S.identity=ke,S.includes=O1,S.indexOf=SI,S.inRange=sd,S.invoke=Kh,S.isArguments=$t,S.isArray=Z,S.isArrayBuffer=sh,S.isArrayLike=Pe,S.isArrayLikeObject=me,S.isBoolean=ah,S.isBuffer=kt,S.isDate=ih,S.isElement=oh,S.isEmpty=fh,S.isEqual=ch,S.isEqualWith=gh,S.isError=Ba,S.isFinite=lh,S.isFunction=yt,S.isInteger=Tf,S.isLength=Kn,S.isMap=Mf,S.isMatch=uh,S.isMatchWith=ph,S.isNaN=Ih,S.isNative=hh,S.isNil=vh,S.isNull=dh,S.isNumber=Pf,S.isObject=de,S.isObjectLike=ve,S.isPlainObject=Gr,S.isRegExp=Aa,S.isSafeInteger=mh,S.isSet=Uf,S.isString=Vn,S.isSymbol=Le,S.isTypedArray=pr,S.isUndefined=Sh,S.isWeakMap=bh,S.isWeakSet=yh,S.join=OI,S.kebabCase=gd,S.last=Je,S.lastIndexOf=BI,S.lowerCase=ld,S.lowerFirst=ud,S.lt=wh,S.lte=Rh,S.max=i2,S.maxBy=o2,S.mean=f2,S.meanBy=c2,S.min=g2,S.minBy=l2,S.stubArray=Pa,S.stubFalse=Ua,S.stubObject=Jd,S.stubString=Zd,S.stubTrue=Yd,S.multiply=u2,S.nth=AI,S.noConflict=Kd,S.noop=Ma,S.now=Nn,S.pad=pd,S.padEnd=Id,S.padStart=hd,S.parseInt=dd,S.random=ad,S.reduce=E1,S.reduceRight=C1,S.repeat=vd,S.replace=md,S.result=zh,S.round=p2,S.runInContext=O,S.sample=T1,S.size=U1,S.snakeCase=Sd,S.some=k1,S.sortedIndex=MI,S.sortedIndexBy=PI,S.sortedIndexOf=UI,S.sortedLastIndex=kI,S.sortedLastIndexBy=DI,S.sortedLastIndexOf=HI,S.startCase=yd,S.startsWith=wd,S.subtract=I2,S.sum=h2,S.sumBy=d2,S.template=Rd,S.times=Qd,S.toFinite=wt,S.toInteger=Y,S.toLength=Df,S.toLower=Od,S.toNumber=Ze,S.toSafeInteger=Oh,S.toString=fe,S.toUpper=Bd,S.trim=Ad,S.trimEnd=xd,S.trimStart=_d,S.truncate=Ed,S.unescape=Cd,S.uniqueId=t2,S.upperCase=Fd,S.upperFirst=Ea,S.each=Rf,S.eachRight=Of,S.first=Sf,Ta(S,function(){var e={};return ot(S,function(t,s){ce.call(S.prototype,s)||(e[s]=t)}),e}(),{chain:!1}),S.VERSION=o,We(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){S[e].placeholder=S}),We(["drop","take"],function(e,t){re.prototype[e]=function(s){s=s===r?1:ye(Y(s),0);var u=this.__filtered__&&!t?new re(this):this.clone();return u.__filtered__?u.__takeCount__=xe(s,u.__takeCount__):u.__views__.push({size:xe(s,it),type:e+(u.__dir__<0?"Right":"")}),u},re.prototype[e+"Right"]=function(s){return this.reverse()[e](s).reverse()}}),We(["filter","map","takeWhile"],function(e,t){var s=t+1,u=s==Ve||s==xg;re.prototype[e]=function(d){var b=this.clone();return b.__iteratees__.push({iteratee:$(d,3),type:s}),b.__filtered__=b.__filtered__||u,b}}),We(["head","last"],function(e,t){var s="take"+(t?"Right":"");re.prototype[e]=function(){return this[s](1).value()[0]}}),We(["initial","tail"],function(e,t){var s="drop"+(t?"":"Right");re.prototype[e]=function(){return this.__filtered__?new re(this):this[s](1)}}),re.prototype.compact=function(){return this.filter(ke)},re.prototype.find=function(e){return this.filter(e).head()},re.prototype.findLast=function(e){return this.reverse().find(e)},re.prototype.invokeMap=ee(function(e,t){return typeof e=="function"?new re(this):this.map(function(s){return Ur(s,e,t)})}),re.prototype.reject=function(e){return this.filter(Gn($(e)))},re.prototype.slice=function(e,t){e=Y(e);var s=this;return s.__filtered__&&(e>0||t<0)?new re(s):(e<0?s=s.takeRight(-e):e&&(s=s.drop(e)),t!==r&&(t=Y(t),s=t<0?s.dropRight(-t):s.take(t-e)),s)},re.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},re.prototype.toArray=function(){return this.take(it)},ot(re.prototype,function(e,t){var s=/^(?:filter|find|map|reject)|While$/.test(t),u=/^(?:head|last)$/.test(t),d=S[u?"take"+(t=="last"?"Right":""):t],b=u||/^find/.test(t);d&&(S.prototype[t]=function(){var y=this.__wrapped__,R=u?[1]:arguments,A=y instanceof re,M=R[0],P=A||Z(y),D=function(te){var ne=d.apply(S,Et([te],R));return u&&G?ne[0]:ne};P&&s&&typeof M=="function"&&M.length!=1&&(A=P=!1);var G=this.__chain__,q=!!this.__actions__.length,j=b&&!G,Q=A&&!q;if(!b&&P){y=Q?y:new re(this);var X=e.apply(y,R);return X.__actions__.push({func:Dn,args:[D],thisArg:r}),new je(X,G)}return j&&Q?e.apply(this,R):(X=this.thru(D),j?u?X.value()[0]:X.value():X)})}),We(["pop","push","shift","sort","splice","unshift"],function(e){var t=cn[e],s=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",u=/^(?:pop|shift)$/.test(e);S.prototype[e]=function(){var d=arguments;if(u&&!this.__chain__){var b=this.value();return t.apply(Z(b)?b:[],d)}return this[s](function(y){return t.apply(Z(y)?y:[],d)})}}),ot(re.prototype,function(e,t){var s=S[t];if(s){var u=s.name+"";ce.call(fr,u)||(fr[u]=[]),fr[u].push({name:t,func:s})}}),fr[Cn(r,C).name]=[{name:"wrapper",func:r}],re.prototype.clone=Cu,re.prototype.reverse=Fu,re.prototype.value=Tu,S.prototype.at=o1,S.prototype.chain=f1,S.prototype.commit=c1,S.prototype.next=g1,S.prototype.plant=u1,S.prototype.reverse=p1,S.prototype.toJSON=S.prototype.valueOf=S.prototype.value=I1,S.prototype.first=S.prototype.head,_r&&(S.prototype[_r]=l1),S},ar=cu();Ht?((Ht.exports=ar)._=ar,Fs._=ar):Be._=ar}).call(Kr)})(Yn,Yn.exports);var V=Yn.exports;const v2="ACDEFGHIKLMNPQRSTVWY",m2="ACDEFGHIKLMNPQRSTVWYBXZJUO.*-",S2={A:"Ala",C:"Cys",D:"Asp",E:"Glu",F:"Phe",G:"Gly",H:"His",I:"Ile",K:"Lys",L:"Leu",M:"Met",N:"Asn",P:"Pro",Q:"Gln",R:"Arg",S:"Ser",T:"Thr",V:"Val",W:"Trp",Y:"Tyr",O:"Pyl",U:"Sec"},Oc="GATCRYWSMKHBVDN",b2="GATC",y2="GAUCRYWSMKHBVDN",w2="GAUC",R2="GATCBDSW",Qn={".":".",A:"A",C:"C",G:"G",T:"T",M:"AC",R:"AG",W:"AT",S:"CG",Y:"CT",K:"GT",V:"ACG",H:"ACT",D:"AGT",B:"CGT",X:"GATC",N:"GATC"},O2={".":".",A:"A",C:"C",G:"G",U:"U",M:"AC",R:"AG",W:"AU",S:"CG",Y:"CU",K:"GU",V:"ACG",H:"ACU",D:"AGU",B:"CGU",X:"GAUC",N:"GAUC"},B2={".":".",A:"T",C:"G",G:"C",T:"A",M:"K",R:"Y",W:"W",S:"S",Y:"R",K:"M",V:"B",H:"D",D:"H",B:"V",X:"X",N:"N"},A2={".":".",A:"U",C:"G",G:"C",U:"A",M:"K",R:"Y",W:"W",S:"S",Y:"R",K:"M",V:"B",H:"D",D:"H",B:"V",X:"X",N:"N"},x2={A:331.2218,C:307.1971,G:347.2212,T:322.2085},_2={A:331.06817,C:307.056936,G:347.063084,T:322.056602},E2={A:347.2212,C:323.1965,G:363.2206,U:324.1813},C2={A:347.063084,C:323.051851,G:363.057999,U:324.035867},F2={A:89.0932,C:121.1582,D:133.1027,E:147.1293,F:165.1891,G:75.0666,H:155.1546,I:131.1729,K:146.1876,L:131.1729,M:149.2113,N:132.1179,O:255.3134,P:115.1305,Q:146.1445,R:174.201,S:105.0926,T:119.1192,U:168.0532,V:117.1463,W:204.2252,Y:181.1885},T2={A:89.047678,C:121.019749,D:133.037508,E:147.053158,F:165.078979,G:75.032028,H:155.069477,I:131.094629,K:146.105528,L:131.094629,M:149.051049,N:132.053492,O:255.158292,P:115.063329,Q:146.069142,R:174.111676,S:105.042593,T:119.058243,U:168.964203,V:117.078979,W:204.089878,Y:181.073893},Bc={A:"A",B:"ND",C:"C",D:"D",E:"E",F:"F",G:"G",H:"H",I:"I",J:"IL",K:"K",L:"L",M:"M",N:"N",O:"O",P:"P",Q:"Q",R:"R",S:"S",T:"T",U:"U",V:"V",W:"W",X:"ACDEFGHIKLMNPQRSTVWY",Y:"Y",Z:"QE","*":"\\*\\.",".":"\\.\\.","-":"\\-"},M2={H:1.00794,D:2.0141,He:4.002602,Li:6.941,Be:9.012182,B:10.811,C:12.0107,N:14.0067,O:15.9994,F:18.9984032,Ne:20.1797,Na:22.98977,Mg:24.305,Al:26.981538,Si:28.0855,P:30.973761,S:32.065,Cl:35.453,Ar:39.948,K:39.0983,Ca:40.078,Sc:44.95591,Ti:47.867,V:50.9415,Cr:51.9961,Mn:54.938049,Fe:55.845,Co:58.9332,Ni:58.6934,Cu:63.546,Zn:65.39,Ga:69.723,Ge:72.64,As:74.9216,Se:78.96,Br:79.904,Kr:83.8,Rb:85.4678,Sr:87.62,Y:88.90585,Zr:91.224,Nb:92.90638,Mo:95.94,Tc:98,Ru:101.07,Rh:102.9055,Pd:106.42,Ag:107.8682,Cd:112.411,In:114.818,Sn:118.71,Sb:121.76,Te:127.6,I:126.90447,Xe:131.293,Cs:132.90545,Ba:137.327,La:138.9055,Ce:140.116,Pr:140.90765,Nd:144.24,Pm:145,Sm:150.36,Eu:151.964,Gd:157.25,Tb:158.92534,Dy:162.5,Ho:164.93032,Er:167.259,Tm:168.93421,Yb:173.04,Lu:174.967,Hf:178.49,Ta:180.9479,W:183.84,Re:186.207,Os:190.23,Ir:192.217,Pt:195.078,Au:196.96655,Hg:200.59,Tl:204.3833,Pb:207.2,Bi:208.98038,Po:208.98,At:209.99,Rn:222.02,Fr:223.02,Ra:226.03,Ac:227.03,Th:232.0381,Pa:231.03588,U:238.02891,Np:237.05,Pu:244.06,Am:243.06,Cm:247.07,Bk:247.07,Cf:251.08,Es:252.08,Fm:257.1,Md:258.1,No:259.1,Lr:262.11,Rf:261.11,Db:262.11,Sg:266.12,Bh:264.12,Hs:269.13,Mt:268.14},P2=Object.freeze(Object.defineProperty({__proto__:null,ambiguous_dna_complement:B2,ambiguous_dna_letters:Oc,ambiguous_dna_values:Qn,ambiguous_rna_complement:A2,ambiguous_rna_letters:y2,ambiguous_rna_values:O2,atom_weights:M2,extended_dna_letters:R2,extended_protein_letters:m2,extended_protein_values:Bc,monoisotopic_protein_weights:T2,monoisotopic_unambiguous_dna_weights:_2,monoisotopic_unambiguous_rna_weights:C2,protein_letters:v2,protein_letters_1to3:S2,protein_weights:F2,unambiguous_dna_letters:b2,unambiguous_dna_weights:x2,unambiguous_rna_letters:w2,unambiguous_rna_weights:E2},Symbol.toStringTag,{value:"Module"})),is={"-":"---",".":"...","*":"trr",a:"gcn",b:"ray",c:"tgy",d:"gay",e:"gar",f:"tty",g:"ggn",h:"cay",i:"ath",j:"htn",k:"aar",l:"ytn",m:"atg",n:"aay",o:"tag",p:"ccn",q:"car",r:"mgn",s:"wsn",t:"acn",u:"tga",v:"gtn",w:"tgg",x:"nnn",y:"tay",z:"sar"};function Bt(a,n){n!==0&&(n=n||1/0);const r=[];return a.start>a.end?(r.push({start:0,end:a.end,type:"end"}),r.push({start:a.start,end:n-1,type:"beginning"})):r.push({start:a.start,end:a.end,type:"beginningAndEnd"}),r}function U2(a,n){if(a.start<n.start){if(!(a.end<n.start))return a.end<n.end?{start:n.start,end:a.end}:{start:n.start,end:n.end}}else if(!(a.start>n.end))return a.end<n.end?{start:a.start,end:a.end}:{start:a.start,end:n.end}}function ti(a,n,r,o){const f=Bt(a,r),i=Bt(n,r);let c=[];if(f.forEach(function(g,l){i.forEach(function(p,I){const h=U2(g,p);h&&c.push(h)})}),o&&f.length===2&&i.length===2&&r){const g={};c=V.flatMap(c,(l,p)=>{if(l.start===0)return g.end=l.end,[];if(l.end===r-1)return g.start=l.start,[]}),c.push(g)}return c}function k2(a,n){let r;return a&&(a.start<n.start?a.end<n.start?r={start:a.start,end:a.end}:a.end>n.end?r={start:a.start,end:a.end}:r={start:a.start,end:n.start-1}:a.end<=n.end||(a.start>n.end?r={end:a.end,start:a.start}:r={end:a.end,start:n.end+1})),r}function ri(a,n,r){if(!a||!n)return console.warn("invalid range input"),null;let o;for(o of[a.start,a.end,n.start,n.end])if(o<0||!o&&o!==0)return console.warn("invalid range input"),null;const f=ti(a,n,r);if(!f.length)return a;const i=Bt(a,r);i.forEach(function(l,p){f.forEach(function(I){l&&(l=k2(l,I))}),i[p]=l});const c=i.filter(function(l){return!!l});let g;if(c.length<0||(c.length===1?g=c[0]:c.length===2&&(c[0].start<c[1].start?g={start:c[1].start,end:c[0].end}:g={start:c[0].start,end:c[1].end})),g)return V.extend({},a,{start:g.start,end:g.end})}function Jf(a,n,r){const o=ri(a,n,r);return o&&Bt(n,r).forEach(function(i){const c=i.end-i.start+1;o.start>o.end?i.start<o.end?(o.start-=c,o.end-=c):i.start<o.start&&(o.start-=c):i.start<o.start?(o.start-=c,o.end-=c):i.start<o.end&&(o.end-=c)}),o}function Zf(a,n,r){const o=V.assign({},a);return a.start>a.end?a.end>=n?(o.start+=r,o.end+=r):a.start>=n&&(o.start+=r):a.start>=n?(o.start+=r,o.end+=r):a.end>=n&&(o.end+=r),o}function D2(a,n){return a.start<n.start?!(a.end<n.start):!(a.start>n.end)}function H2(a,n){return Bt(a,1/0).some(function(r){return Bt(n,1/0).some(function(o){return D2(r,o)})})}function zn(a,n,r){const o=r&&r.start<=r.end;if(a.length===1||a.length===0)return a;if(a.length===2)return a[0].start===0&&a[1].end+1===n&&!o?[{start:a[1].start,end:a[0].end}]:a[1].start===0&&a[0].end+1===n&&!o?[{start:a[0].start,end:a[1].end}]:a;if(a.length===3){const f=a[0],i=a[1],c=a[2];let g=zn([f,i],n,r);return g.length===1?(g.push(c),g):(g=zn([f,c],n,r),g.length===1?(g.push(i),g):(g=zn([i,c],n,r),g.length===1?(g.push(f),g):a))}}function ni(a){return function(){const n=Array.prototype.slice.call(arguments),r=n[n.length-1];r&&(r.inclusive1BasedEnd||r.inclusive1BasedStart)&&n.forEach(function(f,i){f&&f.start>-1&&r.inclusive1BasedStart&&(n[i]=V.assign(f,{start:f.start-1})),f&&f.end>-1&&r.inclusive1BasedEnd&&(n[i]=V.assign(f,{end:f.end-1}))});let o=a.apply(this,n);return o&&o.start>-1&&r&&r.inclusive1BasedStart&&(o=V.assign(o,{start:o.start+1})),o&&o.end>-1&&r&&r.inclusive1BasedEnd&&(o=V.assign(o,{end:o.end+1})),o}}const Oe=ni(N2);function N2(a,n){let r;return a.end<a.start?r=n-a.start+a.end+1:r=a.end-a.start+1,a.overlapsSelf&&n&&(r+=n),r}function Ac(a,n,r){let o=ri(a,n,r);return o===null?!1:!o}function xc(a,n,r,o,f){return Bt(n,r).some(function(g){return(o?a<g.start:a<=g.start)?!1:f?a<=g.end+1:a<=g.end})}function se(a,n,r){let o=a;return o<0?o+=n:o+(r?0:1)>n&&(o-=n),o<0?0:o>n-(r?0:1)?n-(r?0:1):o}function _c(a,n){return V.assign({},a,{start:se(a.start,n),end:se(a.end,n)})}function ka(a,n,r,o){const f=V.clone(a);return r?f.start-=n:f.end+=n,_c(f,o)}function dr(a,n,r){return V.assign({},a,{start:se(a.start+n,r),end:se(a.end+n,r)})}function L2(a,n,r,o){return Ac(a,n,r)?Ec(a,n,r):G2(a,n,r)}function G2(a,n,r,o){const f=Ac(n,a,r);let i;if(f){const c=Oe({start:a.start,end:n.start},r)-1;i=ka(n,c,!1,r);const g=Oe({end:a.end,start:n.end},r)-1;i=ka(i,g,!0,r)}else{const c=ti(a,n,r);if(c.length>=1){let g;const l=c[0];g=l.start!==n.start;const p=Ec(l,n,r),I=Oe(a,r)-Oe(p,r);i=ka(p,I,g,r)}else throw new Error("This case (relative ranges that do not overlap) is unsupported! ")}return i}function Ec(a,n,r,o){const f=-n.start,i=dr(n,f,r),c=dr(a,f,r),g=K2(c,i,r);return dr(g,-f,r)}function K2(a,n,r){const o=a.start-n.start,f=n.end-o,i=Oe(a,r);return{end:f,start:f-(i-1)}}function V2(a,n,r){const o=Da(a,n);let f;return r?f=se(Da(o,o+r),n):f=Da(a,n),{start:o,end:f}}function Da(a,n){return Math.floor(Math.random()*(n-a))+a}function Ot(a,n){if(a.start<0||a.end<0)return"";if(a.start>a.end){let r=n.slice(a.start,n.length);return typeof r=="string"?r+=n.slice(0,a.end+1):r=r.concat(n.slice(0,a.end+1)),r}else return n.slice(a.start,a.end+1)}function Yf(a,n,r){if(a<n){const i=a;a=n,n=i}const o=a-n,f=r-a+n;return Math.min(o,f)}function Cc(a,n,r){let o=[];return n.some(function(i,c){if(!i.some(function(l){return H2(a,l)}))return o=c,r&&(a.yOffset=c),i.push(a),!0})||(o=n.length,r&&(a.yOffset=n.length)),o}function q2(a,n){const r=[];let o=0;const f=[];return a.forEach(function(i){const c=Cc(i,f,n);r.push(c),c>o&&(o=c),i.yOffset=c,f[c]||(f[c]=[]),f[c].push(i)}),{yOffsets:r,maxYOffset:o}}const W2=ni($2);function $2(a,n){if(a.start>-1){const r=a.end+1,o=a.start-1;return{start:se(r,n,!1),end:se(o,n,!1)}}else if(a>-1)return{start:se(a,n,!1),end:se(a-1,n,!1)}}function j2(a,n,r){const o=Yf(n.start,a,r),f=Yf(n.end,a,r);return o<=f}function Fc(a,n){let r=a;return a<n.start?r=n.end-(n.start-(a+1)):a>n.end&&(r=n.start+(a-n.end-1)),r}const X2=ni(z2);function z2(a,n){return V.assign(a,{start:se(a.start,n),end:se(a.end,n)})}function Wn(a,n){return Fc(a,{start:1,end:n})}function gt(a,n,r){return n-a-(r?0:1)}function J2(a,n,r){if(ri(a,n,r))throw new Error("subRange must be fully contained by containerRange! Otherwise this function does not make sense");const f={};return f.start=a.start-n.start,f.end=a.end-n.start,f.start<0&&(f.start+=r),f.end<0&&(f.end+=r),f}function Qf(a,n=0,r){const o=r?Z2:V.identity;return V.assign({},a,{start:o(a.start-(n||0),r),end:o(a.end-(n||0),r)})}function Z2(a,n){return(a%n+n)%n}function Y2(a,n,r){return zn(ti(a,n,r),r,a).map(i=>J2(i,{start:n.start,end:se(n.start-1,r)},r))}const si={".":".",a:"t",t:"a",u:"a",c:"g",g:"c",A:"T",T:"A",U:"A",C:"G",G:"C",r:"y",R:"Y",y:"r",Y:"R",d:"h",D:"H",h:"d",H:"D",k:"m",K:"M",m:"k",M:"K",v:"b",V:"B",b:"v",B:"V"};function At(a){let n="";for(let r=a.length-1;r>=0;r--){let o=si[a[r]];o||(o=a[r]),n+=o}return n}function Tc({seqsToAnnotateById:a,annotationsToCheckById:n,compareName:r,warnIfMoreThan:o}){const f={};V.forEach(n,c=>{const g=new RegExp(c.sequence,"gi");V.forEach(V.omitBy(a,l=>!l.sequence.length),({circular:l,sequence:p},I)=>{function h({seqToMatchAgainst:w,isReverse:B,seqLen:x}){let C,H;try{for(;C=g.exec(w);){const{index:F,0:N}=C;if(F>=x)return;const _=F+N.length;if(H&&F>H.start&&_<=H.end){g.lastIndex=C.index+1;continue}H={start:F,end:_};const U={start:F,end:se(_-1,x)};f[I]||(f[I]=[]),f[I].push({...B?{start:gt(U.end,x),end:gt(U.start,x)}:U,strand:B?-1:1,id:c.id}),g.lastIndex=C.index+1}}catch(F){console.error("error:",F)}}const v=p.length,m=At(p);h({seqLen:v,seqToMatchAgainst:l?p+p:p}),h({seqLen:v,isReverse:!0,seqToMatchAgainst:l?m+m:m})})});const i={};return V.forEach(f,(c,g)=>{const l=a[g],p={};V.forEach(l.annotations,v=>{p[ec(v,{compareName:r})]=v});const I={},h=c.filter(v=>p[ec(v,{compareName:r})]?!1:(o&&(I[v.id]=(I[v.id]||0)+1),!0)).sort((v,m)=>v.start-m.start);h.length&&(i[g]=h),o&&V.forEach(I,(v,m)=>{v>o&&(i.__more_than_warnings=i.__more_than_warnings||{},i.__more_than_warnings[g]=i.__more_than_warnings[g]||[],i.__more_than_warnings[g].push(m))})}),i}function ec({start:a,end:n,name:r,strand:o,forward:f},{compareName:i}){return`${a}-${n}-${o===-1||f===!1?"rev":"for"}-${i?r:""}`}function Q2(a=""){let n="",r="",o="",f="",i,c,g;for(const l of a.replace("(","").replace(")","")){let p=function(h){g&&(r+=h,o=`${r}${o.length?"|":""}${o}`)};const I=Qn[l.toUpperCase()];if(I&&I.length>1){let h;I.length===4?h=".":h=`[${I}]`,n+=h,p(h);continue}if(l==="#"){if(g)throw new Error("Error converting regex");const h=i?`[^${i}]*?`:".*?";n+=h,p(h);continue}if(l==="<"){if(g)throw new Error("Error converting to regex");if(c)throw new Error("Error converting to regex");let h="",v="",m=!0,w;const B=[];for(let C=0;C<n.length;C++){const H=n[C],F=n[C+1];H==="["?m=!1:(H==="]"||w)&&(w=!0,(Qn[F]||F==="[")&&(m=!0,w=!1)),h+=H,m&&(B.push(h),h="")}let x="";B.reverse(),B.forEach(C=>{x=C+x,v=`${x}${v.length?"|":""}${v}`}),n=`(${v})?`,c=!0;continue}if(l===">"){if(g)throw new Error("Error converting regex");g=!0,f=n;continue}n+=l,p(l),i=l}return g&&(n=`${f}(${o})?`),n}function e0(a){let n="",r;for(r of a){const o=is[r.toLowerCase()];o?n+=o:n+=r}return n}const Mc=[{name:"-10_signal",color:"#4ECDC4"},{name:"-35_signal",color:"#F7FFF7"},{name:"3'clip",color:"#FF6B6B"},{name:"3'UTR",color:"#FFE66D"},{name:"5'clip",color:"#3E517A"},{name:"5'UTR",color:"#BBBBBB"},{name:"D-loop",color:"#F13C73"},{name:"assembly_gap",color:"#DE9151"},{name:"centromere",color:"#F34213"},{name:"Het",color:"#BC5D2E"},{name:"mobile_element",color:"#6DB1BF"},{name:"ncRNA",color:"#FFEAEC"},{name:"proprotein",color:"#F39A9D"},{name:"regulatory",color:"#3F6C51"},{name:"SecStr",color:"#7B4B94"},{name:"Site",color:"#7D82B8"},{name:"telomere",color:"DE9151"},{name:"tmRNA",color:"#B7E3CC"},{name:"unsure",color:"#C4FFB2"},{name:"V_segment",color:"#D6F7A3"},{name:"allele",color:"#D86D6D"},{name:"attenuator",color:"#6B7F9C"},{name:"C_region",color:"#B5D89D"},{name:"CAAT_signal",color:"#E9CD98"},{name:"CDS",color:"#EF6500"},{name:"conserved",color:"#A3A5F0"},{name:"D_segment",color:"#C060F7"},{name:"default",color:"#CCCCCC"},{name:"enhancer",color:"#38F872"},{name:"exon",color:"#95F844"},{name:"gap",color:"#F7D43C"},{name:"GC_signal",color:"#861F1F"},{name:"gene",color:"#684E27"},{name:"iDNA",color:"#A59B41"},{name:"intron",color:"#52963E"},{name:"J_region",color:"#369283"},{name:"LTR",color:"#31748F"},{name:"m_rna",color:"#FFFF00"},{name:"mat_peptide",color:"#353E8F"},{name:"misc_binding",color:"#006FEF"},{name:"misc_difference",color:"#5A368A"},{name:"misc_feature",color:"#006FEF"},{name:"misc_marker",color:"#8DCEB1"},{name:"misc_part",color:"#006FEF"},{name:"misc_recomb",color:"#DD97B4"},{name:"misc_RNA",color:"#BD0101"},{name:"misc_signal",color:"#FF9A04"},{name:"misc_structure",color:"#B3FF00"},{name:"modified_base",color:"#00F7FF"},{name:"mRNA",color:"#FFD900"},{name:"N_region",color:"#AE00FF"},{name:"old_sequence",color:"#F0A7FF"},{name:"operator",color:"#63004D"},{name:"operon",color:"#000653"},{name:"oriT",color:"#580000"},{name:"plasmid",color:"#00635E"},{name:"polyA_signal",color:"#BBBBBB"},{name:"polyA_site",color:"#003328"},{name:"precursor_RNA",color:"#443200"},{name:"prim_transcript",color:"#665E4C"},{name:"primer_bind",color:"#53d969"},{name:"promoter",color:"#31B440"},{name:"protein_bind",color:"#2E2E2E"},{name:"protein_domain",color:"#4D4B4B"},{name:"protein",color:"#696969"},{name:"RBS",color:"#BDFFCB"},{name:"rep_origin",color:"#878787"},{name:"repeat_region",color:"#966363"},{name:"repeat_unit",color:"#A16D8D"},{name:"rRNA",color:"#9BF0FF"},{name:"s_mutation",color:"#70A2FF"},{name:"S_region",color:"#FF74A9"},{name:"satellite",color:"#164E64"},{name:"scRNA",color:"#A057FF"},{name:"sig_peptide",color:"#2FFF8D"},{name:"snoRNA",color:"#296B14"},{name:"snRNA",color:"#A16249"},{name:"source",color:"#0B17BD"},{name:"start",color:"#D6A336"},{name:"stem_loop",color:"#67069E"},{name:"stop",color:"#D44FC9"},{name:"STS",color:"#597FE7"},{name:"tag",color:"#E419DA"},{name:"TATA_signal",color:"#EB2B2B"},{name:"terminator",color:"#F51600"},{name:"transit_peptide",color:"#24D491"},{name:"transposon",color:"#B6E436"},{name:"tRNA",color:"#D1456F"},{name:"V_region",color:"#7B5EE7"},{name:"variation",color:"#2EE455"}],ai=()=>{const a=V.keyBy(Mc.map(r=>({...r,isGenbankStandardType:!0})),"name");let n=typeof window<"u"&&V.get(window,"tg_featureTypeOverrides")||typeof global<"u"&&V.get(global,"tg_featureTypeOverrides");return n=n||[],n=n.map(r=>{const o=a[r.name];return{...o,...r,...o?{isOverridden:!0}:{isCustomType:!0}}}),n=V.keyBy(n,"name"),{...a,...n}},ii=({includeHidden:a}={})=>{const n={};return V.filter(ai(),r=>a?!0:!r.isHidden).forEach(r=>{n[r.name]=r.color}),n},os=({includeHidden:a}={})=>V.filter(ai(),n=>a?!0:!n.isHidden).map(n=>n.name);var oi=Math.floor(Math.random()*16777215),tc=Ie.index=parseInt(Math.random()*16777215,10),t0=(typeof process>"u"||typeof process.pid!="number"?Math.floor(Math.random()*1e5):process.pid)%65535,r0=function(a){return!!(a!=null&&a.constructor&&typeof a.constructor.isBuffer=="function"&&a.constructor.isBuffer(a))};function Ie(a){if(!(this instanceof Ie))return new Ie(a);if(a&&(a instanceof Ie||a._bsontype==="ObjectID"))return a;var n;if(r0(a)||Array.isArray(a)&&a.length===12)n=Array.prototype.slice.call(a);else if(typeof a=="string"){if(a.length!==12&&!Ie.isValid(a))throw new Error("Argument passed in must be a single String of 12 bytes or a string of 24 hex characters");n=rc(a)}else/number|undefined/.test(typeof a)&&(n=rc(Pc(a)));Object.defineProperty(this,"id",{enumerable:!0,get:function(){return String.fromCharCode.apply(this,n)}}),Object.defineProperty(this,"str",{get:function(){return n.map(hr.bind(this,2)).join("")}})}var n0=Ie;Ie.generate=Pc;Ie.default=Ie;Ie.createFromTime=function(a){return a=parseInt(a,10)%4294967295,new Ie(hr(8,a)+"0000000000000000")};Ie.createFromHexString=function(a){if(!Ie.isValid(a))throw new Error("Invalid ObjectID hex string");return new Ie(a)};Ie.isValid=function(a){return!a||typeof a!="string"&&(typeof a!="object"||Array.isArray(a)||typeof a.toString!="function")?!1:/^[0-9A-F]{24}$/i.test(a.toString())};Ie.setMachineID=function(a){var n;if(typeof a=="string"){if(n=parseInt(a,16),isNaN(n)){a=("000000"+a).substr(-7,6),n="";for(var r=0;r<6;r++)n+=a.charCodeAt(r)}}else/number|undefined/.test(typeof a)&&(n=a|0);oi=n&16777215};Ie.getMachineID=function(){return oi};Ie.prototype={_bsontype:"ObjectID",constructor:Ie,toHexString:function(){return this.str},equals:function(a){return!!a&&this.str===a.toString()},getTimestamp:function(){return new Date(parseInt(this.str.substr(0,8),16)*1e3)}};function s0(){return tc=(tc+1)%16777215}function Pc(a){return typeof a!="number"&&(a=Date.now()/1e3),a=parseInt(a,10)%4294967295,hr(8,a)+hr(6,oi)+hr(4,t0)+hr(6,s0())}function hr(a,n){return n=n.toString(16),n.length===a?n:"00000000".substring(n.length,a)+n}function rc(a){var n=0,r=[];if(a.length===24)for(;n<24;r.push(parseInt(a[n]+a[n+1],16)),n+=2);else if(a.length===12)for(;n<12;r.push(a.charCodeAt(n)),n++);return r}var a0=Symbol&&Symbol.for("nodejs.util.inspect.custom")||"inspect";Ie.prototype[a0]=function(){return"ObjectID("+this+")"};Ie.prototype.toJSON=Ie.prototype.toHexString;Ie.prototype.toString=Ie.prototype.toHexString;const Jt=Xr(n0);function fs(a,n,r){if(r.forwardRegex.length===0||r.reverseRegex.length===0){let l=[];return l.error="Cannot cut sequence. Enzyme restriction site must be at least 1 bp long.",l}let o=new RegExp(r.forwardRegex,"ig"),f=a,i=nc(o,r,f,n),c=[];if(r.forwardRegex!==r.reverseRegex){let l=At(f);c=nc(o,r,l,n),c=c.map(p=>g(p,f.length))}return i.concat(c);function g(l,p){return l.start=gt(l.start,p,!1),l.end=gt(l.end,p,!1),l.topSnipPosition=gt(l.topSnipPosition,p,!0),l.bottomSnipPosition=gt(l.bottomSnipPosition,p,!0),l.cutsTwice&&(l.upstreamTopSnip=gt(l.upstreamTopSnip,p,!0),l.upstreamBottomSnip=gt(l.upstreamBottomSnip,p,!0)),l.recognitionSiteRange.start=gt(l.recognitionSiteRange.start,p,!1),l.recognitionSiteRange.end=gt(l.recognitionSiteRange.end,p,!1),V.assign({},l,{start:l.end,end:l.start,overhangBps:At(l.overhangBps),topSnipPosition:l.bottomSnipPosition,bottomSnipPosition:l.topSnipPosition,upstreamTopSnip:l.upstreamBottomSnip,upstreamBottomSnip:l.upstreamTopSnip,upstreamTopBeforeBottom:!!l.upstreamTopBeforeBottom,topSnipBeforeBottom:!!l.topSnipBeforeBottom,recognitionSiteRange:{start:l.recognitionSiteRange.end,end:l.recognitionSiteRange.start},forward:!1})}}function nc(a,n,r,o){let f=[],i,c=n.site.length,g=r,l=r.length;o&&(r+=r);let p=r.length,I=r.search(a),h=0,v=r;for(;I!==-1;){let m={},w,B,x=null,C=null,H=!1,F=null,N=null,_=!1,U=!1;if(m.start=I+h,w=m.start,m.end=I+c-1+h,B=m.end,n.cutType===1&&(x=m.end-n.usForward,C=m.end-n.usReverse,x>=0&&C>=0?(U=!0,x<C?(w>x&&(w=x+1),H=!0):w>C&&(w=C+1),x=se(x,l,!0),C=se(C,l,!0)):(x=null,C=null)),F=m.start+n.topSnipOffset,N=m.start+n.bottomSnipOffset,N<=p&&F<=p?(U=!0,F>N?F>m.end&&(B=F-1):(N>m.end&&(B=N-1),_=!0),F=se(F,l,!0),N=se(N,l,!0)):(F=null,N=null),U&&w>=0&&B>=0&&w<l&&B<p){w=se(w,l,!1),B=se(B,l,!1),m.start=se(m.start,l,!1),m.end=se(m.end,l,!1);let L={start:-1,end:-1};F!==N&&(L=_?{start:F,end:se(N-1,l)}:{start:N,end:se(F-1,l)});let W=Ot(L,g);i={id:Jt().str,start:w,end:B,topSnipPosition:F,bottomSnipPosition:N,topSnipBeforeBottom:_,overhangBps:W,overhangSize:W.length,upstreamTopBeforeBottom:H,upstreamTopSnip:x,annotationTypePlural:"cutsites",upstreamBottomSnip:C,recognitionSiteRange:m,forward:!0,name:n.name,restrictionEnzyme:n},f.push(i)}h=h+I+1,v=r.substring(h,r.length),I=v.search(a)}return f}function Uc(a,n,r){const o={};for(let f=0;f<r.length;f++){const i=r[f],c=fs(a,n,i);c.length&&(o[i.name]=c)}return o}function kc({cutsites:a,sequenceLength:n,circular:r,includeOverAndUnderHangs:o,computePartialDigest:f,computeDigestDisabled:i,computePartialDigestDisabled:c,selectionLayerUpdate:g,updateSelectedFragment:l}){const p=[],I=[],h=[],v=a.sort((m,w)=>m.topSnipPosition-w.topSnipPosition);return!r&&a.length&&v.push({id:"seqTerm_"+Jt().str,start:0,end:0,overhangBps:"",topSnipPosition:0,bottomSnipPosition:0,upstreamTopSnip:0,upstreamBottomSnip:0,upstreamTopBeforeBottom:!1,topSnipBeforeBottom:!1,recognitionSiteRange:{start:0,end:0},forward:!0,name:"Sequence_Terminus",restrictionEnzyme:{name:"Sequence_Terminus"}}),v.forEach((m,w)=>{f&&!c&&v.forEach((B,x)=>{x===w+1||x===0||h.push([m,v[x]])}),i||h.push([m,v[w+1]?v[w+1]:v[0]])}),h.forEach(m=>{let[w,B]=m,x,C,H;x=se(w.topSnipPosition,n),C=se(B.topSnipPosition-1,n),H=Oe({start:x,end:C},n);let F;if(o){const L=H;x=se(w.topSnipBeforeBottom?w.topSnipPosition:w.bottomSnipPosition,n),C=se(B.topSnipBeforeBottom?B.bottomSnipPosition-1:B.topSnipPosition-1,n),H=Oe({start:x,end:C},n),L>H&&(F=!0,H+=n)}let N;w.name==="Sequence_Terminus"?(w=V.cloneDeep(w),N=!0,w.name="Linear_Sequence_Start",w.restrictionEnzyme.name="Linear_Sequence_Start"):B.name==="Sequence_Terminus"&&(B=V.cloneDeep(B),N=!0,B.name="Linear_Sequence_End",B.restrictionEnzyme.name="Linear_Sequence_End");const _=x+"-"+C+"-"+H+"-",U=`${w.restrictionEnzyme.name} -- ${B.restrictionEnzyme.name} ${H} bps`;Oe({start:x,end:C},n),p.push({isFormedFromLinearEnd:N,madeFromOneCutsite:w===B,start:x,end:C,size:H,overlapsSelf:F,id:_,name:U,cut1:w,cut2:B,onFragmentSelect:g&&l?()=>{g({start:x,end:C,name:U}),l(_)}:void 0})}),p.filter(m=>m.size?!0:(I.push(m),!1)),{computePartialDigestDisabled:c,computeDigestDisabled:i,fragments:p,overlappingEnzymes:I}}function i0({sequence:a,circular:n,enzymes:r,includeOverAndUnderHangs:o}){const f=Uc(a,n,r);return kc({includeOverAndUnderHangs:o,cutsites:V.flatMap(f),sequenceLength:a.length,circular:n})}var Dc={exports:{}};(function(a){var n=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},r=-1,o=1,f=0;n.Diff=function(i,c){return[i,c]},n.prototype.diff_main=function(i,c,g,l){typeof l>"u"&&(this.Diff_Timeout<=0?l=Number.MAX_VALUE:l=new Date().getTime()+this.Diff_Timeout*1e3);var p=l;if(i==null||c==null)throw new Error("Null input. (diff_main)");if(i==c)return i?[new n.Diff(f,i)]:[];typeof g>"u"&&(g=!0);var I=g,h=this.diff_commonPrefix(i,c),v=i.substring(0,h);i=i.substring(h),c=c.substring(h),h=this.diff_commonSuffix(i,c);var m=i.substring(i.length-h);i=i.substring(0,i.length-h),c=c.substring(0,c.length-h);var w=this.diff_compute_(i,c,I,p);return v&&w.unshift(new n.Diff(f,v)),m&&w.push(new n.Diff(f,m)),this.diff_cleanupMerge(w),w},n.prototype.diff_compute_=function(i,c,g,l){var p;if(!i)return[new n.Diff(o,c)];if(!c)return[new n.Diff(r,i)];var I=i.length>c.length?i:c,h=i.length>c.length?c:i,v=I.indexOf(h);if(v!=-1)return p=[new n.Diff(o,I.substring(0,v)),new n.Diff(f,h),new n.Diff(o,I.substring(v+h.length))],i.length>c.length&&(p[0][0]=p[2][0]=r),p;if(h.length==1)return[new n.Diff(r,i),new n.Diff(o,c)];var m=this.diff_halfMatch_(i,c);if(m){var w=m[0],B=m[1],x=m[2],C=m[3],H=m[4],F=this.diff_main(w,x,g,l),N=this.diff_main(B,C,g,l);return F.concat([new n.Diff(f,H)],N)}return g&&i.length>100&&c.length>100?this.diff_lineMode_(i,c,l):this.diff_bisect_(i,c,l)},n.prototype.diff_lineMode_=function(i,c,g){var l=this.diff_linesToChars_(i,c);i=l.chars1,c=l.chars2;var p=l.lineArray,I=this.diff_main(i,c,!1,g);this.diff_charsToLines_(I,p),this.diff_cleanupSemantic(I),I.push(new n.Diff(f,""));for(var h=0,v=0,m=0,w="",B="";h<I.length;){switch(I[h][0]){case o:m++,B+=I[h][1];break;case r:v++,w+=I[h][1];break;case f:if(v>=1&&m>=1){I.splice(h-v-m,v+m),h=h-v-m;for(var x=this.diff_main(w,B,!1,g),C=x.length-1;C>=0;C--)I.splice(h,0,x[C]);h=h+x.length}m=0,v=0,w="",B="";break}h++}return I.pop(),I},n.prototype.diff_bisect_=function(i,c,g){for(var l=i.length,p=c.length,I=Math.ceil((l+p)/2),h=I,v=2*I,m=new Array(v),w=new Array(v),B=0;B<v;B++)m[B]=-1,w[B]=-1;m[h+1]=0,w[h+1]=0;for(var x=l-p,C=x%2!=0,H=0,F=0,N=0,_=0,U=0;U<I&&!(new Date().getTime()>g);U++){for(var L=-U+H;L<=U-F;L+=2){var W=h+L,z;L==-U||L!=U&&m[W-1]<m[W+1]?z=m[W+1]:z=m[W-1]+1;for(var he=z-L;z<l&&he<p&&i.charAt(z)==c.charAt(he);)z++,he++;if(m[W]=z,z>l)F+=2;else if(he>p)H+=2;else if(C){var ae=h+x-L;if(ae>=0&&ae<v&&w[ae]!=-1){var oe=l-w[ae];if(z>=oe)return this.diff_bisectSplit_(i,c,z,he,g)}}}for(var we=-U+N;we<=U-_;we+=2){var ae=h+we,oe;we==-U||we!=U&&w[ae-1]<w[ae+1]?oe=w[ae+1]:oe=w[ae-1]+1;for(var Ve=oe-we;oe<l&&Ve<p&&i.charAt(l-oe-1)==c.charAt(p-Ve-1);)oe++,Ve++;if(w[ae]=oe,oe>l)_+=2;else if(Ve>p)N+=2;else if(!C){var W=h+x-we;if(W>=0&&W<v&&m[W]!=-1){var z=m[W],he=h+z-W;if(oe=l-oe,z>=oe)return this.diff_bisectSplit_(i,c,z,he,g)}}}}return[new n.Diff(r,i),new n.Diff(o,c)]},n.prototype.diff_bisectSplit_=function(i,c,g,l,p){var I=i.substring(0,g),h=c.substring(0,l),v=i.substring(g),m=c.substring(l),w=this.diff_main(I,h,!1,p),B=this.diff_main(v,m,!1,p);return w.concat(B)},n.prototype.diff_linesToChars_=function(i,c){var g=[],l={};g[0]="";function p(m){for(var w="",B=0,x=-1,C=g.length;x<m.length-1;){x=m.indexOf(`
|
|
28
|
-
`,B),x==-1&&(x=m.length-1);var H=m.substring(B,x+1);(l.hasOwnProperty?l.hasOwnProperty(H):l[H]!==void 0)?w+=String.fromCharCode(l[H]):(C==I&&(H=m.substring(B),x=m.length),w+=String.fromCharCode(C),l[H]=C,g[C++]=H),B=x+1}return w}var I=4e4,h=p(i);I=65535;var v=p(c);return{chars1:h,chars2:v,lineArray:g}},n.prototype.diff_charsToLines_=function(i,c){for(var g=0;g<i.length;g++){for(var l=i[g][1],p=[],I=0;I<l.length;I++)p[I]=c[l.charCodeAt(I)];i[g][1]=p.join("")}},n.prototype.diff_commonPrefix=function(i,c){if(!i||!c||i.charAt(0)!=c.charAt(0))return 0;for(var g=0,l=Math.min(i.length,c.length),p=l,I=0;g<p;)i.substring(I,p)==c.substring(I,p)?(g=p,I=g):l=p,p=Math.floor((l-g)/2+g);return p},n.prototype.diff_commonSuffix=function(i,c){if(!i||!c||i.charAt(i.length-1)!=c.charAt(c.length-1))return 0;for(var g=0,l=Math.min(i.length,c.length),p=l,I=0;g<p;)i.substring(i.length-p,i.length-I)==c.substring(c.length-p,c.length-I)?(g=p,I=g):l=p,p=Math.floor((l-g)/2+g);return p},n.prototype.diff_commonOverlap_=function(i,c){var g=i.length,l=c.length;if(g==0||l==0)return 0;g>l?i=i.substring(g-l):g<l&&(c=c.substring(0,g));var p=Math.min(g,l);if(i==c)return p;for(var I=0,h=1;;){var v=i.substring(p-h),m=c.indexOf(v);if(m==-1)return I;h+=m,(m==0||i.substring(p-h)==c.substring(0,h))&&(I=h,h++)}},n.prototype.diff_halfMatch_=function(i,c){if(this.Diff_Timeout<=0)return null;var g=i.length>c.length?i:c,l=i.length>c.length?c:i;if(g.length<4||l.length*2<g.length)return null;var p=this;function I(F,N,_){for(var U=F.substring(_,_+Math.floor(F.length/4)),L=-1,W="",z,he,ae,oe;(L=N.indexOf(U,L+1))!=-1;){var we=p.diff_commonPrefix(F.substring(_),N.substring(L)),Ve=p.diff_commonSuffix(F.substring(0,_),N.substring(0,L));W.length<Ve+we&&(W=N.substring(L-Ve,L)+N.substring(L,L+we),z=F.substring(0,_-Ve),he=F.substring(_+we),ae=N.substring(0,L-Ve),oe=N.substring(L+we))}return W.length*2>=F.length?[z,he,ae,oe,W]:null}var h=I(g,l,Math.ceil(g.length/4)),v=I(g,l,Math.ceil(g.length/2)),m;if(!h&&!v)return null;v?h?m=h[4].length>v[4].length?h:v:m=v:m=h;var w,B,x,C;i.length>c.length?(w=m[0],B=m[1],x=m[2],C=m[3]):(x=m[0],C=m[1],w=m[2],B=m[3]);var H=m[4];return[w,B,x,C,H]},n.prototype.diff_cleanupSemantic=function(i){for(var c=!1,g=[],l=0,p=null,I=0,h=0,v=0,m=0,w=0;I<i.length;)i[I][0]==f?(g[l++]=I,h=m,v=w,m=0,w=0,p=i[I][1]):(i[I][0]==o?m+=i[I][1].length:w+=i[I][1].length,p&&p.length<=Math.max(h,v)&&p.length<=Math.max(m,w)&&(i.splice(g[l-1],0,new n.Diff(r,p)),i[g[l-1]+1][0]=o,l--,l--,I=l>0?g[l-1]:-1,h=0,v=0,m=0,w=0,p=null,c=!0)),I++;for(c&&this.diff_cleanupMerge(i),this.diff_cleanupSemanticLossless(i),I=1;I<i.length;){if(i[I-1][0]==r&&i[I][0]==o){var B=i[I-1][1],x=i[I][1],C=this.diff_commonOverlap_(B,x),H=this.diff_commonOverlap_(x,B);C>=H?(C>=B.length/2||C>=x.length/2)&&(i.splice(I,0,new n.Diff(f,x.substring(0,C))),i[I-1][1]=B.substring(0,B.length-C),i[I+1][1]=x.substring(C),I++):(H>=B.length/2||H>=x.length/2)&&(i.splice(I,0,new n.Diff(f,B.substring(0,H))),i[I-1][0]=o,i[I-1][1]=x.substring(0,x.length-H),i[I+1][0]=r,i[I+1][1]=B.substring(H),I++),I++}I++}},n.prototype.diff_cleanupSemanticLossless=function(i){function c(H,F){if(!H||!F)return 6;var N=H.charAt(H.length-1),_=F.charAt(0),U=N.match(n.nonAlphaNumericRegex_),L=_.match(n.nonAlphaNumericRegex_),W=U&&N.match(n.whitespaceRegex_),z=L&&_.match(n.whitespaceRegex_),he=W&&N.match(n.linebreakRegex_),ae=z&&_.match(n.linebreakRegex_),oe=he&&H.match(n.blanklineEndRegex_),we=ae&&F.match(n.blanklineStartRegex_);return oe||we?5:he||ae?4:U&&!W&&z?3:W||z?2:U||L?1:0}for(var g=1;g<i.length-1;){if(i[g-1][0]==f&&i[g+1][0]==f){var l=i[g-1][1],p=i[g][1],I=i[g+1][1],h=this.diff_commonSuffix(l,p);if(h){var v=p.substring(p.length-h);l=l.substring(0,l.length-h),p=v+p.substring(0,p.length-h),I=v+I}for(var m=l,w=p,B=I,x=c(l,p)+c(p,I);p.charAt(0)===I.charAt(0);){l+=p.charAt(0),p=p.substring(1)+I.charAt(0),I=I.substring(1);var C=c(l,p)+c(p,I);C>=x&&(x=C,m=l,w=p,B=I)}i[g-1][1]!=m&&(m?i[g-1][1]=m:(i.splice(g-1,1),g--),i[g][1]=w,B?i[g+1][1]=B:(i.splice(g+1,1),g--))}g++}},n.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,n.whitespaceRegex_=/\s/,n.linebreakRegex_=/[\r\n]/,n.blanklineEndRegex_=/\n\r?\n$/,n.blanklineStartRegex_=/^\r?\n\r?\n/,n.prototype.diff_cleanupEfficiency=function(i){for(var c=!1,g=[],l=0,p=null,I=0,h=!1,v=!1,m=!1,w=!1;I<i.length;)i[I][0]==f?(i[I][1].length<this.Diff_EditCost&&(m||w)?(g[l++]=I,h=m,v=w,p=i[I][1]):(l=0,p=null),m=w=!1):(i[I][0]==r?w=!0:m=!0,p&&(h&&v&&m&&w||p.length<this.Diff_EditCost/2&&h+v+m+w==3)&&(i.splice(g[l-1],0,new n.Diff(r,p)),i[g[l-1]+1][0]=o,l--,p=null,h&&v?(m=w=!0,l=0):(l--,I=l>0?g[l-1]:-1,m=w=!1),c=!0)),I++;c&&this.diff_cleanupMerge(i)},n.prototype.diff_cleanupMerge=function(i){i.push(new n.Diff(f,""));for(var c=0,g=0,l=0,p="",I="",h;c<i.length;)switch(i[c][0]){case o:l++,I+=i[c][1],c++;break;case r:g++,p+=i[c][1],c++;break;case f:g+l>1?(g!==0&&l!==0&&(h=this.diff_commonPrefix(I,p),h!==0&&(c-g-l>0&&i[c-g-l-1][0]==f?i[c-g-l-1][1]+=I.substring(0,h):(i.splice(0,0,new n.Diff(f,I.substring(0,h))),c++),I=I.substring(h),p=p.substring(h)),h=this.diff_commonSuffix(I,p),h!==0&&(i[c][1]=I.substring(I.length-h)+i[c][1],I=I.substring(0,I.length-h),p=p.substring(0,p.length-h))),c-=g+l,i.splice(c,g+l),p.length&&(i.splice(c,0,new n.Diff(r,p)),c++),I.length&&(i.splice(c,0,new n.Diff(o,I)),c++),c++):c!==0&&i[c-1][0]==f?(i[c-1][1]+=i[c][1],i.splice(c,1)):c++,l=0,g=0,p="",I="";break}i[i.length-1][1]===""&&i.pop();var v=!1;for(c=1;c<i.length-1;)i[c-1][0]==f&&i[c+1][0]==f&&(i[c][1].substring(i[c][1].length-i[c-1][1].length)==i[c-1][1]?(i[c][1]=i[c-1][1]+i[c][1].substring(0,i[c][1].length-i[c-1][1].length),i[c+1][1]=i[c-1][1]+i[c+1][1],i.splice(c-1,1),v=!0):i[c][1].substring(0,i[c+1][1].length)==i[c+1][1]&&(i[c-1][1]+=i[c+1][1],i[c][1]=i[c][1].substring(i[c+1][1].length)+i[c+1][1],i.splice(c+1,1),v=!0)),c++;v&&this.diff_cleanupMerge(i)},n.prototype.diff_xIndex=function(i,c){var g=0,l=0,p=0,I=0,h;for(h=0;h<i.length&&(i[h][0]!==o&&(g+=i[h][1].length),i[h][0]!==r&&(l+=i[h][1].length),!(g>c));h++)p=g,I=l;return i.length!=h&&i[h][0]===r?I:I+(c-p)},n.prototype.diff_prettyHtml=function(i){for(var c=[],g=/&/g,l=/</g,p=/>/g,I=/\n/g,h=0;h<i.length;h++){var v=i[h][0],m=i[h][1],w=m.replace(g,"&").replace(l,"<").replace(p,">").replace(I,"¶<br>");switch(v){case o:c[h]='<ins style="background:#e6ffe6;">'+w+"</ins>";break;case r:c[h]='<del style="background:#ffe6e6;">'+w+"</del>";break;case f:c[h]="<span>"+w+"</span>";break}}return c.join("")},n.prototype.diff_text1=function(i){for(var c=[],g=0;g<i.length;g++)i[g][0]!==o&&(c[g]=i[g][1]);return c.join("")},n.prototype.diff_text2=function(i){for(var c=[],g=0;g<i.length;g++)i[g][0]!==r&&(c[g]=i[g][1]);return c.join("")},n.prototype.diff_levenshtein=function(i){for(var c=0,g=0,l=0,p=0;p<i.length;p++){var I=i[p][0],h=i[p][1];switch(I){case o:g+=h.length;break;case r:l+=h.length;break;case f:c+=Math.max(g,l),g=0,l=0;break}}return c+=Math.max(g,l),c},n.prototype.diff_toDelta=function(i){for(var c=[],g=0;g<i.length;g++)switch(i[g][0]){case o:c[g]="+"+encodeURI(i[g][1]);break;case r:c[g]="-"+i[g][1].length;break;case f:c[g]="="+i[g][1].length;break}return c.join(" ").replace(/%20/g," ")},n.prototype.diff_fromDelta=function(i,c){for(var g=[],l=0,p=0,I=c.split(/\t/g),h=0;h<I.length;h++){var v=I[h].substring(1);switch(I[h].charAt(0)){case"+":try{g[l++]=new n.Diff(o,decodeURI(v))}catch{throw new Error("Illegal escape in diff_fromDelta: "+v)}break;case"-":case"=":var m=parseInt(v,10);if(isNaN(m)||m<0)throw new Error("Invalid number in diff_fromDelta: "+v);var w=i.substring(p,p+=m);I[h].charAt(0)=="="?g[l++]=new n.Diff(f,w):g[l++]=new n.Diff(r,w);break;default:if(I[h])throw new Error("Invalid diff operation in diff_fromDelta: "+I[h])}}if(p!=i.length)throw new Error("Delta length ("+p+") does not equal source text length ("+i.length+").");return g},n.prototype.match_main=function(i,c,g){if(i==null||c==null||g==null)throw new Error("Null input. (match_main)");return g=Math.max(0,Math.min(g,i.length)),i==c?0:i.length?i.substring(g,g+c.length)==c?g:this.match_bitap_(i,c,g):-1},n.prototype.match_bitap_=function(i,c,g){if(c.length>this.Match_MaxBits)throw new Error("Pattern too long for this browser.");var l=this.match_alphabet_(c),p=this;function I(z,he){var ae=z/c.length,oe=Math.abs(g-he);return p.Match_Distance?ae+oe/p.Match_Distance:oe?1:ae}var h=this.Match_Threshold,v=i.indexOf(c,g);v!=-1&&(h=Math.min(I(0,v),h),v=i.lastIndexOf(c,g+c.length),v!=-1&&(h=Math.min(I(0,v),h)));var m=1<<c.length-1;v=-1;for(var w,B,x=c.length+i.length,C,H=0;H<c.length;H++){for(w=0,B=x;w<B;)I(H,g+B)<=h?w=B:x=B,B=Math.floor((x-w)/2+w);x=B;var F=Math.max(1,g-B+1),N=Math.min(g+B,i.length)+c.length,_=Array(N+2);_[N+1]=(1<<H)-1;for(var U=N;U>=F;U--){var L=l[i.charAt(U-1)];if(H===0?_[U]=(_[U+1]<<1|1)&L:_[U]=(_[U+1]<<1|1)&L|((C[U+1]|C[U])<<1|1)|C[U+1],_[U]&m){var W=I(H,U-1);if(W<=h)if(h=W,v=U-1,v>g)F=Math.max(1,2*g-v);else break}}if(I(H+1,g)>h)break;C=_}return v},n.prototype.match_alphabet_=function(i){for(var c={},g=0;g<i.length;g++)c[i.charAt(g)]=0;for(var g=0;g<i.length;g++)c[i.charAt(g)]|=1<<i.length-g-1;return c},n.prototype.patch_addContext_=function(i,c){if(c.length!=0){if(i.start2===null)throw Error("patch not initialized");for(var g=c.substring(i.start2,i.start2+i.length1),l=0;c.indexOf(g)!=c.lastIndexOf(g)&&g.length<this.Match_MaxBits-this.Patch_Margin-this.Patch_Margin;)l+=this.Patch_Margin,g=c.substring(i.start2-l,i.start2+i.length1+l);l+=this.Patch_Margin;var p=c.substring(i.start2-l,i.start2);p&&i.diffs.unshift(new n.Diff(f,p));var I=c.substring(i.start2+i.length1,i.start2+i.length1+l);I&&i.diffs.push(new n.Diff(f,I)),i.start1-=p.length,i.start2-=p.length,i.length1+=p.length+I.length,i.length2+=p.length+I.length}},n.prototype.patch_make=function(i,c,g){var l,p;if(typeof i=="string"&&typeof c=="string"&&typeof g>"u")l=i,p=this.diff_main(l,c,!0),p.length>2&&(this.diff_cleanupSemantic(p),this.diff_cleanupEfficiency(p));else if(i&&typeof i=="object"&&typeof c>"u"&&typeof g>"u")p=i,l=this.diff_text1(p);else if(typeof i=="string"&&c&&typeof c=="object"&&typeof g>"u")l=i,p=c;else if(typeof i=="string"&&typeof c=="string"&&g&&typeof g=="object")l=i,p=g;else throw new Error("Unknown call format to patch_make.");if(p.length===0)return[];for(var I=[],h=new n.patch_obj,v=0,m=0,w=0,B=l,x=l,C=0;C<p.length;C++){var H=p[C][0],F=p[C][1];switch(!v&&H!==f&&(h.start1=m,h.start2=w),H){case o:h.diffs[v++]=p[C],h.length2+=F.length,x=x.substring(0,w)+F+x.substring(w);break;case r:h.length1+=F.length,h.diffs[v++]=p[C],x=x.substring(0,w)+x.substring(w+F.length);break;case f:F.length<=2*this.Patch_Margin&&v&&p.length!=C+1?(h.diffs[v++]=p[C],h.length1+=F.length,h.length2+=F.length):F.length>=2*this.Patch_Margin&&v&&(this.patch_addContext_(h,B),I.push(h),h=new n.patch_obj,v=0,B=x,m=w);break}H!==o&&(m+=F.length),H!==r&&(w+=F.length)}return v&&(this.patch_addContext_(h,B),I.push(h)),I},n.prototype.patch_deepCopy=function(i){for(var c=[],g=0;g<i.length;g++){var l=i[g],p=new n.patch_obj;p.diffs=[];for(var I=0;I<l.diffs.length;I++)p.diffs[I]=new n.Diff(l.diffs[I][0],l.diffs[I][1]);p.start1=l.start1,p.start2=l.start2,p.length1=l.length1,p.length2=l.length2,c[g]=p}return c},n.prototype.patch_apply=function(i,c){if(i.length==0)return[c,[]];i=this.patch_deepCopy(i);var g=this.patch_addPadding(i);c=g+c+g,this.patch_splitMax(i);for(var l=0,p=[],I=0;I<i.length;I++){var h=i[I].start2+l,v=this.diff_text1(i[I].diffs),m,w=-1;if(v.length>this.Match_MaxBits?(m=this.match_main(c,v.substring(0,this.Match_MaxBits),h),m!=-1&&(w=this.match_main(c,v.substring(v.length-this.Match_MaxBits),h+v.length-this.Match_MaxBits),(w==-1||m>=w)&&(m=-1))):m=this.match_main(c,v,h),m==-1)p[I]=!1,l-=i[I].length2-i[I].length1;else{p[I]=!0,l=m-h;var B;if(w==-1?B=c.substring(m,m+v.length):B=c.substring(m,w+this.Match_MaxBits),v==B)c=c.substring(0,m)+this.diff_text2(i[I].diffs)+c.substring(m+v.length);else{var x=this.diff_main(v,B,!1);if(v.length>this.Match_MaxBits&&this.diff_levenshtein(x)/v.length>this.Patch_DeleteThreshold)p[I]=!1;else{this.diff_cleanupSemanticLossless(x);for(var C=0,H,F=0;F<i[I].diffs.length;F++){var N=i[I].diffs[F];N[0]!==f&&(H=this.diff_xIndex(x,C)),N[0]===o?c=c.substring(0,m+H)+N[1]+c.substring(m+H):N[0]===r&&(c=c.substring(0,m+H)+c.substring(m+this.diff_xIndex(x,C+N[1].length))),N[0]!==r&&(C+=N[1].length)}}}}}return c=c.substring(g.length,c.length-g.length),[c,p]},n.prototype.patch_addPadding=function(i){for(var c=this.Patch_Margin,g="",l=1;l<=c;l++)g+=String.fromCharCode(l);for(var l=0;l<i.length;l++)i[l].start1+=c,i[l].start2+=c;var p=i[0],I=p.diffs;if(I.length==0||I[0][0]!=f)I.unshift(new n.Diff(f,g)),p.start1-=c,p.start2-=c,p.length1+=c,p.length2+=c;else if(c>I[0][1].length){var h=c-I[0][1].length;I[0][1]=g.substring(I[0][1].length)+I[0][1],p.start1-=h,p.start2-=h,p.length1+=h,p.length2+=h}if(p=i[i.length-1],I=p.diffs,I.length==0||I[I.length-1][0]!=f)I.push(new n.Diff(f,g)),p.length1+=c,p.length2+=c;else if(c>I[I.length-1][1].length){var h=c-I[I.length-1][1].length;I[I.length-1][1]+=g.substring(0,h),p.length1+=h,p.length2+=h}return g},n.prototype.patch_splitMax=function(i){for(var c=this.Match_MaxBits,g=0;g<i.length;g++)if(!(i[g].length1<=c)){var l=i[g];i.splice(g--,1);for(var p=l.start1,I=l.start2,h="";l.diffs.length!==0;){var v=new n.patch_obj,m=!0;for(v.start1=p-h.length,v.start2=I-h.length,h!==""&&(v.length1=v.length2=h.length,v.diffs.push(new n.Diff(f,h)));l.diffs.length!==0&&v.length1<c-this.Patch_Margin;){var w=l.diffs[0][0],B=l.diffs[0][1];w===o?(v.length2+=B.length,I+=B.length,v.diffs.push(l.diffs.shift()),m=!1):w===r&&v.diffs.length==1&&v.diffs[0][0]==f&&B.length>2*c?(v.length1+=B.length,p+=B.length,m=!1,v.diffs.push(new n.Diff(w,B)),l.diffs.shift()):(B=B.substring(0,c-v.length1-this.Patch_Margin),v.length1+=B.length,p+=B.length,w===f?(v.length2+=B.length,I+=B.length):m=!1,v.diffs.push(new n.Diff(w,B)),B==l.diffs[0][1]?l.diffs.shift():l.diffs[0][1]=l.diffs[0][1].substring(B.length))}h=this.diff_text2(v.diffs),h=h.substring(h.length-this.Patch_Margin);var x=this.diff_text1(l.diffs).substring(0,this.Patch_Margin);x!==""&&(v.length1+=x.length,v.length2+=x.length,v.diffs.length!==0&&v.diffs[v.diffs.length-1][0]===f?v.diffs[v.diffs.length-1][1]+=x:v.diffs.push(new n.Diff(f,x))),m||i.splice(++g,0,v)}}},n.prototype.patch_toText=function(i){for(var c=[],g=0;g<i.length;g++)c[g]=i[g];return c.join("")},n.prototype.patch_fromText=function(i){var c=[];if(!i)return c;for(var g=i.split(`
|
|
29
|
-
`),l=0,p=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;l<g.length;){var I=g[l].match(p);if(!I)throw new Error("Invalid patch string: "+g[l]);var h=new n.patch_obj;for(c.push(h),h.start1=parseInt(I[1],10),I[2]===""?(h.start1--,h.length1=1):I[2]=="0"?h.length1=0:(h.start1--,h.length1=parseInt(I[2],10)),h.start2=parseInt(I[3],10),I[4]===""?(h.start2--,h.length2=1):I[4]=="0"?h.length2=0:(h.start2--,h.length2=parseInt(I[4],10)),l++;l<g.length;){var v=g[l].charAt(0);try{var m=decodeURI(g[l].substring(1))}catch{throw new Error("Illegal escape in patch_fromText: "+m)}if(v=="-")h.diffs.push(new n.Diff(r,m));else if(v=="+")h.diffs.push(new n.Diff(o,m));else if(v==" ")h.diffs.push(new n.Diff(f,m));else{if(v=="@")break;if(v!=="")throw new Error('Invalid patch mode "'+v+'" in: '+m)}l++}}return c},n.patch_obj=function(){this.diffs=[],this.start1=null,this.start2=null,this.length1=0,this.length2=0},n.patch_obj.prototype.toString=function(){var i,c;this.length1===0?i=this.start1+",0":this.length1==1?i=this.start1+1:i=this.start1+1+","+this.length1,this.length2===0?c=this.start2+",0":this.length2==1?c=this.start2+1:c=this.start2+1+","+this.length2;for(var g=["@@ -"+i+" +"+c+` @@
|
|
27
|
+
}`;var Q=Jf(function(){return oe(b,q+"return "+D).apply(r,y)});if(Q.source=D,_a(Q))throw Q;return Q}function Ed(e){return ce(e).toLowerCase()}function Cd(e){return ce(e).toUpperCase()}function Fd(e,t,s){if(e=ce(e),e&&(s||t===r))return no(e);if(!e||!(t=Ke(t)))return e;var u=at(e),d=at(t),b=so(u,d),y=ao(u,d)+1;return Ht(u,b,y).join("")}function Td(e,t,s){if(e=ce(e),e&&(s||t===r))return e.slice(0,oo(e)+1);if(!e||!(t=Ke(t)))return e;var u=at(e),d=ao(u,at(t))+1;return Ht(u,0,d).join("")}function Md(e,t,s){if(e=ce(e),e&&(s||t===r))return e.replace(_s,"");if(!e||!(t=Ke(t)))return e;var u=at(e),d=so(u,at(t));return Ht(u,d).join("")}function Pd(e,t){var s=de,u=ie;if(ve(t)){var d="separator"in t?t.separator:d;s="length"in t?Y(t.length):s,u="omission"in t?Ke(t.omission):u}e=ce(e);var b=e.length;if(ir(e)){var y=at(e);b=y.length}if(s>=b)return e;var R=s-or(u);if(R<1)return u;var A=y?Ht(y,0,R).join(""):e.slice(0,R);if(d===r)return A+u;if(y&&(R+=A.length-R),Ea(d)){if(e.slice(R).search(d)){var M,P=A;for(d.global||(d=Ws(d.source,ce(Bi.exec(d))+"g")),d.lastIndex=0;M=d.exec(P);)var D=M.index;A=A.slice(0,D===r?R:D)}}else if(e.indexOf(Ke(d),R)!=R){var G=A.lastIndexOf(d);G>-1&&(A=A.slice(0,G))}return A+u}function Ud(e){return e=ce(e),e&&$g.test(e)?e.replace(wi,gu):e}var kd=Ir(function(e,t,s){return e+(s?" ":"")+t.toUpperCase()}),Ta=Jo("toUpperCase");function zf(e,t,s){return e=ce(e),t=s?r:t,t===r?au(e)?pu(e):Jl(e):e.match(t)||[]}var Jf=ee(function(e,t){try{return Le(e,r,t)}catch(s){return _a(s)?s:new J(s)}}),Dd=wt(function(e,t){return Xe(t,function(s){s=ut(s),bt(e,s,Aa(e[s],e))}),e});function Hd(e){var t=e==null?0:e.length,s=$();return e=t?Ie(e,function(u){if(typeof u[1]!="function")throw new ze(c);return[s(u[0]),u[1]]}):[],ee(function(u){for(var d=-1;++d<t;){var b=e[d];if(Le(b[0],this,u))return Le(b[1],this,u)}})}function Nd(e){return gp(Ze(e,h))}function Ma(e){return function(){return e}}function Ld(e,t){return e==null||e!==e?t:e}var Gd=Yo(),Kd=Yo(!0);function Ne(e){return e}function Pa(e){return _o(typeof e=="function"?e:Ze(e,h))}function Vd(e){return Co(Ze(e,h))}function qd(e,t){return Fo(e,Ze(t,h))}var Wd=ee(function(e,t){return function(s){return Hr(s,e,t)}}),$d=ee(function(e,t){return function(s){return Hr(e,s,t)}});function Ua(e,t,s){var u=Ae(t),d=_n(t,u);s==null&&!(ve(t)&&(d.length||!u.length))&&(s=t,t=e,e=this,d=_n(t,Ae(t)));var b=!(ve(s)&&"chain"in s)||!!s.chain,y=Ot(e);return Xe(d,function(R){var A=t[R];e[R]=A,y&&(e.prototype[R]=function(){var M=this.__chain__;if(b||M){var P=e(this.__wrapped__),D=P.__actions__=ke(this.__actions__);return D.push({func:A,args:arguments,thisArg:e}),P.__chain__=M,P}return A.apply(e,Tt([this.value()],arguments))})}),e}function jd(){return _e._===this&&(_e._=Su),this}function ka(){}function Xd(e){return e=Y(e),ee(function(t){return To(t,e)})}var zd=pa(Ie),Jd=pa(Yi),Zd=pa(Hs);function Zf(e){return ba(e)?Ns(ut(e)):xp(e)}function Yd(e){return function(t){return e==null?r:$t(e,t)}}var Qd=ef(),e2=ef(!0);function Da(){return[]}function Ha(){return!1}function t2(){return{}}function r2(){return""}function n2(){return!0}function s2(e,t){if(e=Y(e),e<1||e>Ct)return[];var s=ct,u=Ce(e,ct);t=$(t),e-=ct;for(var d=Ks(u,t);++s<e;)t(s);return d}function a2(e){return Z(e)?Ie(e,ut):Ve(e)?[e]:ke(vf(ce(e)))}function i2(e){var t=++vu;return ce(e)+t}var o2=Pn(function(e,t){return e+t},0),f2=Ia("ceil"),c2=Pn(function(e,t){return e/t},1),g2=Ia("floor");function l2(e){return e&&e.length?xn(e,Ne,Qs):r}function u2(e,t){return e&&e.length?xn(e,$(t,2),Qs):r}function p2(e){return to(e,Ne)}function I2(e,t){return to(e,$(t,2))}function h2(e){return e&&e.length?xn(e,Ne,na):r}function d2(e,t){return e&&e.length?xn(e,$(t,2),na):r}var v2=Pn(function(e,t){return e*t},1),m2=Ia("round"),S2=Pn(function(e,t){return e-t},0);function b2(e){return e&&e.length?Gs(e,Ne):0}function y2(e,t){return e&&e.length?Gs(e,$(t,2)):0}return S.after=V1,S.ary=_f,S.assign=Ch,S.assignIn=Kf,S.assignInWith=jn,S.assignWith=Fh,S.at=Th,S.before=Ef,S.bind=Aa,S.bindAll=Dd,S.bindKey=Cf,S.castArray=th,S.chain=Bf,S.chunk=gI,S.compact=lI,S.concat=uI,S.cond=Hd,S.conforms=Nd,S.constant=Ma,S.countBy=b1,S.create=Mh,S.curry=Ff,S.curryRight=Tf,S.debounce=Mf,S.defaults=Ph,S.defaultsDeep=Uh,S.defer=q1,S.delay=W1,S.difference=pI,S.differenceBy=II,S.differenceWith=hI,S.drop=dI,S.dropRight=vI,S.dropRightWhile=mI,S.dropWhile=SI,S.fill=bI,S.filter=w1,S.flatMap=B1,S.flatMapDeep=A1,S.flatMapDepth=x1,S.flatten=yf,S.flattenDeep=yI,S.flattenDepth=wI,S.flip=$1,S.flow=Gd,S.flowRight=Kd,S.fromPairs=RI,S.functions=Kh,S.functionsIn=Vh,S.groupBy=_1,S.initial=BI,S.intersection=AI,S.intersectionBy=xI,S.intersectionWith=_I,S.invert=Wh,S.invertBy=$h,S.invokeMap=C1,S.iteratee=Pa,S.keyBy=F1,S.keys=Ae,S.keysIn=He,S.map=Gn,S.mapKeys=Xh,S.mapValues=zh,S.matches=Vd,S.matchesProperty=qd,S.memoize=Vn,S.merge=Jh,S.mergeWith=Vf,S.method=Wd,S.methodOf=$d,S.mixin=Ua,S.negate=qn,S.nthArg=Xd,S.omit=Zh,S.omitBy=Yh,S.once=j1,S.orderBy=T1,S.over=zd,S.overArgs=X1,S.overEvery=Jd,S.overSome=Zd,S.partial=xa,S.partialRight=Pf,S.partition=M1,S.pick=Qh,S.pickBy=qf,S.property=Zf,S.propertyOf=Yd,S.pull=TI,S.pullAll=Rf,S.pullAllBy=MI,S.pullAllWith=PI,S.pullAt=UI,S.range=Qd,S.rangeRight=e2,S.rearg=z1,S.reject=k1,S.remove=kI,S.rest=J1,S.reverse=Oa,S.sampleSize=H1,S.set=td,S.setWith=rd,S.shuffle=N1,S.slice=DI,S.sortBy=K1,S.sortedUniq=qI,S.sortedUniqBy=WI,S.split=Bd,S.spread=Z1,S.tail=$I,S.take=jI,S.takeRight=XI,S.takeRightWhile=zI,S.takeWhile=JI,S.tap=l1,S.throttle=Y1,S.thru=Ln,S.toArray=Nf,S.toPairs=Wf,S.toPairsIn=$f,S.toPath=a2,S.toPlainObject=Gf,S.transform=nd,S.unary=Q1,S.union=ZI,S.unionBy=YI,S.unionWith=QI,S.uniq=e1,S.uniqBy=t1,S.uniqWith=r1,S.unset=sd,S.unzip=Ba,S.unzipWith=Of,S.update=ad,S.updateWith=id,S.values=vr,S.valuesIn=od,S.without=n1,S.words=zf,S.wrap=eh,S.xor=s1,S.xorBy=a1,S.xorWith=i1,S.zip=o1,S.zipObject=f1,S.zipObjectDeep=c1,S.zipWith=g1,S.entries=Wf,S.entriesIn=$f,S.extend=Kf,S.extendWith=jn,Ua(S,S),S.add=o2,S.attempt=Jf,S.camelCase=ld,S.capitalize=jf,S.ceil=f2,S.clamp=fd,S.clone=rh,S.cloneDeep=sh,S.cloneDeepWith=ah,S.cloneWith=nh,S.conformsTo=ih,S.deburr=Xf,S.defaultTo=Ld,S.divide=c2,S.endsWith=ud,S.eq=ot,S.escape=pd,S.escapeRegExp=Id,S.every=y1,S.find=R1,S.findIndex=Sf,S.findKey=kh,S.findLast=O1,S.findLastIndex=bf,S.findLastKey=Dh,S.floor=g2,S.forEach=Af,S.forEachRight=xf,S.forIn=Hh,S.forInRight=Nh,S.forOwn=Lh,S.forOwnRight=Gh,S.get=Ca,S.gt=oh,S.gte=fh,S.has=qh,S.hasIn=Fa,S.head=wf,S.identity=Ne,S.includes=E1,S.indexOf=OI,S.inRange=cd,S.invoke=jh,S.isArguments=zt,S.isArray=Z,S.isArrayBuffer=ch,S.isArrayLike=De,S.isArrayLikeObject=be,S.isBoolean=gh,S.isBuffer=Nt,S.isDate=lh,S.isElement=uh,S.isEmpty=ph,S.isEqual=Ih,S.isEqualWith=hh,S.isError=_a,S.isFinite=dh,S.isFunction=Ot,S.isInteger=Uf,S.isLength=Wn,S.isMap=kf,S.isMatch=vh,S.isMatchWith=mh,S.isNaN=Sh,S.isNative=bh,S.isNil=wh,S.isNull=yh,S.isNumber=Df,S.isObject=ve,S.isObjectLike=me,S.isPlainObject=qr,S.isRegExp=Ea,S.isSafeInteger=Rh,S.isSet=Hf,S.isString=$n,S.isSymbol=Ve,S.isTypedArray=dr,S.isUndefined=Oh,S.isWeakMap=Bh,S.isWeakSet=Ah,S.join=EI,S.kebabCase=hd,S.last=Qe,S.lastIndexOf=CI,S.lowerCase=dd,S.lowerFirst=vd,S.lt=xh,S.lte=_h,S.max=l2,S.maxBy=u2,S.mean=p2,S.meanBy=I2,S.min=h2,S.minBy=d2,S.stubArray=Da,S.stubFalse=Ha,S.stubObject=t2,S.stubString=r2,S.stubTrue=n2,S.multiply=v2,S.nth=FI,S.noConflict=jd,S.noop=ka,S.now=Kn,S.pad=md,S.padEnd=Sd,S.padStart=bd,S.parseInt=yd,S.random=gd,S.reduce=P1,S.reduceRight=U1,S.repeat=wd,S.replace=Rd,S.result=ed,S.round=m2,S.runInContext=O,S.sample=D1,S.size=L1,S.snakeCase=Od,S.some=G1,S.sortedIndex=HI,S.sortedIndexBy=NI,S.sortedIndexOf=LI,S.sortedLastIndex=GI,S.sortedLastIndexBy=KI,S.sortedLastIndexOf=VI,S.startCase=Ad,S.startsWith=xd,S.subtract=S2,S.sum=b2,S.sumBy=y2,S.template=_d,S.times=s2,S.toFinite=Bt,S.toInteger=Y,S.toLength=Lf,S.toLower=Ed,S.toNumber=et,S.toSafeInteger=Eh,S.toString=ce,S.toUpper=Cd,S.trim=Fd,S.trimEnd=Td,S.trimStart=Md,S.truncate=Pd,S.unescape=Ud,S.uniqueId=i2,S.upperCase=kd,S.upperFirst=Ta,S.each=Af,S.eachRight=xf,S.first=wf,Ua(S,function(){var e={};return gt(S,function(t,s){ge.call(S.prototype,s)||(e[s]=t)}),e}(),{chain:!1}),S.VERSION=o,Xe(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){S[e].placeholder=S}),Xe(["drop","take"],function(e,t){re.prototype[e]=function(s){s=s===r?1:Oe(Y(s),0);var u=this.__filtered__&&!t?new re(this):this.clone();return u.__filtered__?u.__takeCount__=Ce(s,u.__takeCount__):u.__views__.push({size:Ce(s,ct),type:e+(u.__dir__<0?"Right":"")}),u},re.prototype[e+"Right"]=function(s){return this.reverse()[e](s).reverse()}}),Xe(["filter","map","takeWhile"],function(e,t){var s=t+1,u=s==$e||s==Tg;re.prototype[e]=function(d){var b=this.clone();return b.__iteratees__.push({iteratee:$(d,3),type:s}),b.__filtered__=b.__filtered__||u,b}}),Xe(["head","last"],function(e,t){var s="take"+(t?"Right":"");re.prototype[e]=function(){return this[s](1).value()[0]}}),Xe(["initial","tail"],function(e,t){var s="drop"+(t?"":"Right");re.prototype[e]=function(){return this.__filtered__?new re(this):this[s](1)}}),re.prototype.compact=function(){return this.filter(Ne)},re.prototype.find=function(e){return this.filter(e).head()},re.prototype.findLast=function(e){return this.reverse().find(e)},re.prototype.invokeMap=ee(function(e,t){return typeof e=="function"?new re(this):this.map(function(s){return Hr(s,e,t)})}),re.prototype.reject=function(e){return this.filter(qn($(e)))},re.prototype.slice=function(e,t){e=Y(e);var s=this;return s.__filtered__&&(e>0||t<0)?new re(s):(e<0?s=s.takeRight(-e):e&&(s=s.drop(e)),t!==r&&(t=Y(t),s=t<0?s.dropRight(-t):s.take(t-e)),s)},re.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},re.prototype.toArray=function(){return this.take(ct)},gt(re.prototype,function(e,t){var s=/^(?:filter|find|map|reject)|While$/.test(t),u=/^(?:head|last)$/.test(t),d=S[u?"take"+(t=="last"?"Right":""):t],b=u||/^find/.test(t);d&&(S.prototype[t]=function(){var y=this.__wrapped__,R=u?[1]:arguments,A=y instanceof re,M=R[0],P=A||Z(y),D=function(te){var ne=d.apply(S,Tt([te],R));return u&&G?ne[0]:ne};P&&s&&typeof M=="function"&&M.length!=1&&(A=P=!1);var G=this.__chain__,q=!!this.__actions__.length,j=b&&!G,Q=A&&!q;if(!b&&P){y=Q?y:new re(this);var X=e.apply(y,R);return X.__actions__.push({func:Ln,args:[D],thisArg:r}),new Je(X,G)}return j&&Q?e.apply(this,R):(X=this.thru(D),j?u?X.value()[0]:X.value():X)})}),Xe(["pop","push","shift","sort","splice","unshift"],function(e){var t=un[e],s=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",u=/^(?:pop|shift)$/.test(e);S.prototype[e]=function(){var d=arguments;if(u&&!this.__chain__){var b=this.value();return t.apply(Z(b)?b:[],d)}return this[s](function(y){return t.apply(Z(y)?y:[],d)})}}),gt(re.prototype,function(e,t){var s=S[t];if(s){var u=s.name+"";ge.call(lr,u)||(lr[u]=[]),lr[u].push({name:t,func:s})}}),lr[Mn(r,C).name]=[{name:"wrapper",func:r}],re.prototype.clone=Uu,re.prototype.reverse=ku,re.prototype.value=Du,S.prototype.at=u1,S.prototype.chain=p1,S.prototype.commit=I1,S.prototype.next=h1,S.prototype.plant=v1,S.prototype.reverse=m1,S.prototype.toJSON=S.prototype.valueOf=S.prototype.value=S1,S.prototype.first=S.prototype.head,Fr&&(S.prototype[Fr]=d1),S},fr=Iu();Gt?((Gt.exports=fr)._=fr,Ps._=fr):_e._=fr}).call(Wr)})(ts,ts.exports);var V=ts.exports;const x2="ACDEFGHIKLMNPQRSTVWY",_2="ACDEFGHIKLMNPQRSTVWYBXZJUO.*-",E2={A:"Ala",C:"Cys",D:"Asp",E:"Glu",F:"Phe",G:"Gly",H:"His",I:"Ile",K:"Lys",L:"Leu",M:"Met",N:"Asn",P:"Pro",Q:"Gln",R:"Arg",S:"Ser",T:"Thr",V:"Val",W:"Trp",Y:"Tyr",O:"Pyl",U:"Sec"},Ec="GATCRYWSMKHBVDN",C2="GATC",F2="GAUCRYWSMKHBVDN",T2="GAUC",M2="GATCBDSW",rs={".":".",A:"A",C:"C",G:"G",T:"T",M:"AC",R:"AG",W:"AT",S:"CG",Y:"CT",K:"GT",V:"ACG",H:"ACT",D:"AGT",B:"CGT",X:"GATC",N:"GATC"},P2={".":".",A:"A",C:"C",G:"G",U:"U",M:"AC",R:"AG",W:"AU",S:"CG",Y:"CU",K:"GU",V:"ACG",H:"ACU",D:"AGU",B:"CGU",X:"GAUC",N:"GAUC"},U2={".":".",A:"T",C:"G",G:"C",T:"A",M:"K",R:"Y",W:"W",S:"S",Y:"R",K:"M",V:"B",H:"D",D:"H",B:"V",X:"X",N:"N"},k2={".":".",A:"U",C:"G",G:"C",U:"A",M:"K",R:"Y",W:"W",S:"S",Y:"R",K:"M",V:"B",H:"D",D:"H",B:"V",X:"X",N:"N"},D2={A:331.2218,C:307.1971,G:347.2212,T:322.2085},H2={A:331.06817,C:307.056936,G:347.063084,T:322.056602},N2={A:347.2212,C:323.1965,G:363.2206,U:324.1813},L2={A:347.063084,C:323.051851,G:363.057999,U:324.035867},G2={A:89.0932,C:121.1582,D:133.1027,E:147.1293,F:165.1891,G:75.0666,H:155.1546,I:131.1729,K:146.1876,L:131.1729,M:149.2113,N:132.1179,O:255.3134,P:115.1305,Q:146.1445,R:174.201,S:105.0926,T:119.1192,U:168.0532,V:117.1463,W:204.2252,Y:181.1885},K2={A:89.047678,C:121.019749,D:133.037508,E:147.053158,F:165.078979,G:75.032028,H:155.069477,I:131.094629,K:146.105528,L:131.094629,M:149.051049,N:132.053492,O:255.158292,P:115.063329,Q:146.069142,R:174.111676,S:105.042593,T:119.058243,U:168.964203,V:117.078979,W:204.089878,Y:181.073893},Cc={A:"A",B:"ND",C:"C",D:"D",E:"E",F:"F",G:"G",H:"H",I:"I",J:"IL",K:"K",L:"L",M:"M",N:"N",O:"O",P:"P",Q:"Q",R:"R",S:"S",T:"T",U:"U",V:"V",W:"W",X:"ACDEFGHIKLMNPQRSTVWY",Y:"Y",Z:"QE","*":"\\*\\.",".":"\\.\\.","-":"\\-"},V2={H:1.00794,D:2.0141,He:4.002602,Li:6.941,Be:9.012182,B:10.811,C:12.0107,N:14.0067,O:15.9994,F:18.9984032,Ne:20.1797,Na:22.98977,Mg:24.305,Al:26.981538,Si:28.0855,P:30.973761,S:32.065,Cl:35.453,Ar:39.948,K:39.0983,Ca:40.078,Sc:44.95591,Ti:47.867,V:50.9415,Cr:51.9961,Mn:54.938049,Fe:55.845,Co:58.9332,Ni:58.6934,Cu:63.546,Zn:65.39,Ga:69.723,Ge:72.64,As:74.9216,Se:78.96,Br:79.904,Kr:83.8,Rb:85.4678,Sr:87.62,Y:88.90585,Zr:91.224,Nb:92.90638,Mo:95.94,Tc:98,Ru:101.07,Rh:102.9055,Pd:106.42,Ag:107.8682,Cd:112.411,In:114.818,Sn:118.71,Sb:121.76,Te:127.6,I:126.90447,Xe:131.293,Cs:132.90545,Ba:137.327,La:138.9055,Ce:140.116,Pr:140.90765,Nd:144.24,Pm:145,Sm:150.36,Eu:151.964,Gd:157.25,Tb:158.92534,Dy:162.5,Ho:164.93032,Er:167.259,Tm:168.93421,Yb:173.04,Lu:174.967,Hf:178.49,Ta:180.9479,W:183.84,Re:186.207,Os:190.23,Ir:192.217,Pt:195.078,Au:196.96655,Hg:200.59,Tl:204.3833,Pb:207.2,Bi:208.98038,Po:208.98,At:209.99,Rn:222.02,Fr:223.02,Ra:226.03,Ac:227.03,Th:232.0381,Pa:231.03588,U:238.02891,Np:237.05,Pu:244.06,Am:243.06,Cm:247.07,Bk:247.07,Cf:251.08,Es:252.08,Fm:257.1,Md:258.1,No:259.1,Lr:262.11,Rf:261.11,Db:262.11,Sg:266.12,Bh:264.12,Hs:269.13,Mt:268.14},q2=Object.freeze(Object.defineProperty({__proto__:null,ambiguous_dna_complement:U2,ambiguous_dna_letters:Ec,ambiguous_dna_values:rs,ambiguous_rna_complement:k2,ambiguous_rna_letters:F2,ambiguous_rna_values:P2,atom_weights:V2,extended_dna_letters:M2,extended_protein_letters:_2,extended_protein_values:Cc,monoisotopic_protein_weights:K2,monoisotopic_unambiguous_dna_weights:H2,monoisotopic_unambiguous_rna_weights:L2,protein_letters:x2,protein_letters_1to3:E2,protein_weights:G2,unambiguous_dna_letters:C2,unambiguous_dna_weights:D2,unambiguous_rna_letters:T2,unambiguous_rna_weights:N2},Symbol.toStringTag,{value:"Module"})),cs={"-":"---",".":"...","*":"trr",a:"gcn",b:"ray",c:"tgy",d:"gay",e:"gar",f:"tty",g:"ggn",h:"cay",i:"ath",j:"htn",k:"aar",l:"ytn",m:"atg",n:"aay",o:"tag",p:"ccn",q:"car",r:"mgn",s:"wsn",t:"acn",u:"tga",v:"gtn",w:"tgg",x:"nnn",y:"tay",z:"sar"};function _t(a,n){n!==0&&(n=n||1/0);const r=[];return a.start>a.end?(r.push({start:0,end:a.end,type:"end"}),r.push({start:a.start,end:n-1,type:"beginning"})):r.push({start:a.start,end:a.end,type:"beginningAndEnd"}),r}function W2(a,n){if(a.start<n.start){if(!(a.end<n.start))return a.end<n.end?{start:n.start,end:a.end}:{start:n.start,end:n.end}}else if(!(a.start>n.end))return a.end<n.end?{start:a.start,end:a.end}:{start:a.start,end:n.end}}function si(a,n,r,o){const f=_t(a,r),i=_t(n,r);let c=[];if(f.forEach(function(g,l){i.forEach(function(p,I){const h=W2(g,p);h&&c.push(h)})}),o&&f.length===2&&i.length===2&&r){const g={};c=V.flatMap(c,(l,p)=>{if(l.start===0)return g.end=l.end,[];if(l.end===r-1)return g.start=l.start,[]}),c.push(g)}return c}function $2(a,n){let r;return a&&(a.start<n.start?a.end<n.start?r={start:a.start,end:a.end}:a.end>n.end?r={start:a.start,end:a.end}:r={start:a.start,end:n.start-1}:a.end<=n.end||(a.start>n.end?r={end:a.end,start:a.start}:r={end:a.end,start:n.end+1})),r}function ai(a,n,r){if(!a||!n)return console.warn("invalid range input"),null;let o;for(o of[a.start,a.end,n.start,n.end])if(o<0||!o&&o!==0)return console.warn("invalid range input"),null;const f=si(a,n,r);if(!f.length)return a;const i=_t(a,r);i.forEach(function(l,p){f.forEach(function(I){l&&(l=$2(l,I))}),i[p]=l});const c=i.filter(function(l){return!!l});let g;if(c.length<0||(c.length===1?g=c[0]:c.length===2&&(c[0].start<c[1].start?g={start:c[1].start,end:c[0].end}:g={start:c[0].start,end:c[1].end})),g)return V.extend({},a,{start:g.start,end:g.end})}function tc(a,n,r){const o=ai(a,n,r);return o&&_t(n,r).forEach(function(i){const c=i.end-i.start+1;o.start>o.end?i.start<o.end?(o.start-=c,o.end-=c):i.start<o.start&&(o.start-=c):i.start<o.start?(o.start-=c,o.end-=c):i.start<o.end&&(o.end-=c)}),o}function rc(a,n,r){const o=V.assign({},a);return a.start>a.end?a.end>=n?(o.start+=r,o.end+=r):a.start>=n&&(o.start+=r):a.start>=n?(o.start+=r,o.end+=r):a.end>=n&&(o.end+=r),o}function j2(a,n){return a.start<n.start?!(a.end<n.start):!(a.start>n.end)}function X2(a,n){return _t(a,1/0).some(function(r){return _t(n,1/0).some(function(o){return j2(r,o)})})}function Yn(a,n,r){const o=r&&r.start<=r.end;if(a.length===1||a.length===0)return a;if(a.length===2)return a[0].start===0&&a[1].end+1===n&&!o?[{start:a[1].start,end:a[0].end}]:a[1].start===0&&a[0].end+1===n&&!o?[{start:a[0].start,end:a[1].end}]:a;if(a.length===3){const f=a[0],i=a[1],c=a[2];let g=Yn([f,i],n,r);return g.length===1?(g.push(c),g):(g=Yn([f,c],n,r),g.length===1?(g.push(i),g):(g=Yn([i,c],n,r),g.length===1?(g.push(f),g):a))}}function ii(a){return function(){const n=Array.prototype.slice.call(arguments),r=n[n.length-1];r&&(r.inclusive1BasedEnd||r.inclusive1BasedStart)&&n.forEach(function(f,i){f&&f.start>-1&&r.inclusive1BasedStart&&(n[i]=V.assign(f,{start:f.start-1})),f&&f.end>-1&&r.inclusive1BasedEnd&&(n[i]=V.assign(f,{end:f.end-1}))});let o=a.apply(this,n);return o&&o.start>-1&&r&&r.inclusive1BasedStart&&(o=V.assign(o,{start:o.start+1})),o&&o.end>-1&&r&&r.inclusive1BasedEnd&&(o=V.assign(o,{end:o.end+1})),o}}const xe=ii(z2);function z2(a,n){let r;return a.end<a.start?r=n-a.start+a.end+1:r=a.end-a.start+1,a.overlapsSelf&&n&&(r+=n),r}function Fc(a,n,r){let o=ai(a,n,r);return o===null?!1:!o}function Tc(a,n,r,o,f){return _t(n,r).some(function(g){return(o?a<g.start:a<=g.start)?!1:f?a<=g.end+1:a<=g.end})}function ae(a,n,r){let o=a;return o<0?o+=n:o+(r?0:1)>n&&(o-=n),o<0?0:o>n-(r?0:1)?n-(r?0:1):o}function Mc(a,n){return V.assign({},a,{start:ae(a.start,n),end:ae(a.end,n)})}function Na(a,n,r,o){const f=V.clone(a);return r?f.start-=n:f.end+=n,Mc(f,o)}function Sr(a,n,r){return V.assign({},a,{start:ae(a.start+n,r),end:ae(a.end+n,r)})}function J2(a,n,r,o){return Fc(a,n,r)?Pc(a,n,r):Z2(a,n,r)}function Z2(a,n,r,o){const f=Fc(n,a,r);let i;if(f){const c=xe({start:a.start,end:n.start},r)-1;i=Na(n,c,!1,r);const g=xe({end:a.end,start:n.end},r)-1;i=Na(i,g,!0,r)}else{const c=si(a,n,r);if(c.length>=1){let g;const l=c[0];g=l.start!==n.start;const p=Pc(l,n,r),I=xe(a,r)-xe(p,r);i=Na(p,I,g,r)}else throw new Error("This case (relative ranges that do not overlap) is unsupported! ")}return i}function Pc(a,n,r,o){const f=-n.start,i=Sr(n,f,r),c=Sr(a,f,r),g=Y2(c,i,r);return Sr(g,-f,r)}function Y2(a,n,r){const o=a.start-n.start,f=n.end-o,i=xe(a,r);return{end:f,start:f-(i-1)}}function Q2(a,n,r){const o=La(a,n);let f;return r?f=ae(La(o,o+r),n):f=La(a,n),{start:o,end:f}}function La(a,n){return Math.floor(Math.random()*(n-a))+a}function xt(a,n){if(a.start<0||a.end<0)return"";if(a.start>a.end){let r=n.slice(a.start,n.length);return typeof r=="string"?r+=n.slice(0,a.end+1):r=r.concat(n.slice(0,a.end+1)),r}else return n.slice(a.start,a.end+1)}function nc(a,n,r){if(a<n){const i=a;a=n,n=i}const o=a-n,f=r-a+n;return Math.min(o,f)}function Uc(a,n,r){let o=[];return n.some(function(i,c){if(!i.some(function(l){return X2(a,l)}))return o=c,r&&(a.yOffset=c),i.push(a),!0})||(o=n.length,r&&(a.yOffset=n.length)),o}function e0(a,n){const r=[];let o=0;const f=[];return a.forEach(function(i){const c=Uc(i,f,n);r.push(c),c>o&&(o=c),i.yOffset=c,f[c]||(f[c]=[]),f[c].push(i)}),{yOffsets:r,maxYOffset:o}}const t0=ii(r0);function r0(a,n){if(a.start>-1){const r=a.end+1,o=a.start-1;return{start:ae(r,n,!1),end:ae(o,n,!1)}}else if(a>-1)return{start:ae(a,n,!1),end:ae(a-1,n,!1)}}function n0(a,n,r){const o=nc(n.start,a,r),f=nc(n.end,a,r);return o<=f}function kc(a,n){let r=a;return a<n.start?r=n.end-(n.start-(a+1)):a>n.end&&(r=n.start+(a-n.end-1)),r}const s0=ii(a0);function a0(a,n){return V.assign(a,{start:ae(a.start,n),end:ae(a.end,n)})}function Xn(a,n){return kc(a,{start:1,end:n})}function pt(a,n,r){return n-a-(r?0:1)}function i0(a,n,r){if(ai(a,n,r))throw new Error("subRange must be fully contained by containerRange! Otherwise this function does not make sense");const f={};return f.start=a.start-n.start,f.end=a.end-n.start,f.start<0&&(f.start+=r),f.end<0&&(f.end+=r),f}function sc(a,n=0,r){const o=r?o0:V.identity;return V.assign({},a,{start:o(a.start-(n||0),r),end:o(a.end-(n||0),r)})}function o0(a,n){return(a%n+n)%n}function f0(a,n,r){return Yn(si(a,n,r),r,a).map(i=>i0(i,{start:n.start,end:ae(n.start-1,r)},r))}const oi={".":".",a:"t",t:"a",u:"a",c:"g",g:"c",A:"T",T:"A",U:"A",C:"G",G:"C",r:"y",R:"Y",y:"r",Y:"R",d:"h",D:"H",h:"d",H:"D",k:"m",K:"M",m:"k",M:"K",v:"b",V:"B",b:"v",B:"V"};function Et(a){let n="";for(let r=a.length-1;r>=0;r--){let o=oi[a[r]];o||(o=a[r]),n+=o}return n}function Dc({seqsToAnnotateById:a,annotationsToCheckById:n,compareName:r,warnIfMoreThan:o}){const f={};V.forEach(n,c=>{const g=new RegExp(c.sequence,"gi");V.forEach(V.omitBy(a,l=>!l.sequence.length),({circular:l,sequence:p},I)=>{function h({seqToMatchAgainst:w,isReverse:B,seqLen:x}){let C,H;try{for(;C=g.exec(w);){const{index:F,0:N}=C;if(F>=x)return;const _=F+N.length;if(H&&F>H.start&&_<=H.end){g.lastIndex=C.index+1;continue}H={start:F,end:_};const U={start:F,end:ae(_-1,x)};f[I]||(f[I]=[]),f[I].push(Se(se({},B?{start:pt(U.end,x),end:pt(U.start,x)}:U),{strand:B?-1:1,id:c.id})),g.lastIndex=C.index+1}}catch(F){console.error("error:",F)}}const v=p.length,m=Et(p);h({seqLen:v,seqToMatchAgainst:l?p+p:p}),h({seqLen:v,isReverse:!0,seqToMatchAgainst:l?m+m:m})})});const i={};return V.forEach(f,(c,g)=>{const l=a[g],p={};V.forEach(l.annotations,v=>{p[ac(v,{compareName:r})]=v});const I={},h=c.filter(v=>p[ac(v,{compareName:r})]?!1:(o&&(I[v.id]=(I[v.id]||0)+1),!0)).sort((v,m)=>v.start-m.start);h.length&&(i[g]=h),o&&V.forEach(I,(v,m)=>{v>o&&(i.__more_than_warnings=i.__more_than_warnings||{},i.__more_than_warnings[g]=i.__more_than_warnings[g]||[],i.__more_than_warnings[g].push(m))})}),i}function ac({start:a,end:n,name:r,strand:o,forward:f},{compareName:i}){return`${a}-${n}-${o===-1||f===!1?"rev":"for"}-${i?r:""}`}function c0(a=""){let n="",r="",o="",f="",i,c,g;for(const l of a.replace("(","").replace(")","")){let p=function(h){g&&(r+=h,o=`${r}${o.length?"|":""}${o}`)};const I=rs[l.toUpperCase()];if(I&&I.length>1){let h;I.length===4?h=".":h=`[${I}]`,n+=h,p(h);continue}if(l==="#"){if(g)throw new Error("Error converting regex");const h=i?`[^${i}]*?`:".*?";n+=h,p(h);continue}if(l==="<"){if(g)throw new Error("Error converting to regex");if(c)throw new Error("Error converting to regex");let h="",v="",m=!0,w;const B=[];for(let C=0;C<n.length;C++){const H=n[C],F=n[C+1];H==="["?m=!1:(H==="]"||w)&&(w=!0,(rs[F]||F==="[")&&(m=!0,w=!1)),h+=H,m&&(B.push(h),h="")}let x="";B.reverse(),B.forEach(C=>{x=C+x,v=`${x}${v.length?"|":""}${v}`}),n=`(${v})?`,c=!0;continue}if(l===">"){if(g)throw new Error("Error converting regex");g=!0,f=n;continue}n+=l,p(l),i=l}return g&&(n=`${f}(${o})?`),n}function g0(a){let n="",r;for(r of a){const o=cs[r.toLowerCase()];o?n+=o:n+=r}return n}const Hc=[{name:"-10_signal",color:"#4ECDC4"},{name:"-35_signal",color:"#F7FFF7"},{name:"3'clip",color:"#FF6B6B"},{name:"3'UTR",color:"#FFE66D"},{name:"5'clip",color:"#3E517A"},{name:"5'UTR",color:"#BBBBBB"},{name:"D-loop",color:"#F13C73"},{name:"assembly_gap",color:"#DE9151"},{name:"centromere",color:"#F34213"},{name:"Het",color:"#BC5D2E"},{name:"mobile_element",color:"#6DB1BF"},{name:"ncRNA",color:"#FFEAEC"},{name:"proprotein",color:"#F39A9D"},{name:"regulatory",color:"#3F6C51"},{name:"SecStr",color:"#7B4B94"},{name:"Site",color:"#7D82B8"},{name:"telomere",color:"DE9151"},{name:"tmRNA",color:"#B7E3CC"},{name:"unsure",color:"#C4FFB2"},{name:"V_segment",color:"#D6F7A3"},{name:"allele",color:"#D86D6D"},{name:"attenuator",color:"#6B7F9C"},{name:"C_region",color:"#B5D89D"},{name:"CAAT_signal",color:"#E9CD98"},{name:"CDS",color:"#EF6500"},{name:"conserved",color:"#A3A5F0"},{name:"D_segment",color:"#C060F7"},{name:"default",color:"#CCCCCC"},{name:"enhancer",color:"#38F872"},{name:"exon",color:"#95F844"},{name:"gap",color:"#F7D43C"},{name:"GC_signal",color:"#861F1F"},{name:"gene",color:"#684E27"},{name:"iDNA",color:"#A59B41"},{name:"intron",color:"#52963E"},{name:"J_region",color:"#369283"},{name:"LTR",color:"#31748F"},{name:"m_rna",color:"#FFFF00"},{name:"mat_peptide",color:"#353E8F"},{name:"misc_binding",color:"#006FEF"},{name:"misc_difference",color:"#5A368A"},{name:"misc_feature",color:"#006FEF"},{name:"misc_marker",color:"#8DCEB1"},{name:"misc_part",color:"#006FEF"},{name:"misc_recomb",color:"#DD97B4"},{name:"misc_RNA",color:"#BD0101"},{name:"misc_signal",color:"#FF9A04"},{name:"misc_structure",color:"#B3FF00"},{name:"modified_base",color:"#00F7FF"},{name:"mRNA",color:"#FFD900"},{name:"N_region",color:"#AE00FF"},{name:"old_sequence",color:"#F0A7FF"},{name:"operator",color:"#63004D"},{name:"operon",color:"#000653"},{name:"oriT",color:"#580000"},{name:"plasmid",color:"#00635E"},{name:"polyA_signal",color:"#BBBBBB"},{name:"polyA_site",color:"#003328"},{name:"precursor_RNA",color:"#443200"},{name:"prim_transcript",color:"#665E4C"},{name:"primer_bind",color:"#53d969"},{name:"promoter",color:"#31B440"},{name:"protein_bind",color:"#2E2E2E"},{name:"protein_domain",color:"#4D4B4B"},{name:"protein",color:"#696969"},{name:"RBS",color:"#BDFFCB"},{name:"rep_origin",color:"#878787"},{name:"repeat_region",color:"#966363"},{name:"repeat_unit",color:"#A16D8D"},{name:"rRNA",color:"#9BF0FF"},{name:"s_mutation",color:"#70A2FF"},{name:"S_region",color:"#FF74A9"},{name:"satellite",color:"#164E64"},{name:"scRNA",color:"#A057FF"},{name:"sig_peptide",color:"#2FFF8D"},{name:"snoRNA",color:"#296B14"},{name:"snRNA",color:"#A16249"},{name:"source",color:"#0B17BD"},{name:"start",color:"#D6A336"},{name:"stem_loop",color:"#67069E"},{name:"stop",color:"#D44FC9"},{name:"STS",color:"#597FE7"},{name:"tag",color:"#E419DA"},{name:"TATA_signal",color:"#EB2B2B"},{name:"terminator",color:"#F51600"},{name:"transit_peptide",color:"#24D491"},{name:"transposon",color:"#B6E436"},{name:"tRNA",color:"#D1456F"},{name:"V_region",color:"#7B5EE7"},{name:"variation",color:"#2EE455"}],fi=()=>{const a=V.keyBy(Hc.map(r=>Se(se({},r),{isGenbankStandardType:!0})),"name");let n=typeof window!="undefined"&&V.get(window,"tg_featureTypeOverrides")||typeof global!="undefined"&&V.get(global,"tg_featureTypeOverrides");return n=n||[],n=n.map(r=>{const o=a[r.name];return se(se(se({},o),r),o?{isOverridden:!0}:{isCustomType:!0})}),n=V.keyBy(n,"name"),se(se({},a),n)},ci=({includeHidden:a}={})=>{const n={};return V.filter(fi(),r=>a?!0:!r.isHidden).forEach(r=>{n[r.name]=r.color}),n},gs=({includeHidden:a}={})=>V.filter(fi(),n=>a?!0:!n.isHidden).map(n=>n.name);var gi=Math.floor(Math.random()*16777215),ic=he.index=parseInt(Math.random()*16777215,10),l0=(typeof process=="undefined"||typeof process.pid!="number"?Math.floor(Math.random()*1e5):process.pid)%65535,u0=function(a){return!!(a!=null&&a.constructor&&typeof a.constructor.isBuffer=="function"&&a.constructor.isBuffer(a))};function he(a){if(!(this instanceof he))return new he(a);if(a&&(a instanceof he||a._bsontype==="ObjectID"))return a;var n;if(u0(a)||Array.isArray(a)&&a.length===12)n=Array.prototype.slice.call(a);else if(typeof a=="string"){if(a.length!==12&&!he.isValid(a))throw new Error("Argument passed in must be a single String of 12 bytes or a string of 24 hex characters");n=oc(a)}else/number|undefined/.test(typeof a)&&(n=oc(Nc(a)));Object.defineProperty(this,"id",{enumerable:!0,get:function(){return String.fromCharCode.apply(this,n)}}),Object.defineProperty(this,"str",{get:function(){return n.map(mr.bind(this,2)).join("")}})}var p0=he;he.generate=Nc;he.default=he;he.createFromTime=function(a){return a=parseInt(a,10)%4294967295,new he(mr(8,a)+"0000000000000000")};he.createFromHexString=function(a){if(!he.isValid(a))throw new Error("Invalid ObjectID hex string");return new he(a)};he.isValid=function(a){return!a||typeof a!="string"&&(typeof a!="object"||Array.isArray(a)||typeof a.toString!="function")?!1:/^[0-9A-F]{24}$/i.test(a.toString())};he.setMachineID=function(a){var n;if(typeof a=="string"){if(n=parseInt(a,16),isNaN(n)){a=("000000"+a).substr(-7,6),n="";for(var r=0;r<6;r++)n+=a.charCodeAt(r)}}else/number|undefined/.test(typeof a)&&(n=a|0);gi=n&16777215};he.getMachineID=function(){return gi};he.prototype={_bsontype:"ObjectID",constructor:he,toHexString:function(){return this.str},equals:function(a){return!!a&&this.str===a.toString()},getTimestamp:function(){return new Date(parseInt(this.str.substr(0,8),16)*1e3)}};function I0(){return ic=(ic+1)%16777215}function Nc(a){return typeof a!="number"&&(a=Date.now()/1e3),a=parseInt(a,10)%4294967295,mr(8,a)+mr(6,gi)+mr(4,l0)+mr(6,I0())}function mr(a,n){return n=n.toString(16),n.length===a?n:"00000000".substring(n.length,a)+n}function oc(a){var n=0,r=[];if(a.length===24)for(;n<24;r.push(parseInt(a[n]+a[n+1],16)),n+=2);else if(a.length===12)for(;n<12;r.push(a.charCodeAt(n)),n++);return r}var h0=Symbol&&Symbol.for("nodejs.util.inspect.custom")||"inspect";he.prototype[h0]=function(){return"ObjectID("+this+")"};he.prototype.toJSON=he.prototype.toHexString;he.prototype.toString=he.prototype.toHexString;const Qt=Zr(p0);function ls(a,n,r){if(r.forwardRegex.length===0||r.reverseRegex.length===0){let l=[];return l.error="Cannot cut sequence. Enzyme restriction site must be at least 1 bp long.",l}let o=new RegExp(r.forwardRegex,"ig"),f=a,i=fc(o,r,f,n),c=[];if(r.forwardRegex!==r.reverseRegex){let l=Et(f);c=fc(o,r,l,n),c=c.map(p=>g(p,f.length))}return i.concat(c);function g(l,p){return l.start=pt(l.start,p,!1),l.end=pt(l.end,p,!1),l.topSnipPosition=pt(l.topSnipPosition,p,!0),l.bottomSnipPosition=pt(l.bottomSnipPosition,p,!0),l.cutsTwice&&(l.upstreamTopSnip=pt(l.upstreamTopSnip,p,!0),l.upstreamBottomSnip=pt(l.upstreamBottomSnip,p,!0)),l.recognitionSiteRange.start=pt(l.recognitionSiteRange.start,p,!1),l.recognitionSiteRange.end=pt(l.recognitionSiteRange.end,p,!1),V.assign({},l,{start:l.end,end:l.start,overhangBps:Et(l.overhangBps),topSnipPosition:l.bottomSnipPosition,bottomSnipPosition:l.topSnipPosition,upstreamTopSnip:l.upstreamBottomSnip,upstreamBottomSnip:l.upstreamTopSnip,upstreamTopBeforeBottom:!!l.upstreamTopBeforeBottom,topSnipBeforeBottom:!!l.topSnipBeforeBottom,recognitionSiteRange:{start:l.recognitionSiteRange.end,end:l.recognitionSiteRange.start},forward:!1})}}function fc(a,n,r,o){let f=[],i,c=n.site.length,g=r,l=r.length;o&&(r+=r);let p=r.length,I=r.search(a),h=0,v=r;for(;I!==-1;){let m={},w,B,x=null,C=null,H=!1,F=null,N=null,_=!1,U=!1;if(m.start=I+h,w=m.start,m.end=I+c-1+h,B=m.end,n.cutType===1&&(x=m.end-n.usForward,C=m.end-n.usReverse,x>=0&&C>=0?(U=!0,x<C?(w>x&&(w=x+1),H=!0):w>C&&(w=C+1),x=ae(x,l,!0),C=ae(C,l,!0)):(x=null,C=null)),F=m.start+n.topSnipOffset,N=m.start+n.bottomSnipOffset,N<=p&&F<=p?(U=!0,F>N?F>m.end&&(B=F-1):(N>m.end&&(B=N-1),_=!0),F=ae(F,l,!0),N=ae(N,l,!0)):(F=null,N=null),U&&w>=0&&B>=0&&w<l&&B<p){w=ae(w,l,!1),B=ae(B,l,!1),m.start=ae(m.start,l,!1),m.end=ae(m.end,l,!1);let L={start:-1,end:-1};F!==N&&(L=_?{start:F,end:ae(N-1,l)}:{start:N,end:ae(F-1,l)});let W=xt(L,g);i={id:Qt().str,start:w,end:B,topSnipPosition:F,bottomSnipPosition:N,topSnipBeforeBottom:_,overhangBps:W,overhangSize:W.length,upstreamTopBeforeBottom:H,upstreamTopSnip:x,annotationTypePlural:"cutsites",upstreamBottomSnip:C,recognitionSiteRange:m,forward:!0,name:n.name,restrictionEnzyme:n},f.push(i)}h=h+I+1,v=r.substring(h,r.length),I=v.search(a)}return f}function Lc(a,n,r){const o={};for(let f=0;f<r.length;f++){const i=r[f],c=ls(a,n,i);c.length&&(o[i.name]=c)}return o}function Gc({cutsites:a,sequenceLength:n,circular:r,includeOverAndUnderHangs:o,computePartialDigest:f,computeDigestDisabled:i,computePartialDigestDisabled:c,selectionLayerUpdate:g,updateSelectedFragment:l}){const p=[],I=[],h=[],v=a.sort((m,w)=>m.topSnipPosition-w.topSnipPosition);return!r&&a.length&&v.push({id:"seqTerm_"+Qt().str,start:0,end:0,overhangBps:"",topSnipPosition:0,bottomSnipPosition:0,upstreamTopSnip:0,upstreamBottomSnip:0,upstreamTopBeforeBottom:!1,topSnipBeforeBottom:!1,recognitionSiteRange:{start:0,end:0},forward:!0,name:"Sequence_Terminus",restrictionEnzyme:{name:"Sequence_Terminus"}}),v.forEach((m,w)=>{f&&!c&&v.forEach((B,x)=>{x===w+1||x===0||h.push([m,v[x]])}),i||h.push([m,v[w+1]?v[w+1]:v[0]])}),h.forEach(m=>{let[w,B]=m,x,C,H;x=ae(w.topSnipPosition,n),C=ae(B.topSnipPosition-1,n),H=xe({start:x,end:C},n);let F;if(o){const L=H;x=ae(w.topSnipBeforeBottom?w.topSnipPosition:w.bottomSnipPosition,n),C=ae(B.topSnipBeforeBottom?B.bottomSnipPosition-1:B.topSnipPosition-1,n),H=xe({start:x,end:C},n),L>H&&(F=!0,H+=n)}let N;w.name==="Sequence_Terminus"?(w=V.cloneDeep(w),N=!0,w.name="Linear_Sequence_Start",w.restrictionEnzyme.name="Linear_Sequence_Start"):B.name==="Sequence_Terminus"&&(B=V.cloneDeep(B),N=!0,B.name="Linear_Sequence_End",B.restrictionEnzyme.name="Linear_Sequence_End");const _=x+"-"+C+"-"+H+"-",U=`${w.restrictionEnzyme.name} -- ${B.restrictionEnzyme.name} ${H} bps`;xe({start:x,end:C},n),p.push({isFormedFromLinearEnd:N,madeFromOneCutsite:w===B,start:x,end:C,size:H,overlapsSelf:F,id:_,name:U,cut1:w,cut2:B,onFragmentSelect:g&&l?()=>{g({start:x,end:C,name:U}),l(_)}:void 0})}),p.filter(m=>m.size?!0:(I.push(m),!1)),{computePartialDigestDisabled:c,computeDigestDisabled:i,fragments:p,overlappingEnzymes:I}}function d0({sequence:a,circular:n,enzymes:r,includeOverAndUnderHangs:o}){const f=Lc(a,n,r);return Gc({includeOverAndUnderHangs:o,cutsites:V.flatMap(f),sequenceLength:a.length,circular:n})}var Kc={exports:{}};(function(a){var n=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},r=-1,o=1,f=0;n.Diff=function(i,c){return[i,c]},n.prototype.diff_main=function(i,c,g,l){typeof l=="undefined"&&(this.Diff_Timeout<=0?l=Number.MAX_VALUE:l=new Date().getTime()+this.Diff_Timeout*1e3);var p=l;if(i==null||c==null)throw new Error("Null input. (diff_main)");if(i==c)return i?[new n.Diff(f,i)]:[];typeof g=="undefined"&&(g=!0);var I=g,h=this.diff_commonPrefix(i,c),v=i.substring(0,h);i=i.substring(h),c=c.substring(h),h=this.diff_commonSuffix(i,c);var m=i.substring(i.length-h);i=i.substring(0,i.length-h),c=c.substring(0,c.length-h);var w=this.diff_compute_(i,c,I,p);return v&&w.unshift(new n.Diff(f,v)),m&&w.push(new n.Diff(f,m)),this.diff_cleanupMerge(w),w},n.prototype.diff_compute_=function(i,c,g,l){var p;if(!i)return[new n.Diff(o,c)];if(!c)return[new n.Diff(r,i)];var I=i.length>c.length?i:c,h=i.length>c.length?c:i,v=I.indexOf(h);if(v!=-1)return p=[new n.Diff(o,I.substring(0,v)),new n.Diff(f,h),new n.Diff(o,I.substring(v+h.length))],i.length>c.length&&(p[0][0]=p[2][0]=r),p;if(h.length==1)return[new n.Diff(r,i),new n.Diff(o,c)];var m=this.diff_halfMatch_(i,c);if(m){var w=m[0],B=m[1],x=m[2],C=m[3],H=m[4],F=this.diff_main(w,x,g,l),N=this.diff_main(B,C,g,l);return F.concat([new n.Diff(f,H)],N)}return g&&i.length>100&&c.length>100?this.diff_lineMode_(i,c,l):this.diff_bisect_(i,c,l)},n.prototype.diff_lineMode_=function(i,c,g){var l=this.diff_linesToChars_(i,c);i=l.chars1,c=l.chars2;var p=l.lineArray,I=this.diff_main(i,c,!1,g);this.diff_charsToLines_(I,p),this.diff_cleanupSemantic(I),I.push(new n.Diff(f,""));for(var h=0,v=0,m=0,w="",B="";h<I.length;){switch(I[h][0]){case o:m++,B+=I[h][1];break;case r:v++,w+=I[h][1];break;case f:if(v>=1&&m>=1){I.splice(h-v-m,v+m),h=h-v-m;for(var x=this.diff_main(w,B,!1,g),C=x.length-1;C>=0;C--)I.splice(h,0,x[C]);h=h+x.length}m=0,v=0,w="",B="";break}h++}return I.pop(),I},n.prototype.diff_bisect_=function(i,c,g){for(var l=i.length,p=c.length,I=Math.ceil((l+p)/2),h=I,v=2*I,m=new Array(v),w=new Array(v),B=0;B<v;B++)m[B]=-1,w[B]=-1;m[h+1]=0,w[h+1]=0;for(var x=l-p,C=x%2!=0,H=0,F=0,N=0,_=0,U=0;U<I&&!(new Date().getTime()>g);U++){for(var L=-U+H;L<=U-F;L+=2){var W=h+L,z;L==-U||L!=U&&m[W-1]<m[W+1]?z=m[W+1]:z=m[W-1]+1;for(var de=z-L;z<l&&de<p&&i.charAt(z)==c.charAt(de);)z++,de++;if(m[W]=z,z>l)F+=2;else if(de>p)H+=2;else if(C){var ie=h+x-L;if(ie>=0&&ie<v&&w[ie]!=-1){var fe=l-w[ie];if(z>=fe)return this.diff_bisectSplit_(i,c,z,de,g)}}}for(var Be=-U+N;Be<=U-_;Be+=2){var ie=h+Be,fe;Be==-U||Be!=U&&w[ie-1]<w[ie+1]?fe=w[ie+1]:fe=w[ie-1]+1;for(var $e=fe-Be;fe<l&&$e<p&&i.charAt(l-fe-1)==c.charAt(p-$e-1);)fe++,$e++;if(w[ie]=fe,fe>l)_+=2;else if($e>p)N+=2;else if(!C){var W=h+x-Be;if(W>=0&&W<v&&m[W]!=-1){var z=m[W],de=h+z-W;if(fe=l-fe,z>=fe)return this.diff_bisectSplit_(i,c,z,de,g)}}}}return[new n.Diff(r,i),new n.Diff(o,c)]},n.prototype.diff_bisectSplit_=function(i,c,g,l,p){var I=i.substring(0,g),h=c.substring(0,l),v=i.substring(g),m=c.substring(l),w=this.diff_main(I,h,!1,p),B=this.diff_main(v,m,!1,p);return w.concat(B)},n.prototype.diff_linesToChars_=function(i,c){var g=[],l={};g[0]="";function p(m){for(var w="",B=0,x=-1,C=g.length;x<m.length-1;){x=m.indexOf(`
|
|
28
|
+
`,B),x==-1&&(x=m.length-1);var H=m.substring(B,x+1);(l.hasOwnProperty?l.hasOwnProperty(H):l[H]!==void 0)?w+=String.fromCharCode(l[H]):(C==I&&(H=m.substring(B),x=m.length),w+=String.fromCharCode(C),l[H]=C,g[C++]=H),B=x+1}return w}var I=4e4,h=p(i);I=65535;var v=p(c);return{chars1:h,chars2:v,lineArray:g}},n.prototype.diff_charsToLines_=function(i,c){for(var g=0;g<i.length;g++){for(var l=i[g][1],p=[],I=0;I<l.length;I++)p[I]=c[l.charCodeAt(I)];i[g][1]=p.join("")}},n.prototype.diff_commonPrefix=function(i,c){if(!i||!c||i.charAt(0)!=c.charAt(0))return 0;for(var g=0,l=Math.min(i.length,c.length),p=l,I=0;g<p;)i.substring(I,p)==c.substring(I,p)?(g=p,I=g):l=p,p=Math.floor((l-g)/2+g);return p},n.prototype.diff_commonSuffix=function(i,c){if(!i||!c||i.charAt(i.length-1)!=c.charAt(c.length-1))return 0;for(var g=0,l=Math.min(i.length,c.length),p=l,I=0;g<p;)i.substring(i.length-p,i.length-I)==c.substring(c.length-p,c.length-I)?(g=p,I=g):l=p,p=Math.floor((l-g)/2+g);return p},n.prototype.diff_commonOverlap_=function(i,c){var g=i.length,l=c.length;if(g==0||l==0)return 0;g>l?i=i.substring(g-l):g<l&&(c=c.substring(0,g));var p=Math.min(g,l);if(i==c)return p;for(var I=0,h=1;;){var v=i.substring(p-h),m=c.indexOf(v);if(m==-1)return I;h+=m,(m==0||i.substring(p-h)==c.substring(0,h))&&(I=h,h++)}},n.prototype.diff_halfMatch_=function(i,c){if(this.Diff_Timeout<=0)return null;var g=i.length>c.length?i:c,l=i.length>c.length?c:i;if(g.length<4||l.length*2<g.length)return null;var p=this;function I(F,N,_){for(var U=F.substring(_,_+Math.floor(F.length/4)),L=-1,W="",z,de,ie,fe;(L=N.indexOf(U,L+1))!=-1;){var Be=p.diff_commonPrefix(F.substring(_),N.substring(L)),$e=p.diff_commonSuffix(F.substring(0,_),N.substring(0,L));W.length<$e+Be&&(W=N.substring(L-$e,L)+N.substring(L,L+Be),z=F.substring(0,_-$e),de=F.substring(_+Be),ie=N.substring(0,L-$e),fe=N.substring(L+Be))}return W.length*2>=F.length?[z,de,ie,fe,W]:null}var h=I(g,l,Math.ceil(g.length/4)),v=I(g,l,Math.ceil(g.length/2)),m;if(!h&&!v)return null;v?h?m=h[4].length>v[4].length?h:v:m=v:m=h;var w,B,x,C;i.length>c.length?(w=m[0],B=m[1],x=m[2],C=m[3]):(x=m[0],C=m[1],w=m[2],B=m[3]);var H=m[4];return[w,B,x,C,H]},n.prototype.diff_cleanupSemantic=function(i){for(var c=!1,g=[],l=0,p=null,I=0,h=0,v=0,m=0,w=0;I<i.length;)i[I][0]==f?(g[l++]=I,h=m,v=w,m=0,w=0,p=i[I][1]):(i[I][0]==o?m+=i[I][1].length:w+=i[I][1].length,p&&p.length<=Math.max(h,v)&&p.length<=Math.max(m,w)&&(i.splice(g[l-1],0,new n.Diff(r,p)),i[g[l-1]+1][0]=o,l--,l--,I=l>0?g[l-1]:-1,h=0,v=0,m=0,w=0,p=null,c=!0)),I++;for(c&&this.diff_cleanupMerge(i),this.diff_cleanupSemanticLossless(i),I=1;I<i.length;){if(i[I-1][0]==r&&i[I][0]==o){var B=i[I-1][1],x=i[I][1],C=this.diff_commonOverlap_(B,x),H=this.diff_commonOverlap_(x,B);C>=H?(C>=B.length/2||C>=x.length/2)&&(i.splice(I,0,new n.Diff(f,x.substring(0,C))),i[I-1][1]=B.substring(0,B.length-C),i[I+1][1]=x.substring(C),I++):(H>=B.length/2||H>=x.length/2)&&(i.splice(I,0,new n.Diff(f,B.substring(0,H))),i[I-1][0]=o,i[I-1][1]=x.substring(0,x.length-H),i[I+1][0]=r,i[I+1][1]=B.substring(H),I++),I++}I++}},n.prototype.diff_cleanupSemanticLossless=function(i){function c(H,F){if(!H||!F)return 6;var N=H.charAt(H.length-1),_=F.charAt(0),U=N.match(n.nonAlphaNumericRegex_),L=_.match(n.nonAlphaNumericRegex_),W=U&&N.match(n.whitespaceRegex_),z=L&&_.match(n.whitespaceRegex_),de=W&&N.match(n.linebreakRegex_),ie=z&&_.match(n.linebreakRegex_),fe=de&&H.match(n.blanklineEndRegex_),Be=ie&&F.match(n.blanklineStartRegex_);return fe||Be?5:de||ie?4:U&&!W&&z?3:W||z?2:U||L?1:0}for(var g=1;g<i.length-1;){if(i[g-1][0]==f&&i[g+1][0]==f){var l=i[g-1][1],p=i[g][1],I=i[g+1][1],h=this.diff_commonSuffix(l,p);if(h){var v=p.substring(p.length-h);l=l.substring(0,l.length-h),p=v+p.substring(0,p.length-h),I=v+I}for(var m=l,w=p,B=I,x=c(l,p)+c(p,I);p.charAt(0)===I.charAt(0);){l+=p.charAt(0),p=p.substring(1)+I.charAt(0),I=I.substring(1);var C=c(l,p)+c(p,I);C>=x&&(x=C,m=l,w=p,B=I)}i[g-1][1]!=m&&(m?i[g-1][1]=m:(i.splice(g-1,1),g--),i[g][1]=w,B?i[g+1][1]=B:(i.splice(g+1,1),g--))}g++}},n.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,n.whitespaceRegex_=/\s/,n.linebreakRegex_=/[\r\n]/,n.blanklineEndRegex_=/\n\r?\n$/,n.blanklineStartRegex_=/^\r?\n\r?\n/,n.prototype.diff_cleanupEfficiency=function(i){for(var c=!1,g=[],l=0,p=null,I=0,h=!1,v=!1,m=!1,w=!1;I<i.length;)i[I][0]==f?(i[I][1].length<this.Diff_EditCost&&(m||w)?(g[l++]=I,h=m,v=w,p=i[I][1]):(l=0,p=null),m=w=!1):(i[I][0]==r?w=!0:m=!0,p&&(h&&v&&m&&w||p.length<this.Diff_EditCost/2&&h+v+m+w==3)&&(i.splice(g[l-1],0,new n.Diff(r,p)),i[g[l-1]+1][0]=o,l--,p=null,h&&v?(m=w=!0,l=0):(l--,I=l>0?g[l-1]:-1,m=w=!1),c=!0)),I++;c&&this.diff_cleanupMerge(i)},n.prototype.diff_cleanupMerge=function(i){i.push(new n.Diff(f,""));for(var c=0,g=0,l=0,p="",I="",h;c<i.length;)switch(i[c][0]){case o:l++,I+=i[c][1],c++;break;case r:g++,p+=i[c][1],c++;break;case f:g+l>1?(g!==0&&l!==0&&(h=this.diff_commonPrefix(I,p),h!==0&&(c-g-l>0&&i[c-g-l-1][0]==f?i[c-g-l-1][1]+=I.substring(0,h):(i.splice(0,0,new n.Diff(f,I.substring(0,h))),c++),I=I.substring(h),p=p.substring(h)),h=this.diff_commonSuffix(I,p),h!==0&&(i[c][1]=I.substring(I.length-h)+i[c][1],I=I.substring(0,I.length-h),p=p.substring(0,p.length-h))),c-=g+l,i.splice(c,g+l),p.length&&(i.splice(c,0,new n.Diff(r,p)),c++),I.length&&(i.splice(c,0,new n.Diff(o,I)),c++),c++):c!==0&&i[c-1][0]==f?(i[c-1][1]+=i[c][1],i.splice(c,1)):c++,l=0,g=0,p="",I="";break}i[i.length-1][1]===""&&i.pop();var v=!1;for(c=1;c<i.length-1;)i[c-1][0]==f&&i[c+1][0]==f&&(i[c][1].substring(i[c][1].length-i[c-1][1].length)==i[c-1][1]?(i[c][1]=i[c-1][1]+i[c][1].substring(0,i[c][1].length-i[c-1][1].length),i[c+1][1]=i[c-1][1]+i[c+1][1],i.splice(c-1,1),v=!0):i[c][1].substring(0,i[c+1][1].length)==i[c+1][1]&&(i[c-1][1]+=i[c+1][1],i[c][1]=i[c][1].substring(i[c+1][1].length)+i[c+1][1],i.splice(c+1,1),v=!0)),c++;v&&this.diff_cleanupMerge(i)},n.prototype.diff_xIndex=function(i,c){var g=0,l=0,p=0,I=0,h;for(h=0;h<i.length&&(i[h][0]!==o&&(g+=i[h][1].length),i[h][0]!==r&&(l+=i[h][1].length),!(g>c));h++)p=g,I=l;return i.length!=h&&i[h][0]===r?I:I+(c-p)},n.prototype.diff_prettyHtml=function(i){for(var c=[],g=/&/g,l=/</g,p=/>/g,I=/\n/g,h=0;h<i.length;h++){var v=i[h][0],m=i[h][1],w=m.replace(g,"&").replace(l,"<").replace(p,">").replace(I,"¶<br>");switch(v){case o:c[h]='<ins style="background:#e6ffe6;">'+w+"</ins>";break;case r:c[h]='<del style="background:#ffe6e6;">'+w+"</del>";break;case f:c[h]="<span>"+w+"</span>";break}}return c.join("")},n.prototype.diff_text1=function(i){for(var c=[],g=0;g<i.length;g++)i[g][0]!==o&&(c[g]=i[g][1]);return c.join("")},n.prototype.diff_text2=function(i){for(var c=[],g=0;g<i.length;g++)i[g][0]!==r&&(c[g]=i[g][1]);return c.join("")},n.prototype.diff_levenshtein=function(i){for(var c=0,g=0,l=0,p=0;p<i.length;p++){var I=i[p][0],h=i[p][1];switch(I){case o:g+=h.length;break;case r:l+=h.length;break;case f:c+=Math.max(g,l),g=0,l=0;break}}return c+=Math.max(g,l),c},n.prototype.diff_toDelta=function(i){for(var c=[],g=0;g<i.length;g++)switch(i[g][0]){case o:c[g]="+"+encodeURI(i[g][1]);break;case r:c[g]="-"+i[g][1].length;break;case f:c[g]="="+i[g][1].length;break}return c.join(" ").replace(/%20/g," ")},n.prototype.diff_fromDelta=function(i,c){for(var g=[],l=0,p=0,I=c.split(/\t/g),h=0;h<I.length;h++){var v=I[h].substring(1);switch(I[h].charAt(0)){case"+":try{g[l++]=new n.Diff(o,decodeURI(v))}catch(B){throw new Error("Illegal escape in diff_fromDelta: "+v)}break;case"-":case"=":var m=parseInt(v,10);if(isNaN(m)||m<0)throw new Error("Invalid number in diff_fromDelta: "+v);var w=i.substring(p,p+=m);I[h].charAt(0)=="="?g[l++]=new n.Diff(f,w):g[l++]=new n.Diff(r,w);break;default:if(I[h])throw new Error("Invalid diff operation in diff_fromDelta: "+I[h])}}if(p!=i.length)throw new Error("Delta length ("+p+") does not equal source text length ("+i.length+").");return g},n.prototype.match_main=function(i,c,g){if(i==null||c==null||g==null)throw new Error("Null input. (match_main)");return g=Math.max(0,Math.min(g,i.length)),i==c?0:i.length?i.substring(g,g+c.length)==c?g:this.match_bitap_(i,c,g):-1},n.prototype.match_bitap_=function(i,c,g){if(c.length>this.Match_MaxBits)throw new Error("Pattern too long for this browser.");var l=this.match_alphabet_(c),p=this;function I(z,de){var ie=z/c.length,fe=Math.abs(g-de);return p.Match_Distance?ie+fe/p.Match_Distance:fe?1:ie}var h=this.Match_Threshold,v=i.indexOf(c,g);v!=-1&&(h=Math.min(I(0,v),h),v=i.lastIndexOf(c,g+c.length),v!=-1&&(h=Math.min(I(0,v),h)));var m=1<<c.length-1;v=-1;for(var w,B,x=c.length+i.length,C,H=0;H<c.length;H++){for(w=0,B=x;w<B;)I(H,g+B)<=h?w=B:x=B,B=Math.floor((x-w)/2+w);x=B;var F=Math.max(1,g-B+1),N=Math.min(g+B,i.length)+c.length,_=Array(N+2);_[N+1]=(1<<H)-1;for(var U=N;U>=F;U--){var L=l[i.charAt(U-1)];if(H===0?_[U]=(_[U+1]<<1|1)&L:_[U]=(_[U+1]<<1|1)&L|((C[U+1]|C[U])<<1|1)|C[U+1],_[U]&m){var W=I(H,U-1);if(W<=h)if(h=W,v=U-1,v>g)F=Math.max(1,2*g-v);else break}}if(I(H+1,g)>h)break;C=_}return v},n.prototype.match_alphabet_=function(i){for(var c={},g=0;g<i.length;g++)c[i.charAt(g)]=0;for(var g=0;g<i.length;g++)c[i.charAt(g)]|=1<<i.length-g-1;return c},n.prototype.patch_addContext_=function(i,c){if(c.length!=0){if(i.start2===null)throw Error("patch not initialized");for(var g=c.substring(i.start2,i.start2+i.length1),l=0;c.indexOf(g)!=c.lastIndexOf(g)&&g.length<this.Match_MaxBits-this.Patch_Margin-this.Patch_Margin;)l+=this.Patch_Margin,g=c.substring(i.start2-l,i.start2+i.length1+l);l+=this.Patch_Margin;var p=c.substring(i.start2-l,i.start2);p&&i.diffs.unshift(new n.Diff(f,p));var I=c.substring(i.start2+i.length1,i.start2+i.length1+l);I&&i.diffs.push(new n.Diff(f,I)),i.start1-=p.length,i.start2-=p.length,i.length1+=p.length+I.length,i.length2+=p.length+I.length}},n.prototype.patch_make=function(i,c,g){var l,p;if(typeof i=="string"&&typeof c=="string"&&typeof g=="undefined")l=i,p=this.diff_main(l,c,!0),p.length>2&&(this.diff_cleanupSemantic(p),this.diff_cleanupEfficiency(p));else if(i&&typeof i=="object"&&typeof c=="undefined"&&typeof g=="undefined")p=i,l=this.diff_text1(p);else if(typeof i=="string"&&c&&typeof c=="object"&&typeof g=="undefined")l=i,p=c;else if(typeof i=="string"&&typeof c=="string"&&g&&typeof g=="object")l=i,p=g;else throw new Error("Unknown call format to patch_make.");if(p.length===0)return[];for(var I=[],h=new n.patch_obj,v=0,m=0,w=0,B=l,x=l,C=0;C<p.length;C++){var H=p[C][0],F=p[C][1];switch(!v&&H!==f&&(h.start1=m,h.start2=w),H){case o:h.diffs[v++]=p[C],h.length2+=F.length,x=x.substring(0,w)+F+x.substring(w);break;case r:h.length1+=F.length,h.diffs[v++]=p[C],x=x.substring(0,w)+x.substring(w+F.length);break;case f:F.length<=2*this.Patch_Margin&&v&&p.length!=C+1?(h.diffs[v++]=p[C],h.length1+=F.length,h.length2+=F.length):F.length>=2*this.Patch_Margin&&v&&(this.patch_addContext_(h,B),I.push(h),h=new n.patch_obj,v=0,B=x,m=w);break}H!==o&&(m+=F.length),H!==r&&(w+=F.length)}return v&&(this.patch_addContext_(h,B),I.push(h)),I},n.prototype.patch_deepCopy=function(i){for(var c=[],g=0;g<i.length;g++){var l=i[g],p=new n.patch_obj;p.diffs=[];for(var I=0;I<l.diffs.length;I++)p.diffs[I]=new n.Diff(l.diffs[I][0],l.diffs[I][1]);p.start1=l.start1,p.start2=l.start2,p.length1=l.length1,p.length2=l.length2,c[g]=p}return c},n.prototype.patch_apply=function(i,c){if(i.length==0)return[c,[]];i=this.patch_deepCopy(i);var g=this.patch_addPadding(i);c=g+c+g,this.patch_splitMax(i);for(var l=0,p=[],I=0;I<i.length;I++){var h=i[I].start2+l,v=this.diff_text1(i[I].diffs),m,w=-1;if(v.length>this.Match_MaxBits?(m=this.match_main(c,v.substring(0,this.Match_MaxBits),h),m!=-1&&(w=this.match_main(c,v.substring(v.length-this.Match_MaxBits),h+v.length-this.Match_MaxBits),(w==-1||m>=w)&&(m=-1))):m=this.match_main(c,v,h),m==-1)p[I]=!1,l-=i[I].length2-i[I].length1;else{p[I]=!0,l=m-h;var B;if(w==-1?B=c.substring(m,m+v.length):B=c.substring(m,w+this.Match_MaxBits),v==B)c=c.substring(0,m)+this.diff_text2(i[I].diffs)+c.substring(m+v.length);else{var x=this.diff_main(v,B,!1);if(v.length>this.Match_MaxBits&&this.diff_levenshtein(x)/v.length>this.Patch_DeleteThreshold)p[I]=!1;else{this.diff_cleanupSemanticLossless(x);for(var C=0,H,F=0;F<i[I].diffs.length;F++){var N=i[I].diffs[F];N[0]!==f&&(H=this.diff_xIndex(x,C)),N[0]===o?c=c.substring(0,m+H)+N[1]+c.substring(m+H):N[0]===r&&(c=c.substring(0,m+H)+c.substring(m+this.diff_xIndex(x,C+N[1].length))),N[0]!==r&&(C+=N[1].length)}}}}}return c=c.substring(g.length,c.length-g.length),[c,p]},n.prototype.patch_addPadding=function(i){for(var c=this.Patch_Margin,g="",l=1;l<=c;l++)g+=String.fromCharCode(l);for(var l=0;l<i.length;l++)i[l].start1+=c,i[l].start2+=c;var p=i[0],I=p.diffs;if(I.length==0||I[0][0]!=f)I.unshift(new n.Diff(f,g)),p.start1-=c,p.start2-=c,p.length1+=c,p.length2+=c;else if(c>I[0][1].length){var h=c-I[0][1].length;I[0][1]=g.substring(I[0][1].length)+I[0][1],p.start1-=h,p.start2-=h,p.length1+=h,p.length2+=h}if(p=i[i.length-1],I=p.diffs,I.length==0||I[I.length-1][0]!=f)I.push(new n.Diff(f,g)),p.length1+=c,p.length2+=c;else if(c>I[I.length-1][1].length){var h=c-I[I.length-1][1].length;I[I.length-1][1]+=g.substring(0,h),p.length1+=h,p.length2+=h}return g},n.prototype.patch_splitMax=function(i){for(var c=this.Match_MaxBits,g=0;g<i.length;g++)if(!(i[g].length1<=c)){var l=i[g];i.splice(g--,1);for(var p=l.start1,I=l.start2,h="";l.diffs.length!==0;){var v=new n.patch_obj,m=!0;for(v.start1=p-h.length,v.start2=I-h.length,h!==""&&(v.length1=v.length2=h.length,v.diffs.push(new n.Diff(f,h)));l.diffs.length!==0&&v.length1<c-this.Patch_Margin;){var w=l.diffs[0][0],B=l.diffs[0][1];w===o?(v.length2+=B.length,I+=B.length,v.diffs.push(l.diffs.shift()),m=!1):w===r&&v.diffs.length==1&&v.diffs[0][0]==f&&B.length>2*c?(v.length1+=B.length,p+=B.length,m=!1,v.diffs.push(new n.Diff(w,B)),l.diffs.shift()):(B=B.substring(0,c-v.length1-this.Patch_Margin),v.length1+=B.length,p+=B.length,w===f?(v.length2+=B.length,I+=B.length):m=!1,v.diffs.push(new n.Diff(w,B)),B==l.diffs[0][1]?l.diffs.shift():l.diffs[0][1]=l.diffs[0][1].substring(B.length))}h=this.diff_text2(v.diffs),h=h.substring(h.length-this.Patch_Margin);var x=this.diff_text1(l.diffs).substring(0,this.Patch_Margin);x!==""&&(v.length1+=x.length,v.length2+=x.length,v.diffs.length!==0&&v.diffs[v.diffs.length-1][0]===f?v.diffs[v.diffs.length-1][1]+=x:v.diffs.push(new n.Diff(f,x))),m||i.splice(++g,0,v)}}},n.prototype.patch_toText=function(i){for(var c=[],g=0;g<i.length;g++)c[g]=i[g];return c.join("")},n.prototype.patch_fromText=function(i){var c=[];if(!i)return c;for(var g=i.split(`
|
|
29
|
+
`),l=0,p=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;l<g.length;){var I=g[l].match(p);if(!I)throw new Error("Invalid patch string: "+g[l]);var h=new n.patch_obj;for(c.push(h),h.start1=parseInt(I[1],10),I[2]===""?(h.start1--,h.length1=1):I[2]=="0"?h.length1=0:(h.start1--,h.length1=parseInt(I[2],10)),h.start2=parseInt(I[3],10),I[4]===""?(h.start2--,h.length2=1):I[4]=="0"?h.length2=0:(h.start2--,h.length2=parseInt(I[4],10)),l++;l<g.length;){var v=g[l].charAt(0);try{var m=decodeURI(g[l].substring(1))}catch(w){throw new Error("Illegal escape in patch_fromText: "+m)}if(v=="-")h.diffs.push(new n.Diff(r,m));else if(v=="+")h.diffs.push(new n.Diff(o,m));else if(v==" ")h.diffs.push(new n.Diff(f,m));else{if(v=="@")break;if(v!=="")throw new Error('Invalid patch mode "'+v+'" in: '+m)}l++}}return c},n.patch_obj=function(){this.diffs=[],this.start1=null,this.start2=null,this.length1=0,this.length2=0},n.patch_obj.prototype.toString=function(){var i,c;this.length1===0?i=this.start1+",0":this.length1==1?i=this.start1+1:i=this.start1+1+","+this.length1,this.length2===0?c=this.start2+",0":this.length2==1?c=this.start2+1:c=this.start2+1+","+this.length2;for(var g=["@@ -"+i+" +"+c+` @@
|
|
30
30
|
`],l,p=0;p<this.diffs.length;p++){switch(this.diffs[p][0]){case o:l="+";break;case r:l="-";break;case f:l=" ";break}g[p+1]=l+encodeURI(this.diffs[p][1])+`
|
|
31
|
-
`}return g.join("").replace(/%20/g," ")},a.exports=n,a.exports.diff_match_patch=n,a.exports.DIFF_DELETE=r,a.exports.DIFF_INSERT=o,a.exports.DIFF_EQUAL=f})(Dc);var o0=Dc.exports;const Ha=Xr(o0);var fi={exports:{}},Na,sc;function f0(){return sc||(sc=1,Na={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}),Na}var La,ac;function Hc(){if(ac)return La;ac=1;const a=f0(),n={};for(const f of Object.keys(a))n[a[f]]=f;const r={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};La=r;for(const f of Object.keys(r)){if(!("channels"in r[f]))throw new Error("missing channels property: "+f);if(!("labels"in r[f]))throw new Error("missing channel labels property: "+f);if(r[f].labels.length!==r[f].channels)throw new Error("channel and label counts mismatch: "+f);const{channels:i,labels:c}=r[f];delete r[f].channels,delete r[f].labels,Object.defineProperty(r[f],"channels",{value:i}),Object.defineProperty(r[f],"labels",{value:c})}r.rgb.hsl=function(f){const i=f[0]/255,c=f[1]/255,g=f[2]/255,l=Math.min(i,c,g),p=Math.max(i,c,g),I=p-l;let h,v;p===l?h=0:i===p?h=(c-g)/I:c===p?h=2+(g-i)/I:g===p&&(h=4+(i-c)/I),h=Math.min(h*60,360),h<0&&(h+=360);const m=(l+p)/2;return p===l?v=0:m<=.5?v=I/(p+l):v=I/(2-p-l),[h,v*100,m*100]},r.rgb.hsv=function(f){let i,c,g,l,p;const I=f[0]/255,h=f[1]/255,v=f[2]/255,m=Math.max(I,h,v),w=m-Math.min(I,h,v),B=function(x){return(m-x)/6/w+1/2};return w===0?(l=0,p=0):(p=w/m,i=B(I),c=B(h),g=B(v),I===m?l=g-c:h===m?l=1/3+i-g:v===m&&(l=2/3+c-i),l<0?l+=1:l>1&&(l-=1)),[l*360,p*100,m*100]},r.rgb.hwb=function(f){const i=f[0],c=f[1];let g=f[2];const l=r.rgb.hsl(f)[0],p=1/255*Math.min(i,Math.min(c,g));return g=1-1/255*Math.max(i,Math.max(c,g)),[l,p*100,g*100]},r.rgb.cmyk=function(f){const i=f[0]/255,c=f[1]/255,g=f[2]/255,l=Math.min(1-i,1-c,1-g),p=(1-i-l)/(1-l)||0,I=(1-c-l)/(1-l)||0,h=(1-g-l)/(1-l)||0;return[p*100,I*100,h*100,l*100]};function o(f,i){return(f[0]-i[0])**2+(f[1]-i[1])**2+(f[2]-i[2])**2}return r.rgb.keyword=function(f){const i=n[f];if(i)return i;let c=1/0,g;for(const l of Object.keys(a)){const p=a[l],I=o(f,p);I<c&&(c=I,g=l)}return g},r.keyword.rgb=function(f){return a[f]},r.rgb.xyz=function(f){let i=f[0]/255,c=f[1]/255,g=f[2]/255;i=i>.04045?((i+.055)/1.055)**2.4:i/12.92,c=c>.04045?((c+.055)/1.055)**2.4:c/12.92,g=g>.04045?((g+.055)/1.055)**2.4:g/12.92;const l=i*.4124+c*.3576+g*.1805,p=i*.2126+c*.7152+g*.0722,I=i*.0193+c*.1192+g*.9505;return[l*100,p*100,I*100]},r.rgb.lab=function(f){const i=r.rgb.xyz(f);let c=i[0],g=i[1],l=i[2];c/=95.047,g/=100,l/=108.883,c=c>.008856?c**(1/3):7.787*c+16/116,g=g>.008856?g**(1/3):7.787*g+16/116,l=l>.008856?l**(1/3):7.787*l+16/116;const p=116*g-16,I=500*(c-g),h=200*(g-l);return[p,I,h]},r.hsl.rgb=function(f){const i=f[0]/360,c=f[1]/100,g=f[2]/100;let l,p,I;if(c===0)return I=g*255,[I,I,I];g<.5?l=g*(1+c):l=g+c-g*c;const h=2*g-l,v=[0,0,0];for(let m=0;m<3;m++)p=i+1/3*-(m-1),p<0&&p++,p>1&&p--,6*p<1?I=h+(l-h)*6*p:2*p<1?I=l:3*p<2?I=h+(l-h)*(2/3-p)*6:I=h,v[m]=I*255;return v},r.hsl.hsv=function(f){const i=f[0];let c=f[1]/100,g=f[2]/100,l=c;const p=Math.max(g,.01);g*=2,c*=g<=1?g:2-g,l*=p<=1?p:2-p;const I=(g+c)/2,h=g===0?2*l/(p+l):2*c/(g+c);return[i,h*100,I*100]},r.hsv.rgb=function(f){const i=f[0]/60,c=f[1]/100;let g=f[2]/100;const l=Math.floor(i)%6,p=i-Math.floor(i),I=255*g*(1-c),h=255*g*(1-c*p),v=255*g*(1-c*(1-p));switch(g*=255,l){case 0:return[g,v,I];case 1:return[h,g,I];case 2:return[I,g,v];case 3:return[I,h,g];case 4:return[v,I,g];case 5:return[g,I,h]}},r.hsv.hsl=function(f){const i=f[0],c=f[1]/100,g=f[2]/100,l=Math.max(g,.01);let p,I;I=(2-c)*g;const h=(2-c)*l;return p=c*l,p/=h<=1?h:2-h,p=p||0,I/=2,[i,p*100,I*100]},r.hwb.rgb=function(f){const i=f[0]/360;let c=f[1]/100,g=f[2]/100;const l=c+g;let p;l>1&&(c/=l,g/=l);const I=Math.floor(6*i),h=1-g;p=6*i-I,I&1&&(p=1-p);const v=c+p*(h-c);let m,w,B;switch(I){default:case 6:case 0:m=h,w=v,B=c;break;case 1:m=v,w=h,B=c;break;case 2:m=c,w=h,B=v;break;case 3:m=c,w=v,B=h;break;case 4:m=v,w=c,B=h;break;case 5:m=h,w=c,B=v;break}return[m*255,w*255,B*255]},r.cmyk.rgb=function(f){const i=f[0]/100,c=f[1]/100,g=f[2]/100,l=f[3]/100,p=1-Math.min(1,i*(1-l)+l),I=1-Math.min(1,c*(1-l)+l),h=1-Math.min(1,g*(1-l)+l);return[p*255,I*255,h*255]},r.xyz.rgb=function(f){const i=f[0]/100,c=f[1]/100,g=f[2]/100;let l,p,I;return l=i*3.2406+c*-1.5372+g*-.4986,p=i*-.9689+c*1.8758+g*.0415,I=i*.0557+c*-.204+g*1.057,l=l>.0031308?1.055*l**(1/2.4)-.055:l*12.92,p=p>.0031308?1.055*p**(1/2.4)-.055:p*12.92,I=I>.0031308?1.055*I**(1/2.4)-.055:I*12.92,l=Math.min(Math.max(0,l),1),p=Math.min(Math.max(0,p),1),I=Math.min(Math.max(0,I),1),[l*255,p*255,I*255]},r.xyz.lab=function(f){let i=f[0],c=f[1],g=f[2];i/=95.047,c/=100,g/=108.883,i=i>.008856?i**(1/3):7.787*i+16/116,c=c>.008856?c**(1/3):7.787*c+16/116,g=g>.008856?g**(1/3):7.787*g+16/116;const l=116*c-16,p=500*(i-c),I=200*(c-g);return[l,p,I]},r.lab.xyz=function(f){const i=f[0],c=f[1],g=f[2];let l,p,I;p=(i+16)/116,l=c/500+p,I=p-g/200;const h=p**3,v=l**3,m=I**3;return p=h>.008856?h:(p-16/116)/7.787,l=v>.008856?v:(l-16/116)/7.787,I=m>.008856?m:(I-16/116)/7.787,l*=95.047,p*=100,I*=108.883,[l,p,I]},r.lab.lch=function(f){const i=f[0],c=f[1],g=f[2];let l;l=Math.atan2(g,c)*360/2/Math.PI,l<0&&(l+=360);const I=Math.sqrt(c*c+g*g);return[i,I,l]},r.lch.lab=function(f){const i=f[0],c=f[1],l=f[2]/360*2*Math.PI,p=c*Math.cos(l),I=c*Math.sin(l);return[i,p,I]},r.rgb.ansi16=function(f,i=null){const[c,g,l]=f;let p=i===null?r.rgb.hsv(f)[2]:i;if(p=Math.round(p/50),p===0)return 30;let I=30+(Math.round(l/255)<<2|Math.round(g/255)<<1|Math.round(c/255));return p===2&&(I+=60),I},r.hsv.ansi16=function(f){return r.rgb.ansi16(r.hsv.rgb(f),f[2])},r.rgb.ansi256=function(f){const i=f[0],c=f[1],g=f[2];return i===c&&c===g?i<8?16:i>248?231:Math.round((i-8)/247*24)+232:16+36*Math.round(i/255*5)+6*Math.round(c/255*5)+Math.round(g/255*5)},r.ansi16.rgb=function(f){let i=f%10;if(i===0||i===7)return f>50&&(i+=3.5),i=i/10.5*255,[i,i,i];const c=(~~(f>50)+1)*.5,g=(i&1)*c*255,l=(i>>1&1)*c*255,p=(i>>2&1)*c*255;return[g,l,p]},r.ansi256.rgb=function(f){if(f>=232){const p=(f-232)*10+8;return[p,p,p]}f-=16;let i;const c=Math.floor(f/36)/5*255,g=Math.floor((i=f%36)/6)/5*255,l=i%6/5*255;return[c,g,l]},r.rgb.hex=function(f){const c=(((Math.round(f[0])&255)<<16)+((Math.round(f[1])&255)<<8)+(Math.round(f[2])&255)).toString(16).toUpperCase();return"000000".substring(c.length)+c},r.hex.rgb=function(f){const i=f.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!i)return[0,0,0];let c=i[0];i[0].length===3&&(c=c.split("").map(h=>h+h).join(""));const g=parseInt(c,16),l=g>>16&255,p=g>>8&255,I=g&255;return[l,p,I]},r.rgb.hcg=function(f){const i=f[0]/255,c=f[1]/255,g=f[2]/255,l=Math.max(Math.max(i,c),g),p=Math.min(Math.min(i,c),g),I=l-p;let h,v;return I<1?h=p/(1-I):h=0,I<=0?v=0:l===i?v=(c-g)/I%6:l===c?v=2+(g-i)/I:v=4+(i-c)/I,v/=6,v%=1,[v*360,I*100,h*100]},r.hsl.hcg=function(f){const i=f[1]/100,c=f[2]/100,g=c<.5?2*i*c:2*i*(1-c);let l=0;return g<1&&(l=(c-.5*g)/(1-g)),[f[0],g*100,l*100]},r.hsv.hcg=function(f){const i=f[1]/100,c=f[2]/100,g=i*c;let l=0;return g<1&&(l=(c-g)/(1-g)),[f[0],g*100,l*100]},r.hcg.rgb=function(f){const i=f[0]/360,c=f[1]/100,g=f[2]/100;if(c===0)return[g*255,g*255,g*255];const l=[0,0,0],p=i%1*6,I=p%1,h=1-I;let v=0;switch(Math.floor(p)){case 0:l[0]=1,l[1]=I,l[2]=0;break;case 1:l[0]=h,l[1]=1,l[2]=0;break;case 2:l[0]=0,l[1]=1,l[2]=I;break;case 3:l[0]=0,l[1]=h,l[2]=1;break;case 4:l[0]=I,l[1]=0,l[2]=1;break;default:l[0]=1,l[1]=0,l[2]=h}return v=(1-c)*g,[(c*l[0]+v)*255,(c*l[1]+v)*255,(c*l[2]+v)*255]},r.hcg.hsv=function(f){const i=f[1]/100,c=f[2]/100,g=i+c*(1-i);let l=0;return g>0&&(l=i/g),[f[0],l*100,g*100]},r.hcg.hsl=function(f){const i=f[1]/100,g=f[2]/100*(1-i)+.5*i;let l=0;return g>0&&g<.5?l=i/(2*g):g>=.5&&g<1&&(l=i/(2*(1-g))),[f[0],l*100,g*100]},r.hcg.hwb=function(f){const i=f[1]/100,c=f[2]/100,g=i+c*(1-i);return[f[0],(g-i)*100,(1-g)*100]},r.hwb.hcg=function(f){const i=f[1]/100,g=1-f[2]/100,l=g-i;let p=0;return l<1&&(p=(g-l)/(1-l)),[f[0],l*100,p*100]},r.apple.rgb=function(f){return[f[0]/65535*255,f[1]/65535*255,f[2]/65535*255]},r.rgb.apple=function(f){return[f[0]/255*65535,f[1]/255*65535,f[2]/255*65535]},r.gray.rgb=function(f){return[f[0]/100*255,f[0]/100*255,f[0]/100*255]},r.gray.hsl=function(f){return[0,0,f[0]]},r.gray.hsv=r.gray.hsl,r.gray.hwb=function(f){return[0,100,f[0]]},r.gray.cmyk=function(f){return[0,0,0,f[0]]},r.gray.lab=function(f){return[f[0],0,0]},r.gray.hex=function(f){const i=Math.round(f[0]/100*255)&255,g=((i<<16)+(i<<8)+i).toString(16).toUpperCase();return"000000".substring(g.length)+g},r.rgb.gray=function(f){return[(f[0]+f[1]+f[2])/3/255*100]},La}var Ga,ic;function c0(){if(ic)return Ga;ic=1;const a=Hc();function n(){const i={},c=Object.keys(a);for(let g=c.length,l=0;l<g;l++)i[c[l]]={distance:-1,parent:null};return i}function r(i){const c=n(),g=[i];for(c[i].distance=0;g.length;){const l=g.pop(),p=Object.keys(a[l]);for(let I=p.length,h=0;h<I;h++){const v=p[h],m=c[v];m.distance===-1&&(m.distance=c[l].distance+1,m.parent=l,g.unshift(v))}}return c}function o(i,c){return function(g){return c(i(g))}}function f(i,c){const g=[c[i].parent,i];let l=a[c[i].parent][i],p=c[i].parent;for(;c[p].parent;)g.unshift(c[p].parent),l=o(a[c[p].parent][p],l),p=c[p].parent;return l.conversion=g,l}return Ga=function(i){const c=r(i),g={},l=Object.keys(c);for(let p=l.length,I=0;I<p;I++){const h=l[I];c[h].parent!==null&&(g[h]=f(h,c))}return g},Ga}var Ka,oc;function g0(){if(oc)return Ka;oc=1;const a=Hc(),n=c0(),r={},o=Object.keys(a);function f(c){const g=function(...l){const p=l[0];return p==null?p:(p.length>1&&(l=p),c(l))};return"conversion"in c&&(g.conversion=c.conversion),g}function i(c){const g=function(...l){const p=l[0];if(p==null)return p;p.length>1&&(l=p);const I=c(l);if(typeof I=="object")for(let h=I.length,v=0;v<h;v++)I[v]=Math.round(I[v]);return I};return"conversion"in c&&(g.conversion=c.conversion),g}return o.forEach(c=>{r[c]={},Object.defineProperty(r[c],"channels",{value:a[c].channels}),Object.defineProperty(r[c],"labels",{value:a[c].labels});const g=n(c);Object.keys(g).forEach(p=>{const I=g[p];r[c][p]=i(I),r[c][p].raw=f(I)})}),Ka=r,Ka}fi.exports;(function(a){const n=(I,h)=>(...v)=>`\x1B[${I(...v)+h}m`,r=(I,h)=>(...v)=>{const m=I(...v);return`\x1B[${38+h};5;${m}m`},o=(I,h)=>(...v)=>{const m=I(...v);return`\x1B[${38+h};2;${m[0]};${m[1]};${m[2]}m`},f=I=>I,i=(I,h,v)=>[I,h,v],c=(I,h,v)=>{Object.defineProperty(I,h,{get:()=>{const m=v();return Object.defineProperty(I,h,{value:m,enumerable:!0,configurable:!0}),m},enumerable:!0,configurable:!0})};let g;const l=(I,h,v,m)=>{g===void 0&&(g=g0());const w=m?10:0,B={};for(const[x,C]of Object.entries(g)){const H=x==="ansi16"?"ansi":x;x===h?B[H]=I(v,w):typeof C=="object"&&(B[H]=I(C[h],w))}return B};function p(){const I=new Map,h={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};h.color.gray=h.color.blackBright,h.bgColor.bgGray=h.bgColor.bgBlackBright,h.color.grey=h.color.blackBright,h.bgColor.bgGrey=h.bgColor.bgBlackBright;for(const[v,m]of Object.entries(h)){for(const[w,B]of Object.entries(m))h[w]={open:`\x1B[${B[0]}m`,close:`\x1B[${B[1]}m`},m[w]=h[w],I.set(B[0],B[1]);Object.defineProperty(h,v,{value:m,enumerable:!1})}return Object.defineProperty(h,"codes",{value:I,enumerable:!1}),h.color.close="\x1B[39m",h.bgColor.close="\x1B[49m",c(h.color,"ansi",()=>l(n,"ansi16",f,!1)),c(h.color,"ansi256",()=>l(r,"ansi256",f,!1)),c(h.color,"ansi16m",()=>l(o,"rgb",i,!1)),c(h.bgColor,"ansi",()=>l(n,"ansi16",f,!0)),c(h.bgColor,"ansi256",()=>l(r,"ansi256",f,!0)),c(h.bgColor,"ansi16m",()=>l(o,"rgb",i,!0)),h}Object.defineProperty(a,"exports",{enumerable:!0,get:p})})(fi);var l0=fi.exports,u0={stdout:!1,stderr:!1};const p0=(a,n,r)=>{let o=a.indexOf(n);if(o===-1)return a;const f=n.length;let i=0,c="";do c+=a.substr(i,o-i)+n+r,i=o+f,o=a.indexOf(n,i);while(o!==-1);return c+=a.substr(i),c},I0=(a,n,r,o)=>{let f=0,i="";do{const c=a[o-1]==="\r";i+=a.substr(f,(c?o-1:o)-f)+n+(c?`\r
|
|
31
|
+
`}return g.join("").replace(/%20/g," ")},a.exports=n,a.exports.diff_match_patch=n,a.exports.DIFF_DELETE=r,a.exports.DIFF_INSERT=o,a.exports.DIFF_EQUAL=f})(Kc);var v0=Kc.exports;const Ga=Zr(v0);var li={exports:{}},Ka,cc;function m0(){return cc||(cc=1,Ka={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}),Ka}var Va,gc;function Vc(){if(gc)return Va;gc=1;const a=m0(),n={};for(const f of Object.keys(a))n[a[f]]=f;const r={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};Va=r;for(const f of Object.keys(r)){if(!("channels"in r[f]))throw new Error("missing channels property: "+f);if(!("labels"in r[f]))throw new Error("missing channel labels property: "+f);if(r[f].labels.length!==r[f].channels)throw new Error("channel and label counts mismatch: "+f);const{channels:i,labels:c}=r[f];delete r[f].channels,delete r[f].labels,Object.defineProperty(r[f],"channels",{value:i}),Object.defineProperty(r[f],"labels",{value:c})}r.rgb.hsl=function(f){const i=f[0]/255,c=f[1]/255,g=f[2]/255,l=Math.min(i,c,g),p=Math.max(i,c,g),I=p-l;let h,v;p===l?h=0:i===p?h=(c-g)/I:c===p?h=2+(g-i)/I:g===p&&(h=4+(i-c)/I),h=Math.min(h*60,360),h<0&&(h+=360);const m=(l+p)/2;return p===l?v=0:m<=.5?v=I/(p+l):v=I/(2-p-l),[h,v*100,m*100]},r.rgb.hsv=function(f){let i,c,g,l,p;const I=f[0]/255,h=f[1]/255,v=f[2]/255,m=Math.max(I,h,v),w=m-Math.min(I,h,v),B=function(x){return(m-x)/6/w+1/2};return w===0?(l=0,p=0):(p=w/m,i=B(I),c=B(h),g=B(v),I===m?l=g-c:h===m?l=1/3+i-g:v===m&&(l=2/3+c-i),l<0?l+=1:l>1&&(l-=1)),[l*360,p*100,m*100]},r.rgb.hwb=function(f){const i=f[0],c=f[1];let g=f[2];const l=r.rgb.hsl(f)[0],p=1/255*Math.min(i,Math.min(c,g));return g=1-1/255*Math.max(i,Math.max(c,g)),[l,p*100,g*100]},r.rgb.cmyk=function(f){const i=f[0]/255,c=f[1]/255,g=f[2]/255,l=Math.min(1-i,1-c,1-g),p=(1-i-l)/(1-l)||0,I=(1-c-l)/(1-l)||0,h=(1-g-l)/(1-l)||0;return[p*100,I*100,h*100,l*100]};function o(f,i){return we(f[0]-i[0],2)+we(f[1]-i[1],2)+we(f[2]-i[2],2)}return r.rgb.keyword=function(f){const i=n[f];if(i)return i;let c=1/0,g;for(const l of Object.keys(a)){const p=a[l],I=o(f,p);I<c&&(c=I,g=l)}return g},r.keyword.rgb=function(f){return a[f]},r.rgb.xyz=function(f){let i=f[0]/255,c=f[1]/255,g=f[2]/255;i=i>.04045?we((i+.055)/1.055,2.4):i/12.92,c=c>.04045?we((c+.055)/1.055,2.4):c/12.92,g=g>.04045?we((g+.055)/1.055,2.4):g/12.92;const l=i*.4124+c*.3576+g*.1805,p=i*.2126+c*.7152+g*.0722,I=i*.0193+c*.1192+g*.9505;return[l*100,p*100,I*100]},r.rgb.lab=function(f){const i=r.rgb.xyz(f);let c=i[0],g=i[1],l=i[2];c/=95.047,g/=100,l/=108.883,c=c>.008856?we(c,1/3):7.787*c+16/116,g=g>.008856?we(g,1/3):7.787*g+16/116,l=l>.008856?we(l,1/3):7.787*l+16/116;const p=116*g-16,I=500*(c-g),h=200*(g-l);return[p,I,h]},r.hsl.rgb=function(f){const i=f[0]/360,c=f[1]/100,g=f[2]/100;let l,p,I;if(c===0)return I=g*255,[I,I,I];g<.5?l=g*(1+c):l=g+c-g*c;const h=2*g-l,v=[0,0,0];for(let m=0;m<3;m++)p=i+1/3*-(m-1),p<0&&p++,p>1&&p--,6*p<1?I=h+(l-h)*6*p:2*p<1?I=l:3*p<2?I=h+(l-h)*(2/3-p)*6:I=h,v[m]=I*255;return v},r.hsl.hsv=function(f){const i=f[0];let c=f[1]/100,g=f[2]/100,l=c;const p=Math.max(g,.01);g*=2,c*=g<=1?g:2-g,l*=p<=1?p:2-p;const I=(g+c)/2,h=g===0?2*l/(p+l):2*c/(g+c);return[i,h*100,I*100]},r.hsv.rgb=function(f){const i=f[0]/60,c=f[1]/100;let g=f[2]/100;const l=Math.floor(i)%6,p=i-Math.floor(i),I=255*g*(1-c),h=255*g*(1-c*p),v=255*g*(1-c*(1-p));switch(g*=255,l){case 0:return[g,v,I];case 1:return[h,g,I];case 2:return[I,g,v];case 3:return[I,h,g];case 4:return[v,I,g];case 5:return[g,I,h]}},r.hsv.hsl=function(f){const i=f[0],c=f[1]/100,g=f[2]/100,l=Math.max(g,.01);let p,I;I=(2-c)*g;const h=(2-c)*l;return p=c*l,p/=h<=1?h:2-h,p=p||0,I/=2,[i,p*100,I*100]},r.hwb.rgb=function(f){const i=f[0]/360;let c=f[1]/100,g=f[2]/100;const l=c+g;let p;l>1&&(c/=l,g/=l);const I=Math.floor(6*i),h=1-g;p=6*i-I,I&1&&(p=1-p);const v=c+p*(h-c);let m,w,B;switch(I){default:case 6:case 0:m=h,w=v,B=c;break;case 1:m=v,w=h,B=c;break;case 2:m=c,w=h,B=v;break;case 3:m=c,w=v,B=h;break;case 4:m=v,w=c,B=h;break;case 5:m=h,w=c,B=v;break}return[m*255,w*255,B*255]},r.cmyk.rgb=function(f){const i=f[0]/100,c=f[1]/100,g=f[2]/100,l=f[3]/100,p=1-Math.min(1,i*(1-l)+l),I=1-Math.min(1,c*(1-l)+l),h=1-Math.min(1,g*(1-l)+l);return[p*255,I*255,h*255]},r.xyz.rgb=function(f){const i=f[0]/100,c=f[1]/100,g=f[2]/100;let l,p,I;return l=i*3.2406+c*-1.5372+g*-.4986,p=i*-.9689+c*1.8758+g*.0415,I=i*.0557+c*-.204+g*1.057,l=l>.0031308?1.055*we(l,1/2.4)-.055:l*12.92,p=p>.0031308?1.055*we(p,1/2.4)-.055:p*12.92,I=I>.0031308?1.055*we(I,1/2.4)-.055:I*12.92,l=Math.min(Math.max(0,l),1),p=Math.min(Math.max(0,p),1),I=Math.min(Math.max(0,I),1),[l*255,p*255,I*255]},r.xyz.lab=function(f){let i=f[0],c=f[1],g=f[2];i/=95.047,c/=100,g/=108.883,i=i>.008856?we(i,1/3):7.787*i+16/116,c=c>.008856?we(c,1/3):7.787*c+16/116,g=g>.008856?we(g,1/3):7.787*g+16/116;const l=116*c-16,p=500*(i-c),I=200*(c-g);return[l,p,I]},r.lab.xyz=function(f){const i=f[0],c=f[1],g=f[2];let l,p,I;p=(i+16)/116,l=c/500+p,I=p-g/200;const h=we(p,3),v=we(l,3),m=we(I,3);return p=h>.008856?h:(p-16/116)/7.787,l=v>.008856?v:(l-16/116)/7.787,I=m>.008856?m:(I-16/116)/7.787,l*=95.047,p*=100,I*=108.883,[l,p,I]},r.lab.lch=function(f){const i=f[0],c=f[1],g=f[2];let l;l=Math.atan2(g,c)*360/2/Math.PI,l<0&&(l+=360);const I=Math.sqrt(c*c+g*g);return[i,I,l]},r.lch.lab=function(f){const i=f[0],c=f[1],l=f[2]/360*2*Math.PI,p=c*Math.cos(l),I=c*Math.sin(l);return[i,p,I]},r.rgb.ansi16=function(f,i=null){const[c,g,l]=f;let p=i===null?r.rgb.hsv(f)[2]:i;if(p=Math.round(p/50),p===0)return 30;let I=30+(Math.round(l/255)<<2|Math.round(g/255)<<1|Math.round(c/255));return p===2&&(I+=60),I},r.hsv.ansi16=function(f){return r.rgb.ansi16(r.hsv.rgb(f),f[2])},r.rgb.ansi256=function(f){const i=f[0],c=f[1],g=f[2];return i===c&&c===g?i<8?16:i>248?231:Math.round((i-8)/247*24)+232:16+36*Math.round(i/255*5)+6*Math.round(c/255*5)+Math.round(g/255*5)},r.ansi16.rgb=function(f){let i=f%10;if(i===0||i===7)return f>50&&(i+=3.5),i=i/10.5*255,[i,i,i];const c=(~~(f>50)+1)*.5,g=(i&1)*c*255,l=(i>>1&1)*c*255,p=(i>>2&1)*c*255;return[g,l,p]},r.ansi256.rgb=function(f){if(f>=232){const p=(f-232)*10+8;return[p,p,p]}f-=16;let i;const c=Math.floor(f/36)/5*255,g=Math.floor((i=f%36)/6)/5*255,l=i%6/5*255;return[c,g,l]},r.rgb.hex=function(f){const c=(((Math.round(f[0])&255)<<16)+((Math.round(f[1])&255)<<8)+(Math.round(f[2])&255)).toString(16).toUpperCase();return"000000".substring(c.length)+c},r.hex.rgb=function(f){const i=f.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!i)return[0,0,0];let c=i[0];i[0].length===3&&(c=c.split("").map(h=>h+h).join(""));const g=parseInt(c,16),l=g>>16&255,p=g>>8&255,I=g&255;return[l,p,I]},r.rgb.hcg=function(f){const i=f[0]/255,c=f[1]/255,g=f[2]/255,l=Math.max(Math.max(i,c),g),p=Math.min(Math.min(i,c),g),I=l-p;let h,v;return I<1?h=p/(1-I):h=0,I<=0?v=0:l===i?v=(c-g)/I%6:l===c?v=2+(g-i)/I:v=4+(i-c)/I,v/=6,v%=1,[v*360,I*100,h*100]},r.hsl.hcg=function(f){const i=f[1]/100,c=f[2]/100,g=c<.5?2*i*c:2*i*(1-c);let l=0;return g<1&&(l=(c-.5*g)/(1-g)),[f[0],g*100,l*100]},r.hsv.hcg=function(f){const i=f[1]/100,c=f[2]/100,g=i*c;let l=0;return g<1&&(l=(c-g)/(1-g)),[f[0],g*100,l*100]},r.hcg.rgb=function(f){const i=f[0]/360,c=f[1]/100,g=f[2]/100;if(c===0)return[g*255,g*255,g*255];const l=[0,0,0],p=i%1*6,I=p%1,h=1-I;let v=0;switch(Math.floor(p)){case 0:l[0]=1,l[1]=I,l[2]=0;break;case 1:l[0]=h,l[1]=1,l[2]=0;break;case 2:l[0]=0,l[1]=1,l[2]=I;break;case 3:l[0]=0,l[1]=h,l[2]=1;break;case 4:l[0]=I,l[1]=0,l[2]=1;break;default:l[0]=1,l[1]=0,l[2]=h}return v=(1-c)*g,[(c*l[0]+v)*255,(c*l[1]+v)*255,(c*l[2]+v)*255]},r.hcg.hsv=function(f){const i=f[1]/100,c=f[2]/100,g=i+c*(1-i);let l=0;return g>0&&(l=i/g),[f[0],l*100,g*100]},r.hcg.hsl=function(f){const i=f[1]/100,g=f[2]/100*(1-i)+.5*i;let l=0;return g>0&&g<.5?l=i/(2*g):g>=.5&&g<1&&(l=i/(2*(1-g))),[f[0],l*100,g*100]},r.hcg.hwb=function(f){const i=f[1]/100,c=f[2]/100,g=i+c*(1-i);return[f[0],(g-i)*100,(1-g)*100]},r.hwb.hcg=function(f){const i=f[1]/100,g=1-f[2]/100,l=g-i;let p=0;return l<1&&(p=(g-l)/(1-l)),[f[0],l*100,p*100]},r.apple.rgb=function(f){return[f[0]/65535*255,f[1]/65535*255,f[2]/65535*255]},r.rgb.apple=function(f){return[f[0]/255*65535,f[1]/255*65535,f[2]/255*65535]},r.gray.rgb=function(f){return[f[0]/100*255,f[0]/100*255,f[0]/100*255]},r.gray.hsl=function(f){return[0,0,f[0]]},r.gray.hsv=r.gray.hsl,r.gray.hwb=function(f){return[0,100,f[0]]},r.gray.cmyk=function(f){return[0,0,0,f[0]]},r.gray.lab=function(f){return[f[0],0,0]},r.gray.hex=function(f){const i=Math.round(f[0]/100*255)&255,g=((i<<16)+(i<<8)+i).toString(16).toUpperCase();return"000000".substring(g.length)+g},r.rgb.gray=function(f){return[(f[0]+f[1]+f[2])/3/255*100]},Va}var qa,lc;function S0(){if(lc)return qa;lc=1;const a=Vc();function n(){const i={},c=Object.keys(a);for(let g=c.length,l=0;l<g;l++)i[c[l]]={distance:-1,parent:null};return i}function r(i){const c=n(),g=[i];for(c[i].distance=0;g.length;){const l=g.pop(),p=Object.keys(a[l]);for(let I=p.length,h=0;h<I;h++){const v=p[h],m=c[v];m.distance===-1&&(m.distance=c[l].distance+1,m.parent=l,g.unshift(v))}}return c}function o(i,c){return function(g){return c(i(g))}}function f(i,c){const g=[c[i].parent,i];let l=a[c[i].parent][i],p=c[i].parent;for(;c[p].parent;)g.unshift(c[p].parent),l=o(a[c[p].parent][p],l),p=c[p].parent;return l.conversion=g,l}return qa=function(i){const c=r(i),g={},l=Object.keys(c);for(let p=l.length,I=0;I<p;I++){const h=l[I];c[h].parent!==null&&(g[h]=f(h,c))}return g},qa}var Wa,uc;function b0(){if(uc)return Wa;uc=1;const a=Vc(),n=S0(),r={},o=Object.keys(a);function f(c){const g=function(...l){const p=l[0];return p==null?p:(p.length>1&&(l=p),c(l))};return"conversion"in c&&(g.conversion=c.conversion),g}function i(c){const g=function(...l){const p=l[0];if(p==null)return p;p.length>1&&(l=p);const I=c(l);if(typeof I=="object")for(let h=I.length,v=0;v<h;v++)I[v]=Math.round(I[v]);return I};return"conversion"in c&&(g.conversion=c.conversion),g}return o.forEach(c=>{r[c]={},Object.defineProperty(r[c],"channels",{value:a[c].channels}),Object.defineProperty(r[c],"labels",{value:a[c].labels});const g=n(c);Object.keys(g).forEach(p=>{const I=g[p];r[c][p]=i(I),r[c][p].raw=f(I)})}),Wa=r,Wa}li.exports;(function(a){const n=(I,h)=>(...v)=>`\x1B[${I(...v)+h}m`,r=(I,h)=>(...v)=>{const m=I(...v);return`\x1B[${38+h};5;${m}m`},o=(I,h)=>(...v)=>{const m=I(...v);return`\x1B[${38+h};2;${m[0]};${m[1]};${m[2]}m`},f=I=>I,i=(I,h,v)=>[I,h,v],c=(I,h,v)=>{Object.defineProperty(I,h,{get:()=>{const m=v();return Object.defineProperty(I,h,{value:m,enumerable:!0,configurable:!0}),m},enumerable:!0,configurable:!0})};let g;const l=(I,h,v,m)=>{g===void 0&&(g=b0());const w=m?10:0,B={};for(const[x,C]of Object.entries(g)){const H=x==="ansi16"?"ansi":x;x===h?B[H]=I(v,w):typeof C=="object"&&(B[H]=I(C[h],w))}return B};function p(){const I=new Map,h={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};h.color.gray=h.color.blackBright,h.bgColor.bgGray=h.bgColor.bgBlackBright,h.color.grey=h.color.blackBright,h.bgColor.bgGrey=h.bgColor.bgBlackBright;for(const[v,m]of Object.entries(h)){for(const[w,B]of Object.entries(m))h[w]={open:`\x1B[${B[0]}m`,close:`\x1B[${B[1]}m`},m[w]=h[w],I.set(B[0],B[1]);Object.defineProperty(h,v,{value:m,enumerable:!1})}return Object.defineProperty(h,"codes",{value:I,enumerable:!1}),h.color.close="\x1B[39m",h.bgColor.close="\x1B[49m",c(h.color,"ansi",()=>l(n,"ansi16",f,!1)),c(h.color,"ansi256",()=>l(r,"ansi256",f,!1)),c(h.color,"ansi16m",()=>l(o,"rgb",i,!1)),c(h.bgColor,"ansi",()=>l(n,"ansi16",f,!0)),c(h.bgColor,"ansi256",()=>l(r,"ansi256",f,!0)),c(h.bgColor,"ansi16m",()=>l(o,"rgb",i,!0)),h}Object.defineProperty(a,"exports",{enumerable:!0,get:p})})(li);var y0=li.exports,w0={stdout:!1,stderr:!1};const R0=(a,n,r)=>{let o=a.indexOf(n);if(o===-1)return a;const f=n.length;let i=0,c="";do c+=a.substr(i,o-i)+n+r,i=o+f,o=a.indexOf(n,i);while(o!==-1);return c+=a.substr(i),c},O0=(a,n,r,o)=>{let f=0,i="";do{const c=a[o-1]==="\r";i+=a.substr(f,(c?o-1:o)-f)+n+(c?`\r
|
|
32
32
|
`:`
|
|
33
33
|
`)+r,f=o+1,o=a.indexOf(`
|
|
34
|
-
`,f)}while(o!==-1);return i+=a.substr(f),i};var
|
|
35
|
-
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function i(p){const I=p[0]==="u",h=p[1]==="{";return I&&!h&&p.length===5||p[0]==="x"&&p.length===3?String.fromCharCode(parseInt(p.slice(1),16)):I&&h?String.fromCodePoint(parseInt(p.slice(2,-1),16)):f.get(p)||p}function c(p,I){const h=[],v=I.trim().split(/\s*,\s*/g);let m;for(const w of v){const B=Number(w);if(!Number.isNaN(B))h.push(B);else if(m=w.match(r))h.push(m[2].replace(o,(x,C,H)=>C?i(C):H));else throw new Error(`Invalid Chalk template style argument: ${w} (in style '${p}')`)}return h}function g(p){n.lastIndex=0;const I=[];let h;for(;(h=n.exec(p))!==null;){const v=h[1];if(h[2]){const m=c(v,h[2]);I.push([v].concat(m))}else I.push([v])}return I}function l(p,I){const h={};for(const m of I)for(const w of m.styles)h[w[0]]=m.inverse?null:w.slice(1);let v=p;for(const[m,w]of Object.entries(h))if(Array.isArray(w)){if(!(m in v))throw new Error(`Unknown Chalk style: ${m}`);v=w.length>0?v[m](...w):v[m]}return v}return
|
|
36
|
-
`);return i!==-1&&(n=m0(n,f,o,i)),o+n+f};let qa;const Kc=(a,...n)=>{const[r]=n;if(!es(r)||!es(r.raw))return n.join(" ");const o=n.slice(1),f=[r.raw[0]];for(let i=1;i<r.length;i++)f.push(String(o[i-1]).replace(/[{}\\]/g,"\\$&"),String(r.raw[i]));return qa===void 0&&(qa=d0()),qa(a,f.join(""))};Object.defineProperties(cs.prototype,Sr);const ls=cs();ls.supportsColor=Za;ls.stderr=cs({level:Ya?Ya.level:0});ls.stderr.supportsColor=Ya;var w0=ls;const gc=Xr(w0);var lt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},Qe=function(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function")},pt=function(){function a(n,r){for(var o=0;o<r.length;o++){var f=r[o];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(n,f.key,f)}}return function(n,r,o){return r&&a(n.prototype,r),o&&a(n,o),n}}(),gi=function a(n,r,o){n===null&&(n=Function.prototype);var f=Object.getOwnPropertyDescriptor(n,r);if(f===void 0){var i=Object.getPrototypeOf(n);return i===null?void 0:a(i,r,o)}else{if("value"in f)return f.value;var c=f.get;return c===void 0?void 0:c.call(o)}},Zt=function(a,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);a.prototype=Object.create(n&&n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(a,n):a.__proto__=n)},Yt=function(a,n){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:a},R0=function(){function a(n){Qe(this,a),this.selfOptions=n||{},this.pipes={}}return pt(a,[{key:"options",value:function(r){return r&&(this.selfOptions=r),this.selfOptions}},{key:"pipe",value:function(r,o){var f=o;if(typeof r=="string"){if(typeof f>"u")return this.pipes[r];this.pipes[r]=f}if(r&&r.name){if(f=r,f.processor===this)return f;this.pipes[f.name]=f}return f.processor=this,f}},{key:"process",value:function(r,o){var f=r;f.options=this.options();for(var i=o||r.pipe||"default",c=void 0,g=void 0;i;)typeof f.nextAfterChildren<"u"&&(f.next=f.nextAfterChildren,f.nextAfterChildren=null),typeof i=="string"&&(i=this.pipe(i)),i.process(f),g=f,c=i,i=null,f&&f.next&&(f=f.next,i=g.nextPipe||f.pipe||c);return f.hasResult?f.result:void 0}}]),a}(),Jn=function(){function a(n){Qe(this,a),this.name=n,this.filters=[]}return pt(a,[{key:"process",value:function(r){if(!this.processor)throw new Error("add this pipe to a processor before using it");for(var o=this.debug,f=this.filters.length,i=r,c=0;c<f;c++){var g=this.filters[c];if(o&&this.log("filter: "+g.filterName),g(i),(typeof i>"u"?"undefined":lt(i))==="object"&&i.exiting){i.exiting=!1;break}}!i.next&&this.resultCheck&&this.resultCheck(i)}},{key:"log",value:function(r){console.log("[jsondiffpatch] "+this.name+" pipe, "+r)}},{key:"append",value:function(){var r;return(r=this.filters).push.apply(r,arguments),this}},{key:"prepend",value:function(){var r;return(r=this.filters).unshift.apply(r,arguments),this}},{key:"indexOf",value:function(r){if(!r)throw new Error("a filter name is required");for(var o=0;o<this.filters.length;o++){var f=this.filters[o];if(f.filterName===r)return o}throw new Error("filter not found: "+r)}},{key:"list",value:function(){return this.filters.map(function(r){return r.filterName})}},{key:"after",value:function(r){var o=this.indexOf(r),f=Array.prototype.slice.call(arguments,1);if(!f.length)throw new Error("a filter is required");return f.unshift(o+1,0),Array.prototype.splice.apply(this.filters,f),this}},{key:"before",value:function(r){var o=this.indexOf(r),f=Array.prototype.slice.call(arguments,1);if(!f.length)throw new Error("a filter is required");return f.unshift(o,0),Array.prototype.splice.apply(this.filters,f),this}},{key:"replace",value:function(r){var o=this.indexOf(r),f=Array.prototype.slice.call(arguments,1);if(!f.length)throw new Error("a filter is required");return f.unshift(o,1),Array.prototype.splice.apply(this.filters,f),this}},{key:"remove",value:function(r){var o=this.indexOf(r);return this.filters.splice(o,1),this}},{key:"clear",value:function(){return this.filters.length=0,this}},{key:"shouldHaveResult",value:function(r){if(r===!1){this.resultCheck=null;return}if(!this.resultCheck){var o=this;return this.resultCheck=function(f){if(!f.hasResult){console.log(f);var i=new Error(o.name+" failed");throw i.noResult=!0,i}},this}}}]),a}(),ts=function(){function a(){Qe(this,a)}return pt(a,[{key:"setResult",value:function(r){return this.result=r,this.hasResult=!0,this}},{key:"exit",value:function(){return this.exiting=!0,this}},{key:"switchTo",value:function(r,o){return typeof r=="string"||r instanceof Jn?this.nextPipe=r:(this.next=r,o&&(this.nextPipe=o)),this}},{key:"push",value:function(r,o){return r.parent=this,typeof o<"u"&&(r.childName=o),r.root=this.root||this,r.options=r.options||this.options,this.children?(this.children[this.children.length-1].next=r,this.children.push(r)):(this.children=[r],this.nextAfterChildren=this.next||null,this.next=r),r.next=this,this}}]),a}(),O0=typeof Array.isArray=="function"?Array.isArray:function(a){return a instanceof Array};function B0(a){var n=/^\/(.*)\/([gimyu]*)$/.exec(a.toString());return new RegExp(n[1],n[2])}function rs(a){if((typeof a>"u"?"undefined":lt(a))!=="object")return a;if(a===null)return null;if(O0(a))return a.map(rs);if(a instanceof Date)return new Date(a.getTime());if(a instanceof RegExp)return B0(a);var n={};for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(n[r]=rs(a[r]));return n}var zt=function(a){Zt(n,a);function n(r,o){Qe(this,n);var f=Yt(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return f.left=r,f.right=o,f.pipe="diff",f}return pt(n,[{key:"setResult",value:function(o){if(this.options.cloneDiffValues&&(typeof o>"u"?"undefined":lt(o))==="object"){var f=typeof this.options.cloneDiffValues=="function"?this.options.cloneDiffValues:rs;lt(o[0])==="object"&&(o[0]=f(o[0])),lt(o[1])==="object"&&(o[1]=f(o[1]))}return ts.prototype.setResult.apply(this,arguments)}}]),n}(ts),li=function(a){Zt(n,a);function n(r,o){Qe(this,n);var f=Yt(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return f.left=r,f.delta=o,f.pipe="patch",f}return n}(ts),ui=function(a){Zt(n,a);function n(r){Qe(this,n);var o=Yt(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return o.delta=r,o.pipe="reverse",o}return n}(ts),ns=typeof Array.isArray=="function"?Array.isArray:function(a){return a instanceof Array},Vc=function(n){if(n.left===n.right){n.setResult(void 0).exit();return}if(typeof n.left>"u"){if(typeof n.right=="function")throw new Error("functions are not supported");n.setResult([n.right]).exit();return}if(typeof n.right>"u"){n.setResult([n.left,0,0]).exit();return}if(typeof n.left=="function"||typeof n.right=="function")throw new Error("functions are not supported");if(n.leftType=n.left===null?"null":lt(n.left),n.rightType=n.right===null?"null":lt(n.right),n.leftType!==n.rightType){n.setResult([n.left,n.right]).exit();return}if(n.leftType==="boolean"||n.leftType==="number"){n.setResult([n.left,n.right]).exit();return}if(n.leftType==="object"&&(n.leftIsArray=ns(n.left)),n.rightType==="object"&&(n.rightIsArray=ns(n.right)),n.leftIsArray!==n.rightIsArray){n.setResult([n.left,n.right]).exit();return}n.left instanceof RegExp&&(n.right instanceof RegExp?n.setResult([n.left.toString(),n.right.toString()]).exit():n.setResult([n.left,n.right]).exit())};Vc.filterName="trivial";var qc=function(n){if(typeof n.delta>"u"){n.setResult(n.left).exit();return}if(n.nested=!ns(n.delta),!n.nested){if(n.delta.length===1){n.setResult(n.delta[0]).exit();return}if(n.delta.length===2){if(n.left instanceof RegExp){var r=/^\/(.*)\/([gimyu]+)$/.exec(n.delta[1]);if(r){n.setResult(new RegExp(r[1],r[2])).exit();return}}n.setResult(n.delta[1]).exit();return}n.delta.length===3&&n.delta[2]===0&&n.setResult(void 0).exit()}};qc.filterName="trivial";var Wc=function(n){if(typeof n.delta>"u"){n.setResult(n.delta).exit();return}if(n.nested=!ns(n.delta),!n.nested){if(n.delta.length===1){n.setResult([n.delta[0],0,0]).exit();return}if(n.delta.length===2){n.setResult([n.delta[1],n.delta[0]]).exit();return}n.delta.length===3&&n.delta[2]===0&&n.setResult([n.delta[0]]).exit()}};Wc.filterName="trivial";function $c(a){if(!(!a||!a.children)){for(var n=a.children.length,r=void 0,o=a.result,f=0;f<n;f++)r=a.children[f],!(typeof r.result>"u")&&(o=o||{},o[r.childName]=r.result);o&&a.leftIsArray&&(o._t="a"),a.setResult(o).exit()}}$c.filterName="collectChildren";function jc(a){if(!(a.leftIsArray||a.leftType!=="object")){var n=void 0,r=void 0,o=a.options.propertyFilter;for(n in a.left)Object.prototype.hasOwnProperty.call(a.left,n)&&(o&&!o(n,a)||(r=new zt(a.left[n],a.right[n]),a.push(r,n)));for(n in a.right)Object.prototype.hasOwnProperty.call(a.right,n)&&(o&&!o(n,a)||typeof a.left[n]>"u"&&(r=new zt(void 0,a.right[n]),a.push(r,n)));if(!a.children||a.children.length===0){a.setResult(void 0).exit();return}a.exit()}}jc.filterName="objects";var Xc=function(n){if(n.nested&&!n.delta._t){var r=void 0,o=void 0;for(r in n.delta)o=new li(n.left[r],n.delta[r]),n.push(o,r);n.exit()}};Xc.filterName="objects";var zc=function(n){if(!(!n||!n.children)&&!n.delta._t){for(var r=n.children.length,o=void 0,f=0;f<r;f++)o=n.children[f],Object.prototype.hasOwnProperty.call(n.left,o.childName)&&o.result===void 0?delete n.left[o.childName]:n.left[o.childName]!==o.result&&(n.left[o.childName]=o.result);n.setResult(n.left).exit()}};zc.filterName="collectChildren";var Jc=function(n){if(n.nested&&!n.delta._t){var r=void 0,o=void 0;for(r in n.delta)o=new ui(n.delta[r]),n.push(o,r);n.exit()}};Jc.filterName="objects";function Zc(a){if(!(!a||!a.children)&&!a.delta._t){for(var n=a.children.length,r=void 0,o={},f=0;f<n;f++)r=a.children[f],o[r.childName]!==r.result&&(o[r.childName]=r.result);a.setResult(o).exit()}}Zc.filterName="collectChildren";var A0=function(n,r,o,f){return n[o]===r[f]},x0=function(n,r,o,f){var i=n.length,c=r.length,g=void 0,l=void 0,p=[i+1];for(g=0;g<i+1;g++)for(p[g]=[c+1],l=0;l<c+1;l++)p[g][l]=0;for(p.match=o,g=1;g<i+1;g++)for(l=1;l<c+1;l++)o(n,r,g-1,l-1,f)?p[g][l]=p[g-1][l-1]+1:p[g][l]=Math.max(p[g-1][l],p[g][l-1]);return p},_0=function(n,r,o,f){for(var i=r.length,c=o.length,g={sequence:[],indices1:[],indices2:[]};i!==0&&c!==0;){var l=n.match(r,o,i-1,c-1,f);if(l)g.sequence.unshift(r[i-1]),g.indices1.unshift(i-1),g.indices2.unshift(c-1),--i,--c;else{var p=n[i][c-1],I=n[i-1][c];p>I?--c:--i}}return g},E0=function(n,r,o,f){var i=f||{},c=x0(n,r,o||A0,i),g=_0(c,n,r,i);return typeof n=="string"&&typeof r=="string"&&(g.sequence=g.sequence.join("")),g},C0={get:E0},mr=3,lc=typeof Array.isArray=="function"?Array.isArray:function(a){return a instanceof Array},uc=typeof Array.prototype.indexOf=="function"?function(a,n){return a.indexOf(n)}:function(a,n){for(var r=a.length,o=0;o<r;o++)if(a[o]===n)return o;return-1};function F0(a,n,r,o){for(var f=0;f<r;f++)for(var i=a[f],c=0;c<o;c++){var g=n[c];if(f!==c&&i===g)return!0}}function $n(a,n,r,o,f){var i=a[r],c=n[o];if(i===c)return!0;if((typeof i>"u"?"undefined":lt(i))!=="object"||(typeof c>"u"?"undefined":lt(c))!=="object")return!1;var g=f.objectHash;if(!g)return f.matchByPosition&&r===o;var l=void 0,p=void 0;return typeof r=="number"?(f.hashCache1=f.hashCache1||[],l=f.hashCache1[r],typeof l>"u"&&(f.hashCache1[r]=l=g(i,r))):l=g(i),typeof l>"u"||(typeof o=="number"?(f.hashCache2=f.hashCache2||[],p=f.hashCache2[o],typeof p>"u"&&(f.hashCache2[o]=p=g(c,o))):p=g(c),typeof p>"u")?!1:l===p}var Yc=function(n){if(n.leftIsArray){var r={objectHash:n.options&&n.options.objectHash,matchByPosition:n.options&&n.options.matchByPosition},o=0,f=0,i=void 0,c=void 0,g=void 0,l=n.left,p=n.right,I=l.length,h=p.length,v=void 0;for(I>0&&h>0&&!r.objectHash&&typeof r.matchByPosition!="boolean"&&(r.matchByPosition=!F0(l,p,I,h));o<I&&o<h&&$n(l,p,o,o,r);)i=o,v=new zt(n.left[i],n.right[i]),n.push(v,i),o++;for(;f+o<I&&f+o<h&&$n(l,p,I-1-f,h-1-f,r);)c=I-1-f,g=h-1-f,v=new zt(n.left[c],n.right[g]),n.push(v,g),f++;var m=void 0;if(o+f===I){if(I===h){n.setResult(void 0).exit();return}for(m=m||{_t:"a"},i=o;i<h-f;i++)m[i]=[p[i]];n.setResult(m).exit();return}if(o+f===h){for(m=m||{_t:"a"},i=o;i<I-f;i++)m["_"+i]=[l[i],0,0];n.setResult(m).exit();return}delete r.hashCache1,delete r.hashCache2;var w=l.slice(o,I-f),B=p.slice(o,h-f),x=C0.get(w,B,$n,r),C=[];for(m=m||{_t:"a"},i=o;i<I-f;i++)uc(x.indices1,i-o)<0&&(m["_"+i]=[l[i],0,0],C.push(i));var H=!0;n.options&&n.options.arrays&&n.options.arrays.detectMove===!1&&(H=!1);var F=!1;n.options&&n.options.arrays&&n.options.arrays.includeValueOnMove&&(F=!0);var N=C.length;for(i=o;i<h-f;i++){var _=uc(x.indices2,i-o);if(_<0){var U=!1;if(H&&N>0){for(var L=0;L<N;L++)if(c=C[L],$n(w,B,c-o,i-o,r)){m["_"+c].splice(1,2,i,mr),F||(m["_"+c][0]=""),g=i,v=new zt(n.left[c],n.right[g]),n.push(v,g),C.splice(L,1),U=!0;break}}U||(m[i]=[p[i]])}else c=x.indices1[_]+o,g=x.indices2[_]+o,v=new zt(n.left[c],n.right[g]),n.push(v,g)}n.setResult(m).exit()}};Yc.filterName="arrays";var pc={numerically:function(n,r){return n-r},numericallyBy:function(n){return function(r,o){return r[n]-o[n]}}},Qc=function(n){if(n.nested&&n.delta._t==="a"){var r=void 0,o=void 0,f=n.delta,i=n.left,c=[],g=[],l=[];for(r in f)if(r!=="_t")if(r[0]==="_")if(f[r][2]===0||f[r][2]===mr)c.push(parseInt(r.slice(1),10));else throw new Error("only removal or move can be applied at original array indices,"+(" invalid diff type: "+f[r][2]));else f[r].length===1?g.push({index:parseInt(r,10),value:f[r][0]}):l.push({index:parseInt(r,10),delta:f[r]});for(c=c.sort(pc.numerically),r=c.length-1;r>=0;r--){o=c[r];var p=f["_"+o],I=i.splice(o,1)[0];p[2]===mr&&g.push({index:p[1],value:I})}g=g.sort(pc.numericallyBy("index"));var h=g.length;for(r=0;r<h;r++){var v=g[r];i.splice(v.index,0,v.value)}var m=l.length,w=void 0;if(m>0)for(r=0;r<m;r++){var B=l[r];w=new li(n.left[B.index],B.delta),n.push(w,B.index)}if(!n.children){n.setResult(n.left).exit();return}n.exit()}};Qc.filterName="arrays";var eg=function(n){if(!(!n||!n.children)&&n.delta._t==="a"){for(var r=n.children.length,o=void 0,f=0;f<r;f++)o=n.children[f],n.left[o.childName]=o.result;n.setResult(n.left).exit()}};eg.filterName="arraysCollectChildren";var tg=function(n){if(!n.nested){n.delta[2]===mr&&(n.newName="_"+n.delta[1],n.setResult([n.delta[0],parseInt(n.childName.substr(1),10),mr]).exit());return}if(n.delta._t==="a"){var r=void 0,o=void 0;for(r in n.delta)r!=="_t"&&(o=new ui(n.delta[r]),n.push(o,r));n.exit()}};tg.filterName="arrays";var T0=function(n,r,o){if(typeof r=="string"&&r[0]==="_")return parseInt(r.substr(1),10);if(lc(o)&&o[2]===0)return"_"+r;var f=+r;for(var i in n){var c=n[i];if(lc(c))if(c[2]===mr){var g=parseInt(i.substr(1),10),l=c[1];if(l===+r)return g;g<=f&&l>f?f++:g>=f&&l<f&&f--}else if(c[2]===0){var p=parseInt(i.substr(1),10);p<=f&&f++}else c.length===1&&i<=f&&f--}return f};function rg(a){if(!(!a||!a.children)&&a.delta._t==="a"){for(var n=a.children.length,r=void 0,o={_t:"a"},f=0;f<n;f++){r=a.children[f];var i=r.newName;typeof i>"u"&&(i=T0(a.delta,r.childName,r.result)),o[i]!==r.result&&(o[i]=r.result)}a.setResult(o).exit()}}rg.filterName="arraysCollectChildren";var ng=function(n){n.left instanceof Date?(n.right instanceof Date?n.left.getTime()!==n.right.getTime()?n.setResult([n.left,n.right]):n.setResult(void 0):n.setResult([n.left,n.right]),n.exit()):n.right instanceof Date&&n.setResult([n.left,n.right]).exit()};ng.filterName="dates";var ss=2,M0=60,Wa=null,sg=function(n){if(!Wa){var r=void 0;if(typeof diff_match_patch<"u")r=typeof diff_match_patch=="function"?new diff_match_patch:new diff_match_patch.diff_match_patch;else if(Ha)try{r=Ha&&new Ha}catch{r=null}if(!r){if(!n)return null;var o=new Error("text diff_match_patch library not found");throw o.diff_match_patch_not_found=!0,o}Wa={diff:function(i,c){return r.patch_toText(r.patch_make(i,c))},patch:function(i,c){for(var g=r.patch_apply(r.patch_fromText(c),i),l=0;l<g[1].length;l++)if(!g[1][l]){var p=new Error("text patch failed");p.textPatchFailed=!0}return g[0]}}}return Wa},ag=function(n){if(n.leftType==="string"){var r=n.options&&n.options.textDiff&&n.options.textDiff.minLength||M0;if(n.left.length<r||n.right.length<r){n.setResult([n.left,n.right]).exit();return}var o=sg();if(!o){n.setResult([n.left,n.right]).exit();return}var f=o.diff;n.setResult([f(n.left,n.right),0,ss]).exit()}};ag.filterName="texts";var ig=function(n){if(!n.nested&&n.delta[2]===ss){var r=sg(!0).patch;n.setResult(r(n.left,n.delta[0])).exit()}};ig.filterName="texts";var P0=function(n){var r=void 0,o=void 0,f=void 0,i=void 0,c=void 0,g=null,l=/^@@ +-(\d+),(\d+) +\+(\d+),(\d+) +@@$/,p=void 0;for(f=n.split(`
|
|
34
|
+
`,f)}while(o!==-1);return i+=a.substr(f),i};var B0={stringReplaceAll:R0,stringEncaseCRLFWithFirstIndex:O0},$a,pc;function A0(){if(pc)return $a;pc=1;const a=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,n=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,r=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,o=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,f=new Map([["n",`
|
|
35
|
+
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function i(p){const I=p[0]==="u",h=p[1]==="{";return I&&!h&&p.length===5||p[0]==="x"&&p.length===3?String.fromCharCode(parseInt(p.slice(1),16)):I&&h?String.fromCodePoint(parseInt(p.slice(2,-1),16)):f.get(p)||p}function c(p,I){const h=[],v=I.trim().split(/\s*,\s*/g);let m;for(const w of v){const B=Number(w);if(!Number.isNaN(B))h.push(B);else if(m=w.match(r))h.push(m[2].replace(o,(x,C,H)=>C?i(C):H));else throw new Error(`Invalid Chalk template style argument: ${w} (in style '${p}')`)}return h}function g(p){n.lastIndex=0;const I=[];let h;for(;(h=n.exec(p))!==null;){const v=h[1];if(h[2]){const m=c(v,h[2]);I.push([v].concat(m))}else I.push([v])}return I}function l(p,I){const h={};for(const m of I)for(const w of m.styles)h[w[0]]=m.inverse?null:w.slice(1);let v=p;for(const[m,w]of Object.entries(h))if(Array.isArray(w)){if(!(m in v))throw new Error(`Unknown Chalk style: ${m}`);v=w.length>0?v[m](...w):v[m]}return v}return $a=(p,I)=>{const h=[],v=[];let m=[];if(I.replace(a,(w,B,x,C,H,F)=>{if(B)m.push(i(B));else if(C){const N=m.join("");m=[],v.push(h.length===0?N:l(p,h)(N)),h.push({inverse:x,styles:g(C)})}else if(H){if(h.length===0)throw new Error("Found extraneous } in Chalk template literal");v.push(l(p,h)(m.join(""))),m=[],h.pop()}else m.push(F)}),v.push(m.join("")),h.length>0){const w=`Chalk template literal is missing ${h.length} closing bracket${h.length===1?"":"s"} (\`}\`)`;throw new Error(w)}return v.join("")},$a}const jr=y0,{stdout:ei,stderr:ti}=w0,{stringReplaceAll:x0,stringEncaseCRLFWithFirstIndex:_0}=B0,{isArray:ns}=Array,qc=["ansi","ansi","ansi256","ansi16m"],wr=Object.create(null),E0=(a,n={})=>{if(n.level&&!(Number.isInteger(n.level)&&n.level>=0&&n.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const r=ei?ei.level:0;a.level=n.level===void 0?r:n.level};class C0{constructor(n){return Wc(n)}}const Wc=a=>{const n={};return E0(n,a),n.template=(...r)=>jc(n.template,...r),Object.setPrototypeOf(n,us.prototype),Object.setPrototypeOf(n.template,n),n.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},n.template.Instance=C0,n.template};function us(a){return Wc(a)}for(const[a,n]of Object.entries(jr))wr[a]={get(){const r=ps(this,ui(n.open,n.close,this._styler),this._isEmpty);return Object.defineProperty(this,a,{value:r}),r}};wr.visible={get(){const a=ps(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:a}),a}};const $c=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const a of $c)wr[a]={get(){const{level:n}=this;return function(...r){const o=ui(jr.color[qc[n]][a](...r),jr.color.close,this._styler);return ps(this,o,this._isEmpty)}}};for(const a of $c){const n="bg"+a[0].toUpperCase()+a.slice(1);wr[n]={get(){const{level:r}=this;return function(...o){const f=ui(jr.bgColor[qc[r]][a](...o),jr.bgColor.close,this._styler);return ps(this,f,this._isEmpty)}}}}const F0=Object.defineProperties(()=>{},Se(se({},wr),{level:{enumerable:!0,get(){return this._generator.level},set(a){this._generator.level=a}}})),ui=(a,n,r)=>{let o,f;return r===void 0?(o=a,f=n):(o=r.openAll+a,f=n+r.closeAll),{open:a,close:n,openAll:o,closeAll:f,parent:r}},ps=(a,n,r)=>{const o=(...f)=>ns(f[0])&&ns(f[0].raw)?Ic(o,jc(o,...f)):Ic(o,f.length===1?""+f[0]:f.join(" "));return Object.setPrototypeOf(o,F0),o._generator=a,o._styler=n,o._isEmpty=r,o},Ic=(a,n)=>{if(a.level<=0||!n)return a._isEmpty?"":n;let r=a._styler;if(r===void 0)return n;const{openAll:o,closeAll:f}=r;if(n.indexOf("\x1B")!==-1)for(;r!==void 0;)n=x0(n,r.close,r.open),r=r.parent;const i=n.indexOf(`
|
|
36
|
+
`);return i!==-1&&(n=_0(n,f,o,i)),o+n+f};let ja;const jc=(a,...n)=>{const[r]=n;if(!ns(r)||!ns(r.raw))return n.join(" ");const o=n.slice(1),f=[r.raw[0]];for(let i=1;i<r.length;i++)f.push(String(o[i-1]).replace(/[{}\\]/g,"\\$&"),String(r.raw[i]));return ja===void 0&&(ja=A0()),ja(a,f.join(""))};Object.defineProperties(us.prototype,wr);const Is=us();Is.supportsColor=ei;Is.stderr=us({level:ti?ti.level:0});Is.stderr.supportsColor=ti;var T0=Is;const hc=Zr(T0);var It=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},rt=function(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function")},dt=function(){function a(n,r){for(var o=0;o<r.length;o++){var f=r[o];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(n,f.key,f)}}return function(n,r,o){return r&&a(n.prototype,r),o&&a(n,o),n}}(),pi=function a(n,r,o){n===null&&(n=Function.prototype);var f=Object.getOwnPropertyDescriptor(n,r);if(f===void 0){var i=Object.getPrototypeOf(n);return i===null?void 0:a(i,r,o)}else{if("value"in f)return f.value;var c=f.get;return c===void 0?void 0:c.call(o)}},er=function(a,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);a.prototype=Object.create(n&&n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(a,n):a.__proto__=n)},tr=function(a,n){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:a},M0=function(){function a(n){rt(this,a),this.selfOptions=n||{},this.pipes={}}return dt(a,[{key:"options",value:function(r){return r&&(this.selfOptions=r),this.selfOptions}},{key:"pipe",value:function(r,o){var f=o;if(typeof r=="string"){if(typeof f=="undefined")return this.pipes[r];this.pipes[r]=f}if(r&&r.name){if(f=r,f.processor===this)return f;this.pipes[f.name]=f}return f.processor=this,f}},{key:"process",value:function(r,o){var f=r;f.options=this.options();for(var i=o||r.pipe||"default",c=void 0,g=void 0;i;)typeof f.nextAfterChildren!="undefined"&&(f.next=f.nextAfterChildren,f.nextAfterChildren=null),typeof i=="string"&&(i=this.pipe(i)),i.process(f),g=f,c=i,i=null,f&&f.next&&(f=f.next,i=g.nextPipe||f.pipe||c);return f.hasResult?f.result:void 0}}]),a}(),Qn=function(){function a(n){rt(this,a),this.name=n,this.filters=[]}return dt(a,[{key:"process",value:function(r){if(!this.processor)throw new Error("add this pipe to a processor before using it");for(var o=this.debug,f=this.filters.length,i=r,c=0;c<f;c++){var g=this.filters[c];if(o&&this.log("filter: "+g.filterName),g(i),(typeof i=="undefined"?"undefined":It(i))==="object"&&i.exiting){i.exiting=!1;break}}!i.next&&this.resultCheck&&this.resultCheck(i)}},{key:"log",value:function(r){console.log("[jsondiffpatch] "+this.name+" pipe, "+r)}},{key:"append",value:function(){var r;return(r=this.filters).push.apply(r,arguments),this}},{key:"prepend",value:function(){var r;return(r=this.filters).unshift.apply(r,arguments),this}},{key:"indexOf",value:function(r){if(!r)throw new Error("a filter name is required");for(var o=0;o<this.filters.length;o++){var f=this.filters[o];if(f.filterName===r)return o}throw new Error("filter not found: "+r)}},{key:"list",value:function(){return this.filters.map(function(r){return r.filterName})}},{key:"after",value:function(r){var o=this.indexOf(r),f=Array.prototype.slice.call(arguments,1);if(!f.length)throw new Error("a filter is required");return f.unshift(o+1,0),Array.prototype.splice.apply(this.filters,f),this}},{key:"before",value:function(r){var o=this.indexOf(r),f=Array.prototype.slice.call(arguments,1);if(!f.length)throw new Error("a filter is required");return f.unshift(o,0),Array.prototype.splice.apply(this.filters,f),this}},{key:"replace",value:function(r){var o=this.indexOf(r),f=Array.prototype.slice.call(arguments,1);if(!f.length)throw new Error("a filter is required");return f.unshift(o,1),Array.prototype.splice.apply(this.filters,f),this}},{key:"remove",value:function(r){var o=this.indexOf(r);return this.filters.splice(o,1),this}},{key:"clear",value:function(){return this.filters.length=0,this}},{key:"shouldHaveResult",value:function(r){if(r===!1){this.resultCheck=null;return}if(!this.resultCheck){var o=this;return this.resultCheck=function(f){if(!f.hasResult){console.log(f);var i=new Error(o.name+" failed");throw i.noResult=!0,i}},this}}}]),a}(),ss=function(){function a(){rt(this,a)}return dt(a,[{key:"setResult",value:function(r){return this.result=r,this.hasResult=!0,this}},{key:"exit",value:function(){return this.exiting=!0,this}},{key:"switchTo",value:function(r,o){return typeof r=="string"||r instanceof Qn?this.nextPipe=r:(this.next=r,o&&(this.nextPipe=o)),this}},{key:"push",value:function(r,o){return r.parent=this,typeof o!="undefined"&&(r.childName=o),r.root=this.root||this,r.options=r.options||this.options,this.children?(this.children[this.children.length-1].next=r,this.children.push(r)):(this.children=[r],this.nextAfterChildren=this.next||null,this.next=r),r.next=this,this}}]),a}(),P0=typeof Array.isArray=="function"?Array.isArray:function(a){return a instanceof Array};function U0(a){var n=/^\/(.*)\/([gimyu]*)$/.exec(a.toString());return new RegExp(n[1],n[2])}function as(a){if((typeof a=="undefined"?"undefined":It(a))!=="object")return a;if(a===null)return null;if(P0(a))return a.map(as);if(a instanceof Date)return new Date(a.getTime());if(a instanceof RegExp)return U0(a);var n={};for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(n[r]=as(a[r]));return n}var Yt=function(a){er(n,a);function n(r,o){rt(this,n);var f=tr(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return f.left=r,f.right=o,f.pipe="diff",f}return dt(n,[{key:"setResult",value:function(o){if(this.options.cloneDiffValues&&(typeof o=="undefined"?"undefined":It(o))==="object"){var f=typeof this.options.cloneDiffValues=="function"?this.options.cloneDiffValues:as;It(o[0])==="object"&&(o[0]=f(o[0])),It(o[1])==="object"&&(o[1]=f(o[1]))}return ss.prototype.setResult.apply(this,arguments)}}]),n}(ss),Ii=function(a){er(n,a);function n(r,o){rt(this,n);var f=tr(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return f.left=r,f.delta=o,f.pipe="patch",f}return n}(ss),hi=function(a){er(n,a);function n(r){rt(this,n);var o=tr(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return o.delta=r,o.pipe="reverse",o}return n}(ss),is=typeof Array.isArray=="function"?Array.isArray:function(a){return a instanceof Array},Xc=function(n){if(n.left===n.right){n.setResult(void 0).exit();return}if(typeof n.left=="undefined"){if(typeof n.right=="function")throw new Error("functions are not supported");n.setResult([n.right]).exit();return}if(typeof n.right=="undefined"){n.setResult([n.left,0,0]).exit();return}if(typeof n.left=="function"||typeof n.right=="function")throw new Error("functions are not supported");if(n.leftType=n.left===null?"null":It(n.left),n.rightType=n.right===null?"null":It(n.right),n.leftType!==n.rightType){n.setResult([n.left,n.right]).exit();return}if(n.leftType==="boolean"||n.leftType==="number"){n.setResult([n.left,n.right]).exit();return}if(n.leftType==="object"&&(n.leftIsArray=is(n.left)),n.rightType==="object"&&(n.rightIsArray=is(n.right)),n.leftIsArray!==n.rightIsArray){n.setResult([n.left,n.right]).exit();return}n.left instanceof RegExp&&(n.right instanceof RegExp?n.setResult([n.left.toString(),n.right.toString()]).exit():n.setResult([n.left,n.right]).exit())};Xc.filterName="trivial";var zc=function(n){if(typeof n.delta=="undefined"){n.setResult(n.left).exit();return}if(n.nested=!is(n.delta),!n.nested){if(n.delta.length===1){n.setResult(n.delta[0]).exit();return}if(n.delta.length===2){if(n.left instanceof RegExp){var r=/^\/(.*)\/([gimyu]+)$/.exec(n.delta[1]);if(r){n.setResult(new RegExp(r[1],r[2])).exit();return}}n.setResult(n.delta[1]).exit();return}n.delta.length===3&&n.delta[2]===0&&n.setResult(void 0).exit()}};zc.filterName="trivial";var Jc=function(n){if(typeof n.delta=="undefined"){n.setResult(n.delta).exit();return}if(n.nested=!is(n.delta),!n.nested){if(n.delta.length===1){n.setResult([n.delta[0],0,0]).exit();return}if(n.delta.length===2){n.setResult([n.delta[1],n.delta[0]]).exit();return}n.delta.length===3&&n.delta[2]===0&&n.setResult([n.delta[0]]).exit()}};Jc.filterName="trivial";function Zc(a){if(!(!a||!a.children)){for(var n=a.children.length,r=void 0,o=a.result,f=0;f<n;f++)r=a.children[f],typeof r.result!="undefined"&&(o=o||{},o[r.childName]=r.result);o&&a.leftIsArray&&(o._t="a"),a.setResult(o).exit()}}Zc.filterName="collectChildren";function Yc(a){if(!(a.leftIsArray||a.leftType!=="object")){var n=void 0,r=void 0,o=a.options.propertyFilter;for(n in a.left)Object.prototype.hasOwnProperty.call(a.left,n)&&(o&&!o(n,a)||(r=new Yt(a.left[n],a.right[n]),a.push(r,n)));for(n in a.right)Object.prototype.hasOwnProperty.call(a.right,n)&&(o&&!o(n,a)||typeof a.left[n]=="undefined"&&(r=new Yt(void 0,a.right[n]),a.push(r,n)));if(!a.children||a.children.length===0){a.setResult(void 0).exit();return}a.exit()}}Yc.filterName="objects";var Qc=function(n){if(n.nested&&!n.delta._t){var r=void 0,o=void 0;for(r in n.delta)o=new Ii(n.left[r],n.delta[r]),n.push(o,r);n.exit()}};Qc.filterName="objects";var eg=function(n){if(!(!n||!n.children)&&!n.delta._t){for(var r=n.children.length,o=void 0,f=0;f<r;f++)o=n.children[f],Object.prototype.hasOwnProperty.call(n.left,o.childName)&&o.result===void 0?delete n.left[o.childName]:n.left[o.childName]!==o.result&&(n.left[o.childName]=o.result);n.setResult(n.left).exit()}};eg.filterName="collectChildren";var tg=function(n){if(n.nested&&!n.delta._t){var r=void 0,o=void 0;for(r in n.delta)o=new hi(n.delta[r]),n.push(o,r);n.exit()}};tg.filterName="objects";function rg(a){if(!(!a||!a.children)&&!a.delta._t){for(var n=a.children.length,r=void 0,o={},f=0;f<n;f++)r=a.children[f],o[r.childName]!==r.result&&(o[r.childName]=r.result);a.setResult(o).exit()}}rg.filterName="collectChildren";var k0=function(n,r,o,f){return n[o]===r[f]},D0=function(n,r,o,f){var i=n.length,c=r.length,g=void 0,l=void 0,p=[i+1];for(g=0;g<i+1;g++)for(p[g]=[c+1],l=0;l<c+1;l++)p[g][l]=0;for(p.match=o,g=1;g<i+1;g++)for(l=1;l<c+1;l++)o(n,r,g-1,l-1,f)?p[g][l]=p[g-1][l-1]+1:p[g][l]=Math.max(p[g-1][l],p[g][l-1]);return p},H0=function(n,r,o,f){for(var i=r.length,c=o.length,g={sequence:[],indices1:[],indices2:[]};i!==0&&c!==0;){var l=n.match(r,o,i-1,c-1,f);if(l)g.sequence.unshift(r[i-1]),g.indices1.unshift(i-1),g.indices2.unshift(c-1),--i,--c;else{var p=n[i][c-1],I=n[i-1][c];p>I?--c:--i}}return g},N0=function(n,r,o,f){var i=f||{},c=D0(n,r,o||k0,i),g=H0(c,n,r,i);return typeof n=="string"&&typeof r=="string"&&(g.sequence=g.sequence.join("")),g},L0={get:N0},yr=3,dc=typeof Array.isArray=="function"?Array.isArray:function(a){return a instanceof Array},vc=typeof Array.prototype.indexOf=="function"?function(a,n){return a.indexOf(n)}:function(a,n){for(var r=a.length,o=0;o<r;o++)if(a[o]===n)return o;return-1};function G0(a,n,r,o){for(var f=0;f<r;f++)for(var i=a[f],c=0;c<o;c++){var g=n[c];if(f!==c&&i===g)return!0}}function zn(a,n,r,o,f){var i=a[r],c=n[o];if(i===c)return!0;if((typeof i=="undefined"?"undefined":It(i))!=="object"||(typeof c=="undefined"?"undefined":It(c))!=="object")return!1;var g=f.objectHash;if(!g)return f.matchByPosition&&r===o;var l=void 0,p=void 0;return typeof r=="number"?(f.hashCache1=f.hashCache1||[],l=f.hashCache1[r],typeof l=="undefined"&&(f.hashCache1[r]=l=g(i,r))):l=g(i),typeof l=="undefined"||(typeof o=="number"?(f.hashCache2=f.hashCache2||[],p=f.hashCache2[o],typeof p=="undefined"&&(f.hashCache2[o]=p=g(c,o))):p=g(c),typeof p=="undefined")?!1:l===p}var ng=function(n){if(n.leftIsArray){var r={objectHash:n.options&&n.options.objectHash,matchByPosition:n.options&&n.options.matchByPosition},o=0,f=0,i=void 0,c=void 0,g=void 0,l=n.left,p=n.right,I=l.length,h=p.length,v=void 0;for(I>0&&h>0&&!r.objectHash&&typeof r.matchByPosition!="boolean"&&(r.matchByPosition=!G0(l,p,I,h));o<I&&o<h&&zn(l,p,o,o,r);)i=o,v=new Yt(n.left[i],n.right[i]),n.push(v,i),o++;for(;f+o<I&&f+o<h&&zn(l,p,I-1-f,h-1-f,r);)c=I-1-f,g=h-1-f,v=new Yt(n.left[c],n.right[g]),n.push(v,g),f++;var m=void 0;if(o+f===I){if(I===h){n.setResult(void 0).exit();return}for(m=m||{_t:"a"},i=o;i<h-f;i++)m[i]=[p[i]];n.setResult(m).exit();return}if(o+f===h){for(m=m||{_t:"a"},i=o;i<I-f;i++)m["_"+i]=[l[i],0,0];n.setResult(m).exit();return}delete r.hashCache1,delete r.hashCache2;var w=l.slice(o,I-f),B=p.slice(o,h-f),x=L0.get(w,B,zn,r),C=[];for(m=m||{_t:"a"},i=o;i<I-f;i++)vc(x.indices1,i-o)<0&&(m["_"+i]=[l[i],0,0],C.push(i));var H=!0;n.options&&n.options.arrays&&n.options.arrays.detectMove===!1&&(H=!1);var F=!1;n.options&&n.options.arrays&&n.options.arrays.includeValueOnMove&&(F=!0);var N=C.length;for(i=o;i<h-f;i++){var _=vc(x.indices2,i-o);if(_<0){var U=!1;if(H&&N>0){for(var L=0;L<N;L++)if(c=C[L],zn(w,B,c-o,i-o,r)){m["_"+c].splice(1,2,i,yr),F||(m["_"+c][0]=""),g=i,v=new Yt(n.left[c],n.right[g]),n.push(v,g),C.splice(L,1),U=!0;break}}U||(m[i]=[p[i]])}else c=x.indices1[_]+o,g=x.indices2[_]+o,v=new Yt(n.left[c],n.right[g]),n.push(v,g)}n.setResult(m).exit()}};ng.filterName="arrays";var mc={numerically:function(n,r){return n-r},numericallyBy:function(n){return function(r,o){return r[n]-o[n]}}},sg=function(n){if(n.nested&&n.delta._t==="a"){var r=void 0,o=void 0,f=n.delta,i=n.left,c=[],g=[],l=[];for(r in f)if(r!=="_t")if(r[0]==="_")if(f[r][2]===0||f[r][2]===yr)c.push(parseInt(r.slice(1),10));else throw new Error("only removal or move can be applied at original array indices,"+(" invalid diff type: "+f[r][2]));else f[r].length===1?g.push({index:parseInt(r,10),value:f[r][0]}):l.push({index:parseInt(r,10),delta:f[r]});for(c=c.sort(mc.numerically),r=c.length-1;r>=0;r--){o=c[r];var p=f["_"+o],I=i.splice(o,1)[0];p[2]===yr&&g.push({index:p[1],value:I})}g=g.sort(mc.numericallyBy("index"));var h=g.length;for(r=0;r<h;r++){var v=g[r];i.splice(v.index,0,v.value)}var m=l.length,w=void 0;if(m>0)for(r=0;r<m;r++){var B=l[r];w=new Ii(n.left[B.index],B.delta),n.push(w,B.index)}if(!n.children){n.setResult(n.left).exit();return}n.exit()}};sg.filterName="arrays";var ag=function(n){if(!(!n||!n.children)&&n.delta._t==="a"){for(var r=n.children.length,o=void 0,f=0;f<r;f++)o=n.children[f],n.left[o.childName]=o.result;n.setResult(n.left).exit()}};ag.filterName="arraysCollectChildren";var ig=function(n){if(!n.nested){n.delta[2]===yr&&(n.newName="_"+n.delta[1],n.setResult([n.delta[0],parseInt(n.childName.substr(1),10),yr]).exit());return}if(n.delta._t==="a"){var r=void 0,o=void 0;for(r in n.delta)r!=="_t"&&(o=new hi(n.delta[r]),n.push(o,r));n.exit()}};ig.filterName="arrays";var K0=function(n,r,o){if(typeof r=="string"&&r[0]==="_")return parseInt(r.substr(1),10);if(dc(o)&&o[2]===0)return"_"+r;var f=+r;for(var i in n){var c=n[i];if(dc(c))if(c[2]===yr){var g=parseInt(i.substr(1),10),l=c[1];if(l===+r)return g;g<=f&&l>f?f++:g>=f&&l<f&&f--}else if(c[2]===0){var p=parseInt(i.substr(1),10);p<=f&&f++}else c.length===1&&i<=f&&f--}return f};function og(a){if(!(!a||!a.children)&&a.delta._t==="a"){for(var n=a.children.length,r=void 0,o={_t:"a"},f=0;f<n;f++){r=a.children[f];var i=r.newName;typeof i=="undefined"&&(i=K0(a.delta,r.childName,r.result)),o[i]!==r.result&&(o[i]=r.result)}a.setResult(o).exit()}}og.filterName="arraysCollectChildren";var fg=function(n){n.left instanceof Date?(n.right instanceof Date?n.left.getTime()!==n.right.getTime()?n.setResult([n.left,n.right]):n.setResult(void 0):n.setResult([n.left,n.right]),n.exit()):n.right instanceof Date&&n.setResult([n.left,n.right]).exit()};fg.filterName="dates";var os=2,V0=60,Xa=null,cg=function(n){if(!Xa){var r=void 0;if(typeof diff_match_patch!="undefined")r=typeof diff_match_patch=="function"?new diff_match_patch:new diff_match_patch.diff_match_patch;else if(Ga)try{r=Ga&&new Ga}catch(f){r=null}if(!r){if(!n)return null;var o=new Error("text diff_match_patch library not found");throw o.diff_match_patch_not_found=!0,o}Xa={diff:function(i,c){return r.patch_toText(r.patch_make(i,c))},patch:function(i,c){for(var g=r.patch_apply(r.patch_fromText(c),i),l=0;l<g[1].length;l++)if(!g[1][l]){var p=new Error("text patch failed");p.textPatchFailed=!0}return g[0]}}}return Xa},gg=function(n){if(n.leftType==="string"){var r=n.options&&n.options.textDiff&&n.options.textDiff.minLength||V0;if(n.left.length<r||n.right.length<r){n.setResult([n.left,n.right]).exit();return}var o=cg();if(!o){n.setResult([n.left,n.right]).exit();return}var f=o.diff;n.setResult([f(n.left,n.right),0,os]).exit()}};gg.filterName="texts";var lg=function(n){if(!n.nested&&n.delta[2]===os){var r=cg(!0).patch;n.setResult(r(n.left,n.delta[0])).exit()}};lg.filterName="texts";var q0=function(n){var r=void 0,o=void 0,f=void 0,i=void 0,c=void 0,g=null,l=/^@@ +-(\d+),(\d+) +\+(\d+),(\d+) +@@$/,p=void 0;for(f=n.split(`
|
|
37
37
|
`),r=0,o=f.length;r<o;r++){i=f[r];var I=i.slice(0,1);I==="@"?(g=l.exec(i),p=r,f[p]="@@ -"+g[3]+","+g[4]+" +"+g[1]+","+g[2]+" @@"):I==="+"?(f[r]="-"+f[r].slice(1),f[r-1].slice(0,1)==="+"&&(c=f[r],f[r]=f[r-1],f[r-1]=c)):I==="-"&&(f[r]="+"+f[r].slice(1))}return f.join(`
|
|
38
|
-
`)},
|
|
38
|
+
`)},ug=function(n){n.nested||n.delta[2]===os&&n.setResult([q0(n.delta[0]),0,os]).exit()};ug.filterName="texts";var di=function(){function a(n){rt(this,a),this.processor=new M0(n),this.processor.pipe(new Qn("diff").append(Zc,Xc,fg,gg,Yc,ng).shouldHaveResult()),this.processor.pipe(new Qn("patch").append(eg,ag,zc,lg,Qc,sg).shouldHaveResult()),this.processor.pipe(new Qn("reverse").append(rg,og,Jc,ug,tg,ig).shouldHaveResult())}return dt(a,[{key:"options",value:function(){var r;return(r=this.processor).options.apply(r,arguments)}},{key:"diff",value:function(r,o){return this.processor.process(new Yt(r,o))}},{key:"patch",value:function(r,o){return this.processor.process(new Ii(r,o))}},{key:"reverse",value:function(r){return this.processor.process(new hi(r))}},{key:"unpatch",value:function(r,o){return this.patch(r,this.reverse(o))}},{key:"clone",value:function(r){return as(r)}}]),a}(),za=typeof Array.isArray=="function"?Array.isArray:function(a){return a instanceof Array},W0=typeof Object.keys=="function"?function(a){return Object.keys(a)}:function(a){var n=[];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&n.push(r);return n},$0=function(n){return n.substr(0,1)==="_"?n.slice(1):n},Sc=function(n){return n==="_t"?-1:n.substr(0,1)==="_"?parseInt(n.slice(1),10):parseInt(n,10)+.1},j0=function(n,r){return Sc(n)-Sc(r)},hs=function(){function a(){rt(this,a)}return dt(a,[{key:"format",value:function(r,o){var f={};return this.prepareContext(f),this.recurse(f,r,o),this.finalize(f)}},{key:"prepareContext",value:function(r){r.buffer=[],r.out=function(){var o;(o=this.buffer).push.apply(o,arguments)}}},{key:"typeFormattterNotFound",value:function(r,o){throw new Error("cannot format delta type: "+o)}},{key:"typeFormattterErrorFormatter",value:function(r,o){return o.toString()}},{key:"finalize",value:function(r){var o=r.buffer;if(za(o))return o.join("")}},{key:"recurse",value:function(r,o,f,i,c,g,l){var p=o&&g,I=p?g.value:f;if(!(typeof o=="undefined"&&typeof i=="undefined")){var h=this.getDeltaType(o,g),v=h==="node"?o._t==="a"?"array":"object":"";typeof i!="undefined"?this.nodeBegin(r,i,c,h,v,l):this.rootBegin(r,h,v);var m=void 0;try{m=this["format_"+h]||this.typeFormattterNotFound(r,h),m.call(this,r,o,I,i,c,g)}catch(w){this.typeFormattterErrorFormatter(r,w,o,I,i,c,g),typeof console!="undefined"&&console.error&&console.error(w.stack)}typeof i!="undefined"?this.nodeEnd(r,i,c,h,v,l):this.rootEnd(r,h,v)}}},{key:"formatDeltaChildren",value:function(r,o,f){var i=this;this.forEachDeltaKey(o,f,function(c,g,l,p){i.recurse(r,o[c],f?f[g]:void 0,c,g,l,p)})}},{key:"forEachDeltaKey",value:function(r,o,f){var i=W0(r),c=r._t==="a",g={},l=void 0;if(typeof o!="undefined")for(l in o)Object.prototype.hasOwnProperty.call(o,l)&&typeof r[l]=="undefined"&&(!c||typeof r["_"+l]=="undefined")&&i.push(l);for(l in r)if(Object.prototype.hasOwnProperty.call(r,l)){var p=r[l];za(p)&&p[2]===3&&(g[p[1].toString()]={key:l,value:o&&o[parseInt(l.substr(1))]},this.includeMoveDestinations!==!1&&typeof o=="undefined"&&typeof r[p[1]]=="undefined"&&i.push(p[1].toString()))}c?i.sort(j0):i.sort();for(var I=0,h=i.length;I<h;I++){var v=i[I];if(!(c&&v==="_t")){var m=c?typeof v=="number"?v:parseInt($0(v),10):v,w=I===h-1;f(v,m,g[m],w)}}}},{key:"getDeltaType",value:function(r,o){if(typeof r=="undefined")return typeof o!="undefined"?"movedestination":"unchanged";if(za(r)){if(r.length===1)return"added";if(r.length===2)return"modified";if(r.length===3&&r[2]===0)return"deleted";if(r.length===3&&r[2]===2)return"textdiff";if(r.length===3&&r[2]===3)return"moved"}else if((typeof r=="undefined"?"undefined":It(r))==="object")return"node";return"unknown"}},{key:"parseTextDiff",value:function(r){for(var o=[],f=r.split(`
|
|
39
39
|
@@ `),i=0,c=f.length;i<c;i++){var g=f[i],l={pieces:[]},p=/^(?:@@ )?[-+]?(\d+),(\d+)/.exec(g).slice(1);l.location={line:p[0],chr:p[1]};for(var I=g.split(`
|
|
40
|
-
`).slice(1),h=0,v=I.length;h<v;h++){var m=I[h];if(m.length){var w={type:"context"};m.substr(0,1)==="+"?w.type="added":m.substr(0,1)==="-"&&(w.type="deleted"),w.text=m.slice(1),l.pieces.push(w)}}o.push(l)}return o}}]),a}();(function(a){
|
|
40
|
+
`).slice(1),h=0,v=I.length;h<v;h++){var m=I[h];if(m.length){var w={type:"context"};m.substr(0,1)==="+"?w.type="added":m.substr(0,1)==="-"&&(w.type="deleted"),w.text=m.slice(1),l.pieces.push(w)}}o.push(l)}return o}}]),a}();(function(a){er(n,a);function n(){return rt(this,n),tr(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return dt(n,[{key:"typeFormattterErrorFormatter",value:function(o,f){o.out('<pre class="jsondiffpatch-error">'+f+"</pre>")}},{key:"formatValue",value:function(o,f){o.out("<pre>"+bc(JSON.stringify(f,null,2))+"</pre>")}},{key:"formatTextDiffString",value:function(o,f){var i=this.parseTextDiff(f);o.out('<ul class="jsondiffpatch-textdiff">');for(var c=0,g=i.length;c<g;c++){var l=i[c];o.out('<li><div class="jsondiffpatch-textdiff-location">'+('<span class="jsondiffpatch-textdiff-line-number">'+l.location.line+'</span><span class="jsondiffpatch-textdiff-char">'+l.location.chr+'</span></div><div class="jsondiffpatch-textdiff-line">'));for(var p=l.pieces,I=0,h=p.length;I<h;I++){var v=p[I];o.out('<span class="jsondiffpatch-textdiff-'+v.type+'">'+bc(decodeURI(v.text))+"</span>")}o.out("</div></li>")}o.out("</ul>")}},{key:"rootBegin",value:function(o,f,i){var c="jsondiffpatch-"+f+(i?" jsondiffpatch-child-node-type-"+i:"");o.out('<div class="jsondiffpatch-delta '+c+'">')}},{key:"rootEnd",value:function(o){o.out("</div>"+(o.hasArrows?'<script type="text/javascript">setTimeout('+(X0.toString()+",10);<\/script>"):""))}},{key:"nodeBegin",value:function(o,f,i,c,g){var l="jsondiffpatch-"+c+(g?" jsondiffpatch-child-node-type-"+g:"");o.out('<li class="'+l+'" data-key="'+i+'">'+('<div class="jsondiffpatch-property-name">'+i+"</div>"))}},{key:"nodeEnd",value:function(o){o.out("</li>")}},{key:"format_unchanged",value:function(o,f,i){typeof i!="undefined"&&(o.out('<div class="jsondiffpatch-value">'),this.formatValue(o,i),o.out("</div>"))}},{key:"format_movedestination",value:function(o,f,i){typeof i!="undefined"&&(o.out('<div class="jsondiffpatch-value">'),this.formatValue(o,i),o.out("</div>"))}},{key:"format_node",value:function(o,f,i){var c=f._t==="a"?"array":"object";o.out('<ul class="jsondiffpatch-node jsondiffpatch-node-type-'+c+'">'),this.formatDeltaChildren(o,f,i),o.out("</ul>")}},{key:"format_added",value:function(o,f){o.out('<div class="jsondiffpatch-value">'),this.formatValue(o,f[0]),o.out("</div>")}},{key:"format_modified",value:function(o,f){o.out('<div class="jsondiffpatch-value jsondiffpatch-left-value">'),this.formatValue(o,f[0]),o.out('</div><div class="jsondiffpatch-value jsondiffpatch-right-value">'),this.formatValue(o,f[1]),o.out("</div>")}},{key:"format_deleted",value:function(o,f){o.out('<div class="jsondiffpatch-value">'),this.formatValue(o,f[0]),o.out("</div>")}},{key:"format_moved",value:function(o,f){o.out('<div class="jsondiffpatch-value">'),this.formatValue(o,f[0]),o.out('</div><div class="jsondiffpatch-moved-destination">'+f[1]+"</div>"),o.out(`<div class="jsondiffpatch-arrow" style="position: relative; left: -34px;">
|
|
41
41
|
<svg width="30" height="60" style="position: absolute; display: none;">
|
|
42
42
|
<defs>
|
|
43
43
|
<marker id="markerArrow" markerWidth="8" markerHeight="8"
|
|
@@ -50,8 +50,8 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
50
50
|
style="stroke: #88f; stroke-width: 2px; fill: none; stroke-opacity: 0.5; marker-end: url(#markerArrow);"
|
|
51
51
|
></path>
|
|
52
52
|
</svg>
|
|
53
|
-
</div>`),o.hasArrows=!0}},{key:"format_textdiff",value:function(o,f){o.out('<div class="jsondiffpatch-value">'),this.formatTextDiffString(o,f[0]),o.out("</div>")}}]),n})(
|
|
54
|
-
"`)),n.indent(),n.row(c,i),n.indent(-1)};
|
|
53
|
+
</div>`),o.hasArrows=!0}},{key:"format_textdiff",value:function(o,f){o.out('<div class="jsondiffpatch-value">'),this.formatTextDiffString(o,f[0]),o.out("</div>")}}]),n})(hs);function bc(a){for(var n=a,r=[[/&/g,"&"],[/</g,"<"],[/>/g,">"],[/'/g,"'"],[/"/g,"""]],o=0;o<r.length;o++)n=n.replace(r[o][0],r[o][1]);return n}var X0=function(n){var r=n||document,o=function(g){var l=g.textContent,p=g.innerText;return l||p},f=function(g,l,p){for(var I=g.querySelectorAll(l),h=0,v=I.length;h<v;h++)p(I[h])},i=function(g,l){for(var p=g.children,I=0,h=p.length;I<h;I++)l(p[I],I)};f(r,".jsondiffpatch-arrow",function(c){var g=c.parentNode,l=c.children,p=c.style,I=g,h=l[0],v=h.children[1];h.style.display="none";var m=o(I.querySelector(".jsondiffpatch-moved-destination")),w=I.parentNode,B=void 0;if(i(w,function(H){H.getAttribute("data-key")===m&&(B=H)}),!!B)try{var x=B.offsetTop-I.offsetTop;h.setAttribute("height",Math.abs(x)+6),p.top=-8+(x>0?0:x)+"px";var C=x>0?"M30,0 Q-10,"+Math.round(x/2)+" 26,"+(x-4):"M30,"+-x+" Q-10,"+Math.round(-x/2)+" 26,4";v.setAttribute("d",C),h.style.display=""}catch(H){}})},Yr=function(a){er(n,a);function n(){rt(this,n);var r=tr(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return r.includeMoveDestinations=!1,r}return dt(n,[{key:"prepareContext",value:function(o){pi(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"prepareContext",this).call(this,o),o.indent=function(f){this.indentLevel=(this.indentLevel||0)+(typeof f=="undefined"?1:f),this.indentPad=new Array(this.indentLevel+1).join(" ")},o.row=function(f,i){o.out('<tr><td style="white-space: nowrap;"><pre class="jsondiffpatch-annotated-indent" style="display: inline-block">'),o.out(o.indentPad),o.out('</pre><pre style="display: inline-block">'),o.out(f),o.out('</pre></td><td class="jsondiffpatch-delta-note"><div>'),o.out(i),o.out("</div></td></tr>")}}},{key:"typeFormattterErrorFormatter",value:function(o,f){o.row("",'<pre class="jsondiffpatch-error">'+f+"</pre>")}},{key:"formatTextDiffString",value:function(o,f){var i=this.parseTextDiff(f);o.out('<ul class="jsondiffpatch-textdiff">');for(var c=0,g=i.length;c<g;c++){var l=i[c];o.out('<li><div class="jsondiffpatch-textdiff-location">'+('<span class="jsondiffpatch-textdiff-line-number">'+l.location.line+'</span><span class="jsondiffpatch-textdiff-char">'+l.location.chr+'</span></div><div class="jsondiffpatch-textdiff-line">'));for(var p=l.pieces,I=0,h=p.length;I<h;I++){var v=p[I];o.out('<span class="jsondiffpatch-textdiff-'+v.type+'">'+v.text+"</span>")}o.out("</div></li>")}o.out("</ul>")}},{key:"rootBegin",value:function(o,f,i){o.out('<table class="jsondiffpatch-annotated-delta">'),f==="node"&&(o.row("{"),o.indent()),i==="array"&&o.row('"_t": "a",',"Array delta (member names indicate array indices)")}},{key:"rootEnd",value:function(o,f){f==="node"&&(o.indent(-1),o.row("}")),o.out("</table>")}},{key:"nodeBegin",value:function(o,f,i,c,g){o.row("""+f+"": {"),c==="node"&&o.indent(),g==="array"&&o.row('"_t": "a",',"Array delta (member names indicate array indices)")}},{key:"nodeEnd",value:function(o,f,i,c,g,l){c==="node"&&o.indent(-1),o.row("}"+(l?"":","))}},{key:"format_unchanged",value:function(){}},{key:"format_movedestination",value:function(){}},{key:"format_node",value:function(o,f,i){this.formatDeltaChildren(o,f,i)}}]),n}(hs),Jn=function(n){return'<pre style="display:inline-block">"'+n+""</pre>"},z0={added:function(n,r,o,f){var i=" <pre>([newValue])</pre>";return typeof f=="undefined"?"new value"+i:typeof f=="number"?"insert at index "+f+i:"add property "+Jn(f)+i},modified:function(n,r,o,f){var i=" <pre>([previousValue, newValue])</pre>";return typeof f=="undefined"?"modify value"+i:typeof f=="number"?"modify at index "+f+i:"modify property "+Jn(f)+i},deleted:function(n,r,o,f){var i=" <pre>([previousValue, 0, 0])</pre>";return typeof f=="undefined"?"delete value"+i:typeof f=="number"?"remove index "+f+i:"delete property "+Jn(f)+i},moved:function(n,r,o,f){return'move from <span title="(position to remove at original state)">'+("index "+f+'</span> to <span title="(position to insert at final')+(' state)">index '+n[1]+"</span>")},textdiff:function(n,r,o,f){var i=typeof f=="undefined"?"":typeof f=="number"?" at index "+f:" at property "+Jn(f);return"text diff"+i+', format is <a href="https://code.google.com/p/google-diff-match-patch/wiki/Unidiff">a variation of Unidiff</a>'}},Qr=function(n,r){var o=this.getDeltaType(r),f=z0[o],i=f&&f.apply(f,Array.prototype.slice.call(arguments,1)),c=JSON.stringify(r,null,2);o==="textdiff"&&(c=c.split("\\n").join(`\\n"+
|
|
54
|
+
"`)),n.indent(),n.row(c,i),n.indent(-1)};Yr.prototype.format_added=Qr;Yr.prototype.format_modified=Qr;Yr.prototype.format_deleted=Qr;Yr.prototype.format_moved=Qr;Yr.prototype.format_textdiff=Qr;var Zn={add:"add",remove:"remove",replace:"replace",move:"move"};(function(a){er(n,a);function n(){rt(this,n);var r=tr(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return r.includeMoveDestinations=!0,r}return dt(n,[{key:"prepareContext",value:function(o){pi(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"prepareContext",this).call(this,o),o.result=[],o.path=[],o.pushCurrentOp=function(f){var i=f.op,c=f.value,g={op:i,path:this.currentPath()};typeof c!="undefined"&&(g.value=c),this.result.push(g)},o.pushMoveOp=function(f){var i=this.currentPath();this.result.push({op:Zn.move,from:i,path:this.toPath(f)})},o.currentPath=function(){return"/"+this.path.join("/")},o.toPath=function(f){var i=this.path.slice();return i[i.length-1]=f,"/"+i.join("/")}}},{key:"typeFormattterErrorFormatter",value:function(o,f){o.out("[ERROR] "+f)}},{key:"rootBegin",value:function(){}},{key:"rootEnd",value:function(){}},{key:"nodeBegin",value:function(o,f,i){var c=o.path;c.push(i)}},{key:"nodeEnd",value:function(o){var f=o.path;f.pop()}},{key:"format_unchanged",value:function(){}},{key:"format_movedestination",value:function(){}},{key:"format_node",value:function(o,f,i){this.formatDeltaChildren(o,f,i)}},{key:"format_added",value:function(o,f){o.pushCurrentOp({op:Zn.add,value:f[0]})}},{key:"format_modified",value:function(o,f){o.pushCurrentOp({op:Zn.replace,value:f[1]})}},{key:"format_deleted",value:function(o){o.pushCurrentOp({op:Zn.remove})}},{key:"format_moved",value:function(o,f){var i=f[1];o.pushMoveOp(i)}},{key:"format_textdiff",value:function(){throw new Error("Not implemented")}},{key:"format",value:function(o,f){var i={};return this.prepareContext(i),this.recurse(i,o,f),i.result}}]),n})(hs);function Jt(a){return hc&&hc[a]||function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return r}}var Zt={added:Jt("green"),deleted:Jt("red"),movedestination:Jt("gray"),moved:Jt("yellow"),unchanged:Jt("gray"),error:Jt("white.bgRed"),textDiffLine:Jt("gray")};(function(a){er(n,a);function n(){rt(this,n);var r=tr(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return r.includeMoveDestinations=!1,r}return dt(n,[{key:"prepareContext",value:function(o){pi(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"prepareContext",this).call(this,o),o.indent=function(f){this.indentLevel=(this.indentLevel||0)+(typeof f=="undefined"?1:f),this.indentPad=new Array(this.indentLevel+1).join(" "),this.outLine()},o.outLine=function(){this.buffer.push(`
|
|
55
55
|
`+(this.indentPad||""))},o.out=function(){for(var f=arguments.length,i=Array(f),c=0;c<f;c++)i[c]=arguments[c];for(var g=0,l=i.length;g<l;g++){var p=i[g].split(`
|
|
56
56
|
`),I=p.join(`
|
|
57
|
-
`+(this.indentPad||""));this.color&&this.color[0]&&(I=this.color[0](I)),this.buffer.push(I)}},o.pushColor=function(f){this.color=this.color||[],this.color.unshift(f)},o.popColor=function(){this.color=this.color||[],this.color.shift()}}},{key:"typeFormattterErrorFormatter",value:function(o,f){o.pushColor(Xt.error),o.out("[ERROR]"+f),o.popColor()}},{key:"formatValue",value:function(o,f){o.out(JSON.stringify(f,null,2))}},{key:"formatTextDiffString",value:function(o,f){var i=this.parseTextDiff(f);o.indent();for(var c=0,g=i.length;c<g;c++){var l=i[c];o.pushColor(Xt.textDiffLine),o.out(l.location.line+","+l.location.chr+" "),o.popColor();for(var p=l.pieces,I=0,h=p.length;I<h;I++){var v=p[I];o.pushColor(Xt[v.type]),o.out(v.text),o.popColor()}c<g-1&&o.outLine()}o.indent(-1)}},{key:"rootBegin",value:function(o,f,i){o.pushColor(Xt[f]),f==="node"&&(o.out(i==="array"?"[":"{"),o.indent())}},{key:"rootEnd",value:function(o,f,i){f==="node"&&(o.indent(-1),o.out(i==="array"?"]":"}")),o.popColor()}},{key:"nodeBegin",value:function(o,f,i,c,g){o.pushColor(Xt[c]),o.out(i+": "),c==="node"&&(o.out(g==="array"?"[":"{"),o.indent())}},{key:"nodeEnd",value:function(o,f,i,c,g,l){c==="node"&&(o.indent(-1),o.out(g==="array"?"]":"}"+(l?"":","))),l||o.outLine(),o.popColor()}},{key:"format_unchanged",value:function(o,f,i){typeof i>"u"||this.formatValue(o,i)}},{key:"format_movedestination",value:function(o,f,i){typeof i>"u"||this.formatValue(o,i)}},{key:"format_node",value:function(o,f,i){this.formatDeltaChildren(o,f,i)}},{key:"format_added",value:function(o,f){this.formatValue(o,f[0])}},{key:"format_modified",value:function(o,f){o.pushColor(Xt.deleted),this.formatValue(o,f[0]),o.popColor(),o.out(" => "),o.pushColor(Xt.added),this.formatValue(o,f[1]),o.popColor()}},{key:"format_deleted",value:function(o,f){this.formatValue(o,f[0])}},{key:"format_moved",value:function(o,f){o.out("==> "+f[1])}},{key:"format_textdiff",value:function(o,f){this.formatTextDiffString(o,f[0])}}]),n})(us);var Ye=void 0;function L0(){return Ye||(Ye=new pi),Ye.diff.apply(Ye,arguments)}function G0(){return Ye||(Ye=new pi),Ye.patch.apply(Ye,arguments)}function K0(){return Ye||(Ye=new pi),Ye.reverse.apply(Ye,arguments)}const k={A:{value:"A",name:"Alanine",threeLettersName:"Ala",hydrophobicity:1.8,colorByFamily:"#00FFFF",color:"hsl(327.3, 100%, 69%)",mass:89.1},R:{value:"R",name:"Arginine",threeLettersName:"Arg",hydrophobicity:-4.5,colorByFamily:"#FFC0CB",color:"hsl(258.1, 100%, 69%)",mass:174.2},N:{value:"N",name:"Asparagine",threeLettersName:"Asn",hydrophobicity:-3.5,colorByFamily:"#D3D3D3",color:"hsl(268.9, 100%, 69%)",mass:132.1},D:{value:"D",name:"Aspartic acid",threeLettersName:"Asp",hydrophobicity:-3.5,colorByFamily:"#EE82EE",color:"hsl(268.9, 100%, 69%)",mass:133.1},C:{value:"C",name:"Cysteine",threeLettersName:"Cys",hydrophobicity:2.5,colorByFamily:"#FFFF00",color:"hsl(335.1, 100%, 69%)",mass:121.2},E:{value:"E",name:"Glutamic acid",threeLettersName:"Glu",hydrophobicity:-3.5,colorByFamily:"#EE82EE",color:"hsl(268.9, 100%, 69%)",mass:147.1},Q:{value:"Q",name:"Glutamine",threeLettersName:"Gln",hydrophobicity:-3.5,colorByFamily:"#D3D3D3",color:"hsl(268.9, 100%, 69%)",mass:146.2},G:{value:"G",name:"Glycine",threeLettersName:"Gly",hydrophobicity:-.4,colorByFamily:"#00FFFF",color:"hsl(303.1, 100%, 69%)",mass:75.1},H:{value:"H",name:"Histidine",threeLettersName:"His",hydrophobicity:-3.2,colorByFamily:"#FFC0CB",color:"hsl(272.2, 100%, 69%)",mass:155.2},I:{value:"I",name:"Isoleucine ",threeLettersName:"Ile",hydrophobicity:4.5,colorByFamily:"#00FFFF",color:"hsl(356.9, 100%, 69%)",mass:131.2},L:{value:"L",name:"Leucine",threeLettersName:"Leu",hydrophobicity:3.8,colorByFamily:"#00FFFF",color:"hsl(349.4, 100%, 69%)",mass:131.2},K:{value:"K",name:"Lysine",threeLettersName:"Lys",hydrophobicity:-3.9,colorByFamily:"#FFC0CB",color:"hsl(264.7, 100%, 69%)",mass:146.2},M:{value:"M",name:"Methionine",threeLettersName:"Met",hydrophobicity:1.9,colorByFamily:"#FFFF00",color:"hsl(328.5, 100%, 69%)",mass:149.2},F:{value:"F",name:"Phenylalanine",threeLettersName:"Phe",hydrophobicity:2.8,colorByFamily:"#FFA500",color:"hsl(338.4, 100%, 69%)",mass:165.2},P:{value:"P",name:"Proline",threeLettersName:"Pro",hydrophobicity:-1.6,colorByFamily:"#00FFFF",color:"hsl(289.9, 100%, 69%)",mass:115.1},S:{value:"S",name:"Serine",threeLettersName:"Ser",hydrophobicity:-.8,colorByFamily:"#90EE90",color:"hsl(298.6, 100%, 69%)",mass:105.1},T:{value:"T",name:"Threonine",threeLettersName:"Thr",hydrophobicity:-.7,colorByFamily:"#90EE90",color:"hsl(299.8, 100%, 69%)",mass:119.1},U:{value:"U",name:"Selenocysteine",threeLettersName:"Sec",colorByFamily:"#FF0000",color:"hsl(0, 100%, 69%)",mass:168.1},W:{value:"W",name:"Tryptophan",threeLettersName:"Trp",hydrophobicity:-.9,colorByFamily:"#FFA500",color:"hsl(297.6, 100%, 69%)",mass:204.2},Y:{value:"Y",name:"Tyrosine",threeLettersName:"Tyr",hydrophobicity:-1.3,colorByFamily:"#FFA500",color:"hsl(293.2, 100%, 69%)",mass:181.2},V:{value:"V",name:"Valine",threeLettersName:"Val",hydrophobicity:4.2,colorByFamily:"#00FFFF",color:"hsl(353.6, 100%, 69%)",mass:117.1},"*":{value:"*",name:"Stop",threeLettersName:"Stop",colorByFamily:"#FF0000",color:"hsl(0, 100%, 69%)",mass:0},".":{value:".",name:"Gap",threeLettersName:"Gap",colorByFamily:"#FF0000",color:"hsl(0, 100%, 69%)",mass:0},"-":{value:"-",name:"Gap",threeLettersName:"Gap",colorByFamily:"#FF0000",color:"hsl(0, 100%, 69%)",mass:0},B:{value:"B",threeLettersName:"ND",colorByFamily:"#D3D3D3",color:"hsl(268.9, 100%, 69%)",isAmbiguous:!0,name:"B",aliases:"ND",mass:0},J:{value:"J",threeLettersName:"IL",colorByFamily:"#00FFFF",color:"hsl(352, 100%, 69%)",isAmbiguous:!0,name:"J",aliases:"IL",mass:0},X:{value:"X",threeLettersName:"ACDEFGHIKLMNPQRSTVWY",colorByFamily:"#FFFFFF",color:"hsl(60, 100%, 69%)",isAmbiguous:!0,name:"X",aliases:"ACDEFGHIKLMNPQRSTVWY",mass:0},Z:{value:"Z",threeLettersName:"QE",colorByFamily:"#D3D3D3",color:"hsl(268.9, 100%, 69%)",isAmbiguous:!0,name:"Z",aliases:"QE",mass:0}},fg={gct:k.A,gcc:k.A,gca:k.A,gcg:k.A,gcu:k.A,cgt:k.R,cgc:k.R,cga:k.R,cgg:k.R,aga:k.R,agg:k.R,cgu:k.R,aat:k.N,aac:k.N,aau:k.N,gat:k.D,gac:k.D,gau:k.D,tgt:k.C,tgc:k.C,ugu:k.C,ugc:k.C,gaa:k.E,gag:k.E,caa:k.Q,cag:k.Q,ggt:k.G,ggc:k.G,gga:k.G,ggg:k.G,ggu:k.G,cat:k.H,cac:k.H,cau:k.H,att:k.I,atc:k.I,ata:k.I,auu:k.I,auc:k.I,aua:k.I,ctt:k.L,ctc:k.L,cta:k.L,ctg:k.L,tta:k.L,ttg:k.L,cuu:k.L,cuc:k.L,cua:k.L,cug:k.L,uua:k.L,uug:k.L,aaa:k.K,aag:k.K,atg:k.M,aug:k.M,ttt:k.F,ttc:k.F,uuu:k.F,uuc:k.F,cct:k.P,ccc:k.P,cca:k.P,ccg:k.P,ccu:k.P,tct:k.S,tcc:k.S,tca:k.S,tcg:k.S,agt:k.S,agc:k.S,ucu:k.S,ucc:k.S,uca:k.S,ucg:k.S,agu:k.S,act:k.T,acc:k.T,aca:k.T,acg:k.T,acu:k.T,tgg:k.W,ugg:k.W,tat:k.Y,tac:k.Y,uau:k.Y,uac:k.Y,gtt:k.V,gtc:k.V,gta:k.V,gtg:k.V,guu:k.V,guc:k.V,gua:k.V,gug:k.V,taa:k["*"],tag:k["*"],tga:k["*"],"...":k["."],"---":k["-"]},cg=V.invert(is);function Zn(a){if(a=a.toLowerCase(),a.length!==3)throw new Error("must pass a string of length 3");let n=fg[a];if(n)return n;const r=cg[a.replace("x","n")]||"x";return k[r.toUpperCase()]}function Wr(a,n,r,o){let f=o?a.length*3:a.length,i=a,c=0;r&&(i=Ot(r,a),c=r.start);let g=o?i.length*3:i.length,l=[],p,I=0,h=0;if(!n&&(h=Math.floor((g-1)/3),I=g%3,p=dr({start:0,end:I-1},c,f),I>0)){for(let m=0;m<I;m++)l.push({aminoAcid:Zn("xxx"),positionInCodon:I-m-1,aminoAcidIndex:h,sequenceIndex:p.start+m,codonRange:p,fullCodon:!1});h--}for(let m=2+I;m<g;m+=3){let w;if(o)w=k[i[(m-2)/3].toUpperCase()];else{let B=i.slice(m-2,m+1);n||(B=At(B)),w=Zn(B)}p=dr({start:m-2,end:m},c,f),l.push({aminoAcid:w,positionInCodon:n?0:2,aminoAcidIndex:h,sequenceIndex:p.start,codonRange:p,fullCodon:!0}),l.push({aminoAcid:w,positionInCodon:1,aminoAcidIndex:h,sequenceIndex:p.start+1,codonRange:p,fullCodon:!0}),l.push({aminoAcid:w,positionInCodon:n?2:0,aminoAcidIndex:h,sequenceIndex:p.start+2,codonRange:p,fullCodon:!0}),n?h++:h--}let v=g-l.length;p=dr({start:g-v,end:g-1},c,f);for(let m=0;m<v;m++)l.push({aminoAcid:Zn("xxx"),positionInCodon:m,aminoAcidIndex:h,sequenceIndex:p.start+m,fullCodon:!1,codonRange:p});if(g!==l.length)throw new Error("something went wrong!");return l}const ut=["features","warnings","assemblyPieces","lineageAnnotations","parts","cutsites","orfs","translations","primers","guides"],$r=["features","assemblyPieces","lineageAnnotations","warnings","parts","translations","primers","guides"];function gg(a,n="",r){return a&&a.replace(new RegExp(`[^${r||`atgcyrswkmbvdhnu${n.split("").join("\\")}`}]`,"gi"),"")}function lg(a,{sequenceData:n={},convertAnnotationsFromAAIndices:r,annotationType:o,provideNewIdsForAnnotations:f,doNotProvideIdsForAnnotations:i,messages:c=[],mutative:g,allowNonStandardGenbankTypes:l,featureTypes:p}){const{size:I,circular:h,isProtein:v}=n;if(!a||typeof a!="object")return c.push("Invalid annotation detected and removed"),!1;let m=a;if(g||(m=V.cloneDeep(a)),m.annotationTypePlural=o,(!m.name||typeof m.name!="string")&&(c.push('Unable to detect valid name for annotation, setting name to "Untitled annotation"'),m.name="Untitled annotation"),f&&(m.id=Jt().str),!m.id&&m.id!==0&&!i&&(m.id=Jt().str,c.push("Unable to detect valid ID for annotation, setting ID to "+m.id)),dc({isProtein:v,location:m,convertAnnotationsFromAAIndices:r,size:I,messages:c,circular:h,name:m.name}),m.locations&&m.locations.forEach(w=>{dc({isProtein:v,location:w,convertAnnotationsFromAAIndices:r,size:I,messages:c,circular:h,name:m.name})}),v||m.forward===!0||m.forward==="true"||m.strand===1||m.strand==="1"||m.strand==="+"?(m.forward=!0,m.strand=1):(m.forward=!1,m.strand=-1),(!m.type||typeof m.type!="string"||!V.some(p||os(),w=>w.toLowerCase()===m.type.toLowerCase()?(m.type=w,!0):!!(l||typeof window<"u"&&V.get(window,"tg_allowNonStandardGenbankTypes")||typeof global<"u"&&V.get(global,"tg_allowNonStandardGenbankTypes"))))&&(c.push("Invalid annotation type detected: "+m.type+" for "+m.name+". set type to misc_feature"),m.type="misc_feature"),m.notes&&typeof m.notes=="string")try{m.notes=JSON.parse(m.notes)}catch(w){console.info(`warning 33y00a0912 - couldn't parse notes for ${m.name||""} ${m.notes}:`,w)}return m.color||(m.color=ii()[m.type]),m}function dc({location:a,convertAnnotationsFromAAIndices:n,size:r,isProtein:o,messages:f,circular:i,name:c}){a.start=parseInt(a.start,10),a.end=parseInt(a.end,10),n&&(a.start=a.start*3,a.end=a.end*3+2),(a.start<0||!(a.start<=r-1)||a.start>r-1)&&(f.push("Invalid annotation start: "+a.start+" detected for "+a.name+" and set to size: "+r),a.start=r-(o?3:1)),(a.end<0||!(a.end<=r-1)||a.end>r-1)&&(f.push("Invalid annotation end: "+a.end+" detected for "+a.name+" and set to seq size: "+r),a.end=r-1),a.start>a.end&&i===!1&&(f.push("Invalid circular annotation detected for "+c+". end set to 1"),a.end=r)}function ug(a,n){return n=n||{},n.includeStopCodon?a.replace(/[^xtgalmfwkqespvicyhrndu.*]/gi,""):a.replace(/[^xtgalmfwkqespvicyhrndu]/gi,"")}function pg(a){return a.split("").map(n=>is[n.toLowerCase()]||"nnn").join("")}function Te(a,n={}){const{annotationsAsObjects:r,logMessages:o,removeUnwantedChars:f,additionalValidChars:i,noTranslationData:c,charOverrides:g,doNotProvideIdsForAnnotations:l,proteinFilterOptions:p,noCdsTranslations:I,convertAnnotationsFromAAIndices:h}=n;let v=V.cloneDeep(a);const m={messages:[]};v||(v={}),v.sequence||(v.sequence=""),v.proteinSequence||(v.proteinSequence="");let w=!1;v.isProtein&&(v.circular=!1,!v.proteinSequence&&v.proteinSequence!==""&&(v.proteinSequence=v.sequence),(!v.sequence||v.sequence.length!==v.proteinSequence.length*3)&&(w=!0)),v.isRna&&(v.sequence=v.sequence.replace(/t/gi,"u")),f&&(v.isProtein?v.proteinSequence=ug(v.proteinSequence,{includeStopCodon:!0,...p}):v.sequence=gg(v.sequence,`${i||""}${v.isRna||v.isMixedRnaAndDna?"u":""}`,g)),v.isProtein&&(w&&(v.sequence=pg(v.proteinSequence)),v.aminoAcidDataForEachBaseOfDNA=Wr(v.proteinSequence,!0,null,!0)),v.size=v.noSequence?v.size:v.sequence.length,v.proteinSize=v.noSequence?v.proteinSize:v.proteinSequence.length,v.circular==="false"||v.circular==-1||v.circular===!1||!v.circular&&v.sequenceTypeCode!=="CIRCULAR_DNA"?v.circular=!1:v.circular=!0;const B=os();return ut.forEach(x=>{Array.isArray(v[x])||(typeof v[x]=="object"?v[x]=Object.keys(v[x]).map(C=>v[x][C]):v[x]=[]),v[x]=v[x].filter(C=>lg(C,{...n,featureTypes:B,sequenceData:v,convertAnnotationsFromAAIndices:h,mutative:!0,annotationType:x}))}),c||(v.translations=V.flatMap(v.translations,x=>I&&x.translationType==="CDS Feature"?[]:(!x.aminoAcids&&!v.noSequence&&(x.aminoAcids=Wr(v.sequence,x.forward,x)),x))),r&&ut.forEach(x=>{v[x]=v[x].reduce((C,H)=>{let F;return H.id||H.id===0?F=H.id:(F=Jt().str,l||(H.id=F)),C[F]=H,C},{})}),o&&m.messages.length>0&&console.info("tidyUpSequenceData messages:",m.messages),v}const V0=(a,n,{ignoreKeys:r=[]}={})=>(a=Te(a,{annotationsAsObjects:!0,noTranslationData:!0}),n=Te(n,{annotationsAsObjects:!0,noTranslationData:!0}),[a,n].forEach(o=>{["cutsites","orfs","filteredFeatures","size","fromFileUpload","description","materiallyAvailable",...r].forEach(f=>{delete o[f]}),o.translations&&V.forEach(o.translations,(f,i)=>{f.translationType&&f.translationType!=="User Created"?delete o.translations[i]:delete f.aminoAcids})}),L0(a,n)),q0=(a,n,{ignoreKeys:r=[]}={})=>(r.forEach(o=>{delete n[o]}),G0(Te(V.cloneDeep(a),{annotationsAsObjects:!0}),n)),W0=a=>K0(a);function Ig(a){let n=[];a.forEach(o=>{const f=o.cigar.match(/([0-9]*[MDI])/g);for(let i=0;i<f.length;i++)if(f[i].slice(-1)==="I"){let c=o.pos;const g=Number(f[i].slice(0,-1));for(let p=0;p<i;p++)if(f[p].slice(-1)!=="I"){const I=Number(f[p].slice(0,-1));c+=I}let l={bpPos:c,number:g};n.push(l)}});let r=n.sort((o,f)=>o.bpPos-f.bpPos);for(let o=0;o<r.length-1;o++)r[o].bpPos===r[o+1].bpPos&&(r[o].number>r[o+1].number?(r.splice(o+1,1),o--):(r[o].number<r[o+1].number||r[o].number===r[o+1].number)&&(r.splice(o,1),o--));return r}function $0({fullSeq:a,searchSeq:n}){const r=a.id||"fullSeqId",o=n.id||"searchSeqId",f=Tc({seqsToAnnotateById:{[r]:{...a,id:r}},annotationsToCheckById:{[o]:{...n,id:o}},compareName:!1});return f&&f[r]?{matches:f[r]}:{matches:[]}}const Ii={"-":"---",".":"...","*":"trr",a:"gcn",b:"ray",c:"ugy",d:"gay",e:"gar",f:"uuy",g:"ggn",h:"cay",i:"auh",j:"hun",k:"aar",l:"yun",m:"aug",n:"aay",o:"uag",p:"ccn",q:"car",r:"mgn",s:"wsn",t:"acn",u:"uga",v:"gun",w:"ugg",x:"nnn",y:"uay",z:"sar"};function j0(a){return a.split("").map(n=>Ii[n.toLowerCase()]||"nnn").join("")}function X0({cutsites:a,sequenceLength:n,isCircular:r,computePartialDigest:o,computePartialDigestDisabled:f,computeDigestDisabled:i}){let c=[];const g=[],l=[],p=a.sort((I,h)=>I.topSnipPosition-h.topSnipPosition);return p.forEach((I,h)=>{o&&!f&&p.forEach((v,m)=>{l.push([I,p[m]])}),i||l.push([I,p[h+1]?p[h+1]:p[0]])}),l.forEach(([I,h])=>{const v=se(I.topSnipPosition,n),m=se(h.topSnipPosition-1,n);if(!r&&v>m){const w={start:v,end:n-1,cut1:I,cut2:{type:"endOfSeq",restrictionEnzyme:{name:"End Of Seq"}}},B={start:0,end:m,cut1:{type:"startOfSeq",restrictionEnzyme:{name:"Start Of Seq"}},cut2:h};c.push(ja(w,n)),c.push(ja(B,n))}else{const w={cut1:I,cut2:h,start:v,end:m};c.push(ja(w,n))}}),c=c.filter(I=>I.size?!0:(g.push(I),!1)),{computePartialDigestDisabled:f,computeDigestDisabled:i,fragments:c,overlappingEnzymes:g}}function ja(a,n){const r=Oe({start:a.start,end:a.end},n),o=`${V.get(a,"cut1.restrictionEnzyme.name","Untitled Cutsite")} -- ${V.get(a,"cut2.restrictionEnzyme.name","Untitled Cutsite")} ${r} bps`;return{...a,size:r,name:o,id:a.start+"-"+a.end+"-"+r+"-"}}function z0(a){return a.site.length<a.topSnipOffset||a.site.length<a.bottomSnipOffset}function hg(a,n){let r=a.split("");const o=Ig(n);for(let f=0;f<o.length;f++){const i=o[f].bpPos,c=o[f].number;let g="";for(let l=0;l<c;l++)g+="-";r.splice(i-1,0,g);for(let l=f+1;l<o.length;l++)o[l].bpPos+=1}return r.join("")}var J0=function(n,r,o,f){return n.slice(0,r)+(f||"")+n.slice(r+o)};const Z0=Xr(J0);function Qa(a,n="",r){let o=a;if(r&&r.start>-1){if(Oe(r,a.length)===a.length)return n;const f=Bt(W2(r,a.length));o="",f.forEach((i,c)=>{o+=Ot(i,a),f.length===1?xc(0,i,a.length,!0,!0)?o=o+n:o=n+o:c===0&&(o+=n)})}else o=Z0(a,r,0,n);return o}function dg(a){return(a.match(/[cg]/gi)||[]).length/a.length*100||0}const vc={TABLE_BRESLAUER:"breslauer",TABLE_SUGIMOTO:"sugimoto",TABLE_UNIFIED:"unified",A:-10.8,R:1.987,C:5e-7,Na:.05,calculateTemperature:function(a,n,r,o,f,i){if(typeof n>"u")n=this.TABLE_BRESLAUER;else if(n!=this.TABLE_BRESLAUER&&n!=this.TABLE_UNIFIED&&n!=this.TABLE_SUGIMOTO)throw new Error("Invalid table type!");if(r||(r=this.A),o||(o=this.R),f||(f=this.C),i||(i=this.Na),a.length==0)return 0;const g=this.getDeltaHTable(n),l=this.getDeltaSTable(n),p=[];p.push(this.calculateReps(a,"aa")),p.push(this.calculateNumberOfOccurrences(a,"at")),p.push(this.calculateNumberOfOccurrences(a,"ac")),p.push(this.calculateNumberOfOccurrences(a,"ag")),p.push(this.calculateReps(a,"tt")),p.push(this.calculateNumberOfOccurrences(a,"ta")),p.push(this.calculateNumberOfOccurrences(a,"tc")),p.push(this.calculateNumberOfOccurrences(a,"tg")),p.push(this.calculateReps(a,"cc")),p.push(this.calculateNumberOfOccurrences(a,"ca")),p.push(this.calculateNumberOfOccurrences(a,"ct")),p.push(this.calculateNumberOfOccurrences(a,"cg")),p.push(this.calculateReps(a,"gg")),p.push(this.calculateNumberOfOccurrences(a,"ga")),p.push(this.calculateNumberOfOccurrences(a,"gt")),p.push(this.calculateNumberOfOccurrences(a,"gc"));let I=0,h=0;for(let m=0;m<16;m++)I=I+p[m]*g[m],h=h+p[m]*l[m];const v=-1e3*I/(r+-h+o*Math.log(f/4))-273.15+16.6*Math.LOG10E*Math.log(i);return v<0?0:v.toFixed(2)},getDeltaHTable:function(a){return a==this.TABLE_BRESLAUER?[9.1,8.6,6.5,7.8,9.1,6,5.6,5.8,11,5.8,7.8,11.9,11,5.6,6.5,11.1]:a==this.TABLE_SUGIMOTO?[8,5.6,6.5,7.8,8,5.6,5.6,5.8,10.9,8.2,6.6,11.8,10.9,6.6,9.4,11.9]:a==this.TABLE_UNIFIED?[7.9,7.2,8.4,7.8,7.9,7.2,8.2,8.5,8,8.5,7.8,10.6,8,8.2,8.4,9.8]:null},getDeltaSTable:function(a){return a==this.TABLE_BRESLAUER?[24,23.9,17.3,20.8,24,16.9,13.5,12.9,26.6,12.9,20.8,27.8,26.6,13.5,17.3,26.7]:a==this.TABLE_SUGIMOTO?[21.9,15.2,17.3,20.8,21.9,15.2,13.5,12.9,28.4,25.5,23.5,29,28.4,16.4,25.5,29]:a==this.TABLE_UNIFIED?[22.2,20.4,22.4,21,22.2,21.3,22.2,22.7,19.9,22.7,21,27.2,19.9,22.2,22.4,24.4]:null},calculateReps:function(a,n){const r=a.length;if(r==0)return 0;let o=0,f=0;for(;;){const i=a.indexOf(n,f);if(i==-1||(f=i+1,o++,f>r))break}return o},calculateNumberOfOccurrences:function(a,n){return a.length==0?0:a.split(n).length-1}},Y0=vc.calculateTemperature.bind(vc);function hi(a){return typeof a=="object"&&a!==null?mc({...a,locations:a.locations?a.locations.map(mc):void 0}):Q0(a)}function Q0(a){return Math.floor(a/3)}function mc(a){return{...a,start:a.start>-1?Math.floor(a.start/3):a.start,end:a.end>-1?Math.floor(a.end-2)/3:a.end}}function vg(a,n){return ev(a.split(""),n).join("")}function ev(a,n){return n-=a.length*Math.floor(n/a.length),a.push.apply(a,a.splice(0,n)),a}function mg(a,n,r){const o=Te(a,r);return o.sequence=vg(o.sequence,n),$r.forEach(f=>{o[f]=tv(o[f],n,o.sequence.length)}),o}function tv(a,n,r){return V.map(a,o=>({...Qf(o,n,r),locations:o.locations?o.locations.map(f=>Qf(f,n,r)):void 0})).filter(o=>!!o)}function as(a,n,r){return V.map(a,o=>({...Zf(o,n,r),...o.locations&&{locations:o.locations.map(f=>Zf(f,n,r))}}))}function ps(a,n,r,o={}){const{maintainOriginSplit:f}=o;let i=Te(n,o);const c=Te(a,o);let g=V.cloneDeep(i);const l=c.proteinSequence?c.proteinSequence.length*3:c.sequence.length;let p=r;const I=c.sequence.length===Oe(r,i.sequence.length);if(r.start>-1&&Oe(r,i.sequence.length)===i.sequence.length?(i=Te({...i,...$r.reduce((h,v)=>h[v]=[],{}),sequence:"",proteinSequence:"",chromatogramData:void 0},o),g.chromatogramData=void 0):g.chromatogramData&&g.chromatogramData.baseTraces&&(r&&r.start>-1&&(r.start>r.end?(g.chromatogramData=Xa({chromatogramData:g.chromatogramData,range:{start:r.start,end:g.sequence.length},justBaseCalls:I}),g.chromatogramData=Xa({chromatogramData:g.chromatogramData,range:{start:0,end:r.end},justBaseCalls:I})):g.chromatogramData=Xa({chromatogramData:g.chromatogramData,range:{start:r.start,end:r.end},justBaseCalls:I})),c.sequence&&nv({chromatogramData:g.chromatogramData,caretPosition:r.start>-1?r.start:r,seqToInsert:c.sequence,justBaseCalls:I})),g.sequence=Qa(i.sequence,c.sequence,r),g.size=g.sequence.length,g.proteinSequence=Qa(i.proteinSequence,c.proteinSequence,hi(r)),g.proteinSize=g.proteinSequence.length,$r.forEach(h=>{let v=i[h];if(r&&r.start>-1){const m=r;p=m.start>m.end?0:m.start,v=rv(v,m,i.sequence.length)}g[h]=[],g[h]=g[h].concat(as(v,p,l)),g[h]=g[h].concat(as(c[h],0,p))}),f&&r&&r.start>r.end){const h=i.sequence.length-r.start;return mg(g,Math.min(h,l))}return g}function rv(a,n,r){return V.map(a,o=>{const f=Jf(o,n,r),i=o.locations&&o.locations.map(c=>Jf(c,n,r)).filter(c=>!!c);return i&&i.length?{...f,start:i[0].start,end:i[i.length-1].end,...i.length>1&&{locations:i}}:f}).filter(o=>!!o)}function nv({chromatogramData:a,caretPosition:n,seqToInsert:r,justBaseCalls:o}){if(!r.length)return;if(a.baseCalls&&a.baseCalls.splice(n,0,...r.split("")),o)return a;let f=[],i=[];for(let c=0;c<r.length;c++){i.push(0);const g=[0,0,0,0,0,0,0,0,0,0,0];f.push({aTrace:g,cTrace:g,gTrace:g,tTrace:g})}return a.baseTraces&&a.baseTraces.splice(n,0,...f),a.qualNums&&a.qualNums.splice(n,0,...i),a}function Xa({chromatogramData:a,range:{start:n,end:r},justBaseCalls:o}){return["baseCalls",...o?[]:["qualNums","baseTraces","basePos"]].forEach(f=>{a[f]&&a[f].splice(n,r-n+1)}),a}function sv(a,n){return ps({},a,n)}function av(a){return a.topSnipOffset>a.site.length||a.bottomSnipOffset>a.site.length}const iv=[{aliases:["ErpI","Bme18I","BsrAI","SmuEI","FdiI","BmpI","VpaK11BI","CauI","Kzo49I","SinI","EagMI","HgiHIII","AvaII","BamNxI","AflI","FssI","Asp745I","BthAI","HgiCII","FspMSI","DsaIV","Eco47I","Csp68KI","BcuAI","HgiEI","HgiJI","HgiBI","Bme216I"],site:"ggwcc",forwardRegex:"g{2}[atw]c{2}",reverseRegex:"g{2}[atw]c{2}",topSnipOffset:1,bottomSnipOffset:4},{aliases:["Eco196I","Uba1126I","Pae17I","Ssp1725I","BacI","Eco104I","Bsp12I","Eco100I","EccI","Kpn19I","DrdFI","Cfr37I","DrdEI","DrdBI","DrdAI","DrdCI","Cfr45II","FscI","Cte1I","Pfl1108II","NlaSI","Ecl1I","Bac465I","Uba66I","NgoDIII","NgoJIII","Pae7I","Dsp1I","SseII","BscTI","MraI","Pae36I","SsmII","NlaDIII","Eco55I","Uba77I","Uba1364I","Uba1369I","Pae44I","Pae43I","Pae42I","Sfr382I","Ese3I","Ese6I","SfrI","Cfr43I","Cfr41I","Uba1234I","StaI","Uba90I","NgoKIII","Eco151I","Eco208I","Uba1306I","Ecl28I","Eco158I","TtoI","Uba1244I","Asp32HI","SboI","Eco134I","Eco135I","SenpCI","ShyI","TglI","UbaHKAI","NgoGIII","NgoMIII","Eco96I","SakI","Eco92I","Ssm5II","SaaI","SabI","Uba1111I","AosIII","Uba1113I","Eco182I","Eco99I","Uba1187I","Uba1095I","Uba1093I","Ecl37I","Uba1229I"],site:"ccgcgg",forwardRegex:"c{2}gcg{2}",reverseRegex:"c{2}gcg{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SplI","PpuAI","BvuBI","Pfl23II","PspLI","SunI","BsiWI","BpuB5I","MaeK81I"],site:"cgtacg",forwardRegex:"cgtacg",reverseRegex:"cgtacg",topSnipOffset:1,bottomSnipOffset:5},{aliases:["Uba1366II","Bsh108AI","Uba1161I","Uba1379I","BfrAI","BscVI","Uba1145I","Uba1257I","Uba1144I","Bsp145I","Apu16I","Uba1138I","Uba1286I","Bth1202I","Uba1137I","Uba1133I","Bli576I","Bsp84I","Uba1427I","BstLVI","Uba1200I","Bsp127I","Bsp126I","Bsp125I","Uba1275I","Bli585I","BazI","Uba1412I","Uba1342I","Uba1416I","Uba1195I","Uba1197I","Uba1196I","Bth9415I","Uba1295I","Uba1096I","Bco79I","Bsp2I","Uba43I","Bsp4I","Uba34I","Asp86I","Asp14I","Uba1430I","Uba1100I","Csp4I","Uba1198I","Uba1199I","Uba30I","Asp123I","Uba1246I","Uba22I","Uba24I","Asp707I","BsrCI","Uba1168I","Uba1315I","Uba1394I","Asp37I","Uba1233I","Uba1238I","Asp130I","BtuI","Uba1451I","Uba1453I","Uba1380I"],site:"atcgat",forwardRegex:"atcgat",reverseRegex:"atcgat",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Bbv12I","MspV281I","BsiHKAI","Alw21I","Bsm6I","Bsh45I","AspHI","HgiAI"],site:"gwgcwc",forwardRegex:"g[atw]gc[atw]c",reverseRegex:"g[atw]gc[atw]c",topSnipOffset:5,bottomSnipOffset:1},{aliases:["SmiMII","NflAI","Rma495II","Bsc217I","Tsp273I","Eco17I","NanI","Eco178I","BshLI","Bsp16I","Pac1110II","BsoAI","PxyARI","UbaN4I","Rma497II","Rma496II","Uba1400I","BstRI","Pfl16I"],site:"gatatc",forwardRegex:"gatatc",reverseRegex:"gatatc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Uba1223I","MthTI","Bpa36I","Bce71I","NgoCII","SagI","Bal3006I","Uba9I","NlaI","Uba1449I","HhgI","Bsu1114I","Uba1336I","Bfi458I","Uba1228I","Bsp23I","Uba1097I","Uba1214I","Tsp266I","TteAI","Uba1210I","Afl83II","BmeU1594I","Uba1322I","Bme46I","Bsp2500I","Csp2I","UbaN8I","MniI","BshAI","BshDI","BshEI","Van91III","BshBI","BshCI","Bsp2013I","HpyF10V","NgoAII","SulI","BsiDI","BsiAI","Uba1169I","NgoNII","Uba1319I","BliI","BsiHI","Uba1392I","Uba1395I","Uba1231I","BsaRI","HpyF72I","Uba1235I","Uba1450I","Bsp1261I","Tsp132I","Uba1230I","FinSI","Tsp281I","Bsp2362I","BssCI","Uba1176I","Uba1175I","Uba1174I","Uba1179I","Uba1388I","Uba1178I","BspLRI","Psp29I","BspBDG2I","Bsu1076I","PaiI","TtnI","Bse126I","Bsp137I","BstJI","HpyF69II","Uba1150I","HpyF63I","Uba1152I","Bal475I","HpyF26II","Uba1153I","Uba1155I","BhaII","Uth557I","Tsp273II","Uba1408I","Uth555I","Bco33I","PpuI","BscQI","Uba1377I","Bme74I","HpyF33II","VniI","BstCI","BluII","AspTIII","Tsp560I","Uba1146I","HpyF57I","Uba1147I","HpyF53I","BseI","Uba1140I","Bsp881I","M.H2I","HpyF73III","Vha1168I","M.Csp68KV","TspZNI","HpyF49IV","Uth549I","BspBSE18I","HpyF42I","UbaN2I","Uba1288I","Uba1209I","Uba1208I","EsaWC1I","HpyF46V","Uba1207I","Asp742I","ClmI","Bse9I","Bsp44II","Uba1429I","BspCHE15I","Uba61I","OchI","NgoSII","Uba1422I","Hpy178VII","Uba1292I","SplIII","Uba1293I","Bsp1593I","MnnII","Bsp226I","BspBake1I","AcaIV","M.NgoGII","Uba1418I","VhaI","Uba54I","BspGHA1I","BspH106II","Psb9879I","Ple214I","NgoTII","AvrBI","HpyF29I"],site:"ggcc",forwardRegex:"g{2}c{2}",reverseRegex:"g{2}c{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["ErhB9I","Afa16RI","XorII","NblI","Ple19I","RshI","BpvUI","Afa22MI","PvuI","Psu161I","EagBI","MvrI","BspCI"],site:"cgatcg",forwardRegex:"cgatcg",reverseRegex:"cgatcg",topSnipOffset:4,bottomSnipOffset:2},{aliases:["BsmRI","Ssp4800I","Bsp1407I","BstAUI","BsrGI","SspBI","AauI"],site:"tgtaca",forwardRegex:"tgtaca",reverseRegex:"tgtaca",topSnipOffset:1,bottomSnipOffset:5},{aliases:["Psp32I","Acs1422I","Acs1421I","BstZ16I","Acs1371I","Acs1372I","Acs1373I","CglAII","RhpI","RheI","Psp89I","XamI","RroI","RrhI","Uba89I","BtgAI","Psp33I","KoyI"],site:"gtcgac",forwardRegex:"gtcgac",reverseRegex:"gtcgac",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Ecl136I","Scg2I","Bme2095I","Ecl1zII","Bsp56I","Esp2I","Eco70I","Eco71I","Eco206I","Asp2HI","Eco207I","Uba1181I","M.SPRI","Eco67I","Uba1185I","Uba13I","Acc38I","Uba11I","CfrS37I","BsaNI","Uba20I","Bsp44I","Ese6II","SflHK7462I","Cdi27I","Sau16I","Uba1171I","BsiUI","Uba1243I","BsiVI","UbaN16I","Bsp103I","Uba1218I","Eco128I","BspSI","SflHK7234I","SflHK2374I","Eco170I","Cfr11I","Esp24I","M.EcoKDcm","AcuII","EagKI","Cfr5I","Bsp317I","Ecl37kII","EcaII","Uba1118I","Bst7QII","Uba1189I","HhdI","Uba1114I","Uba1193I","SflHK8401I","BstGII","Sfl2bI","Uba1410I","Sfl2aI","Kpn16I","Kpn14I","Cfr35I","Eco38I","Kpn13I","MpsI","Ecl57kI","Cfr31I","Cfr30I","EclII","Uba1120I","Uba1121I","KspHK12I","KspHK14I","Eco256I","Kpn10I","TspAI","Eco254I","BsoGI","Eco193I","Cfr28I","Cfr29I","Uba1125I","MphI","Cfr27I","Cfr25I","Cfr24I","Ecl66I","EclS39I","Uba1428I","Cfr22I","Lla497I","Cfr20I","EspHK7I","Sgr20I","Mlu2300I","BspH43I","EspHK30I","Cfr58I","Kox165I","SflHK2731I","UbaN11II","Eco60I","Ecl54kI","Eco61I","Sth455I","SflHK10790I","SflHK6873I","BinSI","Psp39I","AtuBI","Uba82I","Uba81I","Ecl137II","Eco41I","Eco40I","AtuII","SflHK1794I","Atu1I","Pca17AI","M.Bbu297I","EspHK22I"],site:"ccwgg",forwardRegex:"c{2}[atw]g{2}",reverseRegex:"c{2}[atw]g{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SspCI","NaeI","SauLPI","SauSI","SauBMKI","RrhJ1I","SauHPI","CcoI","PdiI","SauNI","Slu1777I"],site:"gccggc",forwardRegex:"gc{2}g{2}c",reverseRegex:"gc{2}g{2}c",topSnipOffset:3,bottomSnipOffset:3},{aliases:["AflIV","BstMI","Uba1158I","LlaDI","VchO49I","NmeSI","PinI","Asp763I","BsoSI","Uba1094I","BshHI"],site:"agtact",forwardRegex:"agtact",reverseRegex:"agtact",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Eco190I","Uba1280I","Uba1347I","RshII","BspJ67I","Uba1424I","Uba1423I","SflHK11086I","Asp1I","SflHK11087I","BspF105I","SflHK10695I","Uba1372I","Uba1370I","Tmu1I","Uba1378I","Uba1401I","Uba1376I","Uba1389I","Bsp55I","SflHK11572I","HgiS21I","Uba1318I","Pae181I","Eco179I","UbaN11I","Eco121I","Hin3I","Bsp7I","Bsp8I","SflHK115731I","Uba42I","Uba41I","EciDI","Ssp2I"],site:"ccsgg",forwardRegex:"c{2}[cgs]g{2}",reverseRegex:"c{2}[cgs]g{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["AgeI","CsiAI","AsiAI","AsiGI","PinAI","BshTI","CspAI"],site:"accggt",forwardRegex:"ac{2}g{2}t",reverseRegex:"ac{2}g{2}t",topSnipOffset:1,bottomSnipOffset:5},{aliases:["BtsI"],site:"gcagtg",forwardRegex:"gcagtg",reverseRegex:"cactgc",topSnipOffset:8,bottomSnipOffset:6,isType2S:!0},{aliases:["SteI","Eco147I","StuI","PceI","AatI","SarI","Pme55I","GdiI","Sru30DI","SseBI","Eco1524I","AspMI"],site:"aggcct",forwardRegex:"ag{2}c{2}t",reverseRegex:"ag{2}c{2}t",topSnipOffset:3,bottomSnipOffset:3},{aliases:["HpyF10I","HinS1I","HinS2I","Hin7I","BcaI","HinGUI","Hpy99III","Mho2965I","Csp1470I","MnnIV","CcoP95I","NgoEII"],site:"gcgc",forwardRegex:"gcgc",reverseRegex:"gcgc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BceBI","Bsp50I","BtkI","Bpu95I","Csp68KVI","BepI","MvnI","Bsh1236I","AccII","BstFNI","FnuDII","FalII","FauBII","Bsp123I","ThaI","BstUI","BspFNI","Bsu1532I"],site:"cgcg",forwardRegex:"cgcg",reverseRegex:"cgcg",topSnipOffset:2,bottomSnipOffset:2},{aliases:["TspBI","BstDSI","BtgI","DsaI"],site:"ccrygg",forwardRegex:"c{2}[agr][cty]g{2}",reverseRegex:"c{2}[agr][cty]g{2}",topSnipOffset:1,bottomSnipOffset:5},{aliases:["BecAII","BspKI","HaeIII","PlaI","BshFI","BspBRI","BspRI","SuaI","PhoI","Pde133I","SbvI","NgoPII","PalI","PflKI","BteI","SfaI","Bsp211I","DsaII","Bme361I","BsuRI","BshI","BsnI","CltI","NspLKI","MchAII","EsaBC4I","BspANI","FnuDI","BseQI","Bim19II","MfoAI","BanAI","Pru2I"],site:"ggcc",forwardRegex:"g{2}c{2}",reverseRegex:"g{2}c{2}",topSnipOffset:2,bottomSnipOffset:2},{aliases:["CceI","Bsp116I","HpyF43I","Uba1355I","Asp748I","M.Csp68KIV","Uba1128I","Uba1267I","Pme35I","SecII","Uba1141I","Bsp48I","Bsp47I","HpyVIII","BsaZI","FinII","Hin5I","SfaGUI","Msp199I","MniII","Bsu1192I","Uba1338I","Bsp5I","Bsp1591II","BshMI","UbaN13I","Uba1439I"],site:"ccgg",forwardRegex:"c{2}g{2}",reverseRegex:"c{2}g{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Cfr10I","Bse634I","BssAI","Bco118I","Bse118I","BstB7SI","BsrFI"],site:"rccggy",forwardRegex:"[agr]c{2}g{2}[cty]",reverseRegex:"[agr]c{2}g{2}[cty]",topSnipOffset:1,bottomSnipOffset:5},{aliases:["BseRI"],isType2S:!0,site:"gaggag",forwardRegex:"gag{2}ag",reverseRegex:"ctc{2}tc",topSnipOffset:16,bottomSnipOffset:14},{aliases:["MmaI","XmaII","XorI","ScoAI","VpaK29AI","XveI","Pph2066I","Asp708I","Bsp43I","Uba1399I","Eco161I","Eco83I","BloHIII","Eco167I","Uba1184I","BsaQI","Pma44I","MkrI","Ali2882I","Uba1232I","Asp36I","Pph2059I","Ecl133I","EaePI","SkaII","Bsp268I","Psp28I","Uba1115I","PmaI","Uba1116I","Ssp12I","Uba1112I","Bth9411I","Uba46I","Bsp17I","Uba1225I","Uba1294II","Uba1296I","PspSI","Ecl1zI","AinI","Uba1337I","Uba1186I","Uba1119I","SriI","UbaHKBI","Uba1213I","Uba1212I","Uba1211I","Uba1328I","Bsp107I","Uba1215I","Uba1216I","Esp141I","NasI","PmyI","PshEI","Pae24I","Pae25I","Pae22I","Ecl593I","Pae26I","Pfl37I","Uba1287I","BbiI","ClcI","Bsp108I","MauI","VchO87I","Bsp81I","BspS122I","VpaK4AI","VpaK4BI","Pae14I","Pae15I","Uba1123I","GseII","Kpn12I","SgiI","Ecl699kI","Ecl77I","Uba1411I","Srl32DI","Bsp93I","Uba1417I","XorKII","Esp5II","Eco260I","Eco261I","Srl2DI","Uba1262I","Pae40I","Pae41I","YenDI","YenEI","YenBI","YenCI","Eco49I","YenAI","BscDI","TspGWII","Eco48I","Msp11I","VpaKutGI","AspTI","Pae39I","BsaNII","Srl1DI","Uba1256I","CauIII","Sal13I","Uba1149I","Bsp78I","Bce170I","Pae9I","Pae8I","Uba72I","Psp46I","Uba71I","BmeBI","SprLI","NgbI","NocI","XphI","MizI"],site:"ctgcag",forwardRegex:"ctgcag",reverseRegex:"ctgcag",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Eco32I","HpyCI","HjaI","EcoRV","CeqI","NsiCI"],site:"gatatc",forwardRegex:"gatatc",reverseRegex:"gatatc",topSnipOffset:3,bottomSnipOffset:3},{aliases:["BspBS31I","BbsI","Bbv16II","BpiI","BstV2I","BspTS514I","BspIS4I","BstBS32I","Bsc91I","BbvII","BstTS5I","BpuAI"],isType2S:!0,site:"gaagac",forwardRegex:"ga{2}gac",reverseRegex:"gtct{2}c",topSnipOffset:8,bottomSnipOffset:12},{aliases:["BspJ64I","HpyHPK5II","Ssu212I","Ssu211I","R2.Ssu4109I","TrsSI","M.PhaTDam","Uba1204I","Bst1274I","NlaDI","TrsTI","M.Kpn43816Dam","UbaN1I","CtyI","Bth1997I","Bth1786I","AsuMBI","Mel7JI","Ssu220I","NciAI","BfiSHI","M.EcoT2Dam","SauCI","M.Ssp6803Dam","R1.Ssu11318I","SalAI","Bsp122I","SauFI","M.CjeEDam","SauGI","MspBI","SauDI","SauEI","Uba59I","SalHI","Msp67II","NmeAII","Bth1140I","BsmXII","Bth1141I","EsaLHCI","SsuRBI","NsuDI","NgoDXIV","Bsp91I","Bsp61I","Bsp60I","R2.SsuDAT1I","M.SmaII","NsiAI","Bsp65I","Bsp135I","Bsp64I","R1.SsuDAT1I","HpyAIII","Mel5TI","BthCanI","Bsp138I","Mel5OI","Bsp136I","Bsp66I","FtnUIV","BstEIII","Bth211I","Mel5JI","SinMI","M.HinHP1Dam","M.EcoEc67Dam","M.FspVDam","CcoP31I","R2.Ssu4961I","Bth84I","Cte1179I","PfaI","TruII","Uba1259I","Bsp72I","Bsp74I","Bsp147I","FnuAII","Bsp76I","Cte1180I","NflI","CdiCD6II","R1.Ssu4961I","Mel4OI","CcoP95II","Sau6782I","Bth221I","Uba1366I","Bth213I","M.HindDam","CpaPI","Mmu5I","Rlu1I","Bme2494I","BspI","CviHI","NanII","MnoIII","Sau15I","Mel3JI","R1.Ssu8074I","M.YpsADam","TdeI","BsrMI","Uba1317I","Vha44I","Bsp49I","M.HinHP2Dam","M.CviBII","R1.Ssu2479I","MthI","BsrPII","M.VvuDam","Pph288I","LlaDCHI","Tsp133I","Uba1183I","Pei9403I","Uba1182I","SmiMBI","M.StyDam","M.TpaI","M.PmuADam","MjaIII","Bth945I","Mel2TI","BsaPI","BssGII","M.NmaPhiCh1I","BtcI","Btu41I","NmeBL859I","Bsp58I","Bsp59I","M.CjeNIII","Bsp57I","Bsp54I","MmeII","Bsp52I","M.PgiI","Bsp51I","Uba1177I","NspAI","NflBI","Lsp1109II","M.EcoT1Dam","CcoP219I","Mth1047I","LlaKR2I","Cin1467I","CcoP76I","Gst1588II","M.EcoVT2Dam","NmuEI","R2.Ssu8074I","MmuP2I","Bsp18I","NmuDI","R1.Ssu4109I","Btu34I","R2.Ssu2479I","Uba4I","Btu33I","MosI","TrsKTI","Btu39I","Btu36I","M.EcoT4Dam","CjeP338I","M.Sty14028Dam","M.VchK139I","Bsp9I","Btu37I","NsuI","Uba1101I","Csp5I","R2.Ssu11318I","M.EcoP1Dam","M.StyLT2Dam","CcoP84I","Uba1323I","MeuI","M.EcoKDam","BstXII","CpfAI","M.PmuDam","Mph1103II","NflAII","MthAI"],site:"gatc",forwardRegex:"gatc",reverseRegex:"gatc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SmaAIII","EclJI","Pvu84I","Uba1129I","XorKI","DrdIII","Uba1139I","BmaDI","BmaCI","BmaBI","Cfr51I","RspI","Xgl3220I","Kpl79I","Xgl3216I","BmaI","XniI","Xgl3219I","Xgl3218I","Xgl3217I","PntI","BstZ8I","BmaAI","SplAIII","SpaPII","Cas2I","XmlAI","XmlI"],site:"cgatcg",forwardRegex:"cgatcg",reverseRegex:"cgatcg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BthII","Bth617I","BsrWI","BpuFI","Ral8I"],site:"ggatc",forwardRegex:"g{2}atc",reverseRegex:"gatc{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BfuAI","BspMI","Acc36I","BveI"],isType2S:!0,site:"acctgc",forwardRegex:"ac{2}tgc",reverseRegex:"gcag{2}t",topSnipOffset:10,bottomSnipOffset:14},{aliases:["Bst2BI","BssSI","BsiI","BauI"],site:"cacgag",forwardRegex:"cacgag",reverseRegex:"ctcgtg",topSnipOffset:1,bottomSnipOffset:5},{aliases:["NmuFI","Afa24RI","ApeAI","RluI","SaoI","AmeII","NasWI","AniMI","NmuI","Srl77DI","Esp5I","NspWI","Smo40529I","SkaI","MisI","PglI","Mlu9273II","NtaSII","NbrI","NbaI","BheI","Psp61I","AprI","SacAI","MauAI","SauAI","SalCI","Uba1122I"],site:"gccggc",forwardRegex:"gc{2}g{2}c",reverseRegex:"gc{2}g{2}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BthI","DdeII","PflNI","BbiIII","McaI","ScuI","PflWI","Pfl67I","Uba1237I","Uba1397I","SluI","Uba1166I","MecI","Sca1827I","Asp703I","Uba1248I","SdiAI","Sfu1762I","Msp23II","AhyAI","Psp4I","Asp15I","PspNI","Ssp4I","Uba1298I","Uba1448I","CjaI","Uba1335I","Sph1719I","DrdDI","SgoI","MpuI","Bsp92I","Sve194I","BadI","Uba1271I","MhaI","SpaI","Bsp129I","SgaI","AlwFII","Shy1766I","OcoI","AerAI","Uba1130I","BbfI","StaAI","Asp47I","Sgr1841I","Bsp140I","Bsp141I","SrifpI","Bsp142I","MrhI","BsuMI","SciBI","Uba1148I","Sci1831I","Eae2I","MscAI","Sal1974I","Uba1154I","SexI","BstLI","MsiI","BstHI","Bsp139I"],site:"ctcgag",forwardRegex:"ctcgag",reverseRegex:"ctcgag",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Uba1382I","Uba1415I"],site:"gaatgc",forwardRegex:"ga{2}tgc",reverseRegex:"gcat{2}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Eco97I","Eco95I","Bli161I","Eco120I","Eco127I","Eco233I","Eco185I","Eco217I","Eco225I","Eco203I","Eco156I","Eco204I","Eco155I","Eco205I","Eco157I","PpaI","Eco162I","Uba1316I","SlbI","Eco129I","Sau12I","Eco51I","Bli49I","Bli5508I","Cfr56I","VpaKutHI","Eco71KI","Eco42I","VpaK57AI","Uba84I","Rle69I","Eco263I","Eco101I","VpaK57I","Uba1343I","Bli576II","Eco191I","Uba65I","Eco239I","Eco246I","Eco247I","Eco240I","Eco241I"],site:"ggtctc",forwardRegex:"g{2}tctc",reverseRegex:"gagac{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BmrI","BfiI","BmuI"],isType2S:!0,site:"actggg",forwardRegex:"actg{3}",reverseRegex:"c{3}agt",topSnipOffset:11,bottomSnipOffset:10},{aliases:["BstRZ246I","MspSWI","BstSWI","SmiI","SwaI"],site:"atttaaat",forwardRegex:"at{3}a{3}t",reverseRegex:"at{3}a{3}t",topSnipOffset:4,bottomSnipOffset:4},{aliases:["Srl76DI","Srl19I","Srl61DI"],site:"tttaaa",forwardRegex:"t{3}a{3}",reverseRegex:"t{3}a{3}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Tsp32I","Tsp32II","TaqI","PpaAII","TthHB8I"],site:"tcga",forwardRegex:"tcga",reverseRegex:"tcga",topSnipOffset:1,bottomSnipOffset:3},{aliases:["EcoPI"],isType2S:!0,site:"agacc",forwardRegex:"agac{2}",reverseRegex:"g{2}tct",topSnipOffset:30,bottomSnipOffset:32},{aliases:["OmiBII","DsaVI"],site:"gtmkac",forwardRegex:"gt[acm][gkt]ac",reverseRegex:"gt[acm][gkt]ac",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BpuSI","BspLU11III","BstOZ616I","BslFI","FaqI","BsmFI"],isType2S:!0,site:"gggac",forwardRegex:"g{3}ac",reverseRegex:"gtc{3}",topSnipOffset:15,bottomSnipOffset:19},{aliases:["BspJ105I","VpaK13AI","Uba1314I","GspAI","Uba1249I","PolI","VpaK7AI","NspDII","BceSII","MliI","VpaK11DI","AspBII","VpaK11I","NspGI","BtiI","NspKI","VpaK11CI","Uba1304I","Bsp1260I","MfoI","Uba48I","UbaN15I","NmuAII","Uba1438I","Bsp100I","Tsp301I","BspF53I","Uba62I","ClmII","VpaK65I","AspDII","NspHII","Sgh1835I","Uba1131I","CliI","Asp697I","Uba1413I","Nli3877II","Uba1278I","Uba1272I","Bsp128I","NliII","MspAI","Bst4QI","SfnI","Uth554I","Uba1373I","Tru28I","Pfl19I","SinJI","SinHI","SinGI","SinFI","SinEI","SinDI","SinCI","SinBI","SinAI","Bsp133I","Bsp132I","SynI","TruI","Hsp2I","Bsp71I"],site:"ggwcc",forwardRegex:"g{2}[atw]c{2}",reverseRegex:"g{2}[atw]c{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["NtaSI","Uba1180I","SsvI","Uba1239I","Uba1170I","Ppu13I","VchO44I","ChyI","GobAI","Uba1217I","PluI","Uba40I","Uba1419I","Asp78I","Uba1371I","Uba1403I"],site:"aggcct",forwardRegex:"ag{2}c{2}t",reverseRegex:"ag{2}c{2}t",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BseGI","BstF5I","BtsCI"],site:"ggatg",forwardRegex:"g{2}atg",reverseRegex:"catc{2}",topSnipOffset:7,bottomSnipOffset:5,isType2S:!0},{aliases:["AvrII","AspA2I","XmaJI","BlnI","AvrBII","BspA2I"],site:"cctagg",forwardRegex:"c{2}tag{2}",reverseRegex:"c{2}tag{2}",topSnipOffset:1,bottomSnipOffset:5},{aliases:["BspKT8I","SsbI","BspLAIII","LlaCI","BstFI","HindIII","HsuI","BbrI","EcoVIII"],site:"aagctt",forwardRegex:"a{2}gct{2}",reverseRegex:"a{2}gct{2}",topSnipOffset:1,bottomSnipOffset:5},{aliases:["NsbI","Acc16I","PamI","Pun14627I","MstI","AosI","FspI","AviII","FdiII"],site:"tgcgca",forwardRegex:"tgcgca",reverseRegex:"tgcgca",topSnipOffset:3,bottomSnipOffset:3},{aliases:["Ecl136II","BpuAmI","MxaI","Eco53kI","EcoICRI"],site:"gagctc",forwardRegex:"gagctc",reverseRegex:"gagctc",topSnipOffset:3,bottomSnipOffset:3},{aliases:["TtmI","TspWAM8AI","HpyF74II","HpyF35II","TspIDSI","HpyF13III"],site:"acgt",forwardRegex:"acgt",reverseRegex:"acgt",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BseZI","Ksp632I","EarI","Eam1104I","Bsu6I","Bst6I","CatHI","Bco116I","Bco5I","BcoKI"],isType2S:!0,site:"ctcttc",forwardRegex:"ctct{2}c",reverseRegex:"ga{2}gag",topSnipOffset:7,bottomSnipOffset:10},{aliases:["Msp24I","BsaSI","HpyF73IV","MjaII","VpaK15I","TdeIII","Sau557I","Sau17I","GseI","Bfi105I","Eco201I","CfrNI","Sau13I","Sau14I","Bse54I","Eco196II","VpaK25I","Uba1164I","NlaDII","Cfr4I","Cfr8I","CdiCD6I","AhaB1I","MthBI","Pph1579I","Pph1773I","Hin5II","Sau32I","VpaK9AI","Sau33I","Uba1099I","NmuSI","SauBI","VchO85I","Sau5I","Cfr33I","Eco39I","Sau2I","ApuI","VchO90I","PspI","Uba1134I","BpsI","Cfr23I","MhoI","PseI","Eco47II","HpyF71II","VpaK19AI","VpaK19BI","SdyI","NmuEII","Cfr52I","Cfr54I","NspLII","VpaKutBI","CdiAI","VpaKutAI","Bsu5044I","HpyF66I","SelAI","Cfr46I","Cfr47I","Cfr45I","Uba1160I","VchO66I","VpaKutJI"],site:"ggncc",forwardRegex:"g{2}[abcdghkmnrstvwy]c{2}",reverseRegex:"g{2}[abcdghkmnrstvwy]c{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Cpa1150I","PflAI","TmaI","BceRI","FspMI","MvaAI","Uba1446I","Bsu1193I","EsaBS9I","HpyF52II","Bsu1192II","HpyF14I","HpyF15I","Uba1321I","HpyF64IV","SceAI","HpyF26I","BspJ76I","Bce31293I","BsuEII","Hin1056I","Uba1405I","Uba1404I","Bsu6633I","CpaAI","Bsp70I"],site:"cgcg",forwardRegex:"cgcg",reverseRegex:"cgcg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["TseI","ApeKI","AceI","Taq52I","SuiI"],site:"gcwgc",forwardRegex:"gc[atw]gc",reverseRegex:"gc[atw]gc",topSnipOffset:1,bottomSnipOffset:4},{aliases:["Asp27HI","Asp26HI","PctI","Asp40HI","BsaMI","BscCI","BsmI","BmaHI","Mva1269I","Asp50HI","Asp36HI","Asp35HI"],site:"gaatgc",forwardRegex:"ga{2}tgc",reverseRegex:"gcat{2}c",topSnipOffset:7,bottomSnipOffset:5},{aliases:["Uba51I","M.BamHII","Uba1414I","Uba1346I","Bsu8646I","AcaII","SpvI","BamNI","GdoI","UbaN3I","BamKI","Uba1205I","BamFI","BsuB519I","Bst2902I","Rlu4I","Ali12257I","Ali12258I","Uba1250I","RhsI","Psp56I","Uba1258I","Bsp144I","AinII","Bco10278I","Uba88I","Uba1402I","Bca1259I","Bsp90II","Bsp131I","Bsp130I","BstQI","MleI","Uba1383I","Uba1302I","GinI","Uba19I","Bst2464I","Uba1167I","GseIII","Uba1163I","BsaDI","Pac1110I","Bsp46I","Uba1398I","Uba1173I","Uba1242I","Uba1172I","NasBI","UbaN14I","GoxI","AaeI","Uba31I","DdsI","Uba1324I","Bsp30I","Uba1325I","AspTII","Uba38I","AacLI","Pae177I","Uba1098I","BsuB763I","Uba1339I","Uba1297I","Uba1334I","Bst1126I","Uba1224I","Atu1II","Bsu8565I","Bsu90I"],site:"ggatcc",forwardRegex:"g{2}atc{2}",reverseRegex:"g{2}atc{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SpaPIII","PvuHKUI","MziI","SciAII","SplAIV","Sol3335I","Bth2350I","GspI","Uba1245I","Uba1227I","SmaAIV","Psp3I","SbaI","Psp5I"],site:"cagctg",forwardRegex:"cagctg",reverseRegex:"cagctg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BspZEI","BscI","Bsa29I","PgaI","BspOVII","ClaI","BseCI","Bli41I","BavCI","BciBI","LplI","SpmI","Ssp27144I","ZhoI","BspDI","BanIII","BsuTUI","BshVI","BspXI","BstNZ169I","Bsu15I","BspJII","AagI","Bsp106I","Bli86I","BliAI","Bst28I","BbvAII","BsiXI","BcmI","BliRI","Bci29I","LcaI","Rme21I","BdiI"],site:"atcgat",forwardRegex:"atcgat",reverseRegex:"atcgat",topSnipOffset:2,bottomSnipOffset:4},{aliases:["BspJ74I","Bco35I","Bth1795I","Uba1444I","Bsp22I","Bsp28I","Uba1437I"],site:"ctggag",forwardRegex:"ctg{2}ag",reverseRegex:"ctc{2}ag",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SolI","Bsp98I","Bce751I","Uba4009I","BamHI","RspLKII","SurI","BstI","OkrAI","ApaCI","Nsp29132II","BspAAIII","CelI","AliI","AsiI","GstI","Mlu23I","NspSAIV","Pfl8I","BnaI","AccEBI","Bsp4009I"],site:"ggatcc",forwardRegex:"g{2}atc{2}",reverseRegex:"g{2}atc{2}",topSnipOffset:1,bottomSnipOffset:5},{aliases:["M.NgoHVIII","NgoMVIII","NgoJVIII","NgoBVIII","NgoDVIII"],site:"ggtga",forwardRegex:"g{2}tga",reverseRegex:"tcac{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["HpyF13I","HpyF1I","HpyF4I","HpyF6II","HpyF9I","HpyF31II","HpyF49II","HpyF51I","HpyF34II","HpyF48I","HpyF62III","HpyF40III","HpyF25II","Hpy99II","Hpy8II","HpyF35IV","HpyF36I"],site:"gtsac",forwardRegex:"gt[cgs]ac",reverseRegex:"gt[cgs]ac",topSnipOffset:1,bottomSnipOffset:1},{aliases:["PsyI","BgiI","TelI","Tth111I","AspI","PflFI","AtsI"],site:"gacnnngtc",forwardRegex:"gac[abcdghkmnrstvwy]{3}gtc",reverseRegex:"gac[abcdghkmnrstvwy]{3}gtc",topSnipOffset:4,bottomSnipOffset:5},{aliases:["PfaAI","AccB1I","HgiHI","HgiCI","BspT107I","MspB4I","BanI","BshNI","Eco64I","BbvBI"],site:"ggyrcc",forwardRegex:"g{2}[cty][agr]c{2}",reverseRegex:"g{2}[cty][agr]c{2}",topSnipOffset:1,bottomSnipOffset:5},{aliases:["BspMAI","CflI","Psp23I","BspBI","AliAJI","Srl5DI","MhaAI","CfrA4I","Ecl2zI","AjoI","Sag16I","PstI","Sag23I","Ecl37kI","Pfl21I","ApiI","Sst12I","SalPI","CstI","YenI","Bsp63I","BloHII","CfuII","PaePI","SflI","HalII","BsuBI","Asp713I"],site:"ctgcag",forwardRegex:"ctgcag",reverseRegex:"ctgcag",topSnipOffset:5,bottomSnipOffset:1},{aliases:["SvoI","PsuNI"],site:"crccggyg",forwardRegex:"c[agr]c{2}g{2}[cty]g",reverseRegex:"c[agr]c{2}g{2}[cty]g",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SphI","BbuI","PaeI","SpaHI","RspLKI","PfaAIII"],site:"gcatgc",forwardRegex:"gcatgc",reverseRegex:"gcatgc",topSnipOffset:5,bottomSnipOffset:1},{aliases:["PspN4I","BspLI","BmiI","AspNI","BscBI","NlaIV"],site:"ggnncc",forwardRegex:"g{2}[abcdghkmnrstvwy]{2}c{2}",reverseRegex:"g{2}[abcdghkmnrstvwy]{2}c{2}",topSnipOffset:3,bottomSnipOffset:3},{aliases:["HpyHPK5I","HpyF32I","HpyF34I","HpyHI","HpyF25I","HpyF27I","HpyF24II","HpyF37I","HpyF13II","HpyF60II","HpyF59I","HpyF68II","HpyF4II","Bpa36II","HpyF67I","HpyF41II","HpyF64V","Bst295I","BscPI","HpyF70I","HpyF5I","HpyF7I","HpyF66II","HpyF6III","HpyF72II","HpyF30II","HpyF11I","HpyF19I","HpyF22II","HpyCH4II","HpyF9II","HpyF21I"],site:"ctnag",forwardRegex:"ct[abcdghkmnrstvwy]ag",reverseRegex:"ct[abcdghkmnrstvwy]ag",topSnipOffset:1,bottomSnipOffset:1},{aliases:["HpyF51II","HpyF74I","HpyF42II","HpyF35III","HpyF9III","HpyF64II","HpyF20I","HpyF22I","HpyF12I","HpyF41I","HpyF40I","HpyF46I","HpyF56I","HpyF58I","HpyF55I","HpyF54I","HpyF5II","HpyF48II","HpyF69I","HpyF68I","HpyF65I","HpyF62I"],site:"acngt",forwardRegex:"ac[abcdghkmnrstvwy]gt",reverseRegex:"ac[abcdghkmnrstvwy]gt",topSnipOffset:1,bottomSnipOffset:1},{aliases:["HpyF15II","HpyF17I","HpyF64III","HpyF50II","HpyF61I","HpyF11II","HpyF27II","HpyF12II","HpyF46IV","Hpy166I","HpyF42III","HpyF33I","HpyF28I","HpyF19II"],site:"tcnga",forwardRegex:"tc[abcdghkmnrstvwy]ga",reverseRegex:"tc[abcdghkmnrstvwy]ga",topSnipOffset:1,bottomSnipOffset:1},{aliases:["EclRI","TspMI","Pac25I","XmaCI","EaeAI","AhyI","XmaI","Cfr9I","PspAI","XcyI"],site:"cccggg",forwardRegex:"c{3}g{3}",reverseRegex:"c{3}g{3}",topSnipOffset:1,bottomSnipOffset:5},{aliases:["XapI","CfaI","FsiI","ApoI","AcsI"],site:"raatty",forwardRegex:"[agr]a{2}t{2}[cty]",reverseRegex:"[agr]a{2}t{2}[cty]",topSnipOffset:1,bottomSnipOffset:5},{aliases:["SenPI","HpyNI","Bsp548I","LlaMI","Eco51II","Eco43I","BsoI","Bsp73I","Eco200I","Eco85I","BsaCI","Eco80I","Uba17I","Uba1391I","Eco153I","Bsp53I","Eco93I"],site:"ccngg",forwardRegex:"c{2}[abcdghkmnrstvwy]g{2}",reverseRegex:"c{2}[abcdghkmnrstvwy]g{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Tsp49I","TaiI","TscI"],site:"acgt",forwardRegex:"acgt",reverseRegex:"acgt",topSnipOffset:4,bottomSnipOffset:0},{aliases:["DraII","EcoO109I"],site:"rggnccy",forwardRegex:"[agr]g{2}[abcdghkmnrstvwy]c{2}[cty]",reverseRegex:"[agr]g{2}[abcdghkmnrstvwy]c{2}[cty]",topSnipOffset:2,bottomSnipOffset:5},{aliases:["Ssp34I","AcaI","Bsp151I","Uba1452I","Ssp48I","Ssp47I","BpuHI","NspJI","Uba1385I","Rma376I","NspFI","Ssp45I","NspBI","Ssp42I","Ssp43I","Ssp14I","Psc27I","Psc28I","BspH22I","Afl83I","Bsp101I","Ssp152I","Bsp102I","Bsp104I","Mva16I","Bsp241I","Rma523I","Bsp82I","Sgr1839I","OspI","Bsp90I","AviI","BspH106I","BspH103I","Bsp148I","Nsp29132I"],site:"ttcgaa",forwardRegex:"t{2}cga{2}",reverseRegex:"t{2}cga{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["CjuII"],site:"caynnnnnctc",forwardRegex:"ca[cty][abcdghkmnrstvwy]{5}ctc",reverseRegex:"gag[abcdghkmnrstvwy]{5}[agr]tg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["UbaN6II","BstNSII","Bst7QI","AspDI","AspBI","AvrI","EspHK29I","NspDI","NspEI","AcrI","Uba1205II","Gst1588I","BstZ4I","Uba1436I","BstBAII","Umi5I","NliI","NmuAI","Uba1440I"],site:"cycgrg",forwardRegex:"c[cty]cg[agr]g",reverseRegex:"c[cty]cg[agr]g",topSnipOffset:1,bottomSnipOffset:1},{aliases:["AdeI","DraIII","BstIZ316I"],site:"cacnnngtg",forwardRegex:"cac[abcdghkmnrstvwy]{3}gtg",reverseRegex:"cac[abcdghkmnrstvwy]{3}gtg",topSnipOffset:6,bottomSnipOffset:3},{aliases:["Uba153AI","BavAI","BavBI","BspO4I","BamGI","BavI","EclI","Pvu84II","BspM39I","UbaM39I","NmeRI","PvuII","DmaI","Bsp153AI","Pun14627II","Cfr6I","Pae17kI"],site:"cagctg",forwardRegex:"cagctg",reverseRegex:"cagctg",topSnipOffset:3,bottomSnipOffset:3},{aliases:["Ava458I","Cfr38I","Cfr39I","KspHK15I","Cfr40I","EspHK24I","Cfr55I","EcoHAI","Cfr59I","Eco164I","EspHK16I","Uba1188I","EciBI","Eco90I","Uba1327I","Cfr14I","Uba36I"],site:"yggccr",forwardRegex:"[cty]g{2}c{2}[agr]",reverseRegex:"[cty]g{2}c{2}[agr]",topSnipOffset:1,bottomSnipOffset:1},{aliases:["MchAI","CspBI","NotI","CsiBI","CciNI"],site:"gcggccgc",forwardRegex:"gcg{2}c{2}gc",reverseRegex:"gcg{2}c{2}gc",topSnipOffset:2,bottomSnipOffset:6},{aliases:["BscKI","Rtr20I","BspVI","Bco102II","BsaVI"],site:"gaagac",forwardRegex:"ga{2}gac",reverseRegex:"gtct{2}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["AspMDI","BfuCI","NlaII","HacI","CcyI","FnuEI","FnuCI","NdeII","RalF40I","BstMBI","Sth368I","SauMI","Kzo9I","MgoI","MboI","NphI","Bsp67I","BscFI","LlaAI","Bsp143I","DpnII","CviAI","Bme12I","PbrTI","CpfI","NmeCI","SsiBI","SsiAI","Bfi57I","Bst19II","BstENII","BssMI","MkrAI","BspAI","BspFI","BtkII","BspJI","CacI","Bsp2095I","BspKMI","Sau3AI","Bce243I","Bsp105I"],site:"gatc",forwardRegex:"gatc",reverseRegex:"gatc",topSnipOffset:0,bottomSnipOffset:4},{aliases:["EcoprrI"],site:"ccannnnnnnrtgc",forwardRegex:"c{2}a[abcdghkmnrstvwy]{7}[agr]tgc",reverseRegex:"gca[cty][abcdghkmnrstvwy]{7}tg{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Cfr48I","Ese4I","BscMI","Uba1409I","Eco262I","Uba1159I","Uba1264I","Uba1263I","Uba1363I","Uba1142I","Uba1357I","Uba1421I","Eco26I","Eco25I","Bsp117I","Uba1206I","Eco249I","Eco35I","Uba57I","Uba1124I","OmiAI","OmiBI","Eco113I","Eco215I","Eco216I","Eco180I","Uba1330I","EcoT88I","Uba1329I","Ppu20I","Eco232I","Uba39I","BstZ7I","Uba1307I","EcoT95I","EcoT93I","Eco68I","Psp31I","Eco211I"],site:"grgcyc",forwardRegex:"g[agr]gc[cty]c",reverseRegex:"g[agr]gc[cty]c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["PaeR7I","PanI","BluI","BssHI","TliI","Sol10179I","StrI","SauLPII","SlaI","AbrI","Sfr274I","EscI","Sbi68I","Sau3239I","MavI","CcrI","BspAAI","MlaAI","XpaI","BstVI","XhoI"],site:"ctcgag",forwardRegex:"ctcgag",reverseRegex:"ctcgag",topSnipOffset:1,bottomSnipOffset:5},{aliases:["MchI","Mly113I","NarI","NunII","SseAI","NdaI"],site:"ggcgcc",forwardRegex:"g{2}cgc{2}",reverseRegex:"g{2}cgc{2}",topSnipOffset:2,bottomSnipOffset:4},{aliases:["EgeI","Eco78I","DinI","SfoI","EheI"],site:"ggcgcc",forwardRegex:"g{2}cgc{2}",reverseRegex:"g{2}cgc{2}",topSnipOffset:3,bottomSnipOffset:3},{aliases:["M.AtuCI","HpyF72III","HpyF38I","HpyF44I","HpyAIV","M.BabI","HpyF55II","HpyF2II","HpyIV","NcaI","NsiHI","HpyF60I","CviEI","CviFI","CviCI","M.SmeI","CviDI","CviGI","HpyF10II","HpyF71III","Hpy87AI","HpyF18I","NovII"],site:"gantc",forwardRegex:"ga[abcdghkmnrstvwy]tc",reverseRegex:"ga[abcdghkmnrstvwy]tc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Bsp6I","SatI","Uur960I","ItaI","Fsp4HI","Fnu4HI","BisI","FbrI","GluI","BsoFI"],site:"gcngc",forwardRegex:"gc[abcdghkmnrstvwy]gc",reverseRegex:"gc[abcdghkmnrstvwy]gc",topSnipOffset:2,bottomSnipOffset:3},{aliases:["BsoDI","Tsp504I","TauII"],site:"cggccg",forwardRegex:"cg{2}c{2}g",reverseRegex:"cg{2}c{2}g",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Hpy178II","TceI","HpyAII","HpyII"],site:"gaaga",forwardRegex:"ga{2}ga",reverseRegex:"tct{2}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["PfeI","TfiI"],site:"gawtc",forwardRegex:"ga[atw]tc",reverseRegex:"ga[atw]tc",topSnipOffset:1,bottomSnipOffset:4},{aliases:["NspIII","BsoBI","AvaI","PunAI","NspSAI","BstSI","BcoI","BmeT110I","PlaAI","Bse15I","OfoI","AquI","Eco88I","BspLU4I","Ama87I","Eco27kI","BsiHKCI"],site:"cycgrg",forwardRegex:"c[cty]cg[agr]g",reverseRegex:"c[cty]cg[agr]g",topSnipOffset:1,bottomSnipOffset:5},{aliases:["SdeAI"],site:"cagrag",forwardRegex:"cag[agr]ag",reverseRegex:"ct[cty]ctg",topSnipOffset:27,bottomSnipOffset:25,isType2S:!0},{aliases:["BcoDI","BsoMAI","BsmAI","Alw26I","BstMAI"],site:"gtctc",forwardRegex:"gtctc",reverseRegex:"gagac",topSnipOffset:6,bottomSnipOffset:10,isType2S:!0},{aliases:["SauHI","Uba1294I","BseG73I","Uba1184II","PxyMZI","AsuSAI","SecIII","Bli643I","Eco76I","Bst29I","Eco110kI","BstZ6I","Eco118I","Bst30I","EciCI","Eco115I","Uba1333I","Uba1332I"],site:"cctnagg",forwardRegex:"c{2}t[abcdghkmnrstvwy]ag{2}",reverseRegex:"c{2}t[abcdghkmnrstvwy]ag{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["HpyF44IV","HpyCH4VI","HpyF16II","HpyF22III","HpyF19III","HpyNSH57II"],site:"tcnnga",forwardRegex:"tc[abcdghkmnrstvwy]{2}ga",reverseRegex:"tc[abcdghkmnrstvwy]{2}ga",topSnipOffset:1,bottomSnipOffset:1},{aliases:["OtuI","MarI","OtuNI","Uba1433I","Uba1441I","Mho2111I","BsaLI","OxaI"],site:"agct",forwardRegex:"agct",reverseRegex:"agct",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BfoI","Bsp143II","BstH2I","AccB2I","HaeII"],site:"rgcgcy",forwardRegex:"[agr]gcgc[cty]",reverseRegex:"[agr]gcgc[cty]",topSnipOffset:5,bottomSnipOffset:1},{aliases:["Eco57I","BspKT5I","AcuI"],site:"ctgaag",forwardRegex:"ctga{2}g",reverseRegex:"ct{2}cag",topSnipOffset:22,bottomSnipOffset:20,isType2S:!0},{aliases:["Uba1276I","TdeII","VpaO5I","Bst158I","UbaN7I","BcrAI","VpaKutEI","VpaKutFI","BsrEI","Uba1192I","BcoSI"],site:"ctcttc",forwardRegex:"ctct{2}c",reverseRegex:"ga{2}gag",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SsoII","StyD4I","BstSCI","Eco137kI","Ecl18kI","BstMZ611I","Eco13kI","BssKI","DsaV","Eco21kI","Kpn2kI"],site:"ccngg",forwardRegex:"c{2}[abcdghkmnrstvwy]g{2}",reverseRegex:"c{2}[abcdghkmnrstvwy]g{2}",topSnipOffset:0,bottomSnipOffset:5},{aliases:["BsmXI","BsmDI","BsmCI"],site:"acnnnnnctcc",forwardRegex:"ac[abcdghkmnrstvwy]{5}ctc{2}",reverseRegex:"g{2}ag[abcdghkmnrstvwy]{5}gt",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Uba1426I","Uba1420I","TrsTII","Uba1374I","BscLI","Uba1266I","VfiI","BsaFI","Uba1313I","Uba1312I","Uba1299I","Uba1331I","Uba1443I","Cfr92I"],site:"cttaag",forwardRegex:"ct{2}a{2}g",reverseRegex:"ct{2}a{2}g",topSnipOffset:1,bottomSnipOffset:1},{aliases:["EcaI","BstEII","AspAI","Eci125I","BstT9I","Bse64I","AcrII","BstPI","BseT9I","NspSAII","BsiKI","EcoO128I","BstT10I","Eco91I","BseT10I","EcoO65I","PspEI"],site:"ggtnacc",forwardRegex:"g{2}t[abcdghkmnrstvwy]ac{2}",reverseRegex:"g{2}t[abcdghkmnrstvwy]ac{2}",topSnipOffset:1,bottomSnipOffset:6},{aliases:["HpyAV","Hin4II"],site:"ccttc",forwardRegex:"c{2}t{2}c",reverseRegex:"ga{2}g{2}",topSnipOffset:11,bottomSnipOffset:10,isType2S:!0},{aliases:["BseII","BsaKI","Uba1408II","MwhI"],site:"gttaac",forwardRegex:"gt{2}a{2}c",reverseRegex:"gt{2}a{2}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Sse8387I","SdaI","SbfI"],site:"cctgcagg",forwardRegex:"c{2}tgcag{2}",reverseRegex:"c{2}tgcag{2}",topSnipOffset:6,bottomSnipOffset:2},{aliases:["SacII","CscI","SpuI","PaeAI","GceI","SchZI","SstII","Cfr42I","PaeQI","Eae46I","Pae14kI","RaqI","Mpr154I","GalI","NgoAIII","GceGLI","Eco29kI","Sfr303I","Pae5kI","NgoPIII","SenPT14bI","SgrBI","KspI","SexBI","SexCI","Kpn378I"],site:"ccgcgg",forwardRegex:"c{2}gcg{2}",reverseRegex:"c{2}gcg{2}",topSnipOffset:4,bottomSnipOffset:2},{aliases:["BpuNI","FinI","BscWI"],site:"gggac",forwardRegex:"g{3}ac",reverseRegex:"gtc{3}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Uba1431I","SseI","Umi7I","Uba1447I","PovI","CpeI","BceDI","BmeTI","Bco102I","AtuSI","M.TaeII","Bst77I","BstKI","BstGI","SstIV","Uba1282I","CthI","Uba1283I","BstZ10II"],site:"tgatca",forwardRegex:"tgatca",reverseRegex:"tgatca",topSnipOffset:1,bottomSnipOffset:1},{aliases:["MaeIII"],site:"gtnac",forwardRegex:"gt[abcdghkmnrstvwy]ac",reverseRegex:"gt[abcdghkmnrstvwy]ac",topSnipOffset:0,bottomSnipOffset:5},{aliases:["Eco646I","Eco1341I","Eco1413I","Eco1432I","Eco1424I","Eco1422I","Eco1383I"],site:"ccannnnnnncttc",forwardRegex:"c{2}a[abcdghkmnrstvwy]{7}ct{2}c",reverseRegex:"ga{2}g[abcdghkmnrstvwy]{7}tg{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["MvaI","Bst1I","Bst2I","BsiLI","CthII","Sth302I","BshGI","BspNI","TaqXI","Bse17I","Bse16I","Bst2UI","Bse24I","Bst38I","SslI","BciBII","AglI","BthDI","BthEI","ApyI","ZanI","CbrI","BstM6I","BptI","AorI","ApaORI","BseBI","Fsp1604I","AeuI","Sth117I","SniI","Bst100I","BstOI","BstNI"],site:"ccwgg",forwardRegex:"c{2}[atw]g{2}",reverseRegex:"c{2}[atw]g{2}",topSnipOffset:2,bottomSnipOffset:3},{aliases:["Bco27I","CboI","MspI","BsuFI","BsiSI","Pde137I","HpaII","Sth134I","Hin2I","Bst40I","HapII","MnoI"],site:"ccgg",forwardRegex:"c{2}g{2}",reverseRegex:"c{2}g{2}",topSnipOffset:1,bottomSnipOffset:3},{aliases:["Uba1368I","Uba1156I","Uba1157I","Uba1202I","EciEI","Psp30I","Uba1165I","Uba1241I"],site:"gggccc",forwardRegex:"g{3}c{3}",reverseRegex:"g{3}c{3}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SduI","BsoCI","BspLS2I","MhlI","Bsp1286I","BmyI","NspII","AocII"],site:"gdgchc",forwardRegex:"g[adgkrtw]gc[achmtwy]c",reverseRegex:"g[adgkrtw]gc[achmtwy]c",topSnipOffset:5,bottomSnipOffset:1},{aliases:["KspAI","BstEZ359I","BstHPI","SsrI","HpaI"],site:"gttaac",forwardRegex:"gt{2}a{2}c",reverseRegex:"gt{2}a{2}c",topSnipOffset:3,bottomSnipOffset:3},{aliases:["SfiI","SdiI"],site:"ggccnnnnnggcc",forwardRegex:"g{2}c{2}[abcdghkmnrstvwy]{5}g{2}c{2}",reverseRegex:"g{2}c{2}[abcdghkmnrstvwy]{5}g{2}c{2}",topSnipOffset:8,bottomSnipOffset:5},{aliases:["LlaG2I","NheI","PstNHI","AsuNHI"],site:"gctagc",forwardRegex:"gctagc",reverseRegex:"gctagc",topSnipOffset:1,bottomSnipOffset:5},{aliases:["AluBI","AluI","MltI"],site:"agct",forwardRegex:"agct",reverseRegex:"agct",topSnipOffset:2,bottomSnipOffset:2},{aliases:["HpyF49V","HpyF36III","M.CviSI","HpyF48III","HpyJP26I","HpyF38II","HpyF45II","HpyF67II","Hpy26I"],site:"tgca",forwardRegex:"tgca",reverseRegex:"tgca",topSnipOffset:1,bottomSnipOffset:1},{aliases:["DraRI"],site:"caagnac",forwardRegex:"ca{2}g[abcdghkmnrstvwy]ac",reverseRegex:"gt[abcdghkmnrstvwy]ct{2}g",topSnipOffset:27,bottomSnipOffset:25,isType2S:!0},{aliases:["Eco1265I","Eco1441I","Eco1443I","Eco1447I","Eco1158I","Eco14444I","EcoBI"],site:"tgannnnnnnntgct",forwardRegex:"tga[abcdghkmnrstvwy]{8}tgct",reverseRegex:"agca[abcdghkmnrstvwy]{8}tca",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BbeAI","PmnI","McaAI","NamI","PatAI","MsaI"],site:"ggcgcc",forwardRegex:"g{2}cgc{2}",reverseRegex:"g{2}cgc{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BstC8I","Cac8I"],site:"gcnngc",forwardRegex:"gc[abcdghkmnrstvwy]{2}gc",reverseRegex:"gc[abcdghkmnrstvwy]{2}gc",topSnipOffset:3,bottomSnipOffset:3},{aliases:["EsaBC3I"],site:"tcga",forwardRegex:"tcga",reverseRegex:"tcga",topSnipOffset:2,bottomSnipOffset:2},{aliases:["Pfr12I","AmeI","Bsp146I","Uba1203I","Pfl23I","PliI","AaqI","DaqI","ScoNI","Uba1387I"],site:"gtgcac",forwardRegex:"gtgcac",reverseRegex:"gtgcac",topSnipOffset:1,bottomSnipOffset:1},{aliases:["AccIII","PinBII","CauB3I","MroI","Aor13HI","BseAI","Bsp13I","Kpn2I","PtaI","BspEI","Bsu23I","BsiMI","BlfI","BbvAIII","BspMII"],site:"tccgga",forwardRegex:"tc{2}g{2}a",reverseRegex:"tc{2}g{2}a",topSnipOffset:1,bottomSnipOffset:5},{aliases:["Eco1342I","Eco1344I","EcoKI","Eco1394I"],site:"aacnnnnnngtgc",forwardRegex:"a{2}c[abcdghkmnrstvwy]{6}gtgc",reverseRegex:"gcac[abcdghkmnrstvwy]{6}gt{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["NgoJI","NgoGI","NgoMI","HinHI","NgoAI","NgoBI","M.NgoEI","NgoCI","NgoWI","Bst16I","Btu34II","Bst1473II","BsmHI"],site:"rgcgcy",forwardRegex:"[agr]gcgc[cty]",reverseRegex:"[agr]gcgc[cty]",topSnipOffset:1,bottomSnipOffset:1},{aliases:["MboII","NcuI"],site:"gaaga",forwardRegex:"ga{2}ga",reverseRegex:"tct{2}c",topSnipOffset:13,bottomSnipOffset:12,isType2S:!0},{aliases:["Eco188I","Eco98I","Uba1435I","Hin5III","Uba1219I","UbaN17I","SpaPIV","Eco231I","BstZ1II","Csp231I","Eco65I","HinbIII","ChuEI","Asp52I","Asp3065I","Uba83I","HinfII","MkiI","HinJCII","BsmGII","Hin1076III","HinSAFI","Hin173I","Uba1164II","BseHI","BbrAI","Bst170II","BpeI","Cfr32I"],site:"aagctt",forwardRegex:"a{2}gct{2}",reverseRegex:"a{2}gct{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["StsI"],site:"ggatg",forwardRegex:"g{2}atg",reverseRegex:"catc{2}",topSnipOffset:15,bottomSnipOffset:19,isType2S:!0},{aliases:["BstZ2I","Uba1191I","Uba1190I"],site:"gacnnnnngtc",forwardRegex:"gac[abcdghkmnrstvwy]{5}gtc",reverseRegex:"gac[abcdghkmnrstvwy]{5}gtc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Hin6I","HinP1I","HsoI","HspAI","SciNI","BbtI"],site:"gcgc",forwardRegex:"gcgc",reverseRegex:"gcgc",topSnipOffset:1,bottomSnipOffset:3},{aliases:["PmdI"],site:"cctcagc",forwardRegex:"c{2}tcagc",reverseRegex:"gctgag{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BcefI"],site:"acggc",forwardRegex:"acg{2}c",reverseRegex:"gc{2}gt",topSnipOffset:17,bottomSnipOffset:18,isType2S:!0},{aliases:["Eco52I","BstZI","EagI","XmaIII","BseX3I","EclXI","AaaI","SenPT16I"],site:"cggccg",forwardRegex:"cg{2}c{2}g",reverseRegex:"cg{2}c{2}g",topSnipOffset:1,bottomSnipOffset:5},{aliases:["BsaJI","SecI","BssECI","BseDI"],site:"ccnngg",forwardRegex:"c{2}[abcdghkmnrstvwy]{2}g{2}",reverseRegex:"c{2}[abcdghkmnrstvwy]{2}g{2}",topSnipOffset:1,bottomSnipOffset:5},{aliases:["CciI","RspXI","BspHI","PagI","RcaI"],site:"tcatga",forwardRegex:"tcatga",reverseRegex:"tcatga",topSnipOffset:1,bottomSnipOffset:5},{aliases:["FseI","RigI"],site:"ggccggcc",forwardRegex:"g{2}c{2}g{2}c{2}",reverseRegex:"g{2}c{2}g{2}c{2}",topSnipOffset:6,bottomSnipOffset:2},{aliases:["BstMWI","HpyF10VI","Bce4I","BceCI","BspWI","MwoI"],site:"gcnnnnnnngc",forwardRegex:"gc[abcdghkmnrstvwy]{7}gc",reverseRegex:"gc[abcdghkmnrstvwy]{7}gc",topSnipOffset:7,bottomSnipOffset:4},{aliases:["HpyF10III","Uba1442I","HpyF67IV","BstZ10I","BsoKI","HpyF61II","Hpy99IV"],site:"ccnngg",forwardRegex:"c{2}[abcdghkmnrstvwy]{2}g{2}",reverseRegex:"c{2}[abcdghkmnrstvwy]{2}g{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Aor51HI","FunI","Eco47III","AitI","AfeI"],site:"agcgct",forwardRegex:"agcgct",reverseRegex:"agcgct",topSnipOffset:3,bottomSnipOffset:3},{aliases:["MlyI","SchI"],site:"gagtc",forwardRegex:"gagtc",reverseRegex:"gactc",topSnipOffset:10,bottomSnipOffset:10,isType2S:!0},{aliases:["BseB631I","VanI","Bpu86I","Tsp219I","BsoJI"],site:"gccnnnnnggc",forwardRegex:"gc{2}[abcdghkmnrstvwy]{5}g{2}c",reverseRegex:"gc{2}[abcdghkmnrstvwy]{5}g{2}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Bsp120I","PspOMI"],site:"gggccc",forwardRegex:"g{3}c{3}",reverseRegex:"g{3}c{3}",topSnipOffset:1,bottomSnipOffset:5},{aliases:["Csp6I","RsaNI","CviRII","CviQI"],site:"gtac",forwardRegex:"gtac",reverseRegex:"gtac",topSnipOffset:1,bottomSnipOffset:3},{aliases:["M.Phi3TI","Cac824I","Bpu1811I","M.NgoBXII","M.Rho11sI","CcoP216I","CcoP215I","Bli1904II","BssFI","BssXI","M.SPBetaI","LlaDII"],site:"gcngc",forwardRegex:"gc[abcdghkmnrstvwy]gc",reverseRegex:"gc[abcdghkmnrstvwy]gc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["AflII","MspCI","Vha464I","Bst98I","BstAFI","Esp4I","BstPZ740I","BfrI","BspTI"],site:"cttaag",forwardRegex:"ct{2}a{2}g",reverseRegex:"ct{2}a{2}g",topSnipOffset:1,bottomSnipOffset:5},{aliases:["BthCI"],site:"gcngc",forwardRegex:"gc[abcdghkmnrstvwy]gc",reverseRegex:"gc[abcdghkmnrstvwy]gc",topSnipOffset:4,bottomSnipOffset:1},{aliases:["TfiTok6A1I","TspAK13D21I","TspVil3I","M.Rho11sII","Hpy26II","HpyF65II","TflI","HpyF16I","TfiTok4A2I","HpyF23I","HpyV","Tsp358I","HpyF71I","HpyF73II","TfiA3I","HpyF26III","TspAK16D24I","Tsc4aI","HpyF42IV","HpyF66IV","TspVi4AI","M.CviBIII","TthRQI","Tbr51I","HpyF52I","HpyF49I","Tth24I","M.Phi3TII","HpyF64I","CviSIII","HpyF40II","Taq20I","Tsp505I","HpyF35I","HpyF62II","HpyJP26II","HpyF30I","HpyF24I","HpyF59III","TspNI","Tsp510I","HpyF45I","HpyF14III"],site:"tcga",forwardRegex:"tcga",reverseRegex:"tcga",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SthNI","SthBI","SthCI","SthDI","SthEI","SthAI","SthJI","SthKI","SthLI","SthMI","SthFI","SthGI","SthHI","Uba1201I","Uba76I","Uba86I","Uba85I","Uba87I","NmiI","KpnK14I","Eco149I","MvsAI","MvsDI","MvsEI","MvsBI","MvsCI","BspJ106I","Sau10I","Esp19I","MvsI"],site:"ggtacc",forwardRegex:"g{2}tac{2}",reverseRegex:"g{2}tac{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["M.NgoBIX"],site:"gtannnnnctc",forwardRegex:"gta[abcdghkmnrstvwy]{5}ctc",reverseRegex:"gag[abcdghkmnrstvwy]{5}tac",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Asp29HI","HpyF65III","HpyF21II","HpyF59II","Hpy303I","HpyF10IV","HpyF66III","Hpy471I","Hpy423I","Hpy421I","HpyHII","Asp18HI","CcoP73I","HpyNSH57I","Hpy312I","HpyF53II","Asp17HI","HpyF44V","Hpy401I","HpyF13IV","HpyF31I","HpyF36II","Asp16HI","HpyF52III","Hpy501I","MjaV"],site:"gtac",forwardRegex:"gtac",reverseRegex:"gtac",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Bsp19I","NcoI"],site:"ccatgg",forwardRegex:"c{2}atg{2}",reverseRegex:"c{2}atg{2}",topSnipOffset:1,bottomSnipOffset:5},{aliases:["Psp1406I","AclI"],site:"aacgtt",forwardRegex:"a{2}cgt{2}",reverseRegex:"a{2}cgt{2}",topSnipOffset:2,bottomSnipOffset:4},{aliases:["Uba1432I","Asp17I","Asp8HI","AitII","AitAI","BpuGI","Asp21HI","Asp22I","Asp1HI","Asp14HI","BscSI","Asp6HI"],site:"rgatcy",forwardRegex:"[agr]gatc[cty]",reverseRegex:"[agr]gatc[cty]",topSnipOffset:1,bottomSnipOffset:1},{aliases:["RpaB5I"],site:"cgrggac",forwardRegex:"cg[agr]g{2}ac",reverseRegex:"gtc{2}[cty]cg",topSnipOffset:27,bottomSnipOffset:25,isType2S:!0},{aliases:["LweI","SfaNI","BspST5I","BmsI","PhaI"],site:"gcatc",forwardRegex:"gcatc",reverseRegex:"gatgc",topSnipOffset:10,bottomSnipOffset:14,isType2S:!0},{aliases:["EcoA4I","BspTNI","EcoO44I","Bso31I","BsaI","Eco31I","Bli736I"],isType2S:!0,site:"ggtctc",forwardRegex:"g{2}tctc",reverseRegex:"gagac{2}",topSnipOffset:7,bottomSnipOffset:11},{aliases:["Asi256I"],site:"gatc",forwardRegex:"gatc",reverseRegex:"gatc",topSnipOffset:1,bottomSnipOffset:3},{aliases:["Uba1362I","TseAI","Bka1125I","HpyF36IV","HpyF47I","Mlu40I","BstZ15I"],site:"gdgchc",forwardRegex:"g[adgkrtw]gc[achmtwy]c",reverseRegex:"g[adgkrtw]gc[achmtwy]c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Ppu21I","BsaAI","PsuAI","BstBAI","MspYI"],site:"yacgtr",forwardRegex:"[cty]acgt[agr]",reverseRegex:"[cty]acgt[agr]",topSnipOffset:3,bottomSnipOffset:3},{aliases:["Vsp2246I","Eco50I","Uba1127I","Eco195I","Bme05I","Eco173I","SspM1III","Eco171I","Esp25I","Esp22I","Esp21I","Esp15I","Esp9I","Esp14I","Esp13I","Esp12I","Esp11I","Esp10I","Esp1I","Esp6I","Pph14I","Eco169I","Eco168I"],site:"ggyrcc",forwardRegex:"g{2}[cty][agr]c{2}",reverseRegex:"g{2}[cty][agr]c{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Mlu1106I"],site:"rggwccy",forwardRegex:"[agr]g{2}[atw]c{2}[cty]",reverseRegex:"[agr]g{2}[atw]c{2}[cty]",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Bst22I","BsiYI","BflI","Bsc107I","BseLI","AfiI","BslI","Bsc4I"],site:"ccnnnnnnngg",forwardRegex:"c{2}[abcdghkmnrstvwy]{7}g{2}",reverseRegex:"c{2}[abcdghkmnrstvwy]{7}g{2}",topSnipOffset:7,bottomSnipOffset:4},{aliases:["BstD102I","BsrBI","MbiI","AccBSI","Bst31NI"],site:"ccgctc",forwardRegex:"c{2}gctc",reverseRegex:"gagcg{2}",topSnipOffset:3,bottomSnipOffset:3},{aliases:["BsrXI","Msp23I","BspLU11II"],site:"tctaga",forwardRegex:"tctaga",reverseRegex:"tctaga",topSnipOffset:1,bottomSnipOffset:1},{aliases:["AclNI","BcuI","SpeI","AhlI"],site:"actagt",forwardRegex:"actagt",reverseRegex:"actagt",topSnipOffset:1,bottomSnipOffset:5},{aliases:["PunAII","AvoI","PauAI","NspHI","BstNSI","NspI","XceI"],site:"rcatgy",forwardRegex:"[agr]catg[cty]",reverseRegex:"[agr]catg[cty]",topSnipOffset:5,bottomSnipOffset:1},{aliases:["MscI","BalI","MluNI","MlsI","Mlu31I","Msp20I"],site:"tggcca",forwardRegex:"tg{2}c{2}a",reverseRegex:"tg{2}c{2}a",topSnipOffset:3,bottomSnipOffset:3},{aliases:["BmgI"],site:"gkgccc",forwardRegex:"g[gkt]gc{3}",reverseRegex:"g{3}c[acm]c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BglII","NcrI","Pae2kI","Pae18kI","NspMACI"],site:"agatct",forwardRegex:"agatct",reverseRegex:"agatct",topSnipOffset:1,bottomSnipOffset:5},{aliases:["FatII","M.CviSII","Hin8II"],site:"catg",forwardRegex:"catg",reverseRegex:"catg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["CglI","NgoFVII"],site:"gcsgc",forwardRegex:"gc[cgs]gc",reverseRegex:"gc[cgs]gc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SspM1II","NlaSII","SspJII","Uba1381I","Hin8I","SspM2II"],site:"grcgyc",forwardRegex:"g[agr]cg[cty]c",reverseRegex:"g[agr]cg[cty]c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["VchO68I","BscOI","PaeCI","Asp5HI","Bsp121I","Uba1226I","Uba1162I","CglAI","BtgAII","SpaXI"],site:"gcatgc",forwardRegex:"gcatgc",reverseRegex:"gcatgc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["XcaI","BstZ17I","BspM90I","BssNAI","BstBSI","Bst1107I"],site:"gtatac",forwardRegex:"gtatac",reverseRegex:"gtatac",topSnipOffset:3,bottomSnipOffset:3},{aliases:["Bme1580I","BstSLI","BseSI","BaeGI"],site:"gkgcmc",forwardRegex:"g[gkt]gc[acm]c",reverseRegex:"g[gkt]gc[acm]c",topSnipOffset:5,bottomSnipOffset:1},{aliases:["MthFI","Rma500I","Rma501I","Rma503I","FisI","Rma509I","Rma506I","Rma510I","MjaI","Rma515I","Rma516I","Rma517I","Rma518I","Rma519I","Rma496I","Rma495I","Rma522I","Rma497I","UbaN5I","Rma490I","Rma486I","Rma485I"],site:"ctag",forwardRegex:"ctag",reverseRegex:"ctag",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SelI"],site:"cgcg",forwardRegex:"cgcg",reverseRegex:"cgcg",topSnipOffset:0,bottomSnipOffset:4},{aliases:["Mlu9273I","VchO70I","Sna3286I","SalDI","PspDI","Uba1117I","Uba1386I","AmaSI"],site:"tcgcga",forwardRegex:"tcgcga",reverseRegex:"tcgcga",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Hsp92I","BbiII","Msp17I","HgiGI","HgiDI","AsuIII","PamII","BsaHI","BstACI","HgiHII","AcyI","BssNI","Hin1I","AhaII","AstWI","HgiI","AosII"],site:"grcgyc",forwardRegex:"g[agr]cg[cty]c",reverseRegex:"g[agr]cg[cty]c",topSnipOffset:2,bottomSnipOffset:4},{aliases:["BtgZI"],site:"gcgatg",forwardRegex:"gcgatg",reverseRegex:"catcgc",topSnipOffset:16,bottomSnipOffset:20,isType2S:!0},{aliases:["Bme142I","LpnI"],site:"rgcgcy",forwardRegex:"[agr]gcgc[cty]",reverseRegex:"[agr]gcgc[cty]",topSnipOffset:3,bottomSnipOffset:3},{aliases:["PlaAII","HpyBI","RsaI","AfaI"],site:"gtac",forwardRegex:"gtac",reverseRegex:"gtac",topSnipOffset:2,bottomSnipOffset:2},{aliases:["Tru201I","BloHI","BstX2I","MflI","BstYI","XhoII","PsuI","DsaIII"],site:"rgatcy",forwardRegex:"[agr]gatc[cty]",reverseRegex:"[agr]gatc[cty]",topSnipOffset:1,bottomSnipOffset:5},{aliases:["Eco252I","Uba58I","Van91II","VchO2I","Eco159I","Hal22I","Eco82I","Eco228I","Eco237I","VchN100I"],site:"gaattc",forwardRegex:"ga{2}t{2}c",reverseRegex:"ga{2}t{2}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["MluB2I","Bsp68I","RruI","SpoI","NruI","BtuMI","Sbo13I"],site:"tcgcga",forwardRegex:"tcgcga",reverseRegex:"tcgcga",topSnipOffset:3,bottomSnipOffset:3},{aliases:["AlwXI","Bst12I","BseKI","BbvI","Bst71I","BseXI","BstV1I","Bsp423I","Lsp1109I"],site:"gcagc",forwardRegex:"gcagc",reverseRegex:"gctgc",topSnipOffset:13,bottomSnipOffset:17,isType2S:!0},{aliases:["BspACI","SsiI","AciI"],site:"ccgc",forwardRegex:"c{2}gc",reverseRegex:"gcg{2}",topSnipOffset:1,bottomSnipOffset:3},{aliases:["EcoT38I","PaeHI","KoxII","SacNI","Eco24I","BpuI","FriOI","Bsu1854I","Eco75KI","BanII","BvuI","HgiJII","Bsp519I"],site:"grgcyc",forwardRegex:"g[agr]gc[cty]c",reverseRegex:"g[agr]gc[cty]c",topSnipOffset:5,bottomSnipOffset:1},{aliases:["PasI"],site:"cccwggg",forwardRegex:"c{3}[atw]g{3}",reverseRegex:"c{3}[atw]g{3}",topSnipOffset:2,bottomSnipOffset:5},{aliases:["MluCI","TseCI"],site:"aatt",forwardRegex:"a{2}t{2}",reverseRegex:"a{2}t{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["HpyF50I","HpyF49III","HpyF14II","HpyF7III","HpyF46III","MjaIV"],site:"gtnnac",forwardRegex:"gt[abcdghkmnrstvwy]{2}ac",reverseRegex:"gt[abcdghkmnrstvwy]{2}ac",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Psp1009I","Tsp8EI","BglI"],site:"gccnnnnnggc",forwardRegex:"gc{2}[abcdghkmnrstvwy]{5}g{2}c",reverseRegex:"gc{2}[abcdghkmnrstvwy]{5}g{2}c",topSnipOffset:7,bottomSnipOffset:4},{aliases:["SruI","DraI","PauAII","AhaIII"],site:"tttaaa",forwardRegex:"t{3}a{3}",reverseRegex:"t{3}a{3}",topSnipOffset:3,bottomSnipOffset:3},{aliases:["AccI","XmiI","FblI"],site:"gtmkac",forwardRegex:"gt[acm][gkt]ac",reverseRegex:"gt[acm][gkt]ac",topSnipOffset:2,bottomSnipOffset:4},{aliases:["PmeI","MssI"],site:"gtttaaac",forwardRegex:"gt{3}a{3}c",reverseRegex:"gt{3}a{3}c",topSnipOffset:4,bottomSnipOffset:4},{aliases:["PshDI","PshCI","PspBI","Pgl34I","Psp38I","VpaK3AI","VpaK3BI","Bsp87I"],site:"cacgtg",forwardRegex:"cacgtg",reverseRegex:"cacgtg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["AxyI","AocI","Lmu60I","BspR7I","OxaNI","CvnI","MstII","Bsu36I","Eco81I","SshAI","SauI","BliHKI","Bse21I"],site:"cctnagg",forwardRegex:"c{2}t[abcdghkmnrstvwy]ag{2}",reverseRegex:"c{2}t[abcdghkmnrstvwy]ag{2}",topSnipOffset:2,bottomSnipOffset:5},{aliases:["TsoI"],site:"tarcca",forwardRegex:"ta[agr]c{2}a",reverseRegex:"tg{2}[cty]ta",topSnipOffset:17,bottomSnipOffset:15,isType2S:!0},{aliases:["PlaII","LspI","SspRFI","BsiCI","Bpu14I","AcpI","FspII","MlaI","AsuII","Ssp1I","Asp10HI","NspV","Bsp119I","BspLAII","SviI","PpaAI","SfuI","CbiI","Bim19I","BstBI","BimI","Csp68KII","Csp45I","BspT104I"],site:"ttcgaa",forwardRegex:"t{2}cga{2}",reverseRegex:"t{2}cga{2}",topSnipOffset:2,bottomSnipOffset:4},{aliases:["EspHK26I","Bla7920I","Uba1375I","BspH226I","Cfr57I","Tsp514I","Bsp233I","Uba1136I","Uba1425I","Tsp507I","Bsp228I","Uba1279I","Bbf7411I","BstZ3I","Bsu22I","BstZ1I","BsiGI","BsiOI","Bsp508I"],site:"tccgga",forwardRegex:"tc{2}g{2}a",reverseRegex:"tc{2}g{2}a",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BpuEI","Bce83I"],site:"cttgag",forwardRegex:"ct{2}gag",reverseRegex:"ctca{2}g",topSnipOffset:22,bottomSnipOffset:20,isType2S:!0},{aliases:["AspS9I","AsuI","NspIV","BsiZI","Bsp1894I","BspF4I","Cfr13I","BshKI","BspBII","Pde12I","PspPI","MaeK81II","BavAII","Nsp7121I","BavBII","Bal228I","CcuI","Sau96I","AvcI","Bsu54I","Bce22I","Bac36I"],site:"ggncc",forwardRegex:"g{2}[abcdghkmnrstvwy]c{2}",reverseRegex:"g{2}[abcdghkmnrstvwy]c{2}",topSnipOffset:1,bottomSnipOffset:4},{aliases:["BstKTI","BspKT6I"],site:"gatc",forwardRegex:"gatc",reverseRegex:"gatc",topSnipOffset:3,bottomSnipOffset:1},{aliases:["BfmI","BdiSI","Srl56DI","BpcI","BthP35I","SfcI","BstSFI","LlaBI","SfeI"],site:"ctryag",forwardRegex:"ct[agr][cty]ag",reverseRegex:"ct[agr][cty]ag",topSnipOffset:1,bottomSnipOffset:5},{aliases:["MseI","Tru1I","Tru9I","SaqAI"],site:"ttaa",forwardRegex:"t{2}a{2}",reverseRegex:"t{2}a{2}",topSnipOffset:1,bottomSnipOffset:3},{aliases:["Sau96mI","Sau93I","Sau98I","Sau90I"],site:"ctyrag",forwardRegex:"ct[cty][agr]ag",reverseRegex:"ct[cty][agr]ag",topSnipOffset:1,bottomSnipOffset:1},{aliases:["TrsSII"],site:"gacnnnnnngtc",forwardRegex:"gac[abcdghkmnrstvwy]{6}gtc",reverseRegex:"gac[abcdghkmnrstvwy]{6}gtc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["ParI","BsiQI","BclI","AbaI","FbaI","Ksp22I","BstT7I","BspXII"],site:"tgatca",forwardRegex:"tgatca",reverseRegex:"tgatca",topSnipOffset:1,bottomSnipOffset:5},{aliases:["Eco255I","DpaI","BmcAI","ZrmI","ScaI","AssI","Bpa34I","Acc113I","RflFII"],site:"agtact",forwardRegex:"agtact",reverseRegex:"agtact",topSnipOffset:3,bottomSnipOffset:3},{aliases:["SplAII","TteI","TspI","TrsKTII","FsuI","SmaAII","NtaI","SplII","SpaPI","TtrI"],site:"gacnnngtc",forwardRegex:"gac[abcdghkmnrstvwy]{3}gtc",reverseRegex:"gac[abcdghkmnrstvwy]{3}gtc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["AspLEI","HhaI","BspLAI","CfoI","BstHHI","FnuDIII"],site:"gcgc",forwardRegex:"gcgc",reverseRegex:"gcgc",topSnipOffset:3,bottomSnipOffset:1},{aliases:["StyLTI"],site:"cagag",forwardRegex:"cagag",reverseRegex:"ctctg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BsoEI","Uba1289I","Uba1290I","BstWI","Uba1309I","Uba1308I","Uba1310I","Bpu1268I"],site:"cctnnnnnagg",forwardRegex:"c{2}t[abcdghkmnrstvwy]{5}ag{2}",reverseRegex:"c{2}t[abcdghkmnrstvwy]{5}ag{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Eco826I","Eco1455I"],site:"gcannnnnnctga",forwardRegex:"gca[abcdghkmnrstvwy]{6}ctga",reverseRegex:"tcag[abcdghkmnrstvwy]{6}tgc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["ApaI","PpeI"],site:"gggccc",forwardRegex:"g{3}c{3}",reverseRegex:"g{3}c{3}",topSnipOffset:5,bottomSnipOffset:1},{aliases:["KpnBI"],site:"caaannnnnnrtca",forwardRegex:"ca{3}[abcdghkmnrstvwy]{6}[agr]tca",reverseRegex:"tga[cty][abcdghkmnrstvwy]{6}t{3}g",topSnipOffset:1,bottomSnipOffset:1},{aliases:["UnbI"],site:"ggncc",forwardRegex:"g{2}[abcdghkmnrstvwy]c{2}",reverseRegex:"g{2}[abcdghkmnrstvwy]c{2}",topSnipOffset:0,bottomSnipOffset:5},{aliases:["Uba1384I","SmuCI","AvaIII","Uba1353I","PxyJKI","Uba1367I","BfrCI","SrlII"],site:"atgcat",forwardRegex:"atgcat",reverseRegex:"atgcat",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BspMKI","XciI","SalI","HgiCIII","Rtr63I","Rrh4273I","RflFI","HgiDII","NopI","RtrI"],site:"gtcgac",forwardRegex:"gtcgac",reverseRegex:"gtcgac",topSnipOffset:1,bottomSnipOffset:5},{aliases:["EcoR124I"],site:"gaannnnnnrtcg",forwardRegex:"ga{2}[abcdghkmnrstvwy]{6}[agr]tcg",reverseRegex:"cga[cty][abcdghkmnrstvwy]{6}t{2}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SynII","Psc2I"],site:"gaannnnttc",forwardRegex:"ga{2}[abcdghkmnrstvwy]{4}t{2}c",reverseRegex:"ga{2}[abcdghkmnrstvwy]{4}t{2}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["CspI","Rsr2I","RsrII","CpoI"],site:"cggwccg",forwardRegex:"cg{2}[atw]c{2}g",reverseRegex:"cg{2}[atw]c{2}g",topSnipOffset:2,bottomSnipOffset:5},{aliases:["AscI","PalAI","SgsI"],site:"ggcgcgcc",forwardRegex:"g{2}cgcgc{2}",reverseRegex:"g{2}cgcgc{2}",topSnipOffset:2,bottomSnipOffset:6},{aliases:["Uba69I","TtmII","BscEI","BsrHI","Kpn30I","M.BssHIII","BssBI","Eco143I","Eco152I","Esp7I","Esp8I","CfrJ5I","BsoPI"],site:"gcgcgc",forwardRegex:"gcgcgc",reverseRegex:"gcgcgc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["EclHKI","BspOVI","AhdI","AspEI","Eam1105I","NruGI","BmeRI","DriI"],site:"gacnnnnngtc",forwardRegex:"gac[abcdghkmnrstvwy]{5}gtc",reverseRegex:"gac[abcdghkmnrstvwy]{5}gtc",topSnipOffset:6,bottomSnipOffset:5},{aliases:["Uba1222I","Uba1221I","BpuGCI","Uba1320I","Uba1284I"],site:"gctnagc",forwardRegex:"gct[abcdghkmnrstvwy]agc",reverseRegex:"gct[abcdghkmnrstvwy]agc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BpuCI"],site:"ggcgga",forwardRegex:"g{2}cg{2}a",reverseRegex:"tc{2}gc{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["EspI","BlpI","Bsp1720I","Bpu1102I","CelII"],site:"gctnagc",forwardRegex:"gct[abcdghkmnrstvwy]agc",reverseRegex:"gct[abcdghkmnrstvwy]agc",topSnipOffset:2,bottomSnipOffset:5},{aliases:["Eco1476I","Eco1427I","Eco1430I","Eco1323I","Eco377I","Eco1386I","Eco37I","Eco1344II","Eco1456I"],site:"ggannnnnnnnatgc",forwardRegex:"g{2}a[abcdghkmnrstvwy]{8}atgc",reverseRegex:"gcat[abcdghkmnrstvwy]{8}tc{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["MnnI","Hin1160II","ChuEII","Hin1161II"],site:"gtyrac",forwardRegex:"gt[cty][agr]ac",reverseRegex:"gt[cty][agr]ac",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SstI","SacI","Psp124BI"],site:"gagctc",forwardRegex:"gagctc",reverseRegex:"gagctc",topSnipOffset:5,bottomSnipOffset:1},{aliases:["SspD5II","NsiI","PinBI","Asi372I","Mph1103I","Csp68KIII","Zsp2I","SepI","EcoT22I","BfrBI"],site:"atgcat",forwardRegex:"atgcat",reverseRegex:"atgcat",topSnipOffset:5,bottomSnipOffset:1},{aliases:["AsnI","AseI","VspI","PshBI","Sru4DI","BpoAI"],site:"attaat",forwardRegex:"at{2}a{2}t",reverseRegex:"at{2}a{2}t",topSnipOffset:2,bottomSnipOffset:4},{aliases:["BmrFI","Msp67I","MspR9I","ScrFI","Bme1390I"],site:"ccngg",forwardRegex:"c{2}[abcdghkmnrstvwy]g{2}",reverseRegex:"c{2}[abcdghkmnrstvwy]g{2}",topSnipOffset:2,bottomSnipOffset:3},{aliases:["McrI","BsaOI","BsiEI","Bsh1285I","BstMCI"],site:"cgrycg",forwardRegex:"cg[agr][cty]cg",reverseRegex:"cg[agr][cty]cg",topSnipOffset:4,bottomSnipOffset:2},{aliases:["TspRI","TscAI"],site:"castgnn",forwardRegex:"ca[cgs]tg[abcdghkmnrstvwy]{2}",reverseRegex:"[abcdghkmnrstvwy]{2}ca[cgs]tg",topSnipOffset:7,bottomSnipOffset:0},{aliases:["BsmWI","SmaAI","SspKI","SplAI","PfuNI"],site:"cgtacg",forwardRegex:"cgtacg",reverseRegex:"cgtacg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["CdiI"],site:"catcg",forwardRegex:"catcg",reverseRegex:"cgatg",topSnipOffset:4,bottomSnipOffset:4},{aliases:["TrsKTIII"],site:"catatg",forwardRegex:"catatg",reverseRegex:"catatg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BseB631II"],site:"agatct",forwardRegex:"agatct",reverseRegex:"agatct",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Sth302II"],site:"ccgg",forwardRegex:"c{2}g{2}",reverseRegex:"c{2}g{2}",topSnipOffset:2,bottomSnipOffset:2},{aliases:["PbuJKI","Hpy178VI","HpyF67III","HinGUII","HpyF6I"],site:"ggatg",forwardRegex:"g{2}atg",reverseRegex:"catc{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["UbaF13I"],site:"gagnnnnnnctgg",forwardRegex:"gag[abcdghkmnrstvwy]{6}ctg{2}",reverseRegex:"c{2}ag[abcdghkmnrstvwy]{6}ctc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["MreI","Sse232I"],site:"cgccggcg",forwardRegex:"cgc{2}g{2}cg",reverseRegex:"cgc{2}g{2}cg",topSnipOffset:2,bottomSnipOffset:6},{aliases:["BsaGI","HpyF7II","Pph3215I","Bfu1570I","BsmPI","HpyF46II","Hpy8III"],site:"gwgcwc",forwardRegex:"g[atw]gc[atw]c",reverseRegex:"g[atw]gc[atw]c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BceSIII","BceAI"],site:"acggc",forwardRegex:"acg{2}c",reverseRegex:"gc{2}gt",topSnipOffset:17,bottomSnipOffset:19,isType2S:!0},{aliases:["CstMI"],site:"aaggag",forwardRegex:"a{2}g{2}ag",reverseRegex:"ctc{2}t{2}",topSnipOffset:26,bottomSnipOffset:24,isType2S:!0},{aliases:["Acc65I","Asp718I","SthI","AhaB8I"],site:"ggtacc",forwardRegex:"g{2}tac{2}",reverseRegex:"g{2}tac{2}",topSnipOffset:1,bottomSnipOffset:5},{aliases:["EacI","BinI","AlwI","Bst31TI","BspPI","AclWI","BstH9I"],site:"ggatc",forwardRegex:"g{2}atc",reverseRegex:"gatc{2}",topSnipOffset:9,bottomSnipOffset:10,isType2S:!0},{aliases:["BspGI"],site:"ctggac",forwardRegex:"ctg{2}ac",reverseRegex:"gtc{2}ag",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BspCNI"],site:"ctcag",forwardRegex:"ctcag",reverseRegex:"ctgag",topSnipOffset:14,bottomSnipOffset:12,isType2S:!0},{aliases:["MunI","MfeI"],site:"caattg",forwardRegex:"ca{2}t{2}g",reverseRegex:"ca{2}t{2}g",topSnipOffset:1,bottomSnipOffset:5},{aliases:["StySENI","StySBLI"],site:"cgannnnnntacc",forwardRegex:"cga[abcdghkmnrstvwy]{6}tac{2}",reverseRegex:"g{2}ta[abcdghkmnrstvwy]{6}tcg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BfaI","MthZI","RmaI","FspBI","FgoI","MaeI","XspI"],site:"ctag",forwardRegex:"ctag",reverseRegex:"ctag",topSnipOffset:1,bottomSnipOffset:3},{aliases:["BseYI"],site:"cccagc",forwardRegex:"c{3}agc",reverseRegex:"gctg{3}",topSnipOffset:1,bottomSnipOffset:5},{aliases:["SmlI","SmoI"],site:"ctyrag",forwardRegex:"ct[cty][agr]ag",reverseRegex:"ct[cty][agr]ag",topSnipOffset:1,bottomSnipOffset:5},{aliases:["Tsp509I","Sse9I","TspEI","TasI"],site:"aatt",forwardRegex:"a{2}t{2}",reverseRegex:"a{2}t{2}",topSnipOffset:0,bottomSnipOffset:4},{aliases:["HgaI","CseI"],site:"gacgc",forwardRegex:"gacgc",reverseRegex:"gcgtc",topSnipOffset:10,bottomSnipOffset:15,isType2S:!0},{aliases:["PaeBI","PspALI","SmaI","CfrJ4I"],site:"cccggg",forwardRegex:"c{3}g{3}",reverseRegex:"c{3}g{3}",topSnipOffset:3,bottomSnipOffset:3},{aliases:["SnaBI","Eco105I","BstSNI"],site:"tacgta",forwardRegex:"tacgta",reverseRegex:"tacgta",topSnipOffset:3,bottomSnipOffset:3},{aliases:["Esp3I","BstGZ53I","BsmBI"],isType2S:!0,site:"cgtctc",forwardRegex:"cgtctc",reverseRegex:"gagacg",topSnipOffset:7,bottomSnipOffset:11},{aliases:["Bsp1591I","Cfr19I","Uba1291I","SciAI","KoxI","BstDI","Bse59I","Bst31I","Cfr7I"],site:"ggtnacc",forwardRegex:"g{2}t[abcdghkmnrstvwy]ac{2}",reverseRegex:"g{2}t[abcdghkmnrstvwy]ac{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["PstII"],site:"ctgatg",forwardRegex:"ctgatg",reverseRegex:"catcag",topSnipOffset:31,bottomSnipOffset:33,isType2S:!0},{aliases:["PflMI","PflBI","Asp10HII","BasI","Van91I","AcpII","Esp1396I","AccB7I"],site:"ccannnnntgg",forwardRegex:"c{2}a[abcdghkmnrstvwy]{5}tg{2}",reverseRegex:"c{2}a[abcdghkmnrstvwy]{5}tg{2}",topSnipOffset:7,bottomSnipOffset:4},{aliases:["RceI"],site:"catcgac",forwardRegex:"catcgac",reverseRegex:"gtcgatg",topSnipOffset:27,bottomSnipOffset:25,isType2S:!0},{aliases:["BstDEI","BstJZ301I","HpyF3I","DdeI"],site:"ctnag",forwardRegex:"ct[abcdghkmnrstvwy]ag",reverseRegex:"ct[abcdghkmnrstvwy]ag",topSnipOffset:1,bottomSnipOffset:4},{aliases:["UbaN6I","Bco631I","Bco63I","Bse631I"],site:"gatnnnnatc",forwardRegex:"gat[abcdghkmnrstvwy]{4}atc",reverseRegex:"gat[abcdghkmnrstvwy]{4}atc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["StySJI"],site:"gagnnnnnngtrc",forwardRegex:"gag[abcdghkmnrstvwy]{6}gt[agr]c",reverseRegex:"g[cty]ac[abcdghkmnrstvwy]{6}ctc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BchI","BsaUI","BsrVI","LfeI"],site:"gcagc",forwardRegex:"gcagc",reverseRegex:"gctgc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BscAI","Bst19I"],site:"gcatc",forwardRegex:"gcatc",reverseRegex:"gatgc",topSnipOffset:9,bottomSnipOffset:11,isType2S:!0},{aliases:["KteAI","Uba1393I","Uba1220I"],site:"cccggg",forwardRegex:"c{3}g{3}",reverseRegex:"c{3}g{3}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BctI"],site:"acggc",forwardRegex:"acg{2}c",reverseRegex:"gc{2}gt",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BsePI","PteI","BssHII","BstBZ153I","PauI"],site:"gcgcgc",forwardRegex:"gcgcgc",reverseRegex:"gcgcgc",topSnipOffset:1,bottomSnipOffset:5},{aliases:["StyLTIII"],site:"gagnnnnnnrtayg",forwardRegex:"gag[abcdghkmnrstvwy]{6}[agr]ta[cty]g",reverseRegex:"c[agr]ta[cty][abcdghkmnrstvwy]{6}ctc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["VpaK32I","PciSI","LguI","BspQI","SapI"],isType2S:!0,site:"gctcttc",forwardRegex:"gctct{2}c",reverseRegex:"ga{2}gagc",topSnipOffset:8,bottomSnipOffset:11},{aliases:["BniI"],site:"gcnngc",forwardRegex:"gc[abcdghkmnrstvwy]{2}gc",reverseRegex:"gc[abcdghkmnrstvwy]{2}gc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["EcoDR2"],site:"tcannnnnngtcg",forwardRegex:"tca[abcdghkmnrstvwy]{6}gtcg",reverseRegex:"cgac[abcdghkmnrstvwy]{6}tga",topSnipOffset:1,bottomSnipOffset:1},{aliases:["TssI"],site:"gagnnnctc",forwardRegex:"gag[abcdghkmnrstvwy]{3}ctc",reverseRegex:"gag[abcdghkmnrstvwy]{3}ctc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Tth111II"],site:"caarca",forwardRegex:"ca{2}[agr]ca",reverseRegex:"tg[cty]t{2}g",topSnipOffset:17,bottomSnipOffset:15,isType2S:!0},{aliases:["BbvCI","AbeI"],site:"cctcagc",forwardRegex:"c{2}tcagc",reverseRegex:"gctgag{2}",topSnipOffset:2,bottomSnipOffset:5},{aliases:["MluI","Bbi24I"],site:"acgcgt",forwardRegex:"acgcgt",reverseRegex:"acgcgt",topSnipOffset:1,bottomSnipOffset:5},{aliases:["MnlI"],site:"cctc",forwardRegex:"c{2}tc",reverseRegex:"gag{2}",topSnipOffset:11,bottomSnipOffset:10,isType2S:!0},{aliases:["SspD5I"],site:"ggtga",forwardRegex:"g{2}tga",reverseRegex:"tcac{2}",topSnipOffset:13,bottomSnipOffset:13,isType2S:!0},{aliases:["AspCNI"],site:"gccgc",forwardRegex:"gc{2}gc",reverseRegex:"gcg{2}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["TauI","BspUI"],site:"gcsgc",forwardRegex:"gc[cgs]gc",reverseRegex:"gc[cgs]gc",topSnipOffset:4,bottomSnipOffset:1},{aliases:["BinSII","BbeI"],site:"ggcgcc",forwardRegex:"g{2}cgc{2}",reverseRegex:"g{2}cgc{2}",topSnipOffset:5,bottomSnipOffset:1},{aliases:["BpmI","GsuI"],site:"ctggag",forwardRegex:"ctg{2}ag",reverseRegex:"ctc{2}ag",topSnipOffset:22,bottomSnipOffset:20,isType2S:!0},{aliases:["NciI","AhaI","AseII","Mgl14481I","AsuC2I","BpuMI","HgiS22I","CauII","BcnI"],site:"ccsgg",forwardRegex:"c{2}[cgs]g{2}",reverseRegex:"c{2}[cgs]g{2}",topSnipOffset:2,bottomSnipOffset:3},{aliases:["Eco1348I","Eco777I","Eco1412I"],site:"ggannnnnntatc",forwardRegex:"g{2}a[abcdghkmnrstvwy]{6}tatc",reverseRegex:"gata[abcdghkmnrstvwy]{6}tc{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["AgsI"],site:"ttsaa",forwardRegex:"t{2}[cgs]a{2}",reverseRegex:"t{2}[cgs]a{2}",topSnipOffset:3,bottomSnipOffset:2},{aliases:["Pfl18I","Ssm4I","Ssm5I","NasSI","ScoI","Ecl137I"],site:"gagctc",forwardRegex:"gagctc",reverseRegex:"gagctc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["CfrBI","StyI","ErhB9II","Eco130I","ErhI","EcoT14I","BsmSI","BssT1I"],site:"ccwwgg",forwardRegex:"c{2}[atw]{2}g{2}",reverseRegex:"c{2}[atw]{2}g{2}",topSnipOffset:1,bottomSnipOffset:5},{aliases:["AlwFI"],site:"gaaaynnnnnrtg",forwardRegex:"ga{3}[cty][abcdghkmnrstvwy]{5}[agr]tg",reverseRegex:"ca[cty][abcdghkmnrstvwy]{5}[agr]t{3}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["CviRI","HpyCH4V","HpyF44III"],site:"tgca",forwardRegex:"tgca",reverseRegex:"tgca",topSnipOffset:2,bottomSnipOffset:2},{aliases:["Bse19I","AteI","NspSAIII"],site:"ccatgg",forwardRegex:"c{2}atg{2}",reverseRegex:"c{2}atg{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Srl65DI","Srr17I","Srl55DII","CprJK722I","Srl8DI","PbuMZI"],site:"attaat",forwardRegex:"at{2}a{2}t",reverseRegex:"at{2}a{2}t",topSnipOffset:1,bottomSnipOffset:1},{aliases:["ClcII","GspAII","NspHIII","Bco6I","NspLI","NspMI","BsaTI","CliII","ApcTR183I","AcaIII"],site:"tgcgca",forwardRegex:"tgcgca",reverseRegex:"tgcgca",topSnipOffset:1,bottomSnipOffset:1},{aliases:["CsiI","MabI","SexAI"],site:"accwggt",forwardRegex:"ac{2}[atw]g{2}t",reverseRegex:"ac{2}[atw]g{2}t",topSnipOffset:1,bottomSnipOffset:6},{aliases:["HgiEII"],site:"accnnnnnnggt",forwardRegex:"ac{2}[abcdghkmnrstvwy]{6}g{2}t",reverseRegex:"ac{2}[abcdghkmnrstvwy]{6}g{2}t",topSnipOffset:1,bottomSnipOffset:1},{aliases:["TseDI","BscRI","Bsp21I"],site:"rccggy",forwardRegex:"[agr]c{2}g{2}[cty]",reverseRegex:"[agr]c{2}g{2}[cty]",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Bse23I","BsmYI"],site:"ccnnnnnnngg",forwardRegex:"c{2}[abcdghkmnrstvwy]{7}g{2}",reverseRegex:"c{2}[abcdghkmnrstvwy]{7}g{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["NdeI","FauNDI","PfaAII"],site:"catatg",forwardRegex:"catatg",reverseRegex:"catatg",topSnipOffset:2,bottomSnipOffset:4},{aliases:["VneAI","Uba1326I"],site:"rggnccy",forwardRegex:"[agr]g{2}[abcdghkmnrstvwy]c{2}[cty]",reverseRegex:"[agr]g{2}[abcdghkmnrstvwy]c{2}[cty]",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SrlI","NgoMIV","SceIII","NgoAIV","MroNI","Eco56I"],site:"gccggc",forwardRegex:"gc{2}g{2}c",reverseRegex:"gc{2}g{2}c",topSnipOffset:1,bottomSnipOffset:5},{aliases:["AsiSI","SfaAI","RgaI","SgfI"],site:"gcgatcgc",forwardRegex:"gcgatcgc",reverseRegex:"gcgatcgc",topSnipOffset:5,bottomSnipOffset:3},{aliases:["BtsPI","SaiI","ShaI"],site:"gggtc",forwardRegex:"g{3}tc",reverseRegex:"gac{3}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Pfl1108I"],site:"tcgtag",forwardRegex:"tcgtag",reverseRegex:"ctacga",topSnipOffset:1,bottomSnipOffset:1},{aliases:["EcoHK31I","Bfi89I","EaeI","CfrI","AcoI"],site:"yggccr",forwardRegex:"[cty]g{2}c{2}[agr]",reverseRegex:"[cty]g{2}c{2}[agr]",topSnipOffset:1,bottomSnipOffset:5},{aliases:["HphI","AsuHPI"],site:"ggtga",forwardRegex:"g{2}tga",reverseRegex:"tcac{2}",topSnipOffset:13,bottomSnipOffset:12,isType2S:!0},{aliases:["Uba1303I","BstZ5I","BscNI"],site:"cgrycg",forwardRegex:"cg[agr][cty]cg",reverseRegex:"cg[agr][cty]cg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Bsp6II","FsfI","BspD6II","Eco112I","Eco125I"],site:"ctgaag",forwardRegex:"ctga{2}g",reverseRegex:"ct{2}cag",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BstXI","BstHZ55I"],site:"ccannnnnntgg",forwardRegex:"c{2}a[abcdghkmnrstvwy]{6}tg{2}",reverseRegex:"c{2}a[abcdghkmnrstvwy]{6}tg{2}",topSnipOffset:8,bottomSnipOffset:4},{aliases:["Ppu11I","Ppu6I"],site:"yacgtr",forwardRegex:"[cty]acgt[agr]",reverseRegex:"[cty]acgt[agr]",topSnipOffset:1,bottomSnipOffset:1},{aliases:["EcoT104I","SblAI","SblBI","SblCI","Uba1311I","Eco208II","Bst224I"],site:"ccwwgg",forwardRegex:"c{2}[atw]{2}g{2}",reverseRegex:"c{2}[atw]{2}g{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["EcoR124II"],site:"gaannnnnnnrtcg",forwardRegex:"ga{2}[abcdghkmnrstvwy]{7}[agr]tcg",reverseRegex:"cga[cty][abcdghkmnrstvwy]{7}t{2}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["MamI","BseJI","Bse8I","BsrBRI","BsiBI","BsaBI","Bsh1365I"],site:"gatnnnnatc",forwardRegex:"gat[abcdghkmnrstvwy]{4}atc",reverseRegex:"gat[abcdghkmnrstvwy]{4}atc",topSnipOffset:5,bottomSnipOffset:5},{aliases:["Ssp5230I","AatII"],site:"gacgtc",forwardRegex:"gacgtc",reverseRegex:"gacgtc",topSnipOffset:5,bottomSnipOffset:1},{aliases:["Uba1240I","Bpu1831I","SspM1I","SspM2I","EciAI","SspJI","Eco158II"],site:"tacgta",forwardRegex:"tacgta",reverseRegex:"tacgta",topSnipOffset:1,bottomSnipOffset:1},{aliases:["MaqI"],site:"crttgac",forwardRegex:"c[agr]t{2}gac",reverseRegex:"gtca{2}[cty]g",topSnipOffset:28,bottomSnipOffset:26,isType2S:!0},{aliases:["CjeNII"],site:"gagnnnnngt",forwardRegex:"gag[abcdghkmnrstvwy]{5}gt",reverseRegex:"ac[abcdghkmnrstvwy]{5}ctc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["KpnAI"],site:"gaannnnnntgcc",forwardRegex:"ga{2}[abcdghkmnrstvwy]{6}tgc{2}",reverseRegex:"g{2}ca[abcdghkmnrstvwy]{6}t{2}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SleI","AjnI","Psp6I","PspGI","SspAI","EcoRII"],site:"ccwgg",forwardRegex:"c{2}[atw]g{2}",reverseRegex:"c{2}[atw]g{2}",topSnipOffset:0,bottomSnipOffset:5},{aliases:["BstFZ438I","Bme585I","SmuI","FauI"],site:"cccgc",forwardRegex:"c{3}gc",reverseRegex:"gcg{3}",topSnipOffset:9,bottomSnipOffset:11,isType2S:!0},{aliases:["HpyCH4IV","MaeII"],site:"acgt",forwardRegex:"acgt",reverseRegex:"acgt",topSnipOffset:1,bottomSnipOffset:3},{aliases:["TaqII"],site:"caccca",forwardRegex:"cac{3}a",reverseRegex:"tg{3}tg",topSnipOffset:17,bottomSnipOffset:15,isType2S:!0},{aliases:["UbaN9I"],site:"aacgtt",forwardRegex:"a{2}cgt{2}",reverseRegex:"a{2}cgt{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["DrdII"],site:"gaacca",forwardRegex:"ga{2}c{2}a",reverseRegex:"tg{2}t{2}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["MalI","DpnI","CfuI"],site:"gatc",forwardRegex:"gatc",reverseRegex:"gatc",topSnipOffset:2,bottomSnipOffset:2},{aliases:["AarI"],isType2S:!0,site:"cacctgc",forwardRegex:"cac{2}tgc",reverseRegex:"gcag{2}tg",topSnipOffset:11,bottomSnipOffset:15},{aliases:["SrfI"],site:"gcccgggc",forwardRegex:"gc{3}g{3}c",reverseRegex:"gc{3}g{3}c",topSnipOffset:4,bottomSnipOffset:4},{aliases:["TatI"],site:"wgtacw",forwardRegex:"[atw]gtac[atw]",reverseRegex:"[atw]gtac[atw]",topSnipOffset:1,bottomSnipOffset:5},{aliases:["EcoDXXI"],site:"tcannnnnnnrttc",forwardRegex:"tca[abcdghkmnrstvwy]{7}[agr]t{2}c",reverseRegex:"ga{2}[cty][abcdghkmnrstvwy]{7}tga",topSnipOffset:1,bottomSnipOffset:1},{aliases:["HindII","HincII","HinJCI"],site:"gtyrac",forwardRegex:"gt[cty][agr]ac",reverseRegex:"gt[cty][agr]ac",topSnipOffset:3,bottomSnipOffset:3},{aliases:["BseMI","Bse3DI","BsrDI"],site:"gcaatg",forwardRegex:"gca{2}tg",reverseRegex:"cat{2}gc",topSnipOffset:8,bottomSnipOffset:6,isType2S:!0},{aliases:["HalI","Srl32DII","FunII","Ppu111I","EcoRI","RsrI","Kpn49kI","SsoI","Srl55DI"],site:"gaattc",forwardRegex:"ga{2}t{2}c",reverseRegex:"ga{2}t{2}c",topSnipOffset:1,bottomSnipOffset:5},{aliases:["Hpy166III"],site:"cctc",forwardRegex:"c{2}tc",reverseRegex:"gag{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["FspAI"],site:"rtgcgcay",forwardRegex:"[agr]tgcgca[cty]",reverseRegex:"[agr]tgcgca[cty]",topSnipOffset:4,bottomSnipOffset:4},{aliases:["Eco585I"],site:"gccnnnnnntgcg",forwardRegex:"gc{2}[abcdghkmnrstvwy]{6}tgcg",reverseRegex:"cgca[abcdghkmnrstvwy]{6}g{2}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["PlaDI"],site:"catcag",forwardRegex:"catcag",reverseRegex:"ctgatg",topSnipOffset:27,bottomSnipOffset:25,isType2S:!0},{aliases:["Hpy188I"],site:"tcnga",forwardRegex:"tc[abcdghkmnrstvwy]ga",reverseRegex:"tc[abcdghkmnrstvwy]ga",topSnipOffset:3,bottomSnipOffset:2},{aliases:["PciI","PscI","BspLU11I"],site:"acatgt",forwardRegex:"acatgt",reverseRegex:"acatgt",topSnipOffset:1,bottomSnipOffset:5},{aliases:["VchO25I","SnaI"],site:"gtatac",forwardRegex:"gtatac",reverseRegex:"gtatac",topSnipOffset:1,bottomSnipOffset:1},{aliases:["TseBI","M.BbvSI","TneI"],site:"gcwgc",forwardRegex:"gc[atw]gc",reverseRegex:"gc[atw]gc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["OliI","AleI"],site:"cacnnnngtg",forwardRegex:"cac[abcdghkmnrstvwy]{4}gtg",reverseRegex:"cac[abcdghkmnrstvwy]{4}gtg",topSnipOffset:5,bottomSnipOffset:5},{aliases:["GlaI"],site:"gcgc",forwardRegex:"gcgc",reverseRegex:"gcgc",topSnipOffset:2,bottomSnipOffset:2},{aliases:["BssGI","BscJI","BstTI"],site:"ccannnnnntgg",forwardRegex:"c{2}a[abcdghkmnrstvwy]{6}tg{2}",reverseRegex:"c{2}a[abcdghkmnrstvwy]{6}tg{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Tsp4CI","Bst4CI","HpyCH4III","TaaI"],site:"acngt",forwardRegex:"ac[abcdghkmnrstvwy]gt",reverseRegex:"ac[abcdghkmnrstvwy]gt",topSnipOffset:3,bottomSnipOffset:2},{aliases:["AceIII"],site:"cagctc",forwardRegex:"cagctc",reverseRegex:"gagctg",topSnipOffset:13,bottomSnipOffset:17,isType2S:!0},{aliases:["BseNI","BsrI","Bse1I","Tsp1I","BsrSI","Bst11I"],site:"actgg",forwardRegex:"actg{2}",reverseRegex:"c{2}agt",topSnipOffset:6,bottomSnipOffset:4,isType2S:!0},{aliases:["FnuAI","HinfI","CviBI","HhaII","SscL1I"],site:"gantc",forwardRegex:"ga[abcdghkmnrstvwy]tc",reverseRegex:"ga[abcdghkmnrstvwy]tc",topSnipOffset:1,bottomSnipOffset:4},{aliases:["CjuI"],site:"caynnnnnrtg",forwardRegex:"ca[cty][abcdghkmnrstvwy]{5}[agr]tg",reverseRegex:"ca[cty][abcdghkmnrstvwy]{5}[agr]tg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["HpyF2I","Bco163I"],site:"ctryag",forwardRegex:"ct[agr][cty]ag",reverseRegex:"ct[agr][cty]ag",topSnipOffset:1,bottomSnipOffset:1},{aliases:["AanI","PsiI"],site:"ttataa",forwardRegex:"t{2}ata{2}",reverseRegex:"t{2}ata{2}",topSnipOffset:3,bottomSnipOffset:3},{aliases:["StySPI"],site:"aacnnnnnngtrc",forwardRegex:"a{2}c[abcdghkmnrstvwy]{6}gt[agr]c",reverseRegex:"g[cty]ac[abcdghkmnrstvwy]{6}gt{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BpuJI","BstDZ247I","BscGI"],site:"cccgt",forwardRegex:"c{3}gt",reverseRegex:"acg{3}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Hpy99I"],site:"cgwcg",forwardRegex:"cg[atw]cg",reverseRegex:"cg[atw]cg",topSnipOffset:5,bottomSnipOffset:0},{aliases:["BceSI"],site:"mmcgaag",forwardRegex:"[acm]{2}cga{2}g",reverseRegex:"ct{2}cg[gkt]{2}",topSnipOffset:32,bottomSnipOffset:34,isType2S:!0},{aliases:["HaeI"],site:"wggccw",forwardRegex:"[atw]g{2}c{2}[atw]",reverseRegex:"[atw]g{2}c{2}[atw]",topSnipOffset:3,bottomSnipOffset:3},{aliases:["PspPRI"],site:"ccycag",forwardRegex:"c{2}[cty]cag",reverseRegex:"ctg[agr]g{2}",topSnipOffset:21,bottomSnipOffset:19,isType2S:!0},{aliases:["FokI"],site:"ggatg",forwardRegex:"g{2}atg",reverseRegex:"catc{2}",topSnipOffset:14,bottomSnipOffset:18,isType2S:!0},{aliases:["NgoBV","NgoGV","Bsp29I","HpyF44II","Uba1445I","Uba1305I","HpyF73I","BsaEI","BcrI","Rlu3I","BssI"],site:"ggnncc",forwardRegex:"g{2}[abcdghkmnrstvwy]{2}c{2}",reverseRegex:"g{2}[abcdghkmnrstvwy]{2}c{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Bce1247I"],site:"gcnnnnnnngc",forwardRegex:"gc[abcdghkmnrstvwy]{7}gc",reverseRegex:"gc[abcdghkmnrstvwy]{7}gc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["AasI","DrdI","DseDI"],site:"gacnnnnnngtc",forwardRegex:"gac[abcdghkmnrstvwy]{6}gtc",reverseRegex:"gac[abcdghkmnrstvwy]{6}gtc",topSnipOffset:7,bottomSnipOffset:5},{aliases:["M.SssI"],site:"cg",forwardRegex:"cg",reverseRegex:"cg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["HpyF61III"],site:"cgwcg",forwardRegex:"cg[atw]cg",reverseRegex:"cg[atw]cg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["AflIII"],site:"acrygt",forwardRegex:"ac[agr][cty]gt",reverseRegex:"ac[agr][cty]gt",topSnipOffset:1,bottomSnipOffset:5},{aliases:["Asp700I","BbvAI","MroXI","XmnI","PdmI"],site:"gaannnnttc",forwardRegex:"ga{2}[abcdghkmnrstvwy]{4}t{2}c",reverseRegex:"ga{2}[abcdghkmnrstvwy]{4}t{2}c",topSnipOffset:5,bottomSnipOffset:5},{aliases:["ChaI"],site:"gatc",forwardRegex:"gatc",reverseRegex:"gatc",topSnipOffset:4,bottomSnipOffset:0},{aliases:["EcoEI"],site:"gagnnnnnnnatgc",forwardRegex:"gag[abcdghkmnrstvwy]{7}atgc",reverseRegex:"gcat[abcdghkmnrstvwy]{7}ctc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BspAAII","XbaI"],site:"tctaga",forwardRegex:"tctaga",reverseRegex:"tctaga",topSnipOffset:1,bottomSnipOffset:5},{aliases:["Hpy188III","Hpy178III"],site:"tcnnga",forwardRegex:"tc[abcdghkmnrstvwy]{2}ga",reverseRegex:"tc[abcdghkmnrstvwy]{2}ga",topSnipOffset:2,bottomSnipOffset:4},{aliases:["McaTI"],site:"gcgcgc",forwardRegex:"gcgcgc",reverseRegex:"gcgcgc",topSnipOffset:4,bottomSnipOffset:2},{aliases:["BstZ9I","Uba6I","ApeI"],site:"acgcgt",forwardRegex:"acgcgt",reverseRegex:"acgcgt",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BspNCI"],site:"ccaga",forwardRegex:"c{2}aga",reverseRegex:"tctg{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["EcoHI","Eco1831I","Kpn49kII"],site:"ccsgg",forwardRegex:"c{2}[cgs]g{2}",reverseRegex:"c{2}[cgs]g{2}",topSnipOffset:0,bottomSnipOffset:5},{aliases:["PpsI","PleI"],site:"gagtc",forwardRegex:"gagtc",reverseRegex:"gactc",topSnipOffset:9,bottomSnipOffset:10,isType2S:!0},{aliases:["BfuI","BciVI"],site:"gtatcc",forwardRegex:"gtatc{2}",reverseRegex:"g{2}atac",topSnipOffset:12,bottomSnipOffset:11,isType2S:!0},{aliases:["TthHB27I"],site:"caarca",forwardRegex:"ca{2}[agr]ca",reverseRegex:"tg[cty]t{2}g",topSnipOffset:1,bottomSnipOffset:1},{aliases:["PspXI"],site:"vctcgagb",forwardRegex:"[acgmrsv]ctcgag[bcgksty]",reverseRegex:"[acgmrsv]ctcgag[bcgksty]",topSnipOffset:2,bottomSnipOffset:6},{aliases:["Lsp1270I"],site:"rcatgy",forwardRegex:"[agr]catg[cty]",reverseRegex:"[agr]catg[cty]",topSnipOffset:1,bottomSnipOffset:1},{aliases:["HpyC1I","BccI"],site:"ccatc",forwardRegex:"c{2}atc",reverseRegex:"gatg{2}",topSnipOffset:9,bottomSnipOffset:10,isType2S:!0},{aliases:["BseMII"],site:"ctcag",forwardRegex:"ctcag",reverseRegex:"ctgag",topSnipOffset:15,bottomSnipOffset:13,isType2S:!0},{aliases:["BstENI","EcoNI","XagI"],site:"cctnnnnnagg",forwardRegex:"c{2}t[abcdghkmnrstvwy]{5}ag{2}",reverseRegex:"c{2}t[abcdghkmnrstvwy]{5}ag{2}",topSnipOffset:5,bottomSnipOffset:6},{aliases:["EcoAI","Eco1446I"],site:"gagnnnnnnngtca",forwardRegex:"gag[abcdghkmnrstvwy]{7}gtca",reverseRegex:"tgac[abcdghkmnrstvwy]{7}ctc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["MmeI"],site:"tccrac",forwardRegex:"tc{2}[agr]ac",reverseRegex:"gt[cty]g{2}a",topSnipOffset:26,bottomSnipOffset:24,isType2S:!0},{aliases:["AjiI","BmgBI","BtrI"],site:"cacgtc",forwardRegex:"cacgtc",reverseRegex:"gacgtg",topSnipOffset:3,bottomSnipOffset:3},{aliases:["BlsI"],site:"gcngc",forwardRegex:"gc[abcdghkmnrstvwy]gc",reverseRegex:"gc[abcdghkmnrstvwy]gc",topSnipOffset:3,bottomSnipOffset:2},{aliases:["Bst170I","BsmGI"],site:"tgtaca",forwardRegex:"tgtaca",reverseRegex:"tgtaca",topSnipOffset:1,bottomSnipOffset:1},{aliases:["HpyBII","Hpy166II","Hpy8I"],site:"gtnnac",forwardRegex:"gt[abcdghkmnrstvwy]{2}ac",reverseRegex:"gt[abcdghkmnrstvwy]{2}ac",topSnipOffset:3,bottomSnipOffset:3},{aliases:["StySKI"],site:"cgatnnnnnnngtta",forwardRegex:"cgat[abcdghkmnrstvwy]{7}gt{2}a",reverseRegex:"ta{2}c[abcdghkmnrstvwy]{7}atcg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Esp23I","Esp16I"],site:"cgtctc",forwardRegex:"cgtctc",reverseRegex:"gagacg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BmgT120I"],site:"ggncc",forwardRegex:"g{2}[abcdghkmnrstvwy]c{2}",reverseRegex:"g{2}[abcdghkmnrstvwy]c{2}",topSnipOffset:2,bottomSnipOffset:3},{aliases:["BcoAI","BbrPI","PmlI","PspCI","PmaCI","Eco72I","AcvI"],site:"cacgtg",forwardRegex:"cacgtg",reverseRegex:"cacgtg",topSnipOffset:3,bottomSnipOffset:3},{aliases:["CjeP338II","BscUI","BsmNI","BhaI"],site:"gcatc",forwardRegex:"gcatc",reverseRegex:"gatgc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["KasI","SspDI"],site:"ggcgcc",forwardRegex:"g{2}cgc{2}",reverseRegex:"g{2}cgc{2}",topSnipOffset:1,bottomSnipOffset:5},{aliases:["FmuI"],site:"ggncc",forwardRegex:"g{2}[abcdghkmnrstvwy]c{2}",reverseRegex:"g{2}[abcdghkmnrstvwy]c{2}",topSnipOffset:4,bottomSnipOffset:1},{aliases:["RseI","MslI","SmiMI"],site:"caynnnnrtg",forwardRegex:"ca[cty][abcdghkmnrstvwy]{4}[agr]tg",reverseRegex:"ca[cty][abcdghkmnrstvwy]{4}[agr]tg",topSnipOffset:5,bottomSnipOffset:5},{aliases:["NmuCI","Tsp45I","Hpy51I"],site:"gtsac",forwardRegex:"gt[cgs]ac",reverseRegex:"gt[cgs]ac",topSnipOffset:0,bottomSnipOffset:5},{aliases:["Psp5II","PpuMI","PpuXI","Pfl27I","PspPPI"],site:"rggwccy",forwardRegex:"[agr]g{2}[atw]c{2}[cty]",reverseRegex:"[agr]g{2}[atw]c{2}[cty]",topSnipOffset:2,bottomSnipOffset:5},{aliases:["Bba179I","Bst1473I","UbaN10I"],site:"wccggw",forwardRegex:"[atw]c{2}g{2}[atw]",reverseRegex:"[atw]c{2}g{2}[atw]",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Eco912I"],site:"cacnnnnntggc",forwardRegex:"cac[abcdghkmnrstvwy]{5}tg{2}c",reverseRegex:"gc{2}a[abcdghkmnrstvwy]{5}gtg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SsmI"],site:"ctgatg",forwardRegex:"ctgatg",reverseRegex:"catcag",topSnipOffset:1,bottomSnipOffset:1},{aliases:["EsaSSI"],site:"gaccac",forwardRegex:"gac{2}ac",reverseRegex:"gtg{2}tc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["EcoDI"],site:"ttannnnnnngtcy",forwardRegex:"t{2}a[abcdghkmnrstvwy]{7}gtc[cty]",reverseRegex:"[agr]gac[abcdghkmnrstvwy]{7}ta{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BsoHI","BscHI"],site:"actgg",forwardRegex:"actg{2}",reverseRegex:"c{2}agt",topSnipOffset:1,bottomSnipOffset:1},{aliases:["NmeBI"],site:"gacgc",forwardRegex:"gacgc",reverseRegex:"gcgtc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["NspBII","MspA1I"],site:"cmgckg",forwardRegex:"c[acm]gc[gkt]g",reverseRegex:"c[acm]gc[gkt]g",topSnipOffset:3,bottomSnipOffset:3},{aliases:["BmgAI"],site:"gkgcmc",forwardRegex:"g[gkt]gc[acm]c",reverseRegex:"g[gkt]gc[acm]c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["NmeAIII"],site:"gccgag",forwardRegex:"gc{2}gag",reverseRegex:"ctcg{2}c",topSnipOffset:27,bottomSnipOffset:25,isType2S:!0},{aliases:["DrdIV"],site:"tacgac",forwardRegex:"tacgac",reverseRegex:"gtcgta",topSnipOffset:26,bottomSnipOffset:24,isType2S:!0},{aliases:["BscQII"],site:"gtctc",forwardRegex:"gtctc",reverseRegex:"gagac",topSnipOffset:1,bottomSnipOffset:1},{aliases:["AbsI"],site:"cctcgagg",forwardRegex:"c{2}tcgag{2}",reverseRegex:"c{2}tcgag{2}",topSnipOffset:2,bottomSnipOffset:6},{aliases:["Psp03I"],site:"ggwcc",forwardRegex:"g{2}[atw]c{2}",reverseRegex:"g{2}[atw]c{2}",topSnipOffset:4,bottomSnipOffset:1},{aliases:["BmtI","BspOI","AceII"],site:"gctagc",forwardRegex:"gctagc",reverseRegex:"gctagc",topSnipOffset:5,bottomSnipOffset:1},{aliases:["GsaI"],site:"cccagc",forwardRegex:"c{3}agc",reverseRegex:"gctg{3}",topSnipOffset:5,bottomSnipOffset:1},{aliases:["UbaF9I"],site:"tacnnnnnrtgt",forwardRegex:"tac[abcdghkmnrstvwy]{5}[agr]tgt",reverseRegex:"aca[cty][abcdghkmnrstvwy]{5}gta",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Hin1II","NlaIII","FaeI","Hsp92II","HpyCH4I"],site:"catg",forwardRegex:"catg",reverseRegex:"catg",topSnipOffset:4,bottomSnipOffset:0},{aliases:["Bbr7I"],site:"gaagac",forwardRegex:"ga{2}gac",reverseRegex:"gtct{2}c",topSnipOffset:13,bottomSnipOffset:17,isType2S:!0},{aliases:["Kaz48kI","PssI"],site:"rggnccy",forwardRegex:"[agr]g{2}[abcdghkmnrstvwy]c{2}[cty]",reverseRegex:"[agr]g{2}[abcdghkmnrstvwy]c{2}[cty]",topSnipOffset:5,bottomSnipOffset:2},{aliases:["BoxI","BstPAI","PshAI"],site:"gacnnnngtc",forwardRegex:"gac[abcdghkmnrstvwy]{4}gtc",reverseRegex:"gac[abcdghkmnrstvwy]{4}gtc",topSnipOffset:5,bottomSnipOffset:5},{aliases:["SgrDI"],site:"cgtcgacg",forwardRegex:"cgtcgacg",reverseRegex:"cgtcgacg",topSnipOffset:2,bottomSnipOffset:6},{aliases:["BssIMI","SimI"],site:"gggtc",forwardRegex:"g{3}tc",reverseRegex:"gac{3}",topSnipOffset:2,bottomSnipOffset:5},{aliases:["RleAI"],site:"cccaca",forwardRegex:"c{3}aca",reverseRegex:"tgtg{3}",topSnipOffset:18,bottomSnipOffset:15,isType2S:!0},{aliases:["EciI"],site:"ggcgga",forwardRegex:"g{2}cg{2}a",reverseRegex:"tc{2}gc{2}",topSnipOffset:17,bottomSnipOffset:15,isType2S:!0},{aliases:["Eco57MI"],site:"ctgrag",forwardRegex:"ctg[agr]ag",reverseRegex:"ct[cty]cag",topSnipOffset:22,bottomSnipOffset:20,isType2S:!0},{aliases:["AspJI","Ppu1253I"],site:"gacgtc",forwardRegex:"gacgtc",reverseRegex:"gacgtc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["UbaF11I"],site:"tcgta",forwardRegex:"tcgta",reverseRegex:"tacga",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SetI"],site:"asst",forwardRegex:"a[cgs]{2}t",reverseRegex:"a[cgs]{2}t",topSnipOffset:4,bottomSnipOffset:0},{aliases:["PspOMII"],site:"cgcccar",forwardRegex:"cgc{3}a[agr]",reverseRegex:"[cty]tg{3}cg",topSnipOffset:27,bottomSnipOffset:25,isType2S:!0},{aliases:["BsxI"],site:"actggg",forwardRegex:"actg{3}",reverseRegex:"c{3}agt",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Eco394I"],site:"gacnnnnnrtaay",forwardRegex:"gac[abcdghkmnrstvwy]{5}[agr]ta{2}[cty]",reverseRegex:"[agr]t{2}a[cty][abcdghkmnrstvwy]{5}gtc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["ApyPI"],site:"atcgac",forwardRegex:"atcgac",reverseRegex:"gtcgat",topSnipOffset:26,bottomSnipOffset:24,isType2S:!0},{aliases:["AlwNI","CaiI"],site:"cagnnnctg",forwardRegex:"cag[abcdghkmnrstvwy]{3}ctg",reverseRegex:"cag[abcdghkmnrstvwy]{3}ctg",topSnipOffset:6,bottomSnipOffset:3},{aliases:["TsuI"],site:"gcgac",forwardRegex:"gcgac",reverseRegex:"gtcgc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Bca77I","BsaWI","BetI"],site:"wccggw",forwardRegex:"[atw]c{2}g{2}[atw]",reverseRegex:"[atw]c{2}g{2}[atw]",topSnipOffset:1,bottomSnipOffset:5},{aliases:["EcoDR3"],site:"tcannnnnnnatcg",forwardRegex:"tca[abcdghkmnrstvwy]{7}atcg",reverseRegex:"cgat[abcdghkmnrstvwy]{7}tga",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SgrAI"],site:"crccggyg",forwardRegex:"c[agr]c{2}g{2}[cty]g",reverseRegex:"c[agr]c{2}g{2}[cty]g",topSnipOffset:2,bottomSnipOffset:6},{aliases:["M.NgoMXV"],site:"gcchr",forwardRegex:"gc{2}[achmtwy][agr]",reverseRegex:"[cty][adgkrtw]g{2}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["EcoRD2"],site:"gaannnnnnrttc",forwardRegex:"ga{2}[abcdghkmnrstvwy]{6}[agr]t{2}c",reverseRegex:"ga{2}[cty][abcdghkmnrstvwy]{6}t{2}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["TspGWI"],site:"acgga",forwardRegex:"acg{2}a",reverseRegex:"tc{2}gt",topSnipOffset:16,bottomSnipOffset:14,isType2S:!0},{aliases:["CviAII"],site:"catg",forwardRegex:"catg",reverseRegex:"catg",topSnipOffset:1,bottomSnipOffset:3},{aliases:["XcmI"],site:"ccannnnnnnnntgg",forwardRegex:"c{2}a[abcdghkmnrstvwy]{9}tg{2}",reverseRegex:"c{2}a[abcdghkmnrstvwy]{9}tg{2}",topSnipOffset:8,bottomSnipOffset:7},{aliases:["EcoRD3"],site:"gaannnnnnnrttc",forwardRegex:"ga{2}[abcdghkmnrstvwy]{7}[agr]t{2}c",reverseRegex:"ga{2}[cty][abcdghkmnrstvwy]{7}t{2}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SpoDI"],site:"gcggrag",forwardRegex:"gcg{2}[agr]ag",reverseRegex:"ct[cty]c{2}gc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["UbaN12I"],site:"cacgag",forwardRegex:"cacgag",reverseRegex:"ctcgtg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["PspFI"],site:"cccagc",forwardRegex:"c{3}agc",reverseRegex:"gctg{3}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["PfoI"],site:"tccngga",forwardRegex:"tc{2}[abcdghkmnrstvwy]g{2}a",reverseRegex:"tc{2}[abcdghkmnrstvwy]g{2}a",topSnipOffset:1,bottomSnipOffset:6},{aliases:["Sse8647I"],site:"aggwcct",forwardRegex:"ag{2}[atw]c{2}t",reverseRegex:"ag{2}[atw]c{2}t",topSnipOffset:2,bottomSnipOffset:5},{aliases:["KflI","Sse1825I","SanDI"],site:"gggwccc",forwardRegex:"g{3}[atw]c{3}",reverseRegex:"g{3}[atw]c{3}",topSnipOffset:2,bottomSnipOffset:5},{aliases:["Sth132I"],site:"cccg",forwardRegex:"c{3}g",reverseRegex:"cg{3}",topSnipOffset:8,bottomSnipOffset:12,isType2S:!0},{aliases:["CdpI"],site:"gcggag",forwardRegex:"gcg{2}ag",reverseRegex:"ctc{2}gc",topSnipOffset:26,bottomSnipOffset:24,isType2S:!0},{aliases:["Asp90I"],site:"acrygt",forwardRegex:"ac[agr][cty]gt",reverseRegex:"ac[agr][cty]gt",topSnipOffset:1,bottomSnipOffset:1},{aliases:["M.CviPI"],site:"gc",forwardRegex:"gc",reverseRegex:"gc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["MauBI"],site:"cgcgcgcg",forwardRegex:"cgcgcgcg",reverseRegex:"cgcgcgcg",topSnipOffset:2,bottomSnipOffset:6},{aliases:["CfrAI"],site:"gcannnnnnnngtgg",forwardRegex:"gca[abcdghkmnrstvwy]{8}gtg{2}",reverseRegex:"c{2}ac[abcdghkmnrstvwy]{8}tgc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Eco851I"],site:"gtcannnnnntgay",forwardRegex:"gtca[abcdghkmnrstvwy]{6}tga[cty]",reverseRegex:"[agr]tca[abcdghkmnrstvwy]{6}tgac",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BsgI"],site:"gtgcag",forwardRegex:"gtgcag",reverseRegex:"ctgcac",topSnipOffset:22,bottomSnipOffset:20,isType2S:!0},{aliases:["AquIV"],site:"grggaag",forwardRegex:"g[agr]g{2}a{2}g",reverseRegex:"ct{2}c{2}[cty]c",topSnipOffset:26,bottomSnipOffset:24,isType2S:!0},{aliases:["SciI"],site:"ctcgag",forwardRegex:"ctcgag",reverseRegex:"ctcgag",topSnipOffset:3,bottomSnipOffset:3},{aliases:["VpaK11AI"],site:"ggwcc",forwardRegex:"g{2}[atw]c{2}",reverseRegex:"g{2}[atw]c{2}",topSnipOffset:0,bottomSnipOffset:5},{aliases:["CviKI","CviJI","CviKI-1"],site:"rgcy",forwardRegex:"[agr]gc[cty]",reverseRegex:"[agr]gc[cty]",topSnipOffset:2,bottomSnipOffset:2},{aliases:["SnoI","VneI","ApaLI","Alw44I"],site:"gtgcac",forwardRegex:"gtgcac",reverseRegex:"gtgcac",topSnipOffset:1,bottomSnipOffset:5},{aliases:["BspD6I"],site:"gactc",forwardRegex:"gactc",reverseRegex:"gagtc",topSnipOffset:9,bottomSnipOffset:11,isType2S:!0},{aliases:["FatI"],site:"catg",forwardRegex:"catg",reverseRegex:"catg",topSnipOffset:0,bottomSnipOffset:4},{aliases:["ZraI"],site:"gacgtc",forwardRegex:"gacgtc",reverseRegex:"gacgtc",topSnipOffset:3,bottomSnipOffset:3},{aliases:["HineI","HinfIII"],site:"cgaat",forwardRegex:"cga{2}t",reverseRegex:"at{2}cg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["UbaF12I"],site:"ctacnnngtc",forwardRegex:"ctac[abcdghkmnrstvwy]{3}gtc",reverseRegex:"gac[abcdghkmnrstvwy]{3}gtag",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Ppu10I"],site:"atgcat",forwardRegex:"atgcat",reverseRegex:"atgcat",topSnipOffset:1,bottomSnipOffset:5},{aliases:["ApaBI"],site:"gcannnnntgc",forwardRegex:"gca[abcdghkmnrstvwy]{5}tgc",reverseRegex:"gca[abcdghkmnrstvwy]{5}tgc",topSnipOffset:8,bottomSnipOffset:3},{aliases:["NhaXI"],site:"caagrag",forwardRegex:"ca{2}g[agr]ag",reverseRegex:"ct[cty]ct{2}g",topSnipOffset:1,bottomSnipOffset:1},{aliases:["PabI"],site:"gtac",forwardRegex:"gtac",reverseRegex:"gtac",topSnipOffset:3,bottomSnipOffset:1},{aliases:["HindI"],site:"cac",forwardRegex:"cac",reverseRegex:"gtg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["M.PhiMx8I"],site:"ctssag",forwardRegex:"ct[cgs]{2}ag",reverseRegex:"ct[cgs]{2}ag",topSnipOffset:1,bottomSnipOffset:1},{aliases:["RhcI"],site:"tcatga",forwardRegex:"tcatga",reverseRegex:"tcatga",topSnipOffset:1,bottomSnipOffset:1},{aliases:["KpnI"],site:"ggtacc",forwardRegex:"g{2}tac{2}",reverseRegex:"g{2}tac{2}",topSnipOffset:5,bottomSnipOffset:1},{aliases:["BpuDI","Bpu10I"],site:"cctnagc",forwardRegex:"c{2}t[abcdghkmnrstvwy]agc",reverseRegex:"gct[abcdghkmnrstvwy]ag{2}",topSnipOffset:2,bottomSnipOffset:5},{aliases:["EcoP15I"],site:"cagcag",forwardRegex:"cagcag",reverseRegex:"ctgctg",topSnipOffset:31,bottomSnipOffset:33,isType2S:!0},{aliases:["Nli3877I"],site:"cycgrg",forwardRegex:"c[cty]cg[agr]g",reverseRegex:"c[cty]cg[agr]g",topSnipOffset:5,bottomSnipOffset:1},{aliases:["StySEAI"],site:"acannnnnntyca",forwardRegex:"aca[abcdghkmnrstvwy]{6}t[cty]ca",reverseRegex:"tg[agr]a[abcdghkmnrstvwy]{6}tgt",topSnipOffset:1,bottomSnipOffset:1},{aliases:["M.CviAIV"],site:"rgcb",forwardRegex:"[agr]gc[bcgksty]",reverseRegex:"[acgmrsv]gc[cty]",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Msp16I"],site:"tggcca",forwardRegex:"tg{2}c{2}a",reverseRegex:"tg{2}c{2}a",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SasI"],site:"gaggag",forwardRegex:"gag{2}ag",reverseRegex:"ctc{2}tc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["AquIII"],site:"gaggag",forwardRegex:"gag{2}ag",reverseRegex:"ctc{2}tc",topSnipOffset:26,bottomSnipOffset:24,isType2S:!0},{aliases:["FaiI"],site:"yatr",forwardRegex:"[cty]at[agr]",reverseRegex:"[cty]at[agr]",topSnipOffset:2,bottomSnipOffset:2},{aliases:["BsbI"],site:"caacac",forwardRegex:"ca{2}cac",reverseRegex:"gtgt{2}g",topSnipOffset:27,bottomSnipOffset:25,isType2S:!0},{aliases:["NgoAV"],site:"gcannnnnnnntgc",forwardRegex:"gca[abcdghkmnrstvwy]{8}tgc",reverseRegex:"gca[abcdghkmnrstvwy]{8}tgc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BstAPI"],site:"gcannnnntgc",forwardRegex:"gca[abcdghkmnrstvwy]{5}tgc",reverseRegex:"gca[abcdghkmnrstvwy]{5}tgc",topSnipOffset:7,bottomSnipOffset:4},{aliases:["BsmEI"],site:"gagtc",forwardRegex:"gagtc",reverseRegex:"gactc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["NcuII"],site:"cccg",forwardRegex:"c{3}g",reverseRegex:"cg{3}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["CviMI","CviNI","CviLI","CviOI"],site:"rgcy",forwardRegex:"[agr]gc[cty]",reverseRegex:"[agr]gc[cty]",topSnipOffset:1,bottomSnipOffset:1},{aliases:["StySGI"],site:"taannnnnnrtcg",forwardRegex:"ta{2}[abcdghkmnrstvwy]{6}[agr]tcg",reverseRegex:"cga[cty][abcdghkmnrstvwy]{6}t{2}a",topSnipOffset:1,bottomSnipOffset:1},{aliases:["UbaF14I"],site:"ccannnnntcg",forwardRegex:"c{2}a[abcdghkmnrstvwy]{5}tcg",reverseRegex:"cga[abcdghkmnrstvwy]{5}tg{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["UbaPI"],site:"cgaacg",forwardRegex:"cga{2}cg",reverseRegex:"cgt{2}cg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["TspDTI"],site:"atgaa",forwardRegex:"atga{2}",reverseRegex:"t{2}cat",topSnipOffset:16,bottomSnipOffset:14,isType2S:!0},{aliases:["SspI"],site:"aatatt",forwardRegex:"a{2}tat{2}",reverseRegex:"a{2}tat{2}",topSnipOffset:3,bottomSnipOffset:3},{aliases:["GdiII"],site:"cggccr",forwardRegex:"cg{2}c{2}[agr]",reverseRegex:"[cty]g{2}c{2}g",topSnipOffset:1,bottomSnipOffset:5},{aliases:["StySQI"],site:"aacnnnnnnrtayg",forwardRegex:"a{2}c[abcdghkmnrstvwy]{6}[agr]ta[cty]g",reverseRegex:"c[agr]ta[cty][abcdghkmnrstvwy]{6}gt{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["NlaCI"],site:"catcac",forwardRegex:"catcac",reverseRegex:"gtgatg",topSnipOffset:25,bottomSnipOffset:23,isType2S:!0},{aliases:["PacI"],site:"ttaattaa",forwardRegex:"t{2}a{2}t{2}a{2}",reverseRegex:"t{2}a{2}t{2}a{2}",topSnipOffset:5,bottomSnipOffset:3},{aliases:["BarI"],isType2S:!0,site:"gaagnnnnnntac",forwardRegex:"ga{2}g[abcdghkmnrstvwy]{6}tac",reverseRegex:"gta[abcdghkmnrstvwy]{6}ct{2}c",topSnipOffset:25,bottomSnipOffset:20,cutType:1,usForward:25,usReverse:20},{aliases:["CspCI"],isType2S:!0,site:"caannnnngtgg",forwardRegex:"ca{2}[abcdghkmnrstvwy]{5}gtg{2}",reverseRegex:"c{2}ac[abcdghkmnrstvwy]{5}t{2}g",topSnipOffset:24,bottomSnipOffset:22,cutType:1,usForward:24,usReverse:22},{aliases:["NmeDI"],site:"rccggy",forwardRegex:"[agr]c{2}g{2}[cty]",reverseRegex:"[agr]c{2}g{2}[cty]",topSnipOffset:13,bottomSnipOffset:18,cutType:1,usForward:13,usReverse:18,isType2S:!0},{aliases:["CjePI"],site:"ccannnnnnntc",forwardRegex:"c{2}a[abcdghkmnrstvwy]{7}tc",reverseRegex:"ga[abcdghkmnrstvwy]{7}tg{2}",topSnipOffset:26,bottomSnipOffset:20,cutType:1,usForward:26,usReverse:20,isType2S:!0},{aliases:["CjeI"],site:"ccannnnnngt",forwardRegex:"c{2}a[abcdghkmnrstvwy]{6}gt",reverseRegex:"ac[abcdghkmnrstvwy]{6}tg{2}",topSnipOffset:26,bottomSnipOffset:20,cutType:1,usForward:26,usReverse:20,isType2S:!0},{aliases:["PsrI"],site:"gaacnnnnnntac",forwardRegex:"ga{2}c[abcdghkmnrstvwy]{6}tac",reverseRegex:"gta[abcdghkmnrstvwy]{6}gt{2}c",topSnipOffset:25,bottomSnipOffset:20,cutType:1,usForward:25,usReverse:20,isType2S:!0},{aliases:["ArsI"],site:"gacnnnnnnttyg",forwardRegex:"gac[abcdghkmnrstvwy]{6}t{2}[cty]g",reverseRegex:"c[agr]a{2}[abcdghkmnrstvwy]{6}gtc",topSnipOffset:24,bottomSnipOffset:19,cutType:1,usForward:24,usReverse:19,isType2S:!0},{aliases:["TstI"],site:"cacnnnnnntcc",forwardRegex:"cac[abcdghkmnrstvwy]{6}tc{2}",reverseRegex:"g{2}a[abcdghkmnrstvwy]{6}gtg",topSnipOffset:24,bottomSnipOffset:19,cutType:1,usForward:24,usReverse:19,isType2S:!0},{aliases:["Bsp24I"],site:"gacnnnnnntgg",forwardRegex:"gac[abcdghkmnrstvwy]{6}tg{2}",reverseRegex:"c{2}a[abcdghkmnrstvwy]{6}gtc",topSnipOffset:24,bottomSnipOffset:19,cutType:1,usForward:24,usReverse:19,isType2S:!0},{aliases:["AloI"],site:"gaacnnnnnntcc",forwardRegex:"ga{2}c[abcdghkmnrstvwy]{6}tc{2}",reverseRegex:"g{2}a[abcdghkmnrstvwy]{6}gt{2}c",topSnipOffset:25,bottomSnipOffset:20,cutType:1,usForward:25,usReverse:20,isType2S:!0},{aliases:["FalI"],site:"aagnnnnnctt",forwardRegex:"a{2}g[abcdghkmnrstvwy]{5}ct{2}",reverseRegex:"a{2}g[abcdghkmnrstvwy]{5}ct{2}",topSnipOffset:24,bottomSnipOffset:19,cutType:1,usForward:24,usReverse:19,isType2S:!0},{aliases:["AjuI"],site:"gaannnnnnnttgg",forwardRegex:"ga{2}[abcdghkmnrstvwy]{7}t{2}g{2}",reverseRegex:"c{2}a{2}[abcdghkmnrstvwy]{7}t{2}c",topSnipOffset:25,bottomSnipOffset:20,cutType:1,usForward:25,usReverse:20,isType2S:!0},{aliases:["AlfI"],site:"gcannnnnntgc",forwardRegex:"gca[abcdghkmnrstvwy]{6}tgc",reverseRegex:"gca[abcdghkmnrstvwy]{6}tgc",topSnipOffset:24,bottomSnipOffset:22,cutType:1,usForward:24,usReverse:22,isType2S:!0},{aliases:["NgoAVIII"],site:"gacnnnnntga",forwardRegex:"gac[abcdghkmnrstvwy]{5}tga",reverseRegex:"tca[abcdghkmnrstvwy]{5}gtc",topSnipOffset:24,bottomSnipOffset:22,cutType:1,usForward:24,usReverse:22,isType2S:!0},{aliases:["HaeIV"],site:"gaynnnnnrtc",forwardRegex:"ga[cty][abcdghkmnrstvwy]{5}[agr]tc",reverseRegex:"ga[cty][abcdghkmnrstvwy]{5}[agr]tc",topSnipOffset:25,bottomSnipOffset:20,cutType:1,usForward:25,usReverse:20,isType2S:!0},{aliases:["BdaI"],site:"tgannnnnntca",forwardRegex:"tga[abcdghkmnrstvwy]{6}tca",reverseRegex:"tga[abcdghkmnrstvwy]{6}tca",topSnipOffset:24,bottomSnipOffset:22,cutType:1,usForward:24,usReverse:22,isType2S:!0},{aliases:["PpiI"],site:"gaacnnnnnctc",forwardRegex:"ga{2}c[abcdghkmnrstvwy]{5}ctc",reverseRegex:"gag[abcdghkmnrstvwy]{5}gt{2}c",topSnipOffset:25,bottomSnipOffset:20,cutType:1,usForward:25,usReverse:20,isType2S:!0},{aliases:["BcgI"],site:"cgannnnnntgc",forwardRegex:"cga[abcdghkmnrstvwy]{6}tgc",reverseRegex:"gca[abcdghkmnrstvwy]{6}tcg",topSnipOffset:24,bottomSnipOffset:22,cutType:1,usForward:24,usReverse:22,isType2S:!0},{aliases:["BplI"],site:"gagnnnnnctc",forwardRegex:"gag[abcdghkmnrstvwy]{5}ctc",reverseRegex:"gag[abcdghkmnrstvwy]{5}ctc",topSnipOffset:24,bottomSnipOffset:19,cutType:1,usForward:24,usReverse:19,isType2S:!0},{aliases:["BsaXI"],site:"acnnnnnctcc",forwardRegex:"ac[abcdghkmnrstvwy]{5}ctc{2}",reverseRegex:"g{2}ag[abcdghkmnrstvwy]{5}gt",topSnipOffset:21,bottomSnipOffset:18,cutType:1,usForward:21,usReverse:18,isType2S:!0},{aliases:["Hin4I"],site:"gaynnnnnvtc",forwardRegex:"ga[cty][abcdghkmnrstvwy]{5}[acgmrsv]tc",reverseRegex:"ga[bcgksty][abcdghkmnrstvwy]{5}[agr]tc",topSnipOffset:24,bottomSnipOffset:19,cutType:1,usForward:24,usReverse:19,isType2S:!0},{aliases:["BaeI"],site:"acnnnngtayc",forwardRegex:"ac[abcdghkmnrstvwy]{4}gta[cty]c",reverseRegex:"g[agr]tac[abcdghkmnrstvwy]{4}gt",topSnipOffset:23,bottomSnipOffset:18,cutType:1,usForward:23,usReverse:18,isType2S:!0},{aliases:["SdeOSI"],site:"gacnnnnrtga",forwardRegex:"gac[abcdghkmnrstvwy]{4}[agr]tga",reverseRegex:"tca[cty][abcdghkmnrstvwy]{4}gtc",topSnipOffset:23,bottomSnipOffset:21,cutType:1,usForward:23,usReverse:21,isType2S:!0}],di={};iv.forEach(a=>{a.aliases.forEach(n=>{di[n.toLowerCase()]={...a,name:n}})});const ov=["aari","aatii","aaui","accebi","acci","accii","acciii","acsi","afai","aflii","alui","aor13hi","aor51hi","apai","apali","asci","asisi","asp35hi","asp713i","aspmi","atsi","atu1i","atu1ii","avrbi","avrii","bali","bamhi","banii","bari","baui","bbvbi","bcni","bcoki","bdii","bgli","bglii","blni","bme216i","bmet110i","bmgt120i","bmui","bnai","bpu1102i","bpuai","bpub5i","bsai","bsavi","bseri","bsgi","bshhi","bsiwi","bsmbi","bsmfi","bsofi","bsp105i","bsp1286i","bsp139i","bsp1407i","bsp4009i","bsp70i","bsp71i","bspa2i","bspci","bspfni","bspt104i","bspt107i","bsrfi","bsshii","bst1107i","bstb7si","bsthi","bstiz316i","bstli","bstpi","bstri","bstxi","bsu1532i","bsu8565i","bsu90i","btgai","btsci","btsi","bvei","ccini","ccop95i","ceqi","cfr10i","cfr45i","cfr47i","cfr6i","cjuii","clai","cpaai","cpoi","cspai","cspci","ddei","dpni","drai","dsai","dsavi","eaei","eagi","eam1105i","ecidi","ecl37i","eco211i","eco240i","eco241i","eco246i","eco247i","eco52i","eco68i","eco81i","eco93i","ecoicri","ecoo109i","ecoo65i","ecopi","ecoprri","ecori","ecorv","ecot14i","ecot22i","ecoviii","ehei","esphk22i","fbai","fdiii","foki","fsei","haeii","haeiii","hapii","hgiai","hgibi","hhai","hin1i","hincii","hindiii","hinfi","hpai","hpyf13iii","hpyf19ii","hpyf21i","hpyf28i","hpyf29i","hpyf36i","hpyf62i","hpyf65i","hpyii","koyi","kpni","m.bbu297i","m.pmudam","maek81i","mboi","mboii","mfli","mizi","mlui","mph1103ii","msei","msii","mspi","mthai","muni","naei","ncoi","ndai","ndei","nflaii","ngbi","ngobviii","ngodviii","ngoeii","ngotii","nhei","nlaiv","noci","noti","novii","nrui","nsbi","nsici","nsp29132i","paci","pae17ki","pca17ai","pfaaiii","pfl16i","ple214i","pmaci","pmei","pru2i","psb9879i","pshai","pshbi","psp1406i","psp31i","psp33i","psp5i","psti","psuni","pvui","pvuii","ral8i","rsplki","saci","sacii","sali","sapi","sau3ai","sauni","sbai","sbfi","scai","sfii","sflhk115731i","slu1777i","smai","smii","snabi","spei","sphi","srfi","srl61di","sse8387i","ssp2i","sspi","stui","suii","swai","taqi","tauii","tsci","tth111i","tthhb8i","uba1093i","uba1095i","uba1122i","uba1160i","uba1229i","uba1371i","uba1380i","uba1403i","uba1415i","uba1437i","uba1439i","uba1440i","uba36i","uba41i","uba42i","uba89i","uban13i","van91i","vcho66i","vpak11bi","vpakutji","xbai","xcyi","xhoi","xmai","xmli","xphi","xspi"],Sg={};ov.forEach(a=>{Sg[a]=di[a]});function Vr(a,n,r,o){const f={};for(let i=0;i<a;i++){const c=fv(n,r,o);f[c.id]=c}return f}function fv(a,n,r){return{...V2(a,n,r),name:cv(0,1e5).toString(),type:"misc_feature",id:Jt().str,forward:Math.random()>.5,notes:{}}}function cv(a,n){return Math.floor(Math.random()*(n-a))+a}function gv({isProtein:a,sequenceLength:n=1e3,numFeatures:r,numParts:o,numPrimers:f,numTranslations:i}={}){const c=a&&Sc(n,!0),g=!a&&Sc(n);return{circular:a?!1:Math.random()>.5,name:"p-"+Math.floor(Math.random*100),description:"",isProtein:a,sequence:g,proteinSequence:c,translations:a?void 0:Vr(i||5,0,n-1,n/3),features:Vr(r||10,0,n-1,n/3),primers:a?void 0:Vr(f||10,0,n-1,50),parts:Vr(o||10,0,n-1,n/3)}}function Sc(a=9,n){let r="";const o=n?"":"gatc";for(let f=0;f<a;f++)r+=o.charAt(Math.floor(Math.random()*o.length));return r}function lv(a,n,r,o){if(r||(r=0),a.length<n.length)return null;const f=new RegExp(n,"ig");let i,c,g=1/0;for(;(i=f.exec(a+(o?"":a)))&&!(i.index>a.length);){let l=Math.abs(i.index-r);if(l=o?l:Math.min(l,Math.abs(l-a.length)),l>g)break;c=i.index,g=l}return _c({start:c,end:c+n.length-1},a.length)}function ei(a){let n=a.sequence;const r=a.minimumOrfSize,o=a.forward,f=a.circular,i=a.useAdditionalOrfStartCodons,c=n.length;o||(n=At(n)),f&&(n+=n);const g=i?/(?=((?:A[TU]G|G[TU]G|C[TU]G)(?:.{3})*?(?:[TU]AG|[TU]AA|[TU]GA)))/gi:/(?=((?:A[TU]G)(?:.{3})*?(?:[TU]AG|[TU]AA|[TU]GA)))/gi;let l;const p=[];for(;(l=g.exec(n))!==null;){l.index===g.lastIndex&&g.lastIndex++;const v=l[1].length;if(v>=r){const m=l.index;let w=v+m-1;w>=c&&(w-=c),m<c&&p.push({start:m,end:w,length:l[1].length,internalStartCodonIndices:[],frame:m%3,forward:o,annotationTypePlural:"orfs",isOrf:!0,id:Jt().str})}}const I={};return p.forEach((v,m)=>{const w=I[v.end];if(typeof w<"u"){let B=v,x=p[w];x.length<B.length&&(B=p[w],x=v,I[v.end]=m);const C=o?B.start:c-B.start-1;x.internalStartCodonIndices=[...x.internalStartCodonIndices,...B.internalStartCodonIndices,C],B.remove=!0}else if(I[v.end]=m,!o){const B=v.end;v.end=c-v.start-1,v.start=c-B-1}}),p.filter(v=>!v.remove)}function uv(a,n,r,o){const f=ei({sequence:a,minimumOrfSize:r,forward:!0,circular:n,useAdditionalOrfStartCodons:o}),i=ei({sequence:a,minimumOrfSize:r,forward:!1,circular:n,useAdditionalOrfStartCodons:o});return f.concat(i)}var pv=/[|\\{}()[\]^$+*?.]/g,Iv=function(a){if(typeof a!="string")throw new TypeError("Expected a string");return a.replace(pv,"\\$&")};const hv=Xr(Iv);function vr(a){const n=Wr(a,!0),r=[];let o="";return n.forEach(f=>{f.fullCodon&&(r[f.aminoAcidIndex]=f.aminoAcid.value)}),o=r.join(""),o}function dv(a,n,r={}){let o=bc(a,n,r);const{searchReverseStrand:f}=r;if(f){const i=a.length;let c;c=At(a);const l=bc(c,n,r).map(p=>({...L2(p,{start:0,end:i-1},i),bottomStrand:!0}));o=[...o,...l]}return o}function bc(a,n,r={}){const{isCircular:o,isAmbiguous:f,isProteinSequence:i,isProteinSearch:c}=r;let g=hv(n);if(f&&(c||i?g=yc(g,!0):g=yc(g)),!g)return[];let l=a;o&&(l=l+l);let p=[{seqToCheck:l,offset:0}];c&&(p=[{seqToCheck:vr(l),offset:0},{seqToCheck:vr(l.substr(1)),offset:1},{seqToCheck:vr(l.substr(2)),offset:2}]);let I=[];return p.forEach(({seqToCheck:h,offset:v})=>{const m=new RegExp(g,"ig");let w,B;for(;(w=m.exec(h))!==null;)B={start:w.index,end:w.index+n.length-1},c&&(B.start=B.start*3+v,B.end=B.end*3+2+v),I.push(X2(B,a.length)),m.lastIndex=w.index+1}),V.uniqBy(I,h=>h.start+"-"+h.end)}function yc(a,n){return V.reduce(a,(r,o)=>{const f=n?Bc[o.toUpperCase()]:Qn[o.toUpperCase()];return f&&(f.length===1?r+=f:r+=`[${f}]`),r},"")}function vv(a,n,r,o){const f=r[o-1];if(f&&f.aminoAcidIndex===n.aminoAcidIndex){const i=r[o-2];return i&&i.aminoAcidIndex===n.aminoAcidIndex?{start:a-2,end:a}:n.fullCodon===!0?{start:a-1,end:a+1}:{start:a-1,end:a}}else{if(n.fullCodon===!0)return{start:a,end:a+2};{const i=r[o-2];return i&&i.aminoAcidIndex===n.aminoAcidIndex?{start:a,end:a+1}:{start:a,end:a+1}}}}function mv(a){return vr(a).split("").reverse().join("")}function jr(a){let n="";for(let r=0;r<a.length;r++){let o=si[a[r]];o||(o=a[r]),n+=o}return n}function Is(a,n,r={}){if(!n)return a;const{exclude:o={},excludePartial:f={}}=r,i=Te(a,r);ut.forEach(g=>{delete i[`filtered${V.startCase(g)}`]});const c=V.extend({},i,{circular:i.sequence.length===Oe(n,a.sequence.length)?i.circular:!1,sequence:Ot(n,i.sequence),proteinSequence:Ot(hi(n),i.proteinSequence)},ut.reduce((g,l)=>o[l]?(g[l]=[],g):(g[l]=bg(i[l],n,i.sequence.length,f[l]),g),{}));if(n.overlapsSelf){const g=ps({sequence:c.sequence},i,n.start),l=Is(g,{start:n.end+1,end:n.end},r);return ut.forEach(p=>{V.forEach(l[p],I=>{I.overlapsSelf&&I.start===0&&Oe(I,i.sequence.length)===Oe(n,i.sequence.length)&&(I.overlapsSelf=!1,I.end=l.sequence.length-1)})}),Te(l,r)}return Te(c,r)}function bg(a,n,r,o){return V.flatMap(a,f=>{f.locations&&f.locations.length&&(f.locations=bg(f.locations,n,r,o));const i=Y2(f,n,r).map(c=>V.extend({},f,c));if(o){if(i.length>1)return[];if(i[0]&&Oe(i[0],r)!==Oe(f,r))return[]}return i}).map(f=>(f.locations&&f.locations.length&&(f.start=f.locations[0].start,f.end=f.locations[f.locations.length-1].end,f.locations.length===1&&delete f.locations),f))}function Sv(a,n={}){const r=Te(Is(a,n.range),n),o=Object.assign({},r,{sequence:jr(r.sequence)});return Te(o,n)}function bv(a){const{topSnipOffset:n,bottomSnipOffset:r}=a;return n===r?"blunt":n<r?"5' overhang":"3' overhang"}function yv(a,n,r){return n.start>-1?[Wn(n.start,r),Wn(n.end+2,r)]:a>-1?[Wn(a,r),Wn(a+1,r)]:[r,1]}function wv(a,n,r){let o={leftHandSide:"",rightHandSide:""};return xc(n,a)?(o.leftHandSide=Ot({start:a.start,end:se(n-1,r.length)},r),o.rightHandSide=Ot({start:n,end:a.end},r)):j2(n,a,r.length)?o.rightHandSide=Ot(a,r):o.leftHandSide=Ot(a,r),o}function Rv(a,n,r){n=n.toLowerCase(),a=a.toLowerCase();const f=(n+n).indexOf(a);return f>-1?{start:f,end:Fc(f+a.length-1,{start:0,end:n.length-1})}:null}function Ov(a,n){n=n.length?n:[n];let r=a.sequence,o=r.length,f=a.circular,i=[];n.forEach(g=>{let l=fs(r,f,g);i=i.concat(l)});let c=[];return i.length<1?c:i.length===1?(c.push(za(i[0],i[0],o)),c):(yg(i).forEach(l=>{let p=l[0],I=l[1],h=za(p,I,o),v=za(I,p,o);(f||!(h.start>h.end))&&c.push(h),(f||!(v.start>v.end))&&c.push(v)}),c)}function za(a,n,r){let o=wc(a.restrictionEnzyme),f=wc(n.restrictionEnzyme),i=a.topSnipBeforeBottom?a.topSnipPosition:a.bottomSnipPosition,c=se((n.topSnipBeforeBottom?n.bottomSnipPosition:n.topSnipPosition)-1,r);return{start:i,start1Based:i+1,end:c,end1Based:c+1,firstCut:a,firstCutOffset:o,firstCutOverhang:a.overhangBps,firstCutOverhangTop:o>0?a.overhangBps:"",firstCutOverhangBottom:o<0?jr(a.overhangBps):"",secondCut:n,secondCutOffset:f,secondCutOverhang:n.overhangBps,secondCutOverhangTop:f<0?n.overhangBps:"",secondCutOverhangBottom:f>0?jr(n.overhangBps):""}}function wc(a){return a.bottomSnipOffset-a.topSnipOffset}function yg(a){if(a.length<2)return[];let n=a[0],r=a.slice(1);return r.map(f=>[n,f]).concat(yg(r))}function Bv(a){const n=Wr(a,!1),r=[];let o="";return n.forEach(f=>{f.fullCodon&&(r[f.aminoAcidIndex]=f.aminoAcid.value)}),o=r.join(""),o}function Av(a){return vr(At(a))}function wg(a,n){return Object.assign({},a,{start:n-(a.end+1),end:n-(a.start+1),forward:!a.forward,strand:a.strand===1?-1:1})}function xv(a,n={}){const r=Te(Is(a,n.range),n),o=Object.assign({},r,{sequence:At(r.sequence)},ut.reduce((f,i)=>(r[i]&&(f[i]=V.map(r[i],c=>wg(c,r.sequence.length))),f),{}));return Te(o,n)}function _v(a){let n="";for(let r=a.length-1;r>=0;r--){let o=a[r];o||(o=a[r]),n+=o}return n}function Ev(a,n={}){const{threshold:r=.9,loose:o}=n,i=(n.dnaLetters||o?[...Oc.split(""),"U"]:["G","A","T","C","U"]).reduce((g,l)=>(g[l.toUpperCase()]=!0,g),{});let c=0;if(!a||!a.length)return!0;for(let g=0;g<a.length;g++){const l=a[g];i[l.toUpperCase()]&&(c=c+1)}return c/a.length>r}function Rg(a,n,r,{splitForwardReverse:o}={}){const f={},i={},c={};return V.each(a,g=>{const l=!!(g.locations&&g.locations.length);g.overlapsSelf&&(c[g.id]||(Ja({wrappedAnnotations:c,annotation:{start:0,end:n-1,id:`__tempAnnRemoveMe__${g.id}`},sequenceLength:n,bpsPerRow:r,annotationsToRowsMap:f,yOffsetLevelMap:i,containsLocations:l,splitForwardReverse:o}),c[g.id]=!0)),Ja({wrappedAnnotations:c,annotation:g,sequenceLength:n,bpsPerRow:r,annotationsToRowsMap:f,yOffsetLevelMap:i,containsLocations:l,splitForwardReverse:o}),l&&g.locations.forEach(p=>{Ja({wrappedAnnotations:c,annotation:g,sequenceLength:n,bpsPerRow:r,annotationsToRowsMap:f,yOffsetLevelMap:i,location:p,splitForwardReverse:o})})}),V.forEach(f,(g,l)=>{f[l]=V.filter(g,p=>!V.startsWith(p.id,"__tempAnnRemoveMe__"))}),f}function Ja({wrappedAnnotations:a,annotation:n,sequenceLength:r,bpsPerRow:o,annotationsToRowsMap:f,yOffsetLevelMap:i,location:c,containsLocations:g,splitForwardReverse:l}){Bt(c||n,r).forEach((I,h)=>{const v=Math.floor(I.start/o),m=Math.floor(I.end/o);for(let w=v;w<=m;w++){f[w]||(f[w]=[]);const B=l?n.forward?w+"_forward":w+"_reverse":w,x=f[w];i[B]||(i[B]=[]);let C;const H=i[B],F=w===v?I.start:w*o,N=w===m?I.end:w*o+o-1;n.overlapsSelf?x.forEach(_=>{_.id===`__tempAnnRemoveMe__${n.id}`&&(C=_.yOffset)}):c?x.forEach(_=>{_.id===n.id&&(C=_.yOffset)}):(h>0&&x.length&&x[x.length-1].annotation===n?C=x[x.length-1].yOffset:C=Cc(n,H),H[C]||(H[C]=[]),H[C].push({start:F,end:N})),x.push({id:n.id,annotation:n,start:F,end:N,...g&&{containsLocations:g},...c&&{isJoinedLocation:!!c},yOffset:C,enclosingRangeType:I.type})}})}function Cv(a){const n=V.cloneDeep(a);return ut.forEach(r=>{if(r!=="cutsites"){const o=q2(n[r]).maxYOffset;n[r].maxYOffset=o}}),n}function Fv(a,n){const r=a.sequence.length,o=Math.ceil(r/n)||1,f=[],i={};ut.forEach(c=>{i[c]=Rg(a[c],r,n,{splitForwardReverse:c==="primers"})});for(let c=0;c<o;c++){const g={};g.rowNumber=c,g.start=c*n,g.end=(c+1)*n-1<r?(c+1)*n-1:r-1,g.end<0&&(g.end=0),ut.forEach(l=>{g[l]=i[l][c]||[]}),g.sequence=a.sequence.slice(g.start,g.end+1),f[c]=g}return f}function Tv(a,n){let r=[];const o=a.toLowerCase().split(""),f=n.toLowerCase().split(""),i=n.length,c=n.replace(/^-+/g,""),g=n.replace(/-+$/g,""),l=i-c.length,p=i-(i-g.length);for(let I=0;I<o.length;I++)I<l||I>=p?r.push("W"):o[I]===f[I]&&o[I]!=="-"&&f[I]!=="-"?r.push("G"):o[I]!==f[I]&&o[I]!=="-"&&f[I]!=="-"||f[I]==="-"||o[I]==="-"&&o[I-1]!=="-"&&I!==o.length-1&&o[I+1]==="-"?r.push("R"):o[I]==="-"&&o[I-1]!=="-"&&I!==o.length-1&&o[I+1]!=="-"?(r.push("R"),I++):I===o.length-1&&o[I]==="-"&&o[I-1]==="-"?r.splice(-2,1):I===o.length-1&&o[I]==="-"&&o[I-1]!=="-"?(r.pop(),r.push("R")):o[I]==="-"&&o[I-1]==="-"&&o[I+1]!=="-"?I++:o[I]==="-"&&o[I-1]==="-"||console.error("should not reach this step!");return r.join("")}function Mv(a,n){for(let g=0;g<n.length;g++)n[g].cigar===null&&n.splice(g,1);const r=hg(a.sequence,n),o=[{name:a.name,sequence:r.toUpperCase()}];n.forEach(g=>{const l=[];n.forEach(_=>{const U=_.cigar.match(/([0-9]*[SMDI])/g);let L=V.cloneDeep(_.pos);if(U[0].slice(-1)==="S"){const W=U[0].slice(0,-1);L=_.pos-W}for(let W=0;W<U.length;W++)if(U[W].slice(-1)==="I"){let z=L;const he=Number(U[W].slice(0,-1));for(let oe=0;oe<W;oe++)if(U[oe].slice(-1)!=="I"){const we=Number(U[oe].slice(0,-1));z+=we}const ae={bpPos:z,number:he};l.push(ae)}});const p=g.cigar.match(/([0-9]*[SMDI])/g);let I=V.cloneDeep(g.pos);if(p[0].slice(-1)==="S"){const _=p[0].slice(0,-1);I=g.pos-_}let h=g.seq.split("");I>0&&h.unshift("-".repeat(I-1)),h=h.join("").split("");const v=[];for(let _=0;_<p.length;_++)if(p[_].slice(-1)==="D"){let U=I;const L=Number(p[_].slice(0,-1));for(let z=0;z<_;z++){const he=Number(p[z].slice(0,-1));U+=he}const W={bpPos:U,number:L};v.push(W)}const m=v.sort((_,U)=>_.bpPos-U.bpPos);for(let _=0;_<m.length;_++){const U=m[_].bpPos,L=m[_].number;let W="";for(let z=0;z<L;z++)W+="-";h.splice(U-1,0,W),h=h.join("").split("")}h=h.join("").split("");const w=[],B=[];for(let _=0;_<p.length;_++)if(p[_].slice(-1)==="I"){let U=I;const L=Number(p[_].slice(0,-1)),W=[];for(let ae=0;ae<_;ae++){const oe=Number(p[ae].slice(0,-1));U+=oe}for(let ae=0;ae<L;ae++)W.push(h[U-1+ae]);const z={bpPos:U,number:L},he={bpPos:U,number:L,nucleotides:W};w.push(z),B.push(he)}const x=JSON.parse(JSON.stringify(w)),C=w.sort((_,U)=>_.bpPos-U.bpPos),H=B.sort((_,U)=>_.bpPos-U.bpPos);for(let _=0;_<C.length;_++){const U=C[_].bpPos,L=C[_].number;for(let W=0;W<L;W++)h.splice(U-1,1);for(let W=_+1;W<C.length;W++)C[W].bpPos-=L}let F=l.sort((_,U)=>_.bpPos-U.bpPos);F=F.filter((_,U)=>U===F.findIndex(L=>JSON.stringify(L)===JSON.stringify(_)));for(let _=0;_<F.length-1;_++)for(;F[_].bpPos===F[_+1].bpPos;)F[_].number>F[_+1].number?F.splice(_+1,1):(F[_].number<F[_+1].number||F[_].number===F[_+1].number)&&F.splice(_,1);for(let _=0;_<x.length;_++){const U=F.findIndex(L=>L.bpPos===x[_].bpPos);U!==-1&&(F[U].number>x[_].number?F[U].number=F[U].number-x[_].number:F[U].number<=x[_].number&&(F.splice(U,1),_--))}for(let _=0;_<C.length;_++){const U=F.findIndex(L=>L.bpPos===C[_].bpPos);U!==-1&&(F[U].number>C[_].number?F[U].number=F[U].number-C[_].number:F[U].number<=C[_].number&&(F.splice(U,1),_--))}const N=JSON.parse(JSON.stringify(H));for(let _=0;_<N.length;_++){let U=0;for(let L=0;L<_;L++)U+=N[L].number-1;N[_].bpPos=N[_].bpPos-U,H[_].bpPos=H[_].bpPos-U}for(let _=0;_<F.length;_++)for(let U=0;U<N.length;U++)F[_].bpPos<=H[U].bpPos&&(N[U].bpPos+=1);for(let _=0;_<F.length&&F[_].bpPos<=h.length;_++){const U=F[_].bpPos,L=F[_].number;let W="";for(let z=0;z<L;z++)W+="-";h.splice(U-1,0,W);for(let z=_+1;z<F.length;z++)F[z].bpPos+=1}for(let _=0;_<N.length;_++){const U=N[_].bpPos,L=N[_].nucleotides.join("");h.splice(U-1,0,L)}h=h.join("").split(""),h.length<r.length&&h.push("-".repeat(r.length-h.length)),o.push({name:g.name,sequence:h.join(""),reversed:g.reversed,cigar:g.cigar})});const f=[];n.forEach(g=>{const l=g.cigar.match(/([0-9]*[SMDI])/g);let p=V.cloneDeep(g.pos);if(l[0].slice(-1)==="S"){const I=l[0].slice(0,-1);p=g.pos-I,p<0&&f.push(Math.abs(p))}});let i=0;for(let g=1;g<o.length;g++){const l=o[g].sequence.split(""),p=n[g-1].cigar.match(/([0-9]*[SMDI])/g);let I=V.cloneDeep(n[g-1].pos);if(f.length>0&&(i=Math.max(...f)),p[0].slice(-1)==="S"){const h=p[0].slice(0,-1);I=n[g-1].pos-h,I>0?(i>0&&l.unshift("-".repeat(i+1)),o[g].sequence=l.join("")):I<0&&(i>0&&l.unshift("-".repeat(i-Math.abs(I))),o[g].sequence=l.join(""))}else i>0&&l.unshift("-".repeat(i+1)),o[g].sequence=l.join("")}if(i>0){const g=o[0].sequence.split("");g.unshift("-".repeat(i+1)),o[0].sequence=g.join("")}const c=[];for(let g=1;g<o.length;g++){const l=o[0];o[g].sequence.length>l.sequence.length&&c.push(o[g].sequence.length)}if(c.length>0){const g=Math.max(...c);for(let l=0;l<o.length;l++)o[l].sequence.length<g&&(o[l].sequence+="-".repeat(g-o[l].sequence.length))}for(let g=1;g<o.length;g++){const l=o[0];o[g].sequence.length<l.sequence.length&&(o[g].sequence+="-".repeat(l.sequence.length-o[g].sequence.length))}return o}function Og(a,n,{monovalentCationConc:r}={}){try{if(/[^atgc]/i.test(a))throw new Error(`Degenerate bases prohibited in Tm calculation of sequence ${a}`);const f=a.toUpperCase().split("");let i=0,c=0,g=0,l=0;const p=1.987,I=-273.15,h=273.15,v=1e3,m={"AA/TT":-7.9,"AT/TA":-7.2,"TA/AT":-7.2,"CA/GT":-8.5,"GT/CA":-8.4,"CT/GA":-7.8,"GA/CT":-8.2,"CG/GC":-10.6,"GC/CG":-9.8,"GG/CC":-8,"TT/AA":-7.9,"TG/AC":-8.5,"AC/TG":-8.4,"AG/TC":-7.8,"TC/AG":-8.2,"CC/GG":-8,initiationWithTerminalGC:.1,initiationWithTerminalAT:2.3},w={"AA/TT":-22.2,"AT/TA":-20.4,"TA/AT":-21.3,"CA/GT":-22.7,"GT/CA":-22.4,"CT/GA":-21,"GA/CT":-22.2,"CG/GC":-27.2,"GC/CG":-24.4,"GG/CC":-19.9,"TT/AA":-22.2,"TG/AC":-22.7,"AC/TG":-22.4,"AG/TC":-21,"TC/AG":-22.2,"CC/GG":-19.9,initiationWithTerminalGC:-2.8,initiationWithTerminalAT:4.1};for(let N=0;N<f.length;N++)if((N===0||N===f.length-1)&&(f[N]==="G"||f[N]==="C"?(g+=m.initiationWithTerminalGC,l+=w.initiationWithTerminalGC):(f[N]==="A"||f[N]==="T")&&(g+=m.initiationWithTerminalAT,l+=w.initiationWithTerminalAT)),N<f.length-1){const _=f[N]+f[N+1],U=jr(_).toUpperCase(),L=`${_}/${U}`;if(!m[L]||!w[L])throw new Error(`Could not find value for ${L} of sequence ${a}`);i+=m[L],c+=w[L]}const B=i+g,x=c+l,C=B*v,H=x+p*Math.log(n),F=C/H+I;if(r){const N=Math.log(r),L=(4.29*(dg(a)/100)-3.95)*Math.pow(10,-5)*N+Math.pow(9.4,-6)*Math.pow(N,2);return 1/(1/(F+h)+L)+I}else return F}catch(o){return`Error calculating Tm for sequence ${a}: ${o}`}}function Pv(a,n,{monovalentCationConc:r,polymerase:o}={}){try{if(a.length!==2)throw new Error(`${a.length} sequences received when 2 primers were expected`);const f=a.map(g=>Og(g,n,{monovalentCationConc:r}));f.sort((g,l)=>g-l);const i=f[0];let c;return o==="Q5"?(c=i+1,c>72&&(c=72)):c=i-3,c}catch(f){return`Error calculating annealing temperature: ${f}`}}function Bg(a,n,r,o={}){const f=[],i=[];if(!r.length)return[];let c=r.sort((g,l)=>g.topSnipPosition-l.topSnipPosition);return n||(c=[{topSnipPosition:0,bottomSnipPosition:0,overhangSize:0,type:"START_OR_END_OF_SEQ",name:"START_OF_SEQ"},...c,{topSnipPosition:a,bottomSnipPosition:a,overhangSize:0,type:"START_OR_END_OF_SEQ",name:"END_OF_SEQ"}]),c.forEach((g,l)=>{!n&&!c[l+1]||(o.computePartialDigests&&c.forEach((p,I)=>{I===l+1||I===0||i.push([g,c[I]])}),i.push([g,c[l+1]?c[l+1]:c[0]]))}),i.forEach(([g,l])=>{const p=se(g.topSnipPosition,a),I=se(l.topSnipPosition-1,a),h={start:p,end:I},v=Oe(h,a),m=p+"-"+I+"-"+v+"-";f.push({cut1:{...g,isOverhangIncludedInFragmentSize:g.type!=="START_OR_END_OF_SEQ"&&g.overhangSize>0&&g.topSnipBeforeBottom},cut2:{...l,isOverhangIncludedInFragmentSize:l.type!=="START_OR_END_OF_SEQ"&&l.overhangSize>0&&!l.topSnipBeforeBottom},...h,size:v,id:m})}),f.filter(g=>!!g.size),f}function Uv(a,n,r,o){const f=Array.isArray(r)?r:[r],i=V.flatMap(f,c=>fs(a,n,c));return Bg(a.length,n,i,o)}function kv(a){return typeof a=="object"&&a!==null?Rc({...a,locations:a.locations?a.locations.map(Rc):void 0}):Dv(a)}function Dv(a){return a*3}function Rc(a){return{...a,start:a.start>-1?a.start*3:a.start,end:a.end>-1?a.end*3+2:a.end}}const Hv=V.invert(Ii);function Nv(a,n=2,r=!1){let o=0;for(let f=0;f<a.length;f++)o+=k[a[f]].mass;return r&&(o/=3),Math.round(o*10**n)/10**n}function Lv({seqData:a,caretPosition:n,insertLength:r}){$r.forEach(o=>{const f=a[o];a[o]=as(f,n,r)})}const Gv=os(),Kv=ii();exports.DNAComplementMap=si;exports.FeatureTypes=Gv;exports.addGapsToSeqReads=Mv;exports.adjustAnnotationsToInsert=as;exports.adjustBpsToReplaceOrInsert=Qa;exports.aliasedEnzymesByName=di;exports.aminoAcidToDegenerateDnaMap=is;exports.aminoAcidToDegenerateRnaMap=Ii;exports.annotateSingleSeq=$0;exports.annotationTypes=ut;exports.autoAnnotate=Tc;exports.bioData=P2;exports.calculateNebTa=Pv;exports.calculateNebTm=Og;exports.calculatePercentGC=dg;exports.calculateTm=Y0;exports.computeDigestFragments=kc;exports.condensePairwiseAlignmentDifferences=Tv;exports.convertAACaretPositionOrRangeToDna=kv;exports.convertApELikeRegexToRegex=Q2;exports.convertDnaCaretPositionOrRangeToAA=hi;exports.convertProteinSeqToDNAIupac=e0;exports.cutSequenceByRestrictionEnzyme=fs;exports.defaultEnzymesByName=Sg;exports.degenerateDnaToAminoAcidMap=cg;exports.degenerateRnaToAminoAcidMap=Hv;exports.deleteSequenceDataAtRange=sv;exports.doesEnzymeChopOutsideOfRecognitionSite=av;exports.featureColors=Kv;exports.filterAminoAcidSequenceString=ug;exports.filterSequenceString=gg;exports.findNearestRangeOfSequenceOverlapToPosition=lv;exports.findOrfsInPlasmid=uv;exports.findSequenceMatches=dv;exports.genbankFeatureTypes=Mc;exports.generateAnnotations=Vr;exports.generateSequenceData=gv;exports.getAllInsertionsInSeqReads=Ig;exports.getAminoAcidDataForEachBaseOfDna=Wr;exports.getAminoAcidFromSequenceTriplet=Zn;exports.getAminoAcidStringFromSequenceString=vr;exports.getCodonRangeForAASliver=vv;exports.getComplementAminoAcidStringFromSequenceString=mv;exports.getComplementSequenceAndAnnotations=Sv;exports.getComplementSequenceString=jr;exports.getCutsiteType=bv;exports.getCutsitesFromSequence=Uc;exports.getDegenerateDnaStringFromAAString=pg;exports.getDegenerateRnaStringFromAAString=j0;exports.getDiffFromSeqs=V0;exports.getDigestFragmentsForCutsites=Bg;exports.getDigestFragmentsForRestrictionEnzymes=Uv;exports.getDigestFragsForSeqAndEnzymes=i0;exports.getFeatureToColorMap=ii;exports.getFeatureTypes=os;exports.getInsertBetweenVals=yv;exports.getLeftAndRightOfSequenceInRangeGivenPosition=wv;exports.getMassOfAaString=Nv;exports.getMergedFeatureMap=ai;exports.getOrfsFromSequence=ei;exports.getOverlapBetweenTwoSequences=Rv;exports.getPossiblePartsFromSequenceAndEnzymes=Ov;exports.getReverseAminoAcidStringFromSequenceString=Bv;exports.getReverseComplementAminoAcidStringFromSequenceString=Av;exports.getReverseComplementAnnotation=wg;exports.getReverseComplementSequenceAndAnnotations=xv;exports.getReverseComplementSequenceString=At;exports.getReverseSequenceString=_v;exports.getSequenceDataBetweenRange=Is;exports.getVirtualDigest=X0;exports.guessIfSequenceIsDnaAndNotProtein=Ev;exports.insertGapsIntoRefSeq=hg;exports.insertSequenceDataAtPosition=ps;exports.insertSequenceDataAtPositionOrRange=ps;exports.isEnzymeType2S=z0;exports.mapAnnotationsToRows=Rg;exports.modifiableTypes=$r;exports.patchSeqWithDiff=q0;exports.prepareCircularViewData=Cv;exports.prepareRowData=Fv;exports.proteinAlphabet=k;exports.reverseSeqDiff=W0;exports.rotateBpsToPosition=vg;exports.rotateSequenceDataToPosition=mg;exports.shiftAnnotationsByLen=Lv;exports.threeLetterSequenceStringToAminoAcidMap=fg;exports.tidyUpAnnotation=lg;exports.tidyUpSequenceData=Te;
|
|
57
|
+
`+(this.indentPad||""));this.color&&this.color[0]&&(I=this.color[0](I)),this.buffer.push(I)}},o.pushColor=function(f){this.color=this.color||[],this.color.unshift(f)},o.popColor=function(){this.color=this.color||[],this.color.shift()}}},{key:"typeFormattterErrorFormatter",value:function(o,f){o.pushColor(Zt.error),o.out("[ERROR]"+f),o.popColor()}},{key:"formatValue",value:function(o,f){o.out(JSON.stringify(f,null,2))}},{key:"formatTextDiffString",value:function(o,f){var i=this.parseTextDiff(f);o.indent();for(var c=0,g=i.length;c<g;c++){var l=i[c];o.pushColor(Zt.textDiffLine),o.out(l.location.line+","+l.location.chr+" "),o.popColor();for(var p=l.pieces,I=0,h=p.length;I<h;I++){var v=p[I];o.pushColor(Zt[v.type]),o.out(v.text),o.popColor()}c<g-1&&o.outLine()}o.indent(-1)}},{key:"rootBegin",value:function(o,f,i){o.pushColor(Zt[f]),f==="node"&&(o.out(i==="array"?"[":"{"),o.indent())}},{key:"rootEnd",value:function(o,f,i){f==="node"&&(o.indent(-1),o.out(i==="array"?"]":"}")),o.popColor()}},{key:"nodeBegin",value:function(o,f,i,c,g){o.pushColor(Zt[c]),o.out(i+": "),c==="node"&&(o.out(g==="array"?"[":"{"),o.indent())}},{key:"nodeEnd",value:function(o,f,i,c,g,l){c==="node"&&(o.indent(-1),o.out(g==="array"?"]":"}"+(l?"":","))),l||o.outLine(),o.popColor()}},{key:"format_unchanged",value:function(o,f,i){typeof i!="undefined"&&this.formatValue(o,i)}},{key:"format_movedestination",value:function(o,f,i){typeof i!="undefined"&&this.formatValue(o,i)}},{key:"format_node",value:function(o,f,i){this.formatDeltaChildren(o,f,i)}},{key:"format_added",value:function(o,f){this.formatValue(o,f[0])}},{key:"format_modified",value:function(o,f){o.pushColor(Zt.deleted),this.formatValue(o,f[0]),o.popColor(),o.out(" => "),o.pushColor(Zt.added),this.formatValue(o,f[1]),o.popColor()}},{key:"format_deleted",value:function(o,f){this.formatValue(o,f[0])}},{key:"format_moved",value:function(o,f){o.out("==> "+f[1])}},{key:"format_textdiff",value:function(o,f){this.formatTextDiffString(o,f[0])}}]),n})(hs);var tt=void 0;function J0(){return tt||(tt=new di),tt.diff.apply(tt,arguments)}function Z0(){return tt||(tt=new di),tt.patch.apply(tt,arguments)}function Y0(){return tt||(tt=new di),tt.reverse.apply(tt,arguments)}const k={A:{value:"A",name:"Alanine",threeLettersName:"Ala",hydrophobicity:1.8,colorByFamily:"#00FFFF",color:"hsl(327.3, 100%, 69%)",mass:89.1},R:{value:"R",name:"Arginine",threeLettersName:"Arg",hydrophobicity:-4.5,colorByFamily:"#FFC0CB",color:"hsl(258.1, 100%, 69%)",mass:174.2},N:{value:"N",name:"Asparagine",threeLettersName:"Asn",hydrophobicity:-3.5,colorByFamily:"#D3D3D3",color:"hsl(268.9, 100%, 69%)",mass:132.1},D:{value:"D",name:"Aspartic acid",threeLettersName:"Asp",hydrophobicity:-3.5,colorByFamily:"#EE82EE",color:"hsl(268.9, 100%, 69%)",mass:133.1},C:{value:"C",name:"Cysteine",threeLettersName:"Cys",hydrophobicity:2.5,colorByFamily:"#FFFF00",color:"hsl(335.1, 100%, 69%)",mass:121.2},E:{value:"E",name:"Glutamic acid",threeLettersName:"Glu",hydrophobicity:-3.5,colorByFamily:"#EE82EE",color:"hsl(268.9, 100%, 69%)",mass:147.1},Q:{value:"Q",name:"Glutamine",threeLettersName:"Gln",hydrophobicity:-3.5,colorByFamily:"#D3D3D3",color:"hsl(268.9, 100%, 69%)",mass:146.2},G:{value:"G",name:"Glycine",threeLettersName:"Gly",hydrophobicity:-.4,colorByFamily:"#00FFFF",color:"hsl(303.1, 100%, 69%)",mass:75.1},H:{value:"H",name:"Histidine",threeLettersName:"His",hydrophobicity:-3.2,colorByFamily:"#FFC0CB",color:"hsl(272.2, 100%, 69%)",mass:155.2},I:{value:"I",name:"Isoleucine ",threeLettersName:"Ile",hydrophobicity:4.5,colorByFamily:"#00FFFF",color:"hsl(356.9, 100%, 69%)",mass:131.2},L:{value:"L",name:"Leucine",threeLettersName:"Leu",hydrophobicity:3.8,colorByFamily:"#00FFFF",color:"hsl(349.4, 100%, 69%)",mass:131.2},K:{value:"K",name:"Lysine",threeLettersName:"Lys",hydrophobicity:-3.9,colorByFamily:"#FFC0CB",color:"hsl(264.7, 100%, 69%)",mass:146.2},M:{value:"M",name:"Methionine",threeLettersName:"Met",hydrophobicity:1.9,colorByFamily:"#FFFF00",color:"hsl(328.5, 100%, 69%)",mass:149.2},F:{value:"F",name:"Phenylalanine",threeLettersName:"Phe",hydrophobicity:2.8,colorByFamily:"#FFA500",color:"hsl(338.4, 100%, 69%)",mass:165.2},P:{value:"P",name:"Proline",threeLettersName:"Pro",hydrophobicity:-1.6,colorByFamily:"#00FFFF",color:"hsl(289.9, 100%, 69%)",mass:115.1},S:{value:"S",name:"Serine",threeLettersName:"Ser",hydrophobicity:-.8,colorByFamily:"#90EE90",color:"hsl(298.6, 100%, 69%)",mass:105.1},T:{value:"T",name:"Threonine",threeLettersName:"Thr",hydrophobicity:-.7,colorByFamily:"#90EE90",color:"hsl(299.8, 100%, 69%)",mass:119.1},U:{value:"U",name:"Selenocysteine",threeLettersName:"Sec",colorByFamily:"#FF0000",color:"hsl(0, 100%, 69%)",mass:168.1},W:{value:"W",name:"Tryptophan",threeLettersName:"Trp",hydrophobicity:-.9,colorByFamily:"#FFA500",color:"hsl(297.6, 100%, 69%)",mass:204.2},Y:{value:"Y",name:"Tyrosine",threeLettersName:"Tyr",hydrophobicity:-1.3,colorByFamily:"#FFA500",color:"hsl(293.2, 100%, 69%)",mass:181.2},V:{value:"V",name:"Valine",threeLettersName:"Val",hydrophobicity:4.2,colorByFamily:"#00FFFF",color:"hsl(353.6, 100%, 69%)",mass:117.1},"*":{value:"*",name:"Stop",threeLettersName:"Stop",colorByFamily:"#FF0000",color:"hsl(0, 100%, 69%)",mass:0},".":{value:".",name:"Gap",threeLettersName:"Gap",colorByFamily:"#FF0000",color:"hsl(0, 100%, 69%)",mass:0},"-":{value:"-",name:"Gap",threeLettersName:"Gap",colorByFamily:"#FF0000",color:"hsl(0, 100%, 69%)",mass:0},B:{value:"B",threeLettersName:"ND",colorByFamily:"#D3D3D3",color:"hsl(268.9, 100%, 69%)",isAmbiguous:!0,name:"B",aliases:"ND",mass:0},J:{value:"J",threeLettersName:"IL",colorByFamily:"#00FFFF",color:"hsl(352, 100%, 69%)",isAmbiguous:!0,name:"J",aliases:"IL",mass:0},X:{value:"X",threeLettersName:"ACDEFGHIKLMNPQRSTVWY",colorByFamily:"#FFFFFF",color:"hsl(60, 100%, 69%)",isAmbiguous:!0,name:"X",aliases:"ACDEFGHIKLMNPQRSTVWY",mass:0},Z:{value:"Z",threeLettersName:"QE",colorByFamily:"#D3D3D3",color:"hsl(268.9, 100%, 69%)",isAmbiguous:!0,name:"Z",aliases:"QE",mass:0}},pg={gct:k.A,gcc:k.A,gca:k.A,gcg:k.A,gcu:k.A,cgt:k.R,cgc:k.R,cga:k.R,cgg:k.R,aga:k.R,agg:k.R,cgu:k.R,aat:k.N,aac:k.N,aau:k.N,gat:k.D,gac:k.D,gau:k.D,tgt:k.C,tgc:k.C,ugu:k.C,ugc:k.C,gaa:k.E,gag:k.E,caa:k.Q,cag:k.Q,ggt:k.G,ggc:k.G,gga:k.G,ggg:k.G,ggu:k.G,cat:k.H,cac:k.H,cau:k.H,att:k.I,atc:k.I,ata:k.I,auu:k.I,auc:k.I,aua:k.I,ctt:k.L,ctc:k.L,cta:k.L,ctg:k.L,tta:k.L,ttg:k.L,cuu:k.L,cuc:k.L,cua:k.L,cug:k.L,uua:k.L,uug:k.L,aaa:k.K,aag:k.K,atg:k.M,aug:k.M,ttt:k.F,ttc:k.F,uuu:k.F,uuc:k.F,cct:k.P,ccc:k.P,cca:k.P,ccg:k.P,ccu:k.P,tct:k.S,tcc:k.S,tca:k.S,tcg:k.S,agt:k.S,agc:k.S,ucu:k.S,ucc:k.S,uca:k.S,ucg:k.S,agu:k.S,act:k.T,acc:k.T,aca:k.T,acg:k.T,acu:k.T,tgg:k.W,ugg:k.W,tat:k.Y,tac:k.Y,uau:k.Y,uac:k.Y,gtt:k.V,gtc:k.V,gta:k.V,gtg:k.V,guu:k.V,guc:k.V,gua:k.V,gug:k.V,taa:k["*"],tag:k["*"],tga:k["*"],"...":k["."],"---":k["-"]},Ig=V.invert(cs);function es(a){if(a=a.toLowerCase(),a.length!==3)throw new Error("must pass a string of length 3");let n=pg[a];if(n)return n;const r=Ig[a.replace("x","n")]||"x";return k[r.toUpperCase()]}function Xr(a,n,r,o){let f=o?a.length*3:a.length,i=a,c=0;r&&(i=xt(r,a),c=r.start);let g=o?i.length*3:i.length,l=[],p,I=0,h=0;if(!n&&(h=Math.floor((g-1)/3),I=g%3,p=Sr({start:0,end:I-1},c,f),I>0)){for(let m=0;m<I;m++)l.push({aminoAcid:es("xxx"),positionInCodon:I-m-1,aminoAcidIndex:h,sequenceIndex:p.start+m,codonRange:p,fullCodon:!1});h--}for(let m=2+I;m<g;m+=3){let w;if(o)w=k[i[(m-2)/3].toUpperCase()];else{let B=i.slice(m-2,m+1);n||(B=Et(B)),w=es(B)}p=Sr({start:m-2,end:m},c,f),l.push({aminoAcid:w,positionInCodon:n?0:2,aminoAcidIndex:h,sequenceIndex:p.start,codonRange:p,fullCodon:!0}),l.push({aminoAcid:w,positionInCodon:1,aminoAcidIndex:h,sequenceIndex:p.start+1,codonRange:p,fullCodon:!0}),l.push({aminoAcid:w,positionInCodon:n?2:0,aminoAcidIndex:h,sequenceIndex:p.start+2,codonRange:p,fullCodon:!0}),n?h++:h--}let v=g-l.length;p=Sr({start:g-v,end:g-1},c,f);for(let m=0;m<v;m++)l.push({aminoAcid:es("xxx"),positionInCodon:m,aminoAcidIndex:h,sequenceIndex:p.start+m,fullCodon:!1,codonRange:p});if(g!==l.length)throw new Error("something went wrong!");return l}const ht=["features","warnings","assemblyPieces","lineageAnnotations","parts","cutsites","orfs","translations","primers","guides"],zr=["features","assemblyPieces","lineageAnnotations","warnings","parts","translations","primers","guides"];function hg(a,n="",r){return a&&a.replace(new RegExp(`[^${r||`atgcyrswkmbvdhnu${n.split("").join("\\")}`}]`,"gi"),"")}function dg(a,{sequenceData:n={},convertAnnotationsFromAAIndices:r,annotationType:o,provideNewIdsForAnnotations:f,doNotProvideIdsForAnnotations:i,messages:c=[],mutative:g,allowNonStandardGenbankTypes:l,featureTypes:p}){const{size:I,circular:h,isProtein:v}=n;if(!a||typeof a!="object")return c.push("Invalid annotation detected and removed"),!1;let m=a;if(g||(m=V.cloneDeep(a)),m.annotationTypePlural=o,(!m.name||typeof m.name!="string")&&(c.push('Unable to detect valid name for annotation, setting name to "Untitled annotation"'),m.name="Untitled annotation"),f&&(m.id=Qt().str),!m.id&&m.id!==0&&!i&&(m.id=Qt().str,c.push("Unable to detect valid ID for annotation, setting ID to "+m.id)),yc({isProtein:v,location:m,convertAnnotationsFromAAIndices:r,size:I,messages:c,circular:h,name:m.name}),m.locations&&m.locations.forEach(w=>{yc({isProtein:v,location:w,convertAnnotationsFromAAIndices:r,size:I,messages:c,circular:h,name:m.name})}),v||m.forward===!0||m.forward==="true"||m.strand===1||m.strand==="1"||m.strand==="+"?(m.forward=!0,m.strand=1):(m.forward=!1,m.strand=-1),(!m.type||typeof m.type!="string"||!V.some(p||gs(),w=>w.toLowerCase()===m.type.toLowerCase()?(m.type=w,!0):!!(l||typeof window!="undefined"&&V.get(window,"tg_allowNonStandardGenbankTypes")||typeof global!="undefined"&&V.get(global,"tg_allowNonStandardGenbankTypes"))))&&(c.push("Invalid annotation type detected: "+m.type+" for "+m.name+". set type to misc_feature"),m.type="misc_feature"),m.notes&&typeof m.notes=="string")try{m.notes=JSON.parse(m.notes)}catch(w){console.info(`warning 33y00a0912 - couldn't parse notes for ${m.name||""} ${m.notes}:`,w)}return m.color||(m.color=ci()[m.type]),m}function yc({location:a,convertAnnotationsFromAAIndices:n,size:r,isProtein:o,messages:f,circular:i,name:c}){a.start=parseInt(a.start,10),a.end=parseInt(a.end,10),n&&(a.start=a.start*3,a.end=a.end*3+2),(a.start<0||!(a.start<=r-1)||a.start>r-1)&&(f.push("Invalid annotation start: "+a.start+" detected for "+a.name+" and set to size: "+r),a.start=r-(o?3:1)),(a.end<0||!(a.end<=r-1)||a.end>r-1)&&(f.push("Invalid annotation end: "+a.end+" detected for "+a.name+" and set to seq size: "+r),a.end=r-1),a.start>a.end&&i===!1&&(f.push("Invalid circular annotation detected for "+c+". end set to 1"),a.end=r)}function vg(a,n){return n=n||{},n.includeStopCodon?a.replace(/[^xtgalmfwkqespvicyhrndu.*]/gi,""):a.replace(/[^xtgalmfwkqespvicyhrndu]/gi,"")}function mg(a){return a.split("").map(n=>cs[n.toLowerCase()]||"nnn").join("")}function Ue(a,n={}){const{annotationsAsObjects:r,logMessages:o,removeUnwantedChars:f,additionalValidChars:i,noTranslationData:c,charOverrides:g,doNotProvideIdsForAnnotations:l,proteinFilterOptions:p,noCdsTranslations:I,convertAnnotationsFromAAIndices:h}=n;let v=V.cloneDeep(a);const m={messages:[]};v||(v={}),v.sequence||(v.sequence=""),v.proteinSequence||(v.proteinSequence="");let w=!1;v.isProtein&&(v.circular=!1,!v.proteinSequence&&v.proteinSequence!==""&&(v.proteinSequence=v.sequence),(!v.sequence||v.sequence.length!==v.proteinSequence.length*3)&&(w=!0)),v.isRna&&(v.sequence=v.sequence.replace(/t/gi,"u")),f&&(v.isProtein?v.proteinSequence=vg(v.proteinSequence,se({includeStopCodon:!0},p)):v.sequence=hg(v.sequence,`${i||""}${v.isRna||v.isMixedRnaAndDna?"u":""}`,g)),v.isProtein&&(w&&(v.sequence=mg(v.proteinSequence)),v.aminoAcidDataForEachBaseOfDNA=Xr(v.proteinSequence,!0,null,!0)),v.size=v.noSequence?v.size:v.sequence.length,v.proteinSize=v.noSequence?v.proteinSize:v.proteinSequence.length,v.circular==="false"||v.circular==-1||v.circular===!1||!v.circular&&v.sequenceTypeCode!=="CIRCULAR_DNA"?v.circular=!1:v.circular=!0;const B=gs();return ht.forEach(x=>{Array.isArray(v[x])||(typeof v[x]=="object"?v[x]=Object.keys(v[x]).map(C=>v[x][C]):v[x]=[]),v[x]=v[x].filter(C=>dg(C,Se(se({},n),{featureTypes:B,sequenceData:v,convertAnnotationsFromAAIndices:h,mutative:!0,annotationType:x})))}),c||(v.translations=V.flatMap(v.translations,x=>I&&x.translationType==="CDS Feature"?[]:(!x.aminoAcids&&!v.noSequence&&(x.aminoAcids=Xr(v.sequence,x.forward,x)),x))),r&&ht.forEach(x=>{v[x]=v[x].reduce((C,H)=>{let F;return H.id||H.id===0?F=H.id:(F=Qt().str,l||(H.id=F)),C[F]=H,C},{})}),o&&m.messages.length>0&&console.info("tidyUpSequenceData messages:",m.messages),v}const Q0=(a,n,{ignoreKeys:r=[]}={})=>(a=Ue(a,{annotationsAsObjects:!0,noTranslationData:!0}),n=Ue(n,{annotationsAsObjects:!0,noTranslationData:!0}),[a,n].forEach(o=>{["cutsites","orfs","filteredFeatures","size","fromFileUpload","description","materiallyAvailable",...r].forEach(f=>{delete o[f]}),o.translations&&V.forEach(o.translations,(f,i)=>{f.translationType&&f.translationType!=="User Created"?delete o.translations[i]:delete f.aminoAcids})}),J0(a,n)),ev=(a,n,{ignoreKeys:r=[]}={})=>(r.forEach(o=>{delete n[o]}),Z0(Ue(V.cloneDeep(a),{annotationsAsObjects:!0}),n)),tv=a=>Y0(a);function Sg(a){let n=[];a.forEach(o=>{const f=o.cigar.match(/([0-9]*[MDI])/g);for(let i=0;i<f.length;i++)if(f[i].slice(-1)==="I"){let c=o.pos;const g=Number(f[i].slice(0,-1));for(let p=0;p<i;p++)if(f[p].slice(-1)!=="I"){const I=Number(f[p].slice(0,-1));c+=I}let l={bpPos:c,number:g};n.push(l)}});let r=n.sort((o,f)=>o.bpPos-f.bpPos);for(let o=0;o<r.length-1;o++)r[o].bpPos===r[o+1].bpPos&&(r[o].number>r[o+1].number?(r.splice(o+1,1),o--):(r[o].number<r[o+1].number||r[o].number===r[o+1].number)&&(r.splice(o,1),o--));return r}function rv({fullSeq:a,searchSeq:n}){const r=a.id||"fullSeqId",o=n.id||"searchSeqId",f=Dc({seqsToAnnotateById:{[r]:Se(se({},a),{id:r})},annotationsToCheckById:{[o]:Se(se({},n),{id:o})},compareName:!1});return f&&f[r]?{matches:f[r]}:{matches:[]}}const vi={"-":"---",".":"...","*":"trr",a:"gcn",b:"ray",c:"ugy",d:"gay",e:"gar",f:"uuy",g:"ggn",h:"cay",i:"auh",j:"hun",k:"aar",l:"yun",m:"aug",n:"aay",o:"uag",p:"ccn",q:"car",r:"mgn",s:"wsn",t:"acn",u:"uga",v:"gun",w:"ugg",x:"nnn",y:"uay",z:"sar"};function nv(a){return a.split("").map(n=>vi[n.toLowerCase()]||"nnn").join("")}function sv({cutsites:a,sequenceLength:n,isCircular:r,computePartialDigest:o,computePartialDigestDisabled:f,computeDigestDisabled:i}){let c=[];const g=[],l=[],p=a.sort((I,h)=>I.topSnipPosition-h.topSnipPosition);return p.forEach((I,h)=>{o&&!f&&p.forEach((v,m)=>{l.push([I,p[m]])}),i||l.push([I,p[h+1]?p[h+1]:p[0]])}),l.forEach(([I,h])=>{const v=ae(I.topSnipPosition,n),m=ae(h.topSnipPosition-1,n);if(!r&&v>m){const w={start:v,end:n-1,cut1:I,cut2:{type:"endOfSeq",restrictionEnzyme:{name:"End Of Seq"}}},B={start:0,end:m,cut1:{type:"startOfSeq",restrictionEnzyme:{name:"Start Of Seq"}},cut2:h};c.push(Ja(w,n)),c.push(Ja(B,n))}else{const w={cut1:I,cut2:h,start:v,end:m};c.push(Ja(w,n))}}),c=c.filter(I=>I.size?!0:(g.push(I),!1)),{computePartialDigestDisabled:f,computeDigestDisabled:i,fragments:c,overlappingEnzymes:g}}function Ja(a,n){const r=xe({start:a.start,end:a.end},n),o=`${V.get(a,"cut1.restrictionEnzyme.name","Untitled Cutsite")} -- ${V.get(a,"cut2.restrictionEnzyme.name","Untitled Cutsite")} ${r} bps`;return Se(se({},a),{size:r,name:o,id:a.start+"-"+a.end+"-"+r+"-"})}function av(a){return a.site.length<a.topSnipOffset||a.site.length<a.bottomSnipOffset}function bg(a,n){let r=a.split("");const o=Sg(n);for(let f=0;f<o.length;f++){const i=o[f].bpPos,c=o[f].number;let g="";for(let l=0;l<c;l++)g+="-";r.splice(i-1,0,g);for(let l=f+1;l<o.length;l++)o[l].bpPos+=1}return r.join("")}var iv=function(n,r,o,f){return n.slice(0,r)+(f||"")+n.slice(r+o)};const ov=Zr(iv);function ri(a,n="",r){let o=a;if(r&&r.start>-1){if(xe(r,a.length)===a.length)return n;const f=_t(t0(r,a.length));o="",f.forEach((i,c)=>{o+=xt(i,a),f.length===1?Tc(0,i,a.length,!0,!0)?o=o+n:o=n+o:c===0&&(o+=n)})}else o=ov(a,r,0,n);return o}function yg(a){return(a.match(/[cg]/gi)||[]).length/a.length*100||0}const wc={TABLE_BRESLAUER:"breslauer",TABLE_SUGIMOTO:"sugimoto",TABLE_UNIFIED:"unified",A:-10.8,R:1.987,C:5e-7,Na:.05,calculateTemperature:function(a,n,r,o,f,i){if(typeof n=="undefined")n=this.TABLE_BRESLAUER;else if(n!=this.TABLE_BRESLAUER&&n!=this.TABLE_UNIFIED&&n!=this.TABLE_SUGIMOTO)throw new Error("Invalid table type!");if(r||(r=this.A),o||(o=this.R),f||(f=this.C),i||(i=this.Na),a.length==0)return 0;const g=this.getDeltaHTable(n),l=this.getDeltaSTable(n),p=[];p.push(this.calculateReps(a,"aa")),p.push(this.calculateNumberOfOccurrences(a,"at")),p.push(this.calculateNumberOfOccurrences(a,"ac")),p.push(this.calculateNumberOfOccurrences(a,"ag")),p.push(this.calculateReps(a,"tt")),p.push(this.calculateNumberOfOccurrences(a,"ta")),p.push(this.calculateNumberOfOccurrences(a,"tc")),p.push(this.calculateNumberOfOccurrences(a,"tg")),p.push(this.calculateReps(a,"cc")),p.push(this.calculateNumberOfOccurrences(a,"ca")),p.push(this.calculateNumberOfOccurrences(a,"ct")),p.push(this.calculateNumberOfOccurrences(a,"cg")),p.push(this.calculateReps(a,"gg")),p.push(this.calculateNumberOfOccurrences(a,"ga")),p.push(this.calculateNumberOfOccurrences(a,"gt")),p.push(this.calculateNumberOfOccurrences(a,"gc"));let I=0,h=0;for(let m=0;m<16;m++)I=I+p[m]*g[m],h=h+p[m]*l[m];const v=-1e3*I/(r+-h+o*Math.log(f/4))-273.15+16.6*Math.LOG10E*Math.log(i);return v<0?0:v.toFixed(2)},getDeltaHTable:function(a){return a==this.TABLE_BRESLAUER?[9.1,8.6,6.5,7.8,9.1,6,5.6,5.8,11,5.8,7.8,11.9,11,5.6,6.5,11.1]:a==this.TABLE_SUGIMOTO?[8,5.6,6.5,7.8,8,5.6,5.6,5.8,10.9,8.2,6.6,11.8,10.9,6.6,9.4,11.9]:a==this.TABLE_UNIFIED?[7.9,7.2,8.4,7.8,7.9,7.2,8.2,8.5,8,8.5,7.8,10.6,8,8.2,8.4,9.8]:null},getDeltaSTable:function(a){return a==this.TABLE_BRESLAUER?[24,23.9,17.3,20.8,24,16.9,13.5,12.9,26.6,12.9,20.8,27.8,26.6,13.5,17.3,26.7]:a==this.TABLE_SUGIMOTO?[21.9,15.2,17.3,20.8,21.9,15.2,13.5,12.9,28.4,25.5,23.5,29,28.4,16.4,25.5,29]:a==this.TABLE_UNIFIED?[22.2,20.4,22.4,21,22.2,21.3,22.2,22.7,19.9,22.7,21,27.2,19.9,22.2,22.4,24.4]:null},calculateReps:function(a,n){const r=a.length;if(r==0)return 0;let o=0,f=0;for(;;){const i=a.indexOf(n,f);if(i==-1||(f=i+1,o++,f>r))break}return o},calculateNumberOfOccurrences:function(a,n){return a.length==0?0:a.split(n).length-1}},fv=wc.calculateTemperature.bind(wc);function mi(a){return typeof a=="object"&&a!==null?Rc(Se(se({},a),{locations:a.locations?a.locations.map(Rc):void 0})):cv(a)}function cv(a){return Math.floor(a/3)}function Rc(a){return Se(se({},a),{start:a.start>-1?Math.floor(a.start/3):a.start,end:a.end>-1?Math.floor(a.end-2)/3:a.end})}function wg(a,n){return gv(a.split(""),n).join("")}function gv(a,n){return n-=a.length*Math.floor(n/a.length),a.push.apply(a,a.splice(0,n)),a}function Rg(a,n,r){const o=Ue(a,r);return o.sequence=wg(o.sequence,n),zr.forEach(f=>{o[f]=lv(o[f],n,o.sequence.length)}),o}function lv(a,n,r){return V.map(a,o=>Se(se({},sc(o,n,r)),{locations:o.locations?o.locations.map(f=>sc(f,n,r)):void 0})).filter(o=>!!o)}function fs(a,n,r){return V.map(a,o=>se(se({},rc(o,n,r)),o.locations&&{locations:o.locations.map(f=>rc(f,n,r))}))}function ds(a,n,r,o={}){const{maintainOriginSplit:f}=o;let i=Ue(n,o);const c=Ue(a,o);let g=V.cloneDeep(i);const l=c.proteinSequence?c.proteinSequence.length*3:c.sequence.length;let p=r;const I=c.sequence.length===xe(r,i.sequence.length);if(r.start>-1&&xe(r,i.sequence.length)===i.sequence.length?(i=Ue(Se(se(se({},i),zr.reduce((h,v)=>h[v]=[],{})),{sequence:"",proteinSequence:"",chromatogramData:void 0}),o),g.chromatogramData=void 0):g.chromatogramData&&g.chromatogramData.baseTraces&&(r&&r.start>-1&&(r.start>r.end?(g.chromatogramData=Za({chromatogramData:g.chromatogramData,range:{start:r.start,end:g.sequence.length},justBaseCalls:I}),g.chromatogramData=Za({chromatogramData:g.chromatogramData,range:{start:0,end:r.end},justBaseCalls:I})):g.chromatogramData=Za({chromatogramData:g.chromatogramData,range:{start:r.start,end:r.end},justBaseCalls:I})),c.sequence&&pv({chromatogramData:g.chromatogramData,caretPosition:r.start>-1?r.start:r,seqToInsert:c.sequence,justBaseCalls:I})),g.sequence=ri(i.sequence,c.sequence,r),g.size=g.sequence.length,g.proteinSequence=ri(i.proteinSequence,c.proteinSequence,mi(r)),g.proteinSize=g.proteinSequence.length,zr.forEach(h=>{let v=i[h];if(r&&r.start>-1){const m=r;p=m.start>m.end?0:m.start,v=uv(v,m,i.sequence.length)}g[h]=[],g[h]=g[h].concat(fs(v,p,l)),g[h]=g[h].concat(fs(c[h],0,p))}),f&&r&&r.start>r.end){const h=i.sequence.length-r.start;return Rg(g,Math.min(h,l))}return g}function uv(a,n,r){return V.map(a,o=>{const f=tc(o,n,r),i=o.locations&&o.locations.map(c=>tc(c,n,r)).filter(c=>!!c);return i&&i.length?se(Se(se({},f),{start:i[0].start,end:i[i.length-1].end}),i.length>1&&{locations:i}):f}).filter(o=>!!o)}function pv({chromatogramData:a,caretPosition:n,seqToInsert:r,justBaseCalls:o}){if(!r.length)return;if(a.baseCalls&&a.baseCalls.splice(n,0,...r.split("")),o)return a;let f=[],i=[];for(let c=0;c<r.length;c++){i.push(0);const g=[0,0,0,0,0,0,0,0,0,0,0];f.push({aTrace:g,cTrace:g,gTrace:g,tTrace:g})}return a.baseTraces&&a.baseTraces.splice(n,0,...f),a.qualNums&&a.qualNums.splice(n,0,...i),a}function Za({chromatogramData:a,range:{start:n,end:r},justBaseCalls:o}){return["baseCalls",...o?[]:["qualNums","baseTraces","basePos"]].forEach(f=>{a[f]&&a[f].splice(n,r-n+1)}),a}function Iv(a,n){return ds({},a,n)}function hv(a){return a.topSnipOffset>a.site.length||a.bottomSnipOffset>a.site.length}const dv=[{aliases:["ErpI","Bme18I","BsrAI","SmuEI","FdiI","BmpI","VpaK11BI","CauI","Kzo49I","SinI","EagMI","HgiHIII","AvaII","BamNxI","AflI","FssI","Asp745I","BthAI","HgiCII","FspMSI","DsaIV","Eco47I","Csp68KI","BcuAI","HgiEI","HgiJI","HgiBI","Bme216I"],site:"ggwcc",forwardRegex:"g{2}[atw]c{2}",reverseRegex:"g{2}[atw]c{2}",topSnipOffset:1,bottomSnipOffset:4},{aliases:["Eco196I","Uba1126I","Pae17I","Ssp1725I","BacI","Eco104I","Bsp12I","Eco100I","EccI","Kpn19I","DrdFI","Cfr37I","DrdEI","DrdBI","DrdAI","DrdCI","Cfr45II","FscI","Cte1I","Pfl1108II","NlaSI","Ecl1I","Bac465I","Uba66I","NgoDIII","NgoJIII","Pae7I","Dsp1I","SseII","BscTI","MraI","Pae36I","SsmII","NlaDIII","Eco55I","Uba77I","Uba1364I","Uba1369I","Pae44I","Pae43I","Pae42I","Sfr382I","Ese3I","Ese6I","SfrI","Cfr43I","Cfr41I","Uba1234I","StaI","Uba90I","NgoKIII","Eco151I","Eco208I","Uba1306I","Ecl28I","Eco158I","TtoI","Uba1244I","Asp32HI","SboI","Eco134I","Eco135I","SenpCI","ShyI","TglI","UbaHKAI","NgoGIII","NgoMIII","Eco96I","SakI","Eco92I","Ssm5II","SaaI","SabI","Uba1111I","AosIII","Uba1113I","Eco182I","Eco99I","Uba1187I","Uba1095I","Uba1093I","Ecl37I","Uba1229I"],site:"ccgcgg",forwardRegex:"c{2}gcg{2}",reverseRegex:"c{2}gcg{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SplI","PpuAI","BvuBI","Pfl23II","PspLI","SunI","BsiWI","BpuB5I","MaeK81I"],site:"cgtacg",forwardRegex:"cgtacg",reverseRegex:"cgtacg",topSnipOffset:1,bottomSnipOffset:5},{aliases:["Uba1366II","Bsh108AI","Uba1161I","Uba1379I","BfrAI","BscVI","Uba1145I","Uba1257I","Uba1144I","Bsp145I","Apu16I","Uba1138I","Uba1286I","Bth1202I","Uba1137I","Uba1133I","Bli576I","Bsp84I","Uba1427I","BstLVI","Uba1200I","Bsp127I","Bsp126I","Bsp125I","Uba1275I","Bli585I","BazI","Uba1412I","Uba1342I","Uba1416I","Uba1195I","Uba1197I","Uba1196I","Bth9415I","Uba1295I","Uba1096I","Bco79I","Bsp2I","Uba43I","Bsp4I","Uba34I","Asp86I","Asp14I","Uba1430I","Uba1100I","Csp4I","Uba1198I","Uba1199I","Uba30I","Asp123I","Uba1246I","Uba22I","Uba24I","Asp707I","BsrCI","Uba1168I","Uba1315I","Uba1394I","Asp37I","Uba1233I","Uba1238I","Asp130I","BtuI","Uba1451I","Uba1453I","Uba1380I"],site:"atcgat",forwardRegex:"atcgat",reverseRegex:"atcgat",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Bbv12I","MspV281I","BsiHKAI","Alw21I","Bsm6I","Bsh45I","AspHI","HgiAI"],site:"gwgcwc",forwardRegex:"g[atw]gc[atw]c",reverseRegex:"g[atw]gc[atw]c",topSnipOffset:5,bottomSnipOffset:1},{aliases:["SmiMII","NflAI","Rma495II","Bsc217I","Tsp273I","Eco17I","NanI","Eco178I","BshLI","Bsp16I","Pac1110II","BsoAI","PxyARI","UbaN4I","Rma497II","Rma496II","Uba1400I","BstRI","Pfl16I"],site:"gatatc",forwardRegex:"gatatc",reverseRegex:"gatatc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Uba1223I","MthTI","Bpa36I","Bce71I","NgoCII","SagI","Bal3006I","Uba9I","NlaI","Uba1449I","HhgI","Bsu1114I","Uba1336I","Bfi458I","Uba1228I","Bsp23I","Uba1097I","Uba1214I","Tsp266I","TteAI","Uba1210I","Afl83II","BmeU1594I","Uba1322I","Bme46I","Bsp2500I","Csp2I","UbaN8I","MniI","BshAI","BshDI","BshEI","Van91III","BshBI","BshCI","Bsp2013I","HpyF10V","NgoAII","SulI","BsiDI","BsiAI","Uba1169I","NgoNII","Uba1319I","BliI","BsiHI","Uba1392I","Uba1395I","Uba1231I","BsaRI","HpyF72I","Uba1235I","Uba1450I","Bsp1261I","Tsp132I","Uba1230I","FinSI","Tsp281I","Bsp2362I","BssCI","Uba1176I","Uba1175I","Uba1174I","Uba1179I","Uba1388I","Uba1178I","BspLRI","Psp29I","BspBDG2I","Bsu1076I","PaiI","TtnI","Bse126I","Bsp137I","BstJI","HpyF69II","Uba1150I","HpyF63I","Uba1152I","Bal475I","HpyF26II","Uba1153I","Uba1155I","BhaII","Uth557I","Tsp273II","Uba1408I","Uth555I","Bco33I","PpuI","BscQI","Uba1377I","Bme74I","HpyF33II","VniI","BstCI","BluII","AspTIII","Tsp560I","Uba1146I","HpyF57I","Uba1147I","HpyF53I","BseI","Uba1140I","Bsp881I","M.H2I","HpyF73III","Vha1168I","M.Csp68KV","TspZNI","HpyF49IV","Uth549I","BspBSE18I","HpyF42I","UbaN2I","Uba1288I","Uba1209I","Uba1208I","EsaWC1I","HpyF46V","Uba1207I","Asp742I","ClmI","Bse9I","Bsp44II","Uba1429I","BspCHE15I","Uba61I","OchI","NgoSII","Uba1422I","Hpy178VII","Uba1292I","SplIII","Uba1293I","Bsp1593I","MnnII","Bsp226I","BspBake1I","AcaIV","M.NgoGII","Uba1418I","VhaI","Uba54I","BspGHA1I","BspH106II","Psb9879I","Ple214I","NgoTII","AvrBI","HpyF29I"],site:"ggcc",forwardRegex:"g{2}c{2}",reverseRegex:"g{2}c{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["ErhB9I","Afa16RI","XorII","NblI","Ple19I","RshI","BpvUI","Afa22MI","PvuI","Psu161I","EagBI","MvrI","BspCI"],site:"cgatcg",forwardRegex:"cgatcg",reverseRegex:"cgatcg",topSnipOffset:4,bottomSnipOffset:2},{aliases:["BsmRI","Ssp4800I","Bsp1407I","BstAUI","BsrGI","SspBI","AauI"],site:"tgtaca",forwardRegex:"tgtaca",reverseRegex:"tgtaca",topSnipOffset:1,bottomSnipOffset:5},{aliases:["Psp32I","Acs1422I","Acs1421I","BstZ16I","Acs1371I","Acs1372I","Acs1373I","CglAII","RhpI","RheI","Psp89I","XamI","RroI","RrhI","Uba89I","BtgAI","Psp33I","KoyI"],site:"gtcgac",forwardRegex:"gtcgac",reverseRegex:"gtcgac",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Ecl136I","Scg2I","Bme2095I","Ecl1zII","Bsp56I","Esp2I","Eco70I","Eco71I","Eco206I","Asp2HI","Eco207I","Uba1181I","M.SPRI","Eco67I","Uba1185I","Uba13I","Acc38I","Uba11I","CfrS37I","BsaNI","Uba20I","Bsp44I","Ese6II","SflHK7462I","Cdi27I","Sau16I","Uba1171I","BsiUI","Uba1243I","BsiVI","UbaN16I","Bsp103I","Uba1218I","Eco128I","BspSI","SflHK7234I","SflHK2374I","Eco170I","Cfr11I","Esp24I","M.EcoKDcm","AcuII","EagKI","Cfr5I","Bsp317I","Ecl37kII","EcaII","Uba1118I","Bst7QII","Uba1189I","HhdI","Uba1114I","Uba1193I","SflHK8401I","BstGII","Sfl2bI","Uba1410I","Sfl2aI","Kpn16I","Kpn14I","Cfr35I","Eco38I","Kpn13I","MpsI","Ecl57kI","Cfr31I","Cfr30I","EclII","Uba1120I","Uba1121I","KspHK12I","KspHK14I","Eco256I","Kpn10I","TspAI","Eco254I","BsoGI","Eco193I","Cfr28I","Cfr29I","Uba1125I","MphI","Cfr27I","Cfr25I","Cfr24I","Ecl66I","EclS39I","Uba1428I","Cfr22I","Lla497I","Cfr20I","EspHK7I","Sgr20I","Mlu2300I","BspH43I","EspHK30I","Cfr58I","Kox165I","SflHK2731I","UbaN11II","Eco60I","Ecl54kI","Eco61I","Sth455I","SflHK10790I","SflHK6873I","BinSI","Psp39I","AtuBI","Uba82I","Uba81I","Ecl137II","Eco41I","Eco40I","AtuII","SflHK1794I","Atu1I","Pca17AI","M.Bbu297I","EspHK22I"],site:"ccwgg",forwardRegex:"c{2}[atw]g{2}",reverseRegex:"c{2}[atw]g{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SspCI","NaeI","SauLPI","SauSI","SauBMKI","RrhJ1I","SauHPI","CcoI","PdiI","SauNI","Slu1777I"],site:"gccggc",forwardRegex:"gc{2}g{2}c",reverseRegex:"gc{2}g{2}c",topSnipOffset:3,bottomSnipOffset:3},{aliases:["AflIV","BstMI","Uba1158I","LlaDI","VchO49I","NmeSI","PinI","Asp763I","BsoSI","Uba1094I","BshHI"],site:"agtact",forwardRegex:"agtact",reverseRegex:"agtact",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Eco190I","Uba1280I","Uba1347I","RshII","BspJ67I","Uba1424I","Uba1423I","SflHK11086I","Asp1I","SflHK11087I","BspF105I","SflHK10695I","Uba1372I","Uba1370I","Tmu1I","Uba1378I","Uba1401I","Uba1376I","Uba1389I","Bsp55I","SflHK11572I","HgiS21I","Uba1318I","Pae181I","Eco179I","UbaN11I","Eco121I","Hin3I","Bsp7I","Bsp8I","SflHK115731I","Uba42I","Uba41I","EciDI","Ssp2I"],site:"ccsgg",forwardRegex:"c{2}[cgs]g{2}",reverseRegex:"c{2}[cgs]g{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["AgeI","CsiAI","AsiAI","AsiGI","PinAI","BshTI","CspAI"],site:"accggt",forwardRegex:"ac{2}g{2}t",reverseRegex:"ac{2}g{2}t",topSnipOffset:1,bottomSnipOffset:5},{aliases:["BtsI"],site:"gcagtg",forwardRegex:"gcagtg",reverseRegex:"cactgc",topSnipOffset:8,bottomSnipOffset:6,isType2S:!0},{aliases:["SteI","Eco147I","StuI","PceI","AatI","SarI","Pme55I","GdiI","Sru30DI","SseBI","Eco1524I","AspMI"],site:"aggcct",forwardRegex:"ag{2}c{2}t",reverseRegex:"ag{2}c{2}t",topSnipOffset:3,bottomSnipOffset:3},{aliases:["HpyF10I","HinS1I","HinS2I","Hin7I","BcaI","HinGUI","Hpy99III","Mho2965I","Csp1470I","MnnIV","CcoP95I","NgoEII"],site:"gcgc",forwardRegex:"gcgc",reverseRegex:"gcgc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BceBI","Bsp50I","BtkI","Bpu95I","Csp68KVI","BepI","MvnI","Bsh1236I","AccII","BstFNI","FnuDII","FalII","FauBII","Bsp123I","ThaI","BstUI","BspFNI","Bsu1532I"],site:"cgcg",forwardRegex:"cgcg",reverseRegex:"cgcg",topSnipOffset:2,bottomSnipOffset:2},{aliases:["TspBI","BstDSI","BtgI","DsaI"],site:"ccrygg",forwardRegex:"c{2}[agr][cty]g{2}",reverseRegex:"c{2}[agr][cty]g{2}",topSnipOffset:1,bottomSnipOffset:5},{aliases:["BecAII","BspKI","HaeIII","PlaI","BshFI","BspBRI","BspRI","SuaI","PhoI","Pde133I","SbvI","NgoPII","PalI","PflKI","BteI","SfaI","Bsp211I","DsaII","Bme361I","BsuRI","BshI","BsnI","CltI","NspLKI","MchAII","EsaBC4I","BspANI","FnuDI","BseQI","Bim19II","MfoAI","BanAI","Pru2I"],site:"ggcc",forwardRegex:"g{2}c{2}",reverseRegex:"g{2}c{2}",topSnipOffset:2,bottomSnipOffset:2},{aliases:["CceI","Bsp116I","HpyF43I","Uba1355I","Asp748I","M.Csp68KIV","Uba1128I","Uba1267I","Pme35I","SecII","Uba1141I","Bsp48I","Bsp47I","HpyVIII","BsaZI","FinII","Hin5I","SfaGUI","Msp199I","MniII","Bsu1192I","Uba1338I","Bsp5I","Bsp1591II","BshMI","UbaN13I","Uba1439I"],site:"ccgg",forwardRegex:"c{2}g{2}",reverseRegex:"c{2}g{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Cfr10I","Bse634I","BssAI","Bco118I","Bse118I","BstB7SI","BsrFI"],site:"rccggy",forwardRegex:"[agr]c{2}g{2}[cty]",reverseRegex:"[agr]c{2}g{2}[cty]",topSnipOffset:1,bottomSnipOffset:5},{aliases:["BseRI"],isType2S:!0,site:"gaggag",forwardRegex:"gag{2}ag",reverseRegex:"ctc{2}tc",topSnipOffset:16,bottomSnipOffset:14},{aliases:["MmaI","XmaII","XorI","ScoAI","VpaK29AI","XveI","Pph2066I","Asp708I","Bsp43I","Uba1399I","Eco161I","Eco83I","BloHIII","Eco167I","Uba1184I","BsaQI","Pma44I","MkrI","Ali2882I","Uba1232I","Asp36I","Pph2059I","Ecl133I","EaePI","SkaII","Bsp268I","Psp28I","Uba1115I","PmaI","Uba1116I","Ssp12I","Uba1112I","Bth9411I","Uba46I","Bsp17I","Uba1225I","Uba1294II","Uba1296I","PspSI","Ecl1zI","AinI","Uba1337I","Uba1186I","Uba1119I","SriI","UbaHKBI","Uba1213I","Uba1212I","Uba1211I","Uba1328I","Bsp107I","Uba1215I","Uba1216I","Esp141I","NasI","PmyI","PshEI","Pae24I","Pae25I","Pae22I","Ecl593I","Pae26I","Pfl37I","Uba1287I","BbiI","ClcI","Bsp108I","MauI","VchO87I","Bsp81I","BspS122I","VpaK4AI","VpaK4BI","Pae14I","Pae15I","Uba1123I","GseII","Kpn12I","SgiI","Ecl699kI","Ecl77I","Uba1411I","Srl32DI","Bsp93I","Uba1417I","XorKII","Esp5II","Eco260I","Eco261I","Srl2DI","Uba1262I","Pae40I","Pae41I","YenDI","YenEI","YenBI","YenCI","Eco49I","YenAI","BscDI","TspGWII","Eco48I","Msp11I","VpaKutGI","AspTI","Pae39I","BsaNII","Srl1DI","Uba1256I","CauIII","Sal13I","Uba1149I","Bsp78I","Bce170I","Pae9I","Pae8I","Uba72I","Psp46I","Uba71I","BmeBI","SprLI","NgbI","NocI","XphI","MizI"],site:"ctgcag",forwardRegex:"ctgcag",reverseRegex:"ctgcag",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Eco32I","HpyCI","HjaI","EcoRV","CeqI","NsiCI"],site:"gatatc",forwardRegex:"gatatc",reverseRegex:"gatatc",topSnipOffset:3,bottomSnipOffset:3},{aliases:["BspBS31I","BbsI","Bbv16II","BpiI","BstV2I","BspTS514I","BspIS4I","BstBS32I","Bsc91I","BbvII","BstTS5I","BpuAI"],isType2S:!0,site:"gaagac",forwardRegex:"ga{2}gac",reverseRegex:"gtct{2}c",topSnipOffset:8,bottomSnipOffset:12},{aliases:["BspJ64I","HpyHPK5II","Ssu212I","Ssu211I","R2.Ssu4109I","TrsSI","M.PhaTDam","Uba1204I","Bst1274I","NlaDI","TrsTI","M.Kpn43816Dam","UbaN1I","CtyI","Bth1997I","Bth1786I","AsuMBI","Mel7JI","Ssu220I","NciAI","BfiSHI","M.EcoT2Dam","SauCI","M.Ssp6803Dam","R1.Ssu11318I","SalAI","Bsp122I","SauFI","M.CjeEDam","SauGI","MspBI","SauDI","SauEI","Uba59I","SalHI","Msp67II","NmeAII","Bth1140I","BsmXII","Bth1141I","EsaLHCI","SsuRBI","NsuDI","NgoDXIV","Bsp91I","Bsp61I","Bsp60I","R2.SsuDAT1I","M.SmaII","NsiAI","Bsp65I","Bsp135I","Bsp64I","R1.SsuDAT1I","HpyAIII","Mel5TI","BthCanI","Bsp138I","Mel5OI","Bsp136I","Bsp66I","FtnUIV","BstEIII","Bth211I","Mel5JI","SinMI","M.HinHP1Dam","M.EcoEc67Dam","M.FspVDam","CcoP31I","R2.Ssu4961I","Bth84I","Cte1179I","PfaI","TruII","Uba1259I","Bsp72I","Bsp74I","Bsp147I","FnuAII","Bsp76I","Cte1180I","NflI","CdiCD6II","R1.Ssu4961I","Mel4OI","CcoP95II","Sau6782I","Bth221I","Uba1366I","Bth213I","M.HindDam","CpaPI","Mmu5I","Rlu1I","Bme2494I","BspI","CviHI","NanII","MnoIII","Sau15I","Mel3JI","R1.Ssu8074I","M.YpsADam","TdeI","BsrMI","Uba1317I","Vha44I","Bsp49I","M.HinHP2Dam","M.CviBII","R1.Ssu2479I","MthI","BsrPII","M.VvuDam","Pph288I","LlaDCHI","Tsp133I","Uba1183I","Pei9403I","Uba1182I","SmiMBI","M.StyDam","M.TpaI","M.PmuADam","MjaIII","Bth945I","Mel2TI","BsaPI","BssGII","M.NmaPhiCh1I","BtcI","Btu41I","NmeBL859I","Bsp58I","Bsp59I","M.CjeNIII","Bsp57I","Bsp54I","MmeII","Bsp52I","M.PgiI","Bsp51I","Uba1177I","NspAI","NflBI","Lsp1109II","M.EcoT1Dam","CcoP219I","Mth1047I","LlaKR2I","Cin1467I","CcoP76I","Gst1588II","M.EcoVT2Dam","NmuEI","R2.Ssu8074I","MmuP2I","Bsp18I","NmuDI","R1.Ssu4109I","Btu34I","R2.Ssu2479I","Uba4I","Btu33I","MosI","TrsKTI","Btu39I","Btu36I","M.EcoT4Dam","CjeP338I","M.Sty14028Dam","M.VchK139I","Bsp9I","Btu37I","NsuI","Uba1101I","Csp5I","R2.Ssu11318I","M.EcoP1Dam","M.StyLT2Dam","CcoP84I","Uba1323I","MeuI","M.EcoKDam","BstXII","CpfAI","M.PmuDam","Mph1103II","NflAII","MthAI"],site:"gatc",forwardRegex:"gatc",reverseRegex:"gatc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SmaAIII","EclJI","Pvu84I","Uba1129I","XorKI","DrdIII","Uba1139I","BmaDI","BmaCI","BmaBI","Cfr51I","RspI","Xgl3220I","Kpl79I","Xgl3216I","BmaI","XniI","Xgl3219I","Xgl3218I","Xgl3217I","PntI","BstZ8I","BmaAI","SplAIII","SpaPII","Cas2I","XmlAI","XmlI"],site:"cgatcg",forwardRegex:"cgatcg",reverseRegex:"cgatcg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BthII","Bth617I","BsrWI","BpuFI","Ral8I"],site:"ggatc",forwardRegex:"g{2}atc",reverseRegex:"gatc{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BfuAI","BspMI","Acc36I","BveI"],isType2S:!0,site:"acctgc",forwardRegex:"ac{2}tgc",reverseRegex:"gcag{2}t",topSnipOffset:10,bottomSnipOffset:14},{aliases:["Bst2BI","BssSI","BsiI","BauI"],site:"cacgag",forwardRegex:"cacgag",reverseRegex:"ctcgtg",topSnipOffset:1,bottomSnipOffset:5},{aliases:["NmuFI","Afa24RI","ApeAI","RluI","SaoI","AmeII","NasWI","AniMI","NmuI","Srl77DI","Esp5I","NspWI","Smo40529I","SkaI","MisI","PglI","Mlu9273II","NtaSII","NbrI","NbaI","BheI","Psp61I","AprI","SacAI","MauAI","SauAI","SalCI","Uba1122I"],site:"gccggc",forwardRegex:"gc{2}g{2}c",reverseRegex:"gc{2}g{2}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BthI","DdeII","PflNI","BbiIII","McaI","ScuI","PflWI","Pfl67I","Uba1237I","Uba1397I","SluI","Uba1166I","MecI","Sca1827I","Asp703I","Uba1248I","SdiAI","Sfu1762I","Msp23II","AhyAI","Psp4I","Asp15I","PspNI","Ssp4I","Uba1298I","Uba1448I","CjaI","Uba1335I","Sph1719I","DrdDI","SgoI","MpuI","Bsp92I","Sve194I","BadI","Uba1271I","MhaI","SpaI","Bsp129I","SgaI","AlwFII","Shy1766I","OcoI","AerAI","Uba1130I","BbfI","StaAI","Asp47I","Sgr1841I","Bsp140I","Bsp141I","SrifpI","Bsp142I","MrhI","BsuMI","SciBI","Uba1148I","Sci1831I","Eae2I","MscAI","Sal1974I","Uba1154I","SexI","BstLI","MsiI","BstHI","Bsp139I"],site:"ctcgag",forwardRegex:"ctcgag",reverseRegex:"ctcgag",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Uba1382I","Uba1415I"],site:"gaatgc",forwardRegex:"ga{2}tgc",reverseRegex:"gcat{2}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Eco97I","Eco95I","Bli161I","Eco120I","Eco127I","Eco233I","Eco185I","Eco217I","Eco225I","Eco203I","Eco156I","Eco204I","Eco155I","Eco205I","Eco157I","PpaI","Eco162I","Uba1316I","SlbI","Eco129I","Sau12I","Eco51I","Bli49I","Bli5508I","Cfr56I","VpaKutHI","Eco71KI","Eco42I","VpaK57AI","Uba84I","Rle69I","Eco263I","Eco101I","VpaK57I","Uba1343I","Bli576II","Eco191I","Uba65I","Eco239I","Eco246I","Eco247I","Eco240I","Eco241I"],site:"ggtctc",forwardRegex:"g{2}tctc",reverseRegex:"gagac{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BmrI","BfiI","BmuI"],isType2S:!0,site:"actggg",forwardRegex:"actg{3}",reverseRegex:"c{3}agt",topSnipOffset:11,bottomSnipOffset:10},{aliases:["BstRZ246I","MspSWI","BstSWI","SmiI","SwaI"],site:"atttaaat",forwardRegex:"at{3}a{3}t",reverseRegex:"at{3}a{3}t",topSnipOffset:4,bottomSnipOffset:4},{aliases:["Srl76DI","Srl19I","Srl61DI"],site:"tttaaa",forwardRegex:"t{3}a{3}",reverseRegex:"t{3}a{3}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Tsp32I","Tsp32II","TaqI","PpaAII","TthHB8I"],site:"tcga",forwardRegex:"tcga",reverseRegex:"tcga",topSnipOffset:1,bottomSnipOffset:3},{aliases:["EcoPI"],isType2S:!0,site:"agacc",forwardRegex:"agac{2}",reverseRegex:"g{2}tct",topSnipOffset:30,bottomSnipOffset:32},{aliases:["OmiBII","DsaVI"],site:"gtmkac",forwardRegex:"gt[acm][gkt]ac",reverseRegex:"gt[acm][gkt]ac",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BpuSI","BspLU11III","BstOZ616I","BslFI","FaqI","BsmFI"],isType2S:!0,site:"gggac",forwardRegex:"g{3}ac",reverseRegex:"gtc{3}",topSnipOffset:15,bottomSnipOffset:19},{aliases:["BspJ105I","VpaK13AI","Uba1314I","GspAI","Uba1249I","PolI","VpaK7AI","NspDII","BceSII","MliI","VpaK11DI","AspBII","VpaK11I","NspGI","BtiI","NspKI","VpaK11CI","Uba1304I","Bsp1260I","MfoI","Uba48I","UbaN15I","NmuAII","Uba1438I","Bsp100I","Tsp301I","BspF53I","Uba62I","ClmII","VpaK65I","AspDII","NspHII","Sgh1835I","Uba1131I","CliI","Asp697I","Uba1413I","Nli3877II","Uba1278I","Uba1272I","Bsp128I","NliII","MspAI","Bst4QI","SfnI","Uth554I","Uba1373I","Tru28I","Pfl19I","SinJI","SinHI","SinGI","SinFI","SinEI","SinDI","SinCI","SinBI","SinAI","Bsp133I","Bsp132I","SynI","TruI","Hsp2I","Bsp71I"],site:"ggwcc",forwardRegex:"g{2}[atw]c{2}",reverseRegex:"g{2}[atw]c{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["NtaSI","Uba1180I","SsvI","Uba1239I","Uba1170I","Ppu13I","VchO44I","ChyI","GobAI","Uba1217I","PluI","Uba40I","Uba1419I","Asp78I","Uba1371I","Uba1403I"],site:"aggcct",forwardRegex:"ag{2}c{2}t",reverseRegex:"ag{2}c{2}t",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BseGI","BstF5I","BtsCI"],site:"ggatg",forwardRegex:"g{2}atg",reverseRegex:"catc{2}",topSnipOffset:7,bottomSnipOffset:5,isType2S:!0},{aliases:["AvrII","AspA2I","XmaJI","BlnI","AvrBII","BspA2I"],site:"cctagg",forwardRegex:"c{2}tag{2}",reverseRegex:"c{2}tag{2}",topSnipOffset:1,bottomSnipOffset:5},{aliases:["BspKT8I","SsbI","BspLAIII","LlaCI","BstFI","HindIII","HsuI","BbrI","EcoVIII"],site:"aagctt",forwardRegex:"a{2}gct{2}",reverseRegex:"a{2}gct{2}",topSnipOffset:1,bottomSnipOffset:5},{aliases:["NsbI","Acc16I","PamI","Pun14627I","MstI","AosI","FspI","AviII","FdiII"],site:"tgcgca",forwardRegex:"tgcgca",reverseRegex:"tgcgca",topSnipOffset:3,bottomSnipOffset:3},{aliases:["Ecl136II","BpuAmI","MxaI","Eco53kI","EcoICRI"],site:"gagctc",forwardRegex:"gagctc",reverseRegex:"gagctc",topSnipOffset:3,bottomSnipOffset:3},{aliases:["TtmI","TspWAM8AI","HpyF74II","HpyF35II","TspIDSI","HpyF13III"],site:"acgt",forwardRegex:"acgt",reverseRegex:"acgt",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BseZI","Ksp632I","EarI","Eam1104I","Bsu6I","Bst6I","CatHI","Bco116I","Bco5I","BcoKI"],isType2S:!0,site:"ctcttc",forwardRegex:"ctct{2}c",reverseRegex:"ga{2}gag",topSnipOffset:7,bottomSnipOffset:10},{aliases:["Msp24I","BsaSI","HpyF73IV","MjaII","VpaK15I","TdeIII","Sau557I","Sau17I","GseI","Bfi105I","Eco201I","CfrNI","Sau13I","Sau14I","Bse54I","Eco196II","VpaK25I","Uba1164I","NlaDII","Cfr4I","Cfr8I","CdiCD6I","AhaB1I","MthBI","Pph1579I","Pph1773I","Hin5II","Sau32I","VpaK9AI","Sau33I","Uba1099I","NmuSI","SauBI","VchO85I","Sau5I","Cfr33I","Eco39I","Sau2I","ApuI","VchO90I","PspI","Uba1134I","BpsI","Cfr23I","MhoI","PseI","Eco47II","HpyF71II","VpaK19AI","VpaK19BI","SdyI","NmuEII","Cfr52I","Cfr54I","NspLII","VpaKutBI","CdiAI","VpaKutAI","Bsu5044I","HpyF66I","SelAI","Cfr46I","Cfr47I","Cfr45I","Uba1160I","VchO66I","VpaKutJI"],site:"ggncc",forwardRegex:"g{2}[abcdghkmnrstvwy]c{2}",reverseRegex:"g{2}[abcdghkmnrstvwy]c{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Cpa1150I","PflAI","TmaI","BceRI","FspMI","MvaAI","Uba1446I","Bsu1193I","EsaBS9I","HpyF52II","Bsu1192II","HpyF14I","HpyF15I","Uba1321I","HpyF64IV","SceAI","HpyF26I","BspJ76I","Bce31293I","BsuEII","Hin1056I","Uba1405I","Uba1404I","Bsu6633I","CpaAI","Bsp70I"],site:"cgcg",forwardRegex:"cgcg",reverseRegex:"cgcg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["TseI","ApeKI","AceI","Taq52I","SuiI"],site:"gcwgc",forwardRegex:"gc[atw]gc",reverseRegex:"gc[atw]gc",topSnipOffset:1,bottomSnipOffset:4},{aliases:["Asp27HI","Asp26HI","PctI","Asp40HI","BsaMI","BscCI","BsmI","BmaHI","Mva1269I","Asp50HI","Asp36HI","Asp35HI"],site:"gaatgc",forwardRegex:"ga{2}tgc",reverseRegex:"gcat{2}c",topSnipOffset:7,bottomSnipOffset:5},{aliases:["Uba51I","M.BamHII","Uba1414I","Uba1346I","Bsu8646I","AcaII","SpvI","BamNI","GdoI","UbaN3I","BamKI","Uba1205I","BamFI","BsuB519I","Bst2902I","Rlu4I","Ali12257I","Ali12258I","Uba1250I","RhsI","Psp56I","Uba1258I","Bsp144I","AinII","Bco10278I","Uba88I","Uba1402I","Bca1259I","Bsp90II","Bsp131I","Bsp130I","BstQI","MleI","Uba1383I","Uba1302I","GinI","Uba19I","Bst2464I","Uba1167I","GseIII","Uba1163I","BsaDI","Pac1110I","Bsp46I","Uba1398I","Uba1173I","Uba1242I","Uba1172I","NasBI","UbaN14I","GoxI","AaeI","Uba31I","DdsI","Uba1324I","Bsp30I","Uba1325I","AspTII","Uba38I","AacLI","Pae177I","Uba1098I","BsuB763I","Uba1339I","Uba1297I","Uba1334I","Bst1126I","Uba1224I","Atu1II","Bsu8565I","Bsu90I"],site:"ggatcc",forwardRegex:"g{2}atc{2}",reverseRegex:"g{2}atc{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SpaPIII","PvuHKUI","MziI","SciAII","SplAIV","Sol3335I","Bth2350I","GspI","Uba1245I","Uba1227I","SmaAIV","Psp3I","SbaI","Psp5I"],site:"cagctg",forwardRegex:"cagctg",reverseRegex:"cagctg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BspZEI","BscI","Bsa29I","PgaI","BspOVII","ClaI","BseCI","Bli41I","BavCI","BciBI","LplI","SpmI","Ssp27144I","ZhoI","BspDI","BanIII","BsuTUI","BshVI","BspXI","BstNZ169I","Bsu15I","BspJII","AagI","Bsp106I","Bli86I","BliAI","Bst28I","BbvAII","BsiXI","BcmI","BliRI","Bci29I","LcaI","Rme21I","BdiI"],site:"atcgat",forwardRegex:"atcgat",reverseRegex:"atcgat",topSnipOffset:2,bottomSnipOffset:4},{aliases:["BspJ74I","Bco35I","Bth1795I","Uba1444I","Bsp22I","Bsp28I","Uba1437I"],site:"ctggag",forwardRegex:"ctg{2}ag",reverseRegex:"ctc{2}ag",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SolI","Bsp98I","Bce751I","Uba4009I","BamHI","RspLKII","SurI","BstI","OkrAI","ApaCI","Nsp29132II","BspAAIII","CelI","AliI","AsiI","GstI","Mlu23I","NspSAIV","Pfl8I","BnaI","AccEBI","Bsp4009I"],site:"ggatcc",forwardRegex:"g{2}atc{2}",reverseRegex:"g{2}atc{2}",topSnipOffset:1,bottomSnipOffset:5},{aliases:["M.NgoHVIII","NgoMVIII","NgoJVIII","NgoBVIII","NgoDVIII"],site:"ggtga",forwardRegex:"g{2}tga",reverseRegex:"tcac{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["HpyF13I","HpyF1I","HpyF4I","HpyF6II","HpyF9I","HpyF31II","HpyF49II","HpyF51I","HpyF34II","HpyF48I","HpyF62III","HpyF40III","HpyF25II","Hpy99II","Hpy8II","HpyF35IV","HpyF36I"],site:"gtsac",forwardRegex:"gt[cgs]ac",reverseRegex:"gt[cgs]ac",topSnipOffset:1,bottomSnipOffset:1},{aliases:["PsyI","BgiI","TelI","Tth111I","AspI","PflFI","AtsI"],site:"gacnnngtc",forwardRegex:"gac[abcdghkmnrstvwy]{3}gtc",reverseRegex:"gac[abcdghkmnrstvwy]{3}gtc",topSnipOffset:4,bottomSnipOffset:5},{aliases:["PfaAI","AccB1I","HgiHI","HgiCI","BspT107I","MspB4I","BanI","BshNI","Eco64I","BbvBI"],site:"ggyrcc",forwardRegex:"g{2}[cty][agr]c{2}",reverseRegex:"g{2}[cty][agr]c{2}",topSnipOffset:1,bottomSnipOffset:5},{aliases:["BspMAI","CflI","Psp23I","BspBI","AliAJI","Srl5DI","MhaAI","CfrA4I","Ecl2zI","AjoI","Sag16I","PstI","Sag23I","Ecl37kI","Pfl21I","ApiI","Sst12I","SalPI","CstI","YenI","Bsp63I","BloHII","CfuII","PaePI","SflI","HalII","BsuBI","Asp713I"],site:"ctgcag",forwardRegex:"ctgcag",reverseRegex:"ctgcag",topSnipOffset:5,bottomSnipOffset:1},{aliases:["SvoI","PsuNI"],site:"crccggyg",forwardRegex:"c[agr]c{2}g{2}[cty]g",reverseRegex:"c[agr]c{2}g{2}[cty]g",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SphI","BbuI","PaeI","SpaHI","RspLKI","PfaAIII"],site:"gcatgc",forwardRegex:"gcatgc",reverseRegex:"gcatgc",topSnipOffset:5,bottomSnipOffset:1},{aliases:["PspN4I","BspLI","BmiI","AspNI","BscBI","NlaIV"],site:"ggnncc",forwardRegex:"g{2}[abcdghkmnrstvwy]{2}c{2}",reverseRegex:"g{2}[abcdghkmnrstvwy]{2}c{2}",topSnipOffset:3,bottomSnipOffset:3},{aliases:["HpyHPK5I","HpyF32I","HpyF34I","HpyHI","HpyF25I","HpyF27I","HpyF24II","HpyF37I","HpyF13II","HpyF60II","HpyF59I","HpyF68II","HpyF4II","Bpa36II","HpyF67I","HpyF41II","HpyF64V","Bst295I","BscPI","HpyF70I","HpyF5I","HpyF7I","HpyF66II","HpyF6III","HpyF72II","HpyF30II","HpyF11I","HpyF19I","HpyF22II","HpyCH4II","HpyF9II","HpyF21I"],site:"ctnag",forwardRegex:"ct[abcdghkmnrstvwy]ag",reverseRegex:"ct[abcdghkmnrstvwy]ag",topSnipOffset:1,bottomSnipOffset:1},{aliases:["HpyF51II","HpyF74I","HpyF42II","HpyF35III","HpyF9III","HpyF64II","HpyF20I","HpyF22I","HpyF12I","HpyF41I","HpyF40I","HpyF46I","HpyF56I","HpyF58I","HpyF55I","HpyF54I","HpyF5II","HpyF48II","HpyF69I","HpyF68I","HpyF65I","HpyF62I"],site:"acngt",forwardRegex:"ac[abcdghkmnrstvwy]gt",reverseRegex:"ac[abcdghkmnrstvwy]gt",topSnipOffset:1,bottomSnipOffset:1},{aliases:["HpyF15II","HpyF17I","HpyF64III","HpyF50II","HpyF61I","HpyF11II","HpyF27II","HpyF12II","HpyF46IV","Hpy166I","HpyF42III","HpyF33I","HpyF28I","HpyF19II"],site:"tcnga",forwardRegex:"tc[abcdghkmnrstvwy]ga",reverseRegex:"tc[abcdghkmnrstvwy]ga",topSnipOffset:1,bottomSnipOffset:1},{aliases:["EclRI","TspMI","Pac25I","XmaCI","EaeAI","AhyI","XmaI","Cfr9I","PspAI","XcyI"],site:"cccggg",forwardRegex:"c{3}g{3}",reverseRegex:"c{3}g{3}",topSnipOffset:1,bottomSnipOffset:5},{aliases:["XapI","CfaI","FsiI","ApoI","AcsI"],site:"raatty",forwardRegex:"[agr]a{2}t{2}[cty]",reverseRegex:"[agr]a{2}t{2}[cty]",topSnipOffset:1,bottomSnipOffset:5},{aliases:["SenPI","HpyNI","Bsp548I","LlaMI","Eco51II","Eco43I","BsoI","Bsp73I","Eco200I","Eco85I","BsaCI","Eco80I","Uba17I","Uba1391I","Eco153I","Bsp53I","Eco93I"],site:"ccngg",forwardRegex:"c{2}[abcdghkmnrstvwy]g{2}",reverseRegex:"c{2}[abcdghkmnrstvwy]g{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Tsp49I","TaiI","TscI"],site:"acgt",forwardRegex:"acgt",reverseRegex:"acgt",topSnipOffset:4,bottomSnipOffset:0},{aliases:["DraII","EcoO109I"],site:"rggnccy",forwardRegex:"[agr]g{2}[abcdghkmnrstvwy]c{2}[cty]",reverseRegex:"[agr]g{2}[abcdghkmnrstvwy]c{2}[cty]",topSnipOffset:2,bottomSnipOffset:5},{aliases:["Ssp34I","AcaI","Bsp151I","Uba1452I","Ssp48I","Ssp47I","BpuHI","NspJI","Uba1385I","Rma376I","NspFI","Ssp45I","NspBI","Ssp42I","Ssp43I","Ssp14I","Psc27I","Psc28I","BspH22I","Afl83I","Bsp101I","Ssp152I","Bsp102I","Bsp104I","Mva16I","Bsp241I","Rma523I","Bsp82I","Sgr1839I","OspI","Bsp90I","AviI","BspH106I","BspH103I","Bsp148I","Nsp29132I"],site:"ttcgaa",forwardRegex:"t{2}cga{2}",reverseRegex:"t{2}cga{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["CjuII"],site:"caynnnnnctc",forwardRegex:"ca[cty][abcdghkmnrstvwy]{5}ctc",reverseRegex:"gag[abcdghkmnrstvwy]{5}[agr]tg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["UbaN6II","BstNSII","Bst7QI","AspDI","AspBI","AvrI","EspHK29I","NspDI","NspEI","AcrI","Uba1205II","Gst1588I","BstZ4I","Uba1436I","BstBAII","Umi5I","NliI","NmuAI","Uba1440I"],site:"cycgrg",forwardRegex:"c[cty]cg[agr]g",reverseRegex:"c[cty]cg[agr]g",topSnipOffset:1,bottomSnipOffset:1},{aliases:["AdeI","DraIII","BstIZ316I"],site:"cacnnngtg",forwardRegex:"cac[abcdghkmnrstvwy]{3}gtg",reverseRegex:"cac[abcdghkmnrstvwy]{3}gtg",topSnipOffset:6,bottomSnipOffset:3},{aliases:["Uba153AI","BavAI","BavBI","BspO4I","BamGI","BavI","EclI","Pvu84II","BspM39I","UbaM39I","NmeRI","PvuII","DmaI","Bsp153AI","Pun14627II","Cfr6I","Pae17kI"],site:"cagctg",forwardRegex:"cagctg",reverseRegex:"cagctg",topSnipOffset:3,bottomSnipOffset:3},{aliases:["Ava458I","Cfr38I","Cfr39I","KspHK15I","Cfr40I","EspHK24I","Cfr55I","EcoHAI","Cfr59I","Eco164I","EspHK16I","Uba1188I","EciBI","Eco90I","Uba1327I","Cfr14I","Uba36I"],site:"yggccr",forwardRegex:"[cty]g{2}c{2}[agr]",reverseRegex:"[cty]g{2}c{2}[agr]",topSnipOffset:1,bottomSnipOffset:1},{aliases:["MchAI","CspBI","NotI","CsiBI","CciNI"],site:"gcggccgc",forwardRegex:"gcg{2}c{2}gc",reverseRegex:"gcg{2}c{2}gc",topSnipOffset:2,bottomSnipOffset:6},{aliases:["BscKI","Rtr20I","BspVI","Bco102II","BsaVI"],site:"gaagac",forwardRegex:"ga{2}gac",reverseRegex:"gtct{2}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["AspMDI","BfuCI","NlaII","HacI","CcyI","FnuEI","FnuCI","NdeII","RalF40I","BstMBI","Sth368I","SauMI","Kzo9I","MgoI","MboI","NphI","Bsp67I","BscFI","LlaAI","Bsp143I","DpnII","CviAI","Bme12I","PbrTI","CpfI","NmeCI","SsiBI","SsiAI","Bfi57I","Bst19II","BstENII","BssMI","MkrAI","BspAI","BspFI","BtkII","BspJI","CacI","Bsp2095I","BspKMI","Sau3AI","Bce243I","Bsp105I"],site:"gatc",forwardRegex:"gatc",reverseRegex:"gatc",topSnipOffset:0,bottomSnipOffset:4},{aliases:["EcoprrI"],site:"ccannnnnnnrtgc",forwardRegex:"c{2}a[abcdghkmnrstvwy]{7}[agr]tgc",reverseRegex:"gca[cty][abcdghkmnrstvwy]{7}tg{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Cfr48I","Ese4I","BscMI","Uba1409I","Eco262I","Uba1159I","Uba1264I","Uba1263I","Uba1363I","Uba1142I","Uba1357I","Uba1421I","Eco26I","Eco25I","Bsp117I","Uba1206I","Eco249I","Eco35I","Uba57I","Uba1124I","OmiAI","OmiBI","Eco113I","Eco215I","Eco216I","Eco180I","Uba1330I","EcoT88I","Uba1329I","Ppu20I","Eco232I","Uba39I","BstZ7I","Uba1307I","EcoT95I","EcoT93I","Eco68I","Psp31I","Eco211I"],site:"grgcyc",forwardRegex:"g[agr]gc[cty]c",reverseRegex:"g[agr]gc[cty]c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["PaeR7I","PanI","BluI","BssHI","TliI","Sol10179I","StrI","SauLPII","SlaI","AbrI","Sfr274I","EscI","Sbi68I","Sau3239I","MavI","CcrI","BspAAI","MlaAI","XpaI","BstVI","XhoI"],site:"ctcgag",forwardRegex:"ctcgag",reverseRegex:"ctcgag",topSnipOffset:1,bottomSnipOffset:5},{aliases:["MchI","Mly113I","NarI","NunII","SseAI","NdaI"],site:"ggcgcc",forwardRegex:"g{2}cgc{2}",reverseRegex:"g{2}cgc{2}",topSnipOffset:2,bottomSnipOffset:4},{aliases:["EgeI","Eco78I","DinI","SfoI","EheI"],site:"ggcgcc",forwardRegex:"g{2}cgc{2}",reverseRegex:"g{2}cgc{2}",topSnipOffset:3,bottomSnipOffset:3},{aliases:["M.AtuCI","HpyF72III","HpyF38I","HpyF44I","HpyAIV","M.BabI","HpyF55II","HpyF2II","HpyIV","NcaI","NsiHI","HpyF60I","CviEI","CviFI","CviCI","M.SmeI","CviDI","CviGI","HpyF10II","HpyF71III","Hpy87AI","HpyF18I","NovII"],site:"gantc",forwardRegex:"ga[abcdghkmnrstvwy]tc",reverseRegex:"ga[abcdghkmnrstvwy]tc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Bsp6I","SatI","Uur960I","ItaI","Fsp4HI","Fnu4HI","BisI","FbrI","GluI","BsoFI"],site:"gcngc",forwardRegex:"gc[abcdghkmnrstvwy]gc",reverseRegex:"gc[abcdghkmnrstvwy]gc",topSnipOffset:2,bottomSnipOffset:3},{aliases:["BsoDI","Tsp504I","TauII"],site:"cggccg",forwardRegex:"cg{2}c{2}g",reverseRegex:"cg{2}c{2}g",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Hpy178II","TceI","HpyAII","HpyII"],site:"gaaga",forwardRegex:"ga{2}ga",reverseRegex:"tct{2}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["PfeI","TfiI"],site:"gawtc",forwardRegex:"ga[atw]tc",reverseRegex:"ga[atw]tc",topSnipOffset:1,bottomSnipOffset:4},{aliases:["NspIII","BsoBI","AvaI","PunAI","NspSAI","BstSI","BcoI","BmeT110I","PlaAI","Bse15I","OfoI","AquI","Eco88I","BspLU4I","Ama87I","Eco27kI","BsiHKCI"],site:"cycgrg",forwardRegex:"c[cty]cg[agr]g",reverseRegex:"c[cty]cg[agr]g",topSnipOffset:1,bottomSnipOffset:5},{aliases:["SdeAI"],site:"cagrag",forwardRegex:"cag[agr]ag",reverseRegex:"ct[cty]ctg",topSnipOffset:27,bottomSnipOffset:25,isType2S:!0},{aliases:["BcoDI","BsoMAI","BsmAI","Alw26I","BstMAI"],site:"gtctc",forwardRegex:"gtctc",reverseRegex:"gagac",topSnipOffset:6,bottomSnipOffset:10,isType2S:!0},{aliases:["SauHI","Uba1294I","BseG73I","Uba1184II","PxyMZI","AsuSAI","SecIII","Bli643I","Eco76I","Bst29I","Eco110kI","BstZ6I","Eco118I","Bst30I","EciCI","Eco115I","Uba1333I","Uba1332I"],site:"cctnagg",forwardRegex:"c{2}t[abcdghkmnrstvwy]ag{2}",reverseRegex:"c{2}t[abcdghkmnrstvwy]ag{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["HpyF44IV","HpyCH4VI","HpyF16II","HpyF22III","HpyF19III","HpyNSH57II"],site:"tcnnga",forwardRegex:"tc[abcdghkmnrstvwy]{2}ga",reverseRegex:"tc[abcdghkmnrstvwy]{2}ga",topSnipOffset:1,bottomSnipOffset:1},{aliases:["OtuI","MarI","OtuNI","Uba1433I","Uba1441I","Mho2111I","BsaLI","OxaI"],site:"agct",forwardRegex:"agct",reverseRegex:"agct",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BfoI","Bsp143II","BstH2I","AccB2I","HaeII"],site:"rgcgcy",forwardRegex:"[agr]gcgc[cty]",reverseRegex:"[agr]gcgc[cty]",topSnipOffset:5,bottomSnipOffset:1},{aliases:["Eco57I","BspKT5I","AcuI"],site:"ctgaag",forwardRegex:"ctga{2}g",reverseRegex:"ct{2}cag",topSnipOffset:22,bottomSnipOffset:20,isType2S:!0},{aliases:["Uba1276I","TdeII","VpaO5I","Bst158I","UbaN7I","BcrAI","VpaKutEI","VpaKutFI","BsrEI","Uba1192I","BcoSI"],site:"ctcttc",forwardRegex:"ctct{2}c",reverseRegex:"ga{2}gag",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SsoII","StyD4I","BstSCI","Eco137kI","Ecl18kI","BstMZ611I","Eco13kI","BssKI","DsaV","Eco21kI","Kpn2kI"],site:"ccngg",forwardRegex:"c{2}[abcdghkmnrstvwy]g{2}",reverseRegex:"c{2}[abcdghkmnrstvwy]g{2}",topSnipOffset:0,bottomSnipOffset:5},{aliases:["BsmXI","BsmDI","BsmCI"],site:"acnnnnnctcc",forwardRegex:"ac[abcdghkmnrstvwy]{5}ctc{2}",reverseRegex:"g{2}ag[abcdghkmnrstvwy]{5}gt",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Uba1426I","Uba1420I","TrsTII","Uba1374I","BscLI","Uba1266I","VfiI","BsaFI","Uba1313I","Uba1312I","Uba1299I","Uba1331I","Uba1443I","Cfr92I"],site:"cttaag",forwardRegex:"ct{2}a{2}g",reverseRegex:"ct{2}a{2}g",topSnipOffset:1,bottomSnipOffset:1},{aliases:["EcaI","BstEII","AspAI","Eci125I","BstT9I","Bse64I","AcrII","BstPI","BseT9I","NspSAII","BsiKI","EcoO128I","BstT10I","Eco91I","BseT10I","EcoO65I","PspEI"],site:"ggtnacc",forwardRegex:"g{2}t[abcdghkmnrstvwy]ac{2}",reverseRegex:"g{2}t[abcdghkmnrstvwy]ac{2}",topSnipOffset:1,bottomSnipOffset:6},{aliases:["HpyAV","Hin4II"],site:"ccttc",forwardRegex:"c{2}t{2}c",reverseRegex:"ga{2}g{2}",topSnipOffset:11,bottomSnipOffset:10,isType2S:!0},{aliases:["BseII","BsaKI","Uba1408II","MwhI"],site:"gttaac",forwardRegex:"gt{2}a{2}c",reverseRegex:"gt{2}a{2}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Sse8387I","SdaI","SbfI"],site:"cctgcagg",forwardRegex:"c{2}tgcag{2}",reverseRegex:"c{2}tgcag{2}",topSnipOffset:6,bottomSnipOffset:2},{aliases:["SacII","CscI","SpuI","PaeAI","GceI","SchZI","SstII","Cfr42I","PaeQI","Eae46I","Pae14kI","RaqI","Mpr154I","GalI","NgoAIII","GceGLI","Eco29kI","Sfr303I","Pae5kI","NgoPIII","SenPT14bI","SgrBI","KspI","SexBI","SexCI","Kpn378I"],site:"ccgcgg",forwardRegex:"c{2}gcg{2}",reverseRegex:"c{2}gcg{2}",topSnipOffset:4,bottomSnipOffset:2},{aliases:["BpuNI","FinI","BscWI"],site:"gggac",forwardRegex:"g{3}ac",reverseRegex:"gtc{3}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Uba1431I","SseI","Umi7I","Uba1447I","PovI","CpeI","BceDI","BmeTI","Bco102I","AtuSI","M.TaeII","Bst77I","BstKI","BstGI","SstIV","Uba1282I","CthI","Uba1283I","BstZ10II"],site:"tgatca",forwardRegex:"tgatca",reverseRegex:"tgatca",topSnipOffset:1,bottomSnipOffset:1},{aliases:["MaeIII"],site:"gtnac",forwardRegex:"gt[abcdghkmnrstvwy]ac",reverseRegex:"gt[abcdghkmnrstvwy]ac",topSnipOffset:0,bottomSnipOffset:5},{aliases:["Eco646I","Eco1341I","Eco1413I","Eco1432I","Eco1424I","Eco1422I","Eco1383I"],site:"ccannnnnnncttc",forwardRegex:"c{2}a[abcdghkmnrstvwy]{7}ct{2}c",reverseRegex:"ga{2}g[abcdghkmnrstvwy]{7}tg{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["MvaI","Bst1I","Bst2I","BsiLI","CthII","Sth302I","BshGI","BspNI","TaqXI","Bse17I","Bse16I","Bst2UI","Bse24I","Bst38I","SslI","BciBII","AglI","BthDI","BthEI","ApyI","ZanI","CbrI","BstM6I","BptI","AorI","ApaORI","BseBI","Fsp1604I","AeuI","Sth117I","SniI","Bst100I","BstOI","BstNI"],site:"ccwgg",forwardRegex:"c{2}[atw]g{2}",reverseRegex:"c{2}[atw]g{2}",topSnipOffset:2,bottomSnipOffset:3},{aliases:["Bco27I","CboI","MspI","BsuFI","BsiSI","Pde137I","HpaII","Sth134I","Hin2I","Bst40I","HapII","MnoI"],site:"ccgg",forwardRegex:"c{2}g{2}",reverseRegex:"c{2}g{2}",topSnipOffset:1,bottomSnipOffset:3},{aliases:["Uba1368I","Uba1156I","Uba1157I","Uba1202I","EciEI","Psp30I","Uba1165I","Uba1241I"],site:"gggccc",forwardRegex:"g{3}c{3}",reverseRegex:"g{3}c{3}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SduI","BsoCI","BspLS2I","MhlI","Bsp1286I","BmyI","NspII","AocII"],site:"gdgchc",forwardRegex:"g[adgkrtw]gc[achmtwy]c",reverseRegex:"g[adgkrtw]gc[achmtwy]c",topSnipOffset:5,bottomSnipOffset:1},{aliases:["KspAI","BstEZ359I","BstHPI","SsrI","HpaI"],site:"gttaac",forwardRegex:"gt{2}a{2}c",reverseRegex:"gt{2}a{2}c",topSnipOffset:3,bottomSnipOffset:3},{aliases:["SfiI","SdiI"],site:"ggccnnnnnggcc",forwardRegex:"g{2}c{2}[abcdghkmnrstvwy]{5}g{2}c{2}",reverseRegex:"g{2}c{2}[abcdghkmnrstvwy]{5}g{2}c{2}",topSnipOffset:8,bottomSnipOffset:5},{aliases:["LlaG2I","NheI","PstNHI","AsuNHI"],site:"gctagc",forwardRegex:"gctagc",reverseRegex:"gctagc",topSnipOffset:1,bottomSnipOffset:5},{aliases:["AluBI","AluI","MltI"],site:"agct",forwardRegex:"agct",reverseRegex:"agct",topSnipOffset:2,bottomSnipOffset:2},{aliases:["HpyF49V","HpyF36III","M.CviSI","HpyF48III","HpyJP26I","HpyF38II","HpyF45II","HpyF67II","Hpy26I"],site:"tgca",forwardRegex:"tgca",reverseRegex:"tgca",topSnipOffset:1,bottomSnipOffset:1},{aliases:["DraRI"],site:"caagnac",forwardRegex:"ca{2}g[abcdghkmnrstvwy]ac",reverseRegex:"gt[abcdghkmnrstvwy]ct{2}g",topSnipOffset:27,bottomSnipOffset:25,isType2S:!0},{aliases:["Eco1265I","Eco1441I","Eco1443I","Eco1447I","Eco1158I","Eco14444I","EcoBI"],site:"tgannnnnnnntgct",forwardRegex:"tga[abcdghkmnrstvwy]{8}tgct",reverseRegex:"agca[abcdghkmnrstvwy]{8}tca",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BbeAI","PmnI","McaAI","NamI","PatAI","MsaI"],site:"ggcgcc",forwardRegex:"g{2}cgc{2}",reverseRegex:"g{2}cgc{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BstC8I","Cac8I"],site:"gcnngc",forwardRegex:"gc[abcdghkmnrstvwy]{2}gc",reverseRegex:"gc[abcdghkmnrstvwy]{2}gc",topSnipOffset:3,bottomSnipOffset:3},{aliases:["EsaBC3I"],site:"tcga",forwardRegex:"tcga",reverseRegex:"tcga",topSnipOffset:2,bottomSnipOffset:2},{aliases:["Pfr12I","AmeI","Bsp146I","Uba1203I","Pfl23I","PliI","AaqI","DaqI","ScoNI","Uba1387I"],site:"gtgcac",forwardRegex:"gtgcac",reverseRegex:"gtgcac",topSnipOffset:1,bottomSnipOffset:1},{aliases:["AccIII","PinBII","CauB3I","MroI","Aor13HI","BseAI","Bsp13I","Kpn2I","PtaI","BspEI","Bsu23I","BsiMI","BlfI","BbvAIII","BspMII"],site:"tccgga",forwardRegex:"tc{2}g{2}a",reverseRegex:"tc{2}g{2}a",topSnipOffset:1,bottomSnipOffset:5},{aliases:["Eco1342I","Eco1344I","EcoKI","Eco1394I"],site:"aacnnnnnngtgc",forwardRegex:"a{2}c[abcdghkmnrstvwy]{6}gtgc",reverseRegex:"gcac[abcdghkmnrstvwy]{6}gt{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["NgoJI","NgoGI","NgoMI","HinHI","NgoAI","NgoBI","M.NgoEI","NgoCI","NgoWI","Bst16I","Btu34II","Bst1473II","BsmHI"],site:"rgcgcy",forwardRegex:"[agr]gcgc[cty]",reverseRegex:"[agr]gcgc[cty]",topSnipOffset:1,bottomSnipOffset:1},{aliases:["MboII","NcuI"],site:"gaaga",forwardRegex:"ga{2}ga",reverseRegex:"tct{2}c",topSnipOffset:13,bottomSnipOffset:12,isType2S:!0},{aliases:["Eco188I","Eco98I","Uba1435I","Hin5III","Uba1219I","UbaN17I","SpaPIV","Eco231I","BstZ1II","Csp231I","Eco65I","HinbIII","ChuEI","Asp52I","Asp3065I","Uba83I","HinfII","MkiI","HinJCII","BsmGII","Hin1076III","HinSAFI","Hin173I","Uba1164II","BseHI","BbrAI","Bst170II","BpeI","Cfr32I"],site:"aagctt",forwardRegex:"a{2}gct{2}",reverseRegex:"a{2}gct{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["StsI"],site:"ggatg",forwardRegex:"g{2}atg",reverseRegex:"catc{2}",topSnipOffset:15,bottomSnipOffset:19,isType2S:!0},{aliases:["BstZ2I","Uba1191I","Uba1190I"],site:"gacnnnnngtc",forwardRegex:"gac[abcdghkmnrstvwy]{5}gtc",reverseRegex:"gac[abcdghkmnrstvwy]{5}gtc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Hin6I","HinP1I","HsoI","HspAI","SciNI","BbtI"],site:"gcgc",forwardRegex:"gcgc",reverseRegex:"gcgc",topSnipOffset:1,bottomSnipOffset:3},{aliases:["PmdI"],site:"cctcagc",forwardRegex:"c{2}tcagc",reverseRegex:"gctgag{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BcefI"],site:"acggc",forwardRegex:"acg{2}c",reverseRegex:"gc{2}gt",topSnipOffset:17,bottomSnipOffset:18,isType2S:!0},{aliases:["Eco52I","BstZI","EagI","XmaIII","BseX3I","EclXI","AaaI","SenPT16I"],site:"cggccg",forwardRegex:"cg{2}c{2}g",reverseRegex:"cg{2}c{2}g",topSnipOffset:1,bottomSnipOffset:5},{aliases:["BsaJI","SecI","BssECI","BseDI"],site:"ccnngg",forwardRegex:"c{2}[abcdghkmnrstvwy]{2}g{2}",reverseRegex:"c{2}[abcdghkmnrstvwy]{2}g{2}",topSnipOffset:1,bottomSnipOffset:5},{aliases:["CciI","RspXI","BspHI","PagI","RcaI"],site:"tcatga",forwardRegex:"tcatga",reverseRegex:"tcatga",topSnipOffset:1,bottomSnipOffset:5},{aliases:["FseI","RigI"],site:"ggccggcc",forwardRegex:"g{2}c{2}g{2}c{2}",reverseRegex:"g{2}c{2}g{2}c{2}",topSnipOffset:6,bottomSnipOffset:2},{aliases:["BstMWI","HpyF10VI","Bce4I","BceCI","BspWI","MwoI"],site:"gcnnnnnnngc",forwardRegex:"gc[abcdghkmnrstvwy]{7}gc",reverseRegex:"gc[abcdghkmnrstvwy]{7}gc",topSnipOffset:7,bottomSnipOffset:4},{aliases:["HpyF10III","Uba1442I","HpyF67IV","BstZ10I","BsoKI","HpyF61II","Hpy99IV"],site:"ccnngg",forwardRegex:"c{2}[abcdghkmnrstvwy]{2}g{2}",reverseRegex:"c{2}[abcdghkmnrstvwy]{2}g{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Aor51HI","FunI","Eco47III","AitI","AfeI"],site:"agcgct",forwardRegex:"agcgct",reverseRegex:"agcgct",topSnipOffset:3,bottomSnipOffset:3},{aliases:["MlyI","SchI"],site:"gagtc",forwardRegex:"gagtc",reverseRegex:"gactc",topSnipOffset:10,bottomSnipOffset:10,isType2S:!0},{aliases:["BseB631I","VanI","Bpu86I","Tsp219I","BsoJI"],site:"gccnnnnnggc",forwardRegex:"gc{2}[abcdghkmnrstvwy]{5}g{2}c",reverseRegex:"gc{2}[abcdghkmnrstvwy]{5}g{2}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Bsp120I","PspOMI"],site:"gggccc",forwardRegex:"g{3}c{3}",reverseRegex:"g{3}c{3}",topSnipOffset:1,bottomSnipOffset:5},{aliases:["Csp6I","RsaNI","CviRII","CviQI"],site:"gtac",forwardRegex:"gtac",reverseRegex:"gtac",topSnipOffset:1,bottomSnipOffset:3},{aliases:["M.Phi3TI","Cac824I","Bpu1811I","M.NgoBXII","M.Rho11sI","CcoP216I","CcoP215I","Bli1904II","BssFI","BssXI","M.SPBetaI","LlaDII"],site:"gcngc",forwardRegex:"gc[abcdghkmnrstvwy]gc",reverseRegex:"gc[abcdghkmnrstvwy]gc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["AflII","MspCI","Vha464I","Bst98I","BstAFI","Esp4I","BstPZ740I","BfrI","BspTI"],site:"cttaag",forwardRegex:"ct{2}a{2}g",reverseRegex:"ct{2}a{2}g",topSnipOffset:1,bottomSnipOffset:5},{aliases:["BthCI"],site:"gcngc",forwardRegex:"gc[abcdghkmnrstvwy]gc",reverseRegex:"gc[abcdghkmnrstvwy]gc",topSnipOffset:4,bottomSnipOffset:1},{aliases:["TfiTok6A1I","TspAK13D21I","TspVil3I","M.Rho11sII","Hpy26II","HpyF65II","TflI","HpyF16I","TfiTok4A2I","HpyF23I","HpyV","Tsp358I","HpyF71I","HpyF73II","TfiA3I","HpyF26III","TspAK16D24I","Tsc4aI","HpyF42IV","HpyF66IV","TspVi4AI","M.CviBIII","TthRQI","Tbr51I","HpyF52I","HpyF49I","Tth24I","M.Phi3TII","HpyF64I","CviSIII","HpyF40II","Taq20I","Tsp505I","HpyF35I","HpyF62II","HpyJP26II","HpyF30I","HpyF24I","HpyF59III","TspNI","Tsp510I","HpyF45I","HpyF14III"],site:"tcga",forwardRegex:"tcga",reverseRegex:"tcga",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SthNI","SthBI","SthCI","SthDI","SthEI","SthAI","SthJI","SthKI","SthLI","SthMI","SthFI","SthGI","SthHI","Uba1201I","Uba76I","Uba86I","Uba85I","Uba87I","NmiI","KpnK14I","Eco149I","MvsAI","MvsDI","MvsEI","MvsBI","MvsCI","BspJ106I","Sau10I","Esp19I","MvsI"],site:"ggtacc",forwardRegex:"g{2}tac{2}",reverseRegex:"g{2}tac{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["M.NgoBIX"],site:"gtannnnnctc",forwardRegex:"gta[abcdghkmnrstvwy]{5}ctc",reverseRegex:"gag[abcdghkmnrstvwy]{5}tac",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Asp29HI","HpyF65III","HpyF21II","HpyF59II","Hpy303I","HpyF10IV","HpyF66III","Hpy471I","Hpy423I","Hpy421I","HpyHII","Asp18HI","CcoP73I","HpyNSH57I","Hpy312I","HpyF53II","Asp17HI","HpyF44V","Hpy401I","HpyF13IV","HpyF31I","HpyF36II","Asp16HI","HpyF52III","Hpy501I","MjaV"],site:"gtac",forwardRegex:"gtac",reverseRegex:"gtac",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Bsp19I","NcoI"],site:"ccatgg",forwardRegex:"c{2}atg{2}",reverseRegex:"c{2}atg{2}",topSnipOffset:1,bottomSnipOffset:5},{aliases:["Psp1406I","AclI"],site:"aacgtt",forwardRegex:"a{2}cgt{2}",reverseRegex:"a{2}cgt{2}",topSnipOffset:2,bottomSnipOffset:4},{aliases:["Uba1432I","Asp17I","Asp8HI","AitII","AitAI","BpuGI","Asp21HI","Asp22I","Asp1HI","Asp14HI","BscSI","Asp6HI"],site:"rgatcy",forwardRegex:"[agr]gatc[cty]",reverseRegex:"[agr]gatc[cty]",topSnipOffset:1,bottomSnipOffset:1},{aliases:["RpaB5I"],site:"cgrggac",forwardRegex:"cg[agr]g{2}ac",reverseRegex:"gtc{2}[cty]cg",topSnipOffset:27,bottomSnipOffset:25,isType2S:!0},{aliases:["LweI","SfaNI","BspST5I","BmsI","PhaI"],site:"gcatc",forwardRegex:"gcatc",reverseRegex:"gatgc",topSnipOffset:10,bottomSnipOffset:14,isType2S:!0},{aliases:["EcoA4I","BspTNI","EcoO44I","Bso31I","BsaI","Eco31I","Bli736I"],isType2S:!0,site:"ggtctc",forwardRegex:"g{2}tctc",reverseRegex:"gagac{2}",topSnipOffset:7,bottomSnipOffset:11},{aliases:["Asi256I"],site:"gatc",forwardRegex:"gatc",reverseRegex:"gatc",topSnipOffset:1,bottomSnipOffset:3},{aliases:["Uba1362I","TseAI","Bka1125I","HpyF36IV","HpyF47I","Mlu40I","BstZ15I"],site:"gdgchc",forwardRegex:"g[adgkrtw]gc[achmtwy]c",reverseRegex:"g[adgkrtw]gc[achmtwy]c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Ppu21I","BsaAI","PsuAI","BstBAI","MspYI"],site:"yacgtr",forwardRegex:"[cty]acgt[agr]",reverseRegex:"[cty]acgt[agr]",topSnipOffset:3,bottomSnipOffset:3},{aliases:["Vsp2246I","Eco50I","Uba1127I","Eco195I","Bme05I","Eco173I","SspM1III","Eco171I","Esp25I","Esp22I","Esp21I","Esp15I","Esp9I","Esp14I","Esp13I","Esp12I","Esp11I","Esp10I","Esp1I","Esp6I","Pph14I","Eco169I","Eco168I"],site:"ggyrcc",forwardRegex:"g{2}[cty][agr]c{2}",reverseRegex:"g{2}[cty][agr]c{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Mlu1106I"],site:"rggwccy",forwardRegex:"[agr]g{2}[atw]c{2}[cty]",reverseRegex:"[agr]g{2}[atw]c{2}[cty]",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Bst22I","BsiYI","BflI","Bsc107I","BseLI","AfiI","BslI","Bsc4I"],site:"ccnnnnnnngg",forwardRegex:"c{2}[abcdghkmnrstvwy]{7}g{2}",reverseRegex:"c{2}[abcdghkmnrstvwy]{7}g{2}",topSnipOffset:7,bottomSnipOffset:4},{aliases:["BstD102I","BsrBI","MbiI","AccBSI","Bst31NI"],site:"ccgctc",forwardRegex:"c{2}gctc",reverseRegex:"gagcg{2}",topSnipOffset:3,bottomSnipOffset:3},{aliases:["BsrXI","Msp23I","BspLU11II"],site:"tctaga",forwardRegex:"tctaga",reverseRegex:"tctaga",topSnipOffset:1,bottomSnipOffset:1},{aliases:["AclNI","BcuI","SpeI","AhlI"],site:"actagt",forwardRegex:"actagt",reverseRegex:"actagt",topSnipOffset:1,bottomSnipOffset:5},{aliases:["PunAII","AvoI","PauAI","NspHI","BstNSI","NspI","XceI"],site:"rcatgy",forwardRegex:"[agr]catg[cty]",reverseRegex:"[agr]catg[cty]",topSnipOffset:5,bottomSnipOffset:1},{aliases:["MscI","BalI","MluNI","MlsI","Mlu31I","Msp20I"],site:"tggcca",forwardRegex:"tg{2}c{2}a",reverseRegex:"tg{2}c{2}a",topSnipOffset:3,bottomSnipOffset:3},{aliases:["BmgI"],site:"gkgccc",forwardRegex:"g[gkt]gc{3}",reverseRegex:"g{3}c[acm]c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BglII","NcrI","Pae2kI","Pae18kI","NspMACI"],site:"agatct",forwardRegex:"agatct",reverseRegex:"agatct",topSnipOffset:1,bottomSnipOffset:5},{aliases:["FatII","M.CviSII","Hin8II"],site:"catg",forwardRegex:"catg",reverseRegex:"catg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["CglI","NgoFVII"],site:"gcsgc",forwardRegex:"gc[cgs]gc",reverseRegex:"gc[cgs]gc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SspM1II","NlaSII","SspJII","Uba1381I","Hin8I","SspM2II"],site:"grcgyc",forwardRegex:"g[agr]cg[cty]c",reverseRegex:"g[agr]cg[cty]c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["VchO68I","BscOI","PaeCI","Asp5HI","Bsp121I","Uba1226I","Uba1162I","CglAI","BtgAII","SpaXI"],site:"gcatgc",forwardRegex:"gcatgc",reverseRegex:"gcatgc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["XcaI","BstZ17I","BspM90I","BssNAI","BstBSI","Bst1107I"],site:"gtatac",forwardRegex:"gtatac",reverseRegex:"gtatac",topSnipOffset:3,bottomSnipOffset:3},{aliases:["Bme1580I","BstSLI","BseSI","BaeGI"],site:"gkgcmc",forwardRegex:"g[gkt]gc[acm]c",reverseRegex:"g[gkt]gc[acm]c",topSnipOffset:5,bottomSnipOffset:1},{aliases:["MthFI","Rma500I","Rma501I","Rma503I","FisI","Rma509I","Rma506I","Rma510I","MjaI","Rma515I","Rma516I","Rma517I","Rma518I","Rma519I","Rma496I","Rma495I","Rma522I","Rma497I","UbaN5I","Rma490I","Rma486I","Rma485I"],site:"ctag",forwardRegex:"ctag",reverseRegex:"ctag",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SelI"],site:"cgcg",forwardRegex:"cgcg",reverseRegex:"cgcg",topSnipOffset:0,bottomSnipOffset:4},{aliases:["Mlu9273I","VchO70I","Sna3286I","SalDI","PspDI","Uba1117I","Uba1386I","AmaSI"],site:"tcgcga",forwardRegex:"tcgcga",reverseRegex:"tcgcga",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Hsp92I","BbiII","Msp17I","HgiGI","HgiDI","AsuIII","PamII","BsaHI","BstACI","HgiHII","AcyI","BssNI","Hin1I","AhaII","AstWI","HgiI","AosII"],site:"grcgyc",forwardRegex:"g[agr]cg[cty]c",reverseRegex:"g[agr]cg[cty]c",topSnipOffset:2,bottomSnipOffset:4},{aliases:["BtgZI"],site:"gcgatg",forwardRegex:"gcgatg",reverseRegex:"catcgc",topSnipOffset:16,bottomSnipOffset:20,isType2S:!0},{aliases:["Bme142I","LpnI"],site:"rgcgcy",forwardRegex:"[agr]gcgc[cty]",reverseRegex:"[agr]gcgc[cty]",topSnipOffset:3,bottomSnipOffset:3},{aliases:["PlaAII","HpyBI","RsaI","AfaI"],site:"gtac",forwardRegex:"gtac",reverseRegex:"gtac",topSnipOffset:2,bottomSnipOffset:2},{aliases:["Tru201I","BloHI","BstX2I","MflI","BstYI","XhoII","PsuI","DsaIII"],site:"rgatcy",forwardRegex:"[agr]gatc[cty]",reverseRegex:"[agr]gatc[cty]",topSnipOffset:1,bottomSnipOffset:5},{aliases:["Eco252I","Uba58I","Van91II","VchO2I","Eco159I","Hal22I","Eco82I","Eco228I","Eco237I","VchN100I"],site:"gaattc",forwardRegex:"ga{2}t{2}c",reverseRegex:"ga{2}t{2}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["MluB2I","Bsp68I","RruI","SpoI","NruI","BtuMI","Sbo13I"],site:"tcgcga",forwardRegex:"tcgcga",reverseRegex:"tcgcga",topSnipOffset:3,bottomSnipOffset:3},{aliases:["AlwXI","Bst12I","BseKI","BbvI","Bst71I","BseXI","BstV1I","Bsp423I","Lsp1109I"],site:"gcagc",forwardRegex:"gcagc",reverseRegex:"gctgc",topSnipOffset:13,bottomSnipOffset:17,isType2S:!0},{aliases:["BspACI","SsiI","AciI"],site:"ccgc",forwardRegex:"c{2}gc",reverseRegex:"gcg{2}",topSnipOffset:1,bottomSnipOffset:3},{aliases:["EcoT38I","PaeHI","KoxII","SacNI","Eco24I","BpuI","FriOI","Bsu1854I","Eco75KI","BanII","BvuI","HgiJII","Bsp519I"],site:"grgcyc",forwardRegex:"g[agr]gc[cty]c",reverseRegex:"g[agr]gc[cty]c",topSnipOffset:5,bottomSnipOffset:1},{aliases:["PasI"],site:"cccwggg",forwardRegex:"c{3}[atw]g{3}",reverseRegex:"c{3}[atw]g{3}",topSnipOffset:2,bottomSnipOffset:5},{aliases:["MluCI","TseCI"],site:"aatt",forwardRegex:"a{2}t{2}",reverseRegex:"a{2}t{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["HpyF50I","HpyF49III","HpyF14II","HpyF7III","HpyF46III","MjaIV"],site:"gtnnac",forwardRegex:"gt[abcdghkmnrstvwy]{2}ac",reverseRegex:"gt[abcdghkmnrstvwy]{2}ac",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Psp1009I","Tsp8EI","BglI"],site:"gccnnnnnggc",forwardRegex:"gc{2}[abcdghkmnrstvwy]{5}g{2}c",reverseRegex:"gc{2}[abcdghkmnrstvwy]{5}g{2}c",topSnipOffset:7,bottomSnipOffset:4},{aliases:["SruI","DraI","PauAII","AhaIII"],site:"tttaaa",forwardRegex:"t{3}a{3}",reverseRegex:"t{3}a{3}",topSnipOffset:3,bottomSnipOffset:3},{aliases:["AccI","XmiI","FblI"],site:"gtmkac",forwardRegex:"gt[acm][gkt]ac",reverseRegex:"gt[acm][gkt]ac",topSnipOffset:2,bottomSnipOffset:4},{aliases:["PmeI","MssI"],site:"gtttaaac",forwardRegex:"gt{3}a{3}c",reverseRegex:"gt{3}a{3}c",topSnipOffset:4,bottomSnipOffset:4},{aliases:["PshDI","PshCI","PspBI","Pgl34I","Psp38I","VpaK3AI","VpaK3BI","Bsp87I"],site:"cacgtg",forwardRegex:"cacgtg",reverseRegex:"cacgtg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["AxyI","AocI","Lmu60I","BspR7I","OxaNI","CvnI","MstII","Bsu36I","Eco81I","SshAI","SauI","BliHKI","Bse21I"],site:"cctnagg",forwardRegex:"c{2}t[abcdghkmnrstvwy]ag{2}",reverseRegex:"c{2}t[abcdghkmnrstvwy]ag{2}",topSnipOffset:2,bottomSnipOffset:5},{aliases:["TsoI"],site:"tarcca",forwardRegex:"ta[agr]c{2}a",reverseRegex:"tg{2}[cty]ta",topSnipOffset:17,bottomSnipOffset:15,isType2S:!0},{aliases:["PlaII","LspI","SspRFI","BsiCI","Bpu14I","AcpI","FspII","MlaI","AsuII","Ssp1I","Asp10HI","NspV","Bsp119I","BspLAII","SviI","PpaAI","SfuI","CbiI","Bim19I","BstBI","BimI","Csp68KII","Csp45I","BspT104I"],site:"ttcgaa",forwardRegex:"t{2}cga{2}",reverseRegex:"t{2}cga{2}",topSnipOffset:2,bottomSnipOffset:4},{aliases:["EspHK26I","Bla7920I","Uba1375I","BspH226I","Cfr57I","Tsp514I","Bsp233I","Uba1136I","Uba1425I","Tsp507I","Bsp228I","Uba1279I","Bbf7411I","BstZ3I","Bsu22I","BstZ1I","BsiGI","BsiOI","Bsp508I"],site:"tccgga",forwardRegex:"tc{2}g{2}a",reverseRegex:"tc{2}g{2}a",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BpuEI","Bce83I"],site:"cttgag",forwardRegex:"ct{2}gag",reverseRegex:"ctca{2}g",topSnipOffset:22,bottomSnipOffset:20,isType2S:!0},{aliases:["AspS9I","AsuI","NspIV","BsiZI","Bsp1894I","BspF4I","Cfr13I","BshKI","BspBII","Pde12I","PspPI","MaeK81II","BavAII","Nsp7121I","BavBII","Bal228I","CcuI","Sau96I","AvcI","Bsu54I","Bce22I","Bac36I"],site:"ggncc",forwardRegex:"g{2}[abcdghkmnrstvwy]c{2}",reverseRegex:"g{2}[abcdghkmnrstvwy]c{2}",topSnipOffset:1,bottomSnipOffset:4},{aliases:["BstKTI","BspKT6I"],site:"gatc",forwardRegex:"gatc",reverseRegex:"gatc",topSnipOffset:3,bottomSnipOffset:1},{aliases:["BfmI","BdiSI","Srl56DI","BpcI","BthP35I","SfcI","BstSFI","LlaBI","SfeI"],site:"ctryag",forwardRegex:"ct[agr][cty]ag",reverseRegex:"ct[agr][cty]ag",topSnipOffset:1,bottomSnipOffset:5},{aliases:["MseI","Tru1I","Tru9I","SaqAI"],site:"ttaa",forwardRegex:"t{2}a{2}",reverseRegex:"t{2}a{2}",topSnipOffset:1,bottomSnipOffset:3},{aliases:["Sau96mI","Sau93I","Sau98I","Sau90I"],site:"ctyrag",forwardRegex:"ct[cty][agr]ag",reverseRegex:"ct[cty][agr]ag",topSnipOffset:1,bottomSnipOffset:1},{aliases:["TrsSII"],site:"gacnnnnnngtc",forwardRegex:"gac[abcdghkmnrstvwy]{6}gtc",reverseRegex:"gac[abcdghkmnrstvwy]{6}gtc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["ParI","BsiQI","BclI","AbaI","FbaI","Ksp22I","BstT7I","BspXII"],site:"tgatca",forwardRegex:"tgatca",reverseRegex:"tgatca",topSnipOffset:1,bottomSnipOffset:5},{aliases:["Eco255I","DpaI","BmcAI","ZrmI","ScaI","AssI","Bpa34I","Acc113I","RflFII"],site:"agtact",forwardRegex:"agtact",reverseRegex:"agtact",topSnipOffset:3,bottomSnipOffset:3},{aliases:["SplAII","TteI","TspI","TrsKTII","FsuI","SmaAII","NtaI","SplII","SpaPI","TtrI"],site:"gacnnngtc",forwardRegex:"gac[abcdghkmnrstvwy]{3}gtc",reverseRegex:"gac[abcdghkmnrstvwy]{3}gtc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["AspLEI","HhaI","BspLAI","CfoI","BstHHI","FnuDIII"],site:"gcgc",forwardRegex:"gcgc",reverseRegex:"gcgc",topSnipOffset:3,bottomSnipOffset:1},{aliases:["StyLTI"],site:"cagag",forwardRegex:"cagag",reverseRegex:"ctctg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BsoEI","Uba1289I","Uba1290I","BstWI","Uba1309I","Uba1308I","Uba1310I","Bpu1268I"],site:"cctnnnnnagg",forwardRegex:"c{2}t[abcdghkmnrstvwy]{5}ag{2}",reverseRegex:"c{2}t[abcdghkmnrstvwy]{5}ag{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Eco826I","Eco1455I"],site:"gcannnnnnctga",forwardRegex:"gca[abcdghkmnrstvwy]{6}ctga",reverseRegex:"tcag[abcdghkmnrstvwy]{6}tgc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["ApaI","PpeI"],site:"gggccc",forwardRegex:"g{3}c{3}",reverseRegex:"g{3}c{3}",topSnipOffset:5,bottomSnipOffset:1},{aliases:["KpnBI"],site:"caaannnnnnrtca",forwardRegex:"ca{3}[abcdghkmnrstvwy]{6}[agr]tca",reverseRegex:"tga[cty][abcdghkmnrstvwy]{6}t{3}g",topSnipOffset:1,bottomSnipOffset:1},{aliases:["UnbI"],site:"ggncc",forwardRegex:"g{2}[abcdghkmnrstvwy]c{2}",reverseRegex:"g{2}[abcdghkmnrstvwy]c{2}",topSnipOffset:0,bottomSnipOffset:5},{aliases:["Uba1384I","SmuCI","AvaIII","Uba1353I","PxyJKI","Uba1367I","BfrCI","SrlII"],site:"atgcat",forwardRegex:"atgcat",reverseRegex:"atgcat",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BspMKI","XciI","SalI","HgiCIII","Rtr63I","Rrh4273I","RflFI","HgiDII","NopI","RtrI"],site:"gtcgac",forwardRegex:"gtcgac",reverseRegex:"gtcgac",topSnipOffset:1,bottomSnipOffset:5},{aliases:["EcoR124I"],site:"gaannnnnnrtcg",forwardRegex:"ga{2}[abcdghkmnrstvwy]{6}[agr]tcg",reverseRegex:"cga[cty][abcdghkmnrstvwy]{6}t{2}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SynII","Psc2I"],site:"gaannnnttc",forwardRegex:"ga{2}[abcdghkmnrstvwy]{4}t{2}c",reverseRegex:"ga{2}[abcdghkmnrstvwy]{4}t{2}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["CspI","Rsr2I","RsrII","CpoI"],site:"cggwccg",forwardRegex:"cg{2}[atw]c{2}g",reverseRegex:"cg{2}[atw]c{2}g",topSnipOffset:2,bottomSnipOffset:5},{aliases:["AscI","PalAI","SgsI"],site:"ggcgcgcc",forwardRegex:"g{2}cgcgc{2}",reverseRegex:"g{2}cgcgc{2}",topSnipOffset:2,bottomSnipOffset:6},{aliases:["Uba69I","TtmII","BscEI","BsrHI","Kpn30I","M.BssHIII","BssBI","Eco143I","Eco152I","Esp7I","Esp8I","CfrJ5I","BsoPI"],site:"gcgcgc",forwardRegex:"gcgcgc",reverseRegex:"gcgcgc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["EclHKI","BspOVI","AhdI","AspEI","Eam1105I","NruGI","BmeRI","DriI"],site:"gacnnnnngtc",forwardRegex:"gac[abcdghkmnrstvwy]{5}gtc",reverseRegex:"gac[abcdghkmnrstvwy]{5}gtc",topSnipOffset:6,bottomSnipOffset:5},{aliases:["Uba1222I","Uba1221I","BpuGCI","Uba1320I","Uba1284I"],site:"gctnagc",forwardRegex:"gct[abcdghkmnrstvwy]agc",reverseRegex:"gct[abcdghkmnrstvwy]agc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BpuCI"],site:"ggcgga",forwardRegex:"g{2}cg{2}a",reverseRegex:"tc{2}gc{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["EspI","BlpI","Bsp1720I","Bpu1102I","CelII"],site:"gctnagc",forwardRegex:"gct[abcdghkmnrstvwy]agc",reverseRegex:"gct[abcdghkmnrstvwy]agc",topSnipOffset:2,bottomSnipOffset:5},{aliases:["Eco1476I","Eco1427I","Eco1430I","Eco1323I","Eco377I","Eco1386I","Eco37I","Eco1344II","Eco1456I"],site:"ggannnnnnnnatgc",forwardRegex:"g{2}a[abcdghkmnrstvwy]{8}atgc",reverseRegex:"gcat[abcdghkmnrstvwy]{8}tc{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["MnnI","Hin1160II","ChuEII","Hin1161II"],site:"gtyrac",forwardRegex:"gt[cty][agr]ac",reverseRegex:"gt[cty][agr]ac",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SstI","SacI","Psp124BI"],site:"gagctc",forwardRegex:"gagctc",reverseRegex:"gagctc",topSnipOffset:5,bottomSnipOffset:1},{aliases:["SspD5II","NsiI","PinBI","Asi372I","Mph1103I","Csp68KIII","Zsp2I","SepI","EcoT22I","BfrBI"],site:"atgcat",forwardRegex:"atgcat",reverseRegex:"atgcat",topSnipOffset:5,bottomSnipOffset:1},{aliases:["AsnI","AseI","VspI","PshBI","Sru4DI","BpoAI"],site:"attaat",forwardRegex:"at{2}a{2}t",reverseRegex:"at{2}a{2}t",topSnipOffset:2,bottomSnipOffset:4},{aliases:["BmrFI","Msp67I","MspR9I","ScrFI","Bme1390I"],site:"ccngg",forwardRegex:"c{2}[abcdghkmnrstvwy]g{2}",reverseRegex:"c{2}[abcdghkmnrstvwy]g{2}",topSnipOffset:2,bottomSnipOffset:3},{aliases:["McrI","BsaOI","BsiEI","Bsh1285I","BstMCI"],site:"cgrycg",forwardRegex:"cg[agr][cty]cg",reverseRegex:"cg[agr][cty]cg",topSnipOffset:4,bottomSnipOffset:2},{aliases:["TspRI","TscAI"],site:"castgnn",forwardRegex:"ca[cgs]tg[abcdghkmnrstvwy]{2}",reverseRegex:"[abcdghkmnrstvwy]{2}ca[cgs]tg",topSnipOffset:7,bottomSnipOffset:0},{aliases:["BsmWI","SmaAI","SspKI","SplAI","PfuNI"],site:"cgtacg",forwardRegex:"cgtacg",reverseRegex:"cgtacg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["CdiI"],site:"catcg",forwardRegex:"catcg",reverseRegex:"cgatg",topSnipOffset:4,bottomSnipOffset:4},{aliases:["TrsKTIII"],site:"catatg",forwardRegex:"catatg",reverseRegex:"catatg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BseB631II"],site:"agatct",forwardRegex:"agatct",reverseRegex:"agatct",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Sth302II"],site:"ccgg",forwardRegex:"c{2}g{2}",reverseRegex:"c{2}g{2}",topSnipOffset:2,bottomSnipOffset:2},{aliases:["PbuJKI","Hpy178VI","HpyF67III","HinGUII","HpyF6I"],site:"ggatg",forwardRegex:"g{2}atg",reverseRegex:"catc{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["UbaF13I"],site:"gagnnnnnnctgg",forwardRegex:"gag[abcdghkmnrstvwy]{6}ctg{2}",reverseRegex:"c{2}ag[abcdghkmnrstvwy]{6}ctc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["MreI","Sse232I"],site:"cgccggcg",forwardRegex:"cgc{2}g{2}cg",reverseRegex:"cgc{2}g{2}cg",topSnipOffset:2,bottomSnipOffset:6},{aliases:["BsaGI","HpyF7II","Pph3215I","Bfu1570I","BsmPI","HpyF46II","Hpy8III"],site:"gwgcwc",forwardRegex:"g[atw]gc[atw]c",reverseRegex:"g[atw]gc[atw]c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BceSIII","BceAI"],site:"acggc",forwardRegex:"acg{2}c",reverseRegex:"gc{2}gt",topSnipOffset:17,bottomSnipOffset:19,isType2S:!0},{aliases:["CstMI"],site:"aaggag",forwardRegex:"a{2}g{2}ag",reverseRegex:"ctc{2}t{2}",topSnipOffset:26,bottomSnipOffset:24,isType2S:!0},{aliases:["Acc65I","Asp718I","SthI","AhaB8I"],site:"ggtacc",forwardRegex:"g{2}tac{2}",reverseRegex:"g{2}tac{2}",topSnipOffset:1,bottomSnipOffset:5},{aliases:["EacI","BinI","AlwI","Bst31TI","BspPI","AclWI","BstH9I"],site:"ggatc",forwardRegex:"g{2}atc",reverseRegex:"gatc{2}",topSnipOffset:9,bottomSnipOffset:10,isType2S:!0},{aliases:["BspGI"],site:"ctggac",forwardRegex:"ctg{2}ac",reverseRegex:"gtc{2}ag",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BspCNI"],site:"ctcag",forwardRegex:"ctcag",reverseRegex:"ctgag",topSnipOffset:14,bottomSnipOffset:12,isType2S:!0},{aliases:["MunI","MfeI"],site:"caattg",forwardRegex:"ca{2}t{2}g",reverseRegex:"ca{2}t{2}g",topSnipOffset:1,bottomSnipOffset:5},{aliases:["StySENI","StySBLI"],site:"cgannnnnntacc",forwardRegex:"cga[abcdghkmnrstvwy]{6}tac{2}",reverseRegex:"g{2}ta[abcdghkmnrstvwy]{6}tcg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BfaI","MthZI","RmaI","FspBI","FgoI","MaeI","XspI"],site:"ctag",forwardRegex:"ctag",reverseRegex:"ctag",topSnipOffset:1,bottomSnipOffset:3},{aliases:["BseYI"],site:"cccagc",forwardRegex:"c{3}agc",reverseRegex:"gctg{3}",topSnipOffset:1,bottomSnipOffset:5},{aliases:["SmlI","SmoI"],site:"ctyrag",forwardRegex:"ct[cty][agr]ag",reverseRegex:"ct[cty][agr]ag",topSnipOffset:1,bottomSnipOffset:5},{aliases:["Tsp509I","Sse9I","TspEI","TasI"],site:"aatt",forwardRegex:"a{2}t{2}",reverseRegex:"a{2}t{2}",topSnipOffset:0,bottomSnipOffset:4},{aliases:["HgaI","CseI"],site:"gacgc",forwardRegex:"gacgc",reverseRegex:"gcgtc",topSnipOffset:10,bottomSnipOffset:15,isType2S:!0},{aliases:["PaeBI","PspALI","SmaI","CfrJ4I"],site:"cccggg",forwardRegex:"c{3}g{3}",reverseRegex:"c{3}g{3}",topSnipOffset:3,bottomSnipOffset:3},{aliases:["SnaBI","Eco105I","BstSNI"],site:"tacgta",forwardRegex:"tacgta",reverseRegex:"tacgta",topSnipOffset:3,bottomSnipOffset:3},{aliases:["Esp3I","BstGZ53I","BsmBI"],isType2S:!0,site:"cgtctc",forwardRegex:"cgtctc",reverseRegex:"gagacg",topSnipOffset:7,bottomSnipOffset:11},{aliases:["Bsp1591I","Cfr19I","Uba1291I","SciAI","KoxI","BstDI","Bse59I","Bst31I","Cfr7I"],site:"ggtnacc",forwardRegex:"g{2}t[abcdghkmnrstvwy]ac{2}",reverseRegex:"g{2}t[abcdghkmnrstvwy]ac{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["PstII"],site:"ctgatg",forwardRegex:"ctgatg",reverseRegex:"catcag",topSnipOffset:31,bottomSnipOffset:33,isType2S:!0},{aliases:["PflMI","PflBI","Asp10HII","BasI","Van91I","AcpII","Esp1396I","AccB7I"],site:"ccannnnntgg",forwardRegex:"c{2}a[abcdghkmnrstvwy]{5}tg{2}",reverseRegex:"c{2}a[abcdghkmnrstvwy]{5}tg{2}",topSnipOffset:7,bottomSnipOffset:4},{aliases:["RceI"],site:"catcgac",forwardRegex:"catcgac",reverseRegex:"gtcgatg",topSnipOffset:27,bottomSnipOffset:25,isType2S:!0},{aliases:["BstDEI","BstJZ301I","HpyF3I","DdeI"],site:"ctnag",forwardRegex:"ct[abcdghkmnrstvwy]ag",reverseRegex:"ct[abcdghkmnrstvwy]ag",topSnipOffset:1,bottomSnipOffset:4},{aliases:["UbaN6I","Bco631I","Bco63I","Bse631I"],site:"gatnnnnatc",forwardRegex:"gat[abcdghkmnrstvwy]{4}atc",reverseRegex:"gat[abcdghkmnrstvwy]{4}atc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["StySJI"],site:"gagnnnnnngtrc",forwardRegex:"gag[abcdghkmnrstvwy]{6}gt[agr]c",reverseRegex:"g[cty]ac[abcdghkmnrstvwy]{6}ctc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BchI","BsaUI","BsrVI","LfeI"],site:"gcagc",forwardRegex:"gcagc",reverseRegex:"gctgc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BscAI","Bst19I"],site:"gcatc",forwardRegex:"gcatc",reverseRegex:"gatgc",topSnipOffset:9,bottomSnipOffset:11,isType2S:!0},{aliases:["KteAI","Uba1393I","Uba1220I"],site:"cccggg",forwardRegex:"c{3}g{3}",reverseRegex:"c{3}g{3}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BctI"],site:"acggc",forwardRegex:"acg{2}c",reverseRegex:"gc{2}gt",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BsePI","PteI","BssHII","BstBZ153I","PauI"],site:"gcgcgc",forwardRegex:"gcgcgc",reverseRegex:"gcgcgc",topSnipOffset:1,bottomSnipOffset:5},{aliases:["StyLTIII"],site:"gagnnnnnnrtayg",forwardRegex:"gag[abcdghkmnrstvwy]{6}[agr]ta[cty]g",reverseRegex:"c[agr]ta[cty][abcdghkmnrstvwy]{6}ctc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["VpaK32I","PciSI","LguI","BspQI","SapI"],isType2S:!0,site:"gctcttc",forwardRegex:"gctct{2}c",reverseRegex:"ga{2}gagc",topSnipOffset:8,bottomSnipOffset:11},{aliases:["BniI"],site:"gcnngc",forwardRegex:"gc[abcdghkmnrstvwy]{2}gc",reverseRegex:"gc[abcdghkmnrstvwy]{2}gc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["EcoDR2"],site:"tcannnnnngtcg",forwardRegex:"tca[abcdghkmnrstvwy]{6}gtcg",reverseRegex:"cgac[abcdghkmnrstvwy]{6}tga",topSnipOffset:1,bottomSnipOffset:1},{aliases:["TssI"],site:"gagnnnctc",forwardRegex:"gag[abcdghkmnrstvwy]{3}ctc",reverseRegex:"gag[abcdghkmnrstvwy]{3}ctc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Tth111II"],site:"caarca",forwardRegex:"ca{2}[agr]ca",reverseRegex:"tg[cty]t{2}g",topSnipOffset:17,bottomSnipOffset:15,isType2S:!0},{aliases:["BbvCI","AbeI"],site:"cctcagc",forwardRegex:"c{2}tcagc",reverseRegex:"gctgag{2}",topSnipOffset:2,bottomSnipOffset:5},{aliases:["MluI","Bbi24I"],site:"acgcgt",forwardRegex:"acgcgt",reverseRegex:"acgcgt",topSnipOffset:1,bottomSnipOffset:5},{aliases:["MnlI"],site:"cctc",forwardRegex:"c{2}tc",reverseRegex:"gag{2}",topSnipOffset:11,bottomSnipOffset:10,isType2S:!0},{aliases:["SspD5I"],site:"ggtga",forwardRegex:"g{2}tga",reverseRegex:"tcac{2}",topSnipOffset:13,bottomSnipOffset:13,isType2S:!0},{aliases:["AspCNI"],site:"gccgc",forwardRegex:"gc{2}gc",reverseRegex:"gcg{2}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["TauI","BspUI"],site:"gcsgc",forwardRegex:"gc[cgs]gc",reverseRegex:"gc[cgs]gc",topSnipOffset:4,bottomSnipOffset:1},{aliases:["BinSII","BbeI"],site:"ggcgcc",forwardRegex:"g{2}cgc{2}",reverseRegex:"g{2}cgc{2}",topSnipOffset:5,bottomSnipOffset:1},{aliases:["BpmI","GsuI"],site:"ctggag",forwardRegex:"ctg{2}ag",reverseRegex:"ctc{2}ag",topSnipOffset:22,bottomSnipOffset:20,isType2S:!0},{aliases:["NciI","AhaI","AseII","Mgl14481I","AsuC2I","BpuMI","HgiS22I","CauII","BcnI"],site:"ccsgg",forwardRegex:"c{2}[cgs]g{2}",reverseRegex:"c{2}[cgs]g{2}",topSnipOffset:2,bottomSnipOffset:3},{aliases:["Eco1348I","Eco777I","Eco1412I"],site:"ggannnnnntatc",forwardRegex:"g{2}a[abcdghkmnrstvwy]{6}tatc",reverseRegex:"gata[abcdghkmnrstvwy]{6}tc{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["AgsI"],site:"ttsaa",forwardRegex:"t{2}[cgs]a{2}",reverseRegex:"t{2}[cgs]a{2}",topSnipOffset:3,bottomSnipOffset:2},{aliases:["Pfl18I","Ssm4I","Ssm5I","NasSI","ScoI","Ecl137I"],site:"gagctc",forwardRegex:"gagctc",reverseRegex:"gagctc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["CfrBI","StyI","ErhB9II","Eco130I","ErhI","EcoT14I","BsmSI","BssT1I"],site:"ccwwgg",forwardRegex:"c{2}[atw]{2}g{2}",reverseRegex:"c{2}[atw]{2}g{2}",topSnipOffset:1,bottomSnipOffset:5},{aliases:["AlwFI"],site:"gaaaynnnnnrtg",forwardRegex:"ga{3}[cty][abcdghkmnrstvwy]{5}[agr]tg",reverseRegex:"ca[cty][abcdghkmnrstvwy]{5}[agr]t{3}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["CviRI","HpyCH4V","HpyF44III"],site:"tgca",forwardRegex:"tgca",reverseRegex:"tgca",topSnipOffset:2,bottomSnipOffset:2},{aliases:["Bse19I","AteI","NspSAIII"],site:"ccatgg",forwardRegex:"c{2}atg{2}",reverseRegex:"c{2}atg{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Srl65DI","Srr17I","Srl55DII","CprJK722I","Srl8DI","PbuMZI"],site:"attaat",forwardRegex:"at{2}a{2}t",reverseRegex:"at{2}a{2}t",topSnipOffset:1,bottomSnipOffset:1},{aliases:["ClcII","GspAII","NspHIII","Bco6I","NspLI","NspMI","BsaTI","CliII","ApcTR183I","AcaIII"],site:"tgcgca",forwardRegex:"tgcgca",reverseRegex:"tgcgca",topSnipOffset:1,bottomSnipOffset:1},{aliases:["CsiI","MabI","SexAI"],site:"accwggt",forwardRegex:"ac{2}[atw]g{2}t",reverseRegex:"ac{2}[atw]g{2}t",topSnipOffset:1,bottomSnipOffset:6},{aliases:["HgiEII"],site:"accnnnnnnggt",forwardRegex:"ac{2}[abcdghkmnrstvwy]{6}g{2}t",reverseRegex:"ac{2}[abcdghkmnrstvwy]{6}g{2}t",topSnipOffset:1,bottomSnipOffset:1},{aliases:["TseDI","BscRI","Bsp21I"],site:"rccggy",forwardRegex:"[agr]c{2}g{2}[cty]",reverseRegex:"[agr]c{2}g{2}[cty]",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Bse23I","BsmYI"],site:"ccnnnnnnngg",forwardRegex:"c{2}[abcdghkmnrstvwy]{7}g{2}",reverseRegex:"c{2}[abcdghkmnrstvwy]{7}g{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["NdeI","FauNDI","PfaAII"],site:"catatg",forwardRegex:"catatg",reverseRegex:"catatg",topSnipOffset:2,bottomSnipOffset:4},{aliases:["VneAI","Uba1326I"],site:"rggnccy",forwardRegex:"[agr]g{2}[abcdghkmnrstvwy]c{2}[cty]",reverseRegex:"[agr]g{2}[abcdghkmnrstvwy]c{2}[cty]",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SrlI","NgoMIV","SceIII","NgoAIV","MroNI","Eco56I"],site:"gccggc",forwardRegex:"gc{2}g{2}c",reverseRegex:"gc{2}g{2}c",topSnipOffset:1,bottomSnipOffset:5},{aliases:["AsiSI","SfaAI","RgaI","SgfI"],site:"gcgatcgc",forwardRegex:"gcgatcgc",reverseRegex:"gcgatcgc",topSnipOffset:5,bottomSnipOffset:3},{aliases:["BtsPI","SaiI","ShaI"],site:"gggtc",forwardRegex:"g{3}tc",reverseRegex:"gac{3}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Pfl1108I"],site:"tcgtag",forwardRegex:"tcgtag",reverseRegex:"ctacga",topSnipOffset:1,bottomSnipOffset:1},{aliases:["EcoHK31I","Bfi89I","EaeI","CfrI","AcoI"],site:"yggccr",forwardRegex:"[cty]g{2}c{2}[agr]",reverseRegex:"[cty]g{2}c{2}[agr]",topSnipOffset:1,bottomSnipOffset:5},{aliases:["HphI","AsuHPI"],site:"ggtga",forwardRegex:"g{2}tga",reverseRegex:"tcac{2}",topSnipOffset:13,bottomSnipOffset:12,isType2S:!0},{aliases:["Uba1303I","BstZ5I","BscNI"],site:"cgrycg",forwardRegex:"cg[agr][cty]cg",reverseRegex:"cg[agr][cty]cg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Bsp6II","FsfI","BspD6II","Eco112I","Eco125I"],site:"ctgaag",forwardRegex:"ctga{2}g",reverseRegex:"ct{2}cag",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BstXI","BstHZ55I"],site:"ccannnnnntgg",forwardRegex:"c{2}a[abcdghkmnrstvwy]{6}tg{2}",reverseRegex:"c{2}a[abcdghkmnrstvwy]{6}tg{2}",topSnipOffset:8,bottomSnipOffset:4},{aliases:["Ppu11I","Ppu6I"],site:"yacgtr",forwardRegex:"[cty]acgt[agr]",reverseRegex:"[cty]acgt[agr]",topSnipOffset:1,bottomSnipOffset:1},{aliases:["EcoT104I","SblAI","SblBI","SblCI","Uba1311I","Eco208II","Bst224I"],site:"ccwwgg",forwardRegex:"c{2}[atw]{2}g{2}",reverseRegex:"c{2}[atw]{2}g{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["EcoR124II"],site:"gaannnnnnnrtcg",forwardRegex:"ga{2}[abcdghkmnrstvwy]{7}[agr]tcg",reverseRegex:"cga[cty][abcdghkmnrstvwy]{7}t{2}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["MamI","BseJI","Bse8I","BsrBRI","BsiBI","BsaBI","Bsh1365I"],site:"gatnnnnatc",forwardRegex:"gat[abcdghkmnrstvwy]{4}atc",reverseRegex:"gat[abcdghkmnrstvwy]{4}atc",topSnipOffset:5,bottomSnipOffset:5},{aliases:["Ssp5230I","AatII"],site:"gacgtc",forwardRegex:"gacgtc",reverseRegex:"gacgtc",topSnipOffset:5,bottomSnipOffset:1},{aliases:["Uba1240I","Bpu1831I","SspM1I","SspM2I","EciAI","SspJI","Eco158II"],site:"tacgta",forwardRegex:"tacgta",reverseRegex:"tacgta",topSnipOffset:1,bottomSnipOffset:1},{aliases:["MaqI"],site:"crttgac",forwardRegex:"c[agr]t{2}gac",reverseRegex:"gtca{2}[cty]g",topSnipOffset:28,bottomSnipOffset:26,isType2S:!0},{aliases:["CjeNII"],site:"gagnnnnngt",forwardRegex:"gag[abcdghkmnrstvwy]{5}gt",reverseRegex:"ac[abcdghkmnrstvwy]{5}ctc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["KpnAI"],site:"gaannnnnntgcc",forwardRegex:"ga{2}[abcdghkmnrstvwy]{6}tgc{2}",reverseRegex:"g{2}ca[abcdghkmnrstvwy]{6}t{2}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SleI","AjnI","Psp6I","PspGI","SspAI","EcoRII"],site:"ccwgg",forwardRegex:"c{2}[atw]g{2}",reverseRegex:"c{2}[atw]g{2}",topSnipOffset:0,bottomSnipOffset:5},{aliases:["BstFZ438I","Bme585I","SmuI","FauI"],site:"cccgc",forwardRegex:"c{3}gc",reverseRegex:"gcg{3}",topSnipOffset:9,bottomSnipOffset:11,isType2S:!0},{aliases:["HpyCH4IV","MaeII"],site:"acgt",forwardRegex:"acgt",reverseRegex:"acgt",topSnipOffset:1,bottomSnipOffset:3},{aliases:["TaqII"],site:"caccca",forwardRegex:"cac{3}a",reverseRegex:"tg{3}tg",topSnipOffset:17,bottomSnipOffset:15,isType2S:!0},{aliases:["UbaN9I"],site:"aacgtt",forwardRegex:"a{2}cgt{2}",reverseRegex:"a{2}cgt{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["DrdII"],site:"gaacca",forwardRegex:"ga{2}c{2}a",reverseRegex:"tg{2}t{2}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["MalI","DpnI","CfuI"],site:"gatc",forwardRegex:"gatc",reverseRegex:"gatc",topSnipOffset:2,bottomSnipOffset:2},{aliases:["AarI"],isType2S:!0,site:"cacctgc",forwardRegex:"cac{2}tgc",reverseRegex:"gcag{2}tg",topSnipOffset:11,bottomSnipOffset:15},{aliases:["SrfI"],site:"gcccgggc",forwardRegex:"gc{3}g{3}c",reverseRegex:"gc{3}g{3}c",topSnipOffset:4,bottomSnipOffset:4},{aliases:["TatI"],site:"wgtacw",forwardRegex:"[atw]gtac[atw]",reverseRegex:"[atw]gtac[atw]",topSnipOffset:1,bottomSnipOffset:5},{aliases:["EcoDXXI"],site:"tcannnnnnnrttc",forwardRegex:"tca[abcdghkmnrstvwy]{7}[agr]t{2}c",reverseRegex:"ga{2}[cty][abcdghkmnrstvwy]{7}tga",topSnipOffset:1,bottomSnipOffset:1},{aliases:["HindII","HincII","HinJCI"],site:"gtyrac",forwardRegex:"gt[cty][agr]ac",reverseRegex:"gt[cty][agr]ac",topSnipOffset:3,bottomSnipOffset:3},{aliases:["BseMI","Bse3DI","BsrDI"],site:"gcaatg",forwardRegex:"gca{2}tg",reverseRegex:"cat{2}gc",topSnipOffset:8,bottomSnipOffset:6,isType2S:!0},{aliases:["HalI","Srl32DII","FunII","Ppu111I","EcoRI","RsrI","Kpn49kI","SsoI","Srl55DI"],site:"gaattc",forwardRegex:"ga{2}t{2}c",reverseRegex:"ga{2}t{2}c",topSnipOffset:1,bottomSnipOffset:5},{aliases:["Hpy166III"],site:"cctc",forwardRegex:"c{2}tc",reverseRegex:"gag{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["FspAI"],site:"rtgcgcay",forwardRegex:"[agr]tgcgca[cty]",reverseRegex:"[agr]tgcgca[cty]",topSnipOffset:4,bottomSnipOffset:4},{aliases:["Eco585I"],site:"gccnnnnnntgcg",forwardRegex:"gc{2}[abcdghkmnrstvwy]{6}tgcg",reverseRegex:"cgca[abcdghkmnrstvwy]{6}g{2}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["PlaDI"],site:"catcag",forwardRegex:"catcag",reverseRegex:"ctgatg",topSnipOffset:27,bottomSnipOffset:25,isType2S:!0},{aliases:["Hpy188I"],site:"tcnga",forwardRegex:"tc[abcdghkmnrstvwy]ga",reverseRegex:"tc[abcdghkmnrstvwy]ga",topSnipOffset:3,bottomSnipOffset:2},{aliases:["PciI","PscI","BspLU11I"],site:"acatgt",forwardRegex:"acatgt",reverseRegex:"acatgt",topSnipOffset:1,bottomSnipOffset:5},{aliases:["VchO25I","SnaI"],site:"gtatac",forwardRegex:"gtatac",reverseRegex:"gtatac",topSnipOffset:1,bottomSnipOffset:1},{aliases:["TseBI","M.BbvSI","TneI"],site:"gcwgc",forwardRegex:"gc[atw]gc",reverseRegex:"gc[atw]gc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["OliI","AleI"],site:"cacnnnngtg",forwardRegex:"cac[abcdghkmnrstvwy]{4}gtg",reverseRegex:"cac[abcdghkmnrstvwy]{4}gtg",topSnipOffset:5,bottomSnipOffset:5},{aliases:["GlaI"],site:"gcgc",forwardRegex:"gcgc",reverseRegex:"gcgc",topSnipOffset:2,bottomSnipOffset:2},{aliases:["BssGI","BscJI","BstTI"],site:"ccannnnnntgg",forwardRegex:"c{2}a[abcdghkmnrstvwy]{6}tg{2}",reverseRegex:"c{2}a[abcdghkmnrstvwy]{6}tg{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Tsp4CI","Bst4CI","HpyCH4III","TaaI"],site:"acngt",forwardRegex:"ac[abcdghkmnrstvwy]gt",reverseRegex:"ac[abcdghkmnrstvwy]gt",topSnipOffset:3,bottomSnipOffset:2},{aliases:["AceIII"],site:"cagctc",forwardRegex:"cagctc",reverseRegex:"gagctg",topSnipOffset:13,bottomSnipOffset:17,isType2S:!0},{aliases:["BseNI","BsrI","Bse1I","Tsp1I","BsrSI","Bst11I"],site:"actgg",forwardRegex:"actg{2}",reverseRegex:"c{2}agt",topSnipOffset:6,bottomSnipOffset:4,isType2S:!0},{aliases:["FnuAI","HinfI","CviBI","HhaII","SscL1I"],site:"gantc",forwardRegex:"ga[abcdghkmnrstvwy]tc",reverseRegex:"ga[abcdghkmnrstvwy]tc",topSnipOffset:1,bottomSnipOffset:4},{aliases:["CjuI"],site:"caynnnnnrtg",forwardRegex:"ca[cty][abcdghkmnrstvwy]{5}[agr]tg",reverseRegex:"ca[cty][abcdghkmnrstvwy]{5}[agr]tg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["HpyF2I","Bco163I"],site:"ctryag",forwardRegex:"ct[agr][cty]ag",reverseRegex:"ct[agr][cty]ag",topSnipOffset:1,bottomSnipOffset:1},{aliases:["AanI","PsiI"],site:"ttataa",forwardRegex:"t{2}ata{2}",reverseRegex:"t{2}ata{2}",topSnipOffset:3,bottomSnipOffset:3},{aliases:["StySPI"],site:"aacnnnnnngtrc",forwardRegex:"a{2}c[abcdghkmnrstvwy]{6}gt[agr]c",reverseRegex:"g[cty]ac[abcdghkmnrstvwy]{6}gt{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BpuJI","BstDZ247I","BscGI"],site:"cccgt",forwardRegex:"c{3}gt",reverseRegex:"acg{3}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Hpy99I"],site:"cgwcg",forwardRegex:"cg[atw]cg",reverseRegex:"cg[atw]cg",topSnipOffset:5,bottomSnipOffset:0},{aliases:["BceSI"],site:"mmcgaag",forwardRegex:"[acm]{2}cga{2}g",reverseRegex:"ct{2}cg[gkt]{2}",topSnipOffset:32,bottomSnipOffset:34,isType2S:!0},{aliases:["HaeI"],site:"wggccw",forwardRegex:"[atw]g{2}c{2}[atw]",reverseRegex:"[atw]g{2}c{2}[atw]",topSnipOffset:3,bottomSnipOffset:3},{aliases:["PspPRI"],site:"ccycag",forwardRegex:"c{2}[cty]cag",reverseRegex:"ctg[agr]g{2}",topSnipOffset:21,bottomSnipOffset:19,isType2S:!0},{aliases:["FokI"],site:"ggatg",forwardRegex:"g{2}atg",reverseRegex:"catc{2}",topSnipOffset:14,bottomSnipOffset:18,isType2S:!0},{aliases:["NgoBV","NgoGV","Bsp29I","HpyF44II","Uba1445I","Uba1305I","HpyF73I","BsaEI","BcrI","Rlu3I","BssI"],site:"ggnncc",forwardRegex:"g{2}[abcdghkmnrstvwy]{2}c{2}",reverseRegex:"g{2}[abcdghkmnrstvwy]{2}c{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Bce1247I"],site:"gcnnnnnnngc",forwardRegex:"gc[abcdghkmnrstvwy]{7}gc",reverseRegex:"gc[abcdghkmnrstvwy]{7}gc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["AasI","DrdI","DseDI"],site:"gacnnnnnngtc",forwardRegex:"gac[abcdghkmnrstvwy]{6}gtc",reverseRegex:"gac[abcdghkmnrstvwy]{6}gtc",topSnipOffset:7,bottomSnipOffset:5},{aliases:["M.SssI"],site:"cg",forwardRegex:"cg",reverseRegex:"cg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["HpyF61III"],site:"cgwcg",forwardRegex:"cg[atw]cg",reverseRegex:"cg[atw]cg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["AflIII"],site:"acrygt",forwardRegex:"ac[agr][cty]gt",reverseRegex:"ac[agr][cty]gt",topSnipOffset:1,bottomSnipOffset:5},{aliases:["Asp700I","BbvAI","MroXI","XmnI","PdmI"],site:"gaannnnttc",forwardRegex:"ga{2}[abcdghkmnrstvwy]{4}t{2}c",reverseRegex:"ga{2}[abcdghkmnrstvwy]{4}t{2}c",topSnipOffset:5,bottomSnipOffset:5},{aliases:["ChaI"],site:"gatc",forwardRegex:"gatc",reverseRegex:"gatc",topSnipOffset:4,bottomSnipOffset:0},{aliases:["EcoEI"],site:"gagnnnnnnnatgc",forwardRegex:"gag[abcdghkmnrstvwy]{7}atgc",reverseRegex:"gcat[abcdghkmnrstvwy]{7}ctc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BspAAII","XbaI"],site:"tctaga",forwardRegex:"tctaga",reverseRegex:"tctaga",topSnipOffset:1,bottomSnipOffset:5},{aliases:["Hpy188III","Hpy178III"],site:"tcnnga",forwardRegex:"tc[abcdghkmnrstvwy]{2}ga",reverseRegex:"tc[abcdghkmnrstvwy]{2}ga",topSnipOffset:2,bottomSnipOffset:4},{aliases:["McaTI"],site:"gcgcgc",forwardRegex:"gcgcgc",reverseRegex:"gcgcgc",topSnipOffset:4,bottomSnipOffset:2},{aliases:["BstZ9I","Uba6I","ApeI"],site:"acgcgt",forwardRegex:"acgcgt",reverseRegex:"acgcgt",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BspNCI"],site:"ccaga",forwardRegex:"c{2}aga",reverseRegex:"tctg{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["EcoHI","Eco1831I","Kpn49kII"],site:"ccsgg",forwardRegex:"c{2}[cgs]g{2}",reverseRegex:"c{2}[cgs]g{2}",topSnipOffset:0,bottomSnipOffset:5},{aliases:["PpsI","PleI"],site:"gagtc",forwardRegex:"gagtc",reverseRegex:"gactc",topSnipOffset:9,bottomSnipOffset:10,isType2S:!0},{aliases:["BfuI","BciVI"],site:"gtatcc",forwardRegex:"gtatc{2}",reverseRegex:"g{2}atac",topSnipOffset:12,bottomSnipOffset:11,isType2S:!0},{aliases:["TthHB27I"],site:"caarca",forwardRegex:"ca{2}[agr]ca",reverseRegex:"tg[cty]t{2}g",topSnipOffset:1,bottomSnipOffset:1},{aliases:["PspXI"],site:"vctcgagb",forwardRegex:"[acgmrsv]ctcgag[bcgksty]",reverseRegex:"[acgmrsv]ctcgag[bcgksty]",topSnipOffset:2,bottomSnipOffset:6},{aliases:["Lsp1270I"],site:"rcatgy",forwardRegex:"[agr]catg[cty]",reverseRegex:"[agr]catg[cty]",topSnipOffset:1,bottomSnipOffset:1},{aliases:["HpyC1I","BccI"],site:"ccatc",forwardRegex:"c{2}atc",reverseRegex:"gatg{2}",topSnipOffset:9,bottomSnipOffset:10,isType2S:!0},{aliases:["BseMII"],site:"ctcag",forwardRegex:"ctcag",reverseRegex:"ctgag",topSnipOffset:15,bottomSnipOffset:13,isType2S:!0},{aliases:["BstENI","EcoNI","XagI"],site:"cctnnnnnagg",forwardRegex:"c{2}t[abcdghkmnrstvwy]{5}ag{2}",reverseRegex:"c{2}t[abcdghkmnrstvwy]{5}ag{2}",topSnipOffset:5,bottomSnipOffset:6},{aliases:["EcoAI","Eco1446I"],site:"gagnnnnnnngtca",forwardRegex:"gag[abcdghkmnrstvwy]{7}gtca",reverseRegex:"tgac[abcdghkmnrstvwy]{7}ctc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["MmeI"],site:"tccrac",forwardRegex:"tc{2}[agr]ac",reverseRegex:"gt[cty]g{2}a",topSnipOffset:26,bottomSnipOffset:24,isType2S:!0},{aliases:["AjiI","BmgBI","BtrI"],site:"cacgtc",forwardRegex:"cacgtc",reverseRegex:"gacgtg",topSnipOffset:3,bottomSnipOffset:3},{aliases:["BlsI"],site:"gcngc",forwardRegex:"gc[abcdghkmnrstvwy]gc",reverseRegex:"gc[abcdghkmnrstvwy]gc",topSnipOffset:3,bottomSnipOffset:2},{aliases:["Bst170I","BsmGI"],site:"tgtaca",forwardRegex:"tgtaca",reverseRegex:"tgtaca",topSnipOffset:1,bottomSnipOffset:1},{aliases:["HpyBII","Hpy166II","Hpy8I"],site:"gtnnac",forwardRegex:"gt[abcdghkmnrstvwy]{2}ac",reverseRegex:"gt[abcdghkmnrstvwy]{2}ac",topSnipOffset:3,bottomSnipOffset:3},{aliases:["StySKI"],site:"cgatnnnnnnngtta",forwardRegex:"cgat[abcdghkmnrstvwy]{7}gt{2}a",reverseRegex:"ta{2}c[abcdghkmnrstvwy]{7}atcg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Esp23I","Esp16I"],site:"cgtctc",forwardRegex:"cgtctc",reverseRegex:"gagacg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BmgT120I"],site:"ggncc",forwardRegex:"g{2}[abcdghkmnrstvwy]c{2}",reverseRegex:"g{2}[abcdghkmnrstvwy]c{2}",topSnipOffset:2,bottomSnipOffset:3},{aliases:["BcoAI","BbrPI","PmlI","PspCI","PmaCI","Eco72I","AcvI"],site:"cacgtg",forwardRegex:"cacgtg",reverseRegex:"cacgtg",topSnipOffset:3,bottomSnipOffset:3},{aliases:["CjeP338II","BscUI","BsmNI","BhaI"],site:"gcatc",forwardRegex:"gcatc",reverseRegex:"gatgc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["KasI","SspDI"],site:"ggcgcc",forwardRegex:"g{2}cgc{2}",reverseRegex:"g{2}cgc{2}",topSnipOffset:1,bottomSnipOffset:5},{aliases:["FmuI"],site:"ggncc",forwardRegex:"g{2}[abcdghkmnrstvwy]c{2}",reverseRegex:"g{2}[abcdghkmnrstvwy]c{2}",topSnipOffset:4,bottomSnipOffset:1},{aliases:["RseI","MslI","SmiMI"],site:"caynnnnrtg",forwardRegex:"ca[cty][abcdghkmnrstvwy]{4}[agr]tg",reverseRegex:"ca[cty][abcdghkmnrstvwy]{4}[agr]tg",topSnipOffset:5,bottomSnipOffset:5},{aliases:["NmuCI","Tsp45I","Hpy51I"],site:"gtsac",forwardRegex:"gt[cgs]ac",reverseRegex:"gt[cgs]ac",topSnipOffset:0,bottomSnipOffset:5},{aliases:["Psp5II","PpuMI","PpuXI","Pfl27I","PspPPI"],site:"rggwccy",forwardRegex:"[agr]g{2}[atw]c{2}[cty]",reverseRegex:"[agr]g{2}[atw]c{2}[cty]",topSnipOffset:2,bottomSnipOffset:5},{aliases:["Bba179I","Bst1473I","UbaN10I"],site:"wccggw",forwardRegex:"[atw]c{2}g{2}[atw]",reverseRegex:"[atw]c{2}g{2}[atw]",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Eco912I"],site:"cacnnnnntggc",forwardRegex:"cac[abcdghkmnrstvwy]{5}tg{2}c",reverseRegex:"gc{2}a[abcdghkmnrstvwy]{5}gtg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SsmI"],site:"ctgatg",forwardRegex:"ctgatg",reverseRegex:"catcag",topSnipOffset:1,bottomSnipOffset:1},{aliases:["EsaSSI"],site:"gaccac",forwardRegex:"gac{2}ac",reverseRegex:"gtg{2}tc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["EcoDI"],site:"ttannnnnnngtcy",forwardRegex:"t{2}a[abcdghkmnrstvwy]{7}gtc[cty]",reverseRegex:"[agr]gac[abcdghkmnrstvwy]{7}ta{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BsoHI","BscHI"],site:"actgg",forwardRegex:"actg{2}",reverseRegex:"c{2}agt",topSnipOffset:1,bottomSnipOffset:1},{aliases:["NmeBI"],site:"gacgc",forwardRegex:"gacgc",reverseRegex:"gcgtc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["NspBII","MspA1I"],site:"cmgckg",forwardRegex:"c[acm]gc[gkt]g",reverseRegex:"c[acm]gc[gkt]g",topSnipOffset:3,bottomSnipOffset:3},{aliases:["BmgAI"],site:"gkgcmc",forwardRegex:"g[gkt]gc[acm]c",reverseRegex:"g[gkt]gc[acm]c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["NmeAIII"],site:"gccgag",forwardRegex:"gc{2}gag",reverseRegex:"ctcg{2}c",topSnipOffset:27,bottomSnipOffset:25,isType2S:!0},{aliases:["DrdIV"],site:"tacgac",forwardRegex:"tacgac",reverseRegex:"gtcgta",topSnipOffset:26,bottomSnipOffset:24,isType2S:!0},{aliases:["BscQII"],site:"gtctc",forwardRegex:"gtctc",reverseRegex:"gagac",topSnipOffset:1,bottomSnipOffset:1},{aliases:["AbsI"],site:"cctcgagg",forwardRegex:"c{2}tcgag{2}",reverseRegex:"c{2}tcgag{2}",topSnipOffset:2,bottomSnipOffset:6},{aliases:["Psp03I"],site:"ggwcc",forwardRegex:"g{2}[atw]c{2}",reverseRegex:"g{2}[atw]c{2}",topSnipOffset:4,bottomSnipOffset:1},{aliases:["BmtI","BspOI","AceII"],site:"gctagc",forwardRegex:"gctagc",reverseRegex:"gctagc",topSnipOffset:5,bottomSnipOffset:1},{aliases:["GsaI"],site:"cccagc",forwardRegex:"c{3}agc",reverseRegex:"gctg{3}",topSnipOffset:5,bottomSnipOffset:1},{aliases:["UbaF9I"],site:"tacnnnnnrtgt",forwardRegex:"tac[abcdghkmnrstvwy]{5}[agr]tgt",reverseRegex:"aca[cty][abcdghkmnrstvwy]{5}gta",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Hin1II","NlaIII","FaeI","Hsp92II","HpyCH4I"],site:"catg",forwardRegex:"catg",reverseRegex:"catg",topSnipOffset:4,bottomSnipOffset:0},{aliases:["Bbr7I"],site:"gaagac",forwardRegex:"ga{2}gac",reverseRegex:"gtct{2}c",topSnipOffset:13,bottomSnipOffset:17,isType2S:!0},{aliases:["Kaz48kI","PssI"],site:"rggnccy",forwardRegex:"[agr]g{2}[abcdghkmnrstvwy]c{2}[cty]",reverseRegex:"[agr]g{2}[abcdghkmnrstvwy]c{2}[cty]",topSnipOffset:5,bottomSnipOffset:2},{aliases:["BoxI","BstPAI","PshAI"],site:"gacnnnngtc",forwardRegex:"gac[abcdghkmnrstvwy]{4}gtc",reverseRegex:"gac[abcdghkmnrstvwy]{4}gtc",topSnipOffset:5,bottomSnipOffset:5},{aliases:["SgrDI"],site:"cgtcgacg",forwardRegex:"cgtcgacg",reverseRegex:"cgtcgacg",topSnipOffset:2,bottomSnipOffset:6},{aliases:["BssIMI","SimI"],site:"gggtc",forwardRegex:"g{3}tc",reverseRegex:"gac{3}",topSnipOffset:2,bottomSnipOffset:5},{aliases:["RleAI"],site:"cccaca",forwardRegex:"c{3}aca",reverseRegex:"tgtg{3}",topSnipOffset:18,bottomSnipOffset:15,isType2S:!0},{aliases:["EciI"],site:"ggcgga",forwardRegex:"g{2}cg{2}a",reverseRegex:"tc{2}gc{2}",topSnipOffset:17,bottomSnipOffset:15,isType2S:!0},{aliases:["Eco57MI"],site:"ctgrag",forwardRegex:"ctg[agr]ag",reverseRegex:"ct[cty]cag",topSnipOffset:22,bottomSnipOffset:20,isType2S:!0},{aliases:["AspJI","Ppu1253I"],site:"gacgtc",forwardRegex:"gacgtc",reverseRegex:"gacgtc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["UbaF11I"],site:"tcgta",forwardRegex:"tcgta",reverseRegex:"tacga",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SetI"],site:"asst",forwardRegex:"a[cgs]{2}t",reverseRegex:"a[cgs]{2}t",topSnipOffset:4,bottomSnipOffset:0},{aliases:["PspOMII"],site:"cgcccar",forwardRegex:"cgc{3}a[agr]",reverseRegex:"[cty]tg{3}cg",topSnipOffset:27,bottomSnipOffset:25,isType2S:!0},{aliases:["BsxI"],site:"actggg",forwardRegex:"actg{3}",reverseRegex:"c{3}agt",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Eco394I"],site:"gacnnnnnrtaay",forwardRegex:"gac[abcdghkmnrstvwy]{5}[agr]ta{2}[cty]",reverseRegex:"[agr]t{2}a[cty][abcdghkmnrstvwy]{5}gtc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["ApyPI"],site:"atcgac",forwardRegex:"atcgac",reverseRegex:"gtcgat",topSnipOffset:26,bottomSnipOffset:24,isType2S:!0},{aliases:["AlwNI","CaiI"],site:"cagnnnctg",forwardRegex:"cag[abcdghkmnrstvwy]{3}ctg",reverseRegex:"cag[abcdghkmnrstvwy]{3}ctg",topSnipOffset:6,bottomSnipOffset:3},{aliases:["TsuI"],site:"gcgac",forwardRegex:"gcgac",reverseRegex:"gtcgc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Bca77I","BsaWI","BetI"],site:"wccggw",forwardRegex:"[atw]c{2}g{2}[atw]",reverseRegex:"[atw]c{2}g{2}[atw]",topSnipOffset:1,bottomSnipOffset:5},{aliases:["EcoDR3"],site:"tcannnnnnnatcg",forwardRegex:"tca[abcdghkmnrstvwy]{7}atcg",reverseRegex:"cgat[abcdghkmnrstvwy]{7}tga",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SgrAI"],site:"crccggyg",forwardRegex:"c[agr]c{2}g{2}[cty]g",reverseRegex:"c[agr]c{2}g{2}[cty]g",topSnipOffset:2,bottomSnipOffset:6},{aliases:["M.NgoMXV"],site:"gcchr",forwardRegex:"gc{2}[achmtwy][agr]",reverseRegex:"[cty][adgkrtw]g{2}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["EcoRD2"],site:"gaannnnnnrttc",forwardRegex:"ga{2}[abcdghkmnrstvwy]{6}[agr]t{2}c",reverseRegex:"ga{2}[cty][abcdghkmnrstvwy]{6}t{2}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["TspGWI"],site:"acgga",forwardRegex:"acg{2}a",reverseRegex:"tc{2}gt",topSnipOffset:16,bottomSnipOffset:14,isType2S:!0},{aliases:["CviAII"],site:"catg",forwardRegex:"catg",reverseRegex:"catg",topSnipOffset:1,bottomSnipOffset:3},{aliases:["XcmI"],site:"ccannnnnnnnntgg",forwardRegex:"c{2}a[abcdghkmnrstvwy]{9}tg{2}",reverseRegex:"c{2}a[abcdghkmnrstvwy]{9}tg{2}",topSnipOffset:8,bottomSnipOffset:7},{aliases:["EcoRD3"],site:"gaannnnnnnrttc",forwardRegex:"ga{2}[abcdghkmnrstvwy]{7}[agr]t{2}c",reverseRegex:"ga{2}[cty][abcdghkmnrstvwy]{7}t{2}c",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SpoDI"],site:"gcggrag",forwardRegex:"gcg{2}[agr]ag",reverseRegex:"ct[cty]c{2}gc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["UbaN12I"],site:"cacgag",forwardRegex:"cacgag",reverseRegex:"ctcgtg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["PspFI"],site:"cccagc",forwardRegex:"c{3}agc",reverseRegex:"gctg{3}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["PfoI"],site:"tccngga",forwardRegex:"tc{2}[abcdghkmnrstvwy]g{2}a",reverseRegex:"tc{2}[abcdghkmnrstvwy]g{2}a",topSnipOffset:1,bottomSnipOffset:6},{aliases:["Sse8647I"],site:"aggwcct",forwardRegex:"ag{2}[atw]c{2}t",reverseRegex:"ag{2}[atw]c{2}t",topSnipOffset:2,bottomSnipOffset:5},{aliases:["KflI","Sse1825I","SanDI"],site:"gggwccc",forwardRegex:"g{3}[atw]c{3}",reverseRegex:"g{3}[atw]c{3}",topSnipOffset:2,bottomSnipOffset:5},{aliases:["Sth132I"],site:"cccg",forwardRegex:"c{3}g",reverseRegex:"cg{3}",topSnipOffset:8,bottomSnipOffset:12,isType2S:!0},{aliases:["CdpI"],site:"gcggag",forwardRegex:"gcg{2}ag",reverseRegex:"ctc{2}gc",topSnipOffset:26,bottomSnipOffset:24,isType2S:!0},{aliases:["Asp90I"],site:"acrygt",forwardRegex:"ac[agr][cty]gt",reverseRegex:"ac[agr][cty]gt",topSnipOffset:1,bottomSnipOffset:1},{aliases:["M.CviPI"],site:"gc",forwardRegex:"gc",reverseRegex:"gc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["MauBI"],site:"cgcgcgcg",forwardRegex:"cgcgcgcg",reverseRegex:"cgcgcgcg",topSnipOffset:2,bottomSnipOffset:6},{aliases:["CfrAI"],site:"gcannnnnnnngtgg",forwardRegex:"gca[abcdghkmnrstvwy]{8}gtg{2}",reverseRegex:"c{2}ac[abcdghkmnrstvwy]{8}tgc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Eco851I"],site:"gtcannnnnntgay",forwardRegex:"gtca[abcdghkmnrstvwy]{6}tga[cty]",reverseRegex:"[agr]tca[abcdghkmnrstvwy]{6}tgac",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BsgI"],site:"gtgcag",forwardRegex:"gtgcag",reverseRegex:"ctgcac",topSnipOffset:22,bottomSnipOffset:20,isType2S:!0},{aliases:["AquIV"],site:"grggaag",forwardRegex:"g[agr]g{2}a{2}g",reverseRegex:"ct{2}c{2}[cty]c",topSnipOffset:26,bottomSnipOffset:24,isType2S:!0},{aliases:["SciI"],site:"ctcgag",forwardRegex:"ctcgag",reverseRegex:"ctcgag",topSnipOffset:3,bottomSnipOffset:3},{aliases:["VpaK11AI"],site:"ggwcc",forwardRegex:"g{2}[atw]c{2}",reverseRegex:"g{2}[atw]c{2}",topSnipOffset:0,bottomSnipOffset:5},{aliases:["CviKI","CviJI","CviKI-1"],site:"rgcy",forwardRegex:"[agr]gc[cty]",reverseRegex:"[agr]gc[cty]",topSnipOffset:2,bottomSnipOffset:2},{aliases:["SnoI","VneI","ApaLI","Alw44I"],site:"gtgcac",forwardRegex:"gtgcac",reverseRegex:"gtgcac",topSnipOffset:1,bottomSnipOffset:5},{aliases:["BspD6I"],site:"gactc",forwardRegex:"gactc",reverseRegex:"gagtc",topSnipOffset:9,bottomSnipOffset:11,isType2S:!0},{aliases:["FatI"],site:"catg",forwardRegex:"catg",reverseRegex:"catg",topSnipOffset:0,bottomSnipOffset:4},{aliases:["ZraI"],site:"gacgtc",forwardRegex:"gacgtc",reverseRegex:"gacgtc",topSnipOffset:3,bottomSnipOffset:3},{aliases:["HineI","HinfIII"],site:"cgaat",forwardRegex:"cga{2}t",reverseRegex:"at{2}cg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["UbaF12I"],site:"ctacnnngtc",forwardRegex:"ctac[abcdghkmnrstvwy]{3}gtc",reverseRegex:"gac[abcdghkmnrstvwy]{3}gtag",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Ppu10I"],site:"atgcat",forwardRegex:"atgcat",reverseRegex:"atgcat",topSnipOffset:1,bottomSnipOffset:5},{aliases:["ApaBI"],site:"gcannnnntgc",forwardRegex:"gca[abcdghkmnrstvwy]{5}tgc",reverseRegex:"gca[abcdghkmnrstvwy]{5}tgc",topSnipOffset:8,bottomSnipOffset:3},{aliases:["NhaXI"],site:"caagrag",forwardRegex:"ca{2}g[agr]ag",reverseRegex:"ct[cty]ct{2}g",topSnipOffset:1,bottomSnipOffset:1},{aliases:["PabI"],site:"gtac",forwardRegex:"gtac",reverseRegex:"gtac",topSnipOffset:3,bottomSnipOffset:1},{aliases:["HindI"],site:"cac",forwardRegex:"cac",reverseRegex:"gtg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["M.PhiMx8I"],site:"ctssag",forwardRegex:"ct[cgs]{2}ag",reverseRegex:"ct[cgs]{2}ag",topSnipOffset:1,bottomSnipOffset:1},{aliases:["RhcI"],site:"tcatga",forwardRegex:"tcatga",reverseRegex:"tcatga",topSnipOffset:1,bottomSnipOffset:1},{aliases:["KpnI"],site:"ggtacc",forwardRegex:"g{2}tac{2}",reverseRegex:"g{2}tac{2}",topSnipOffset:5,bottomSnipOffset:1},{aliases:["BpuDI","Bpu10I"],site:"cctnagc",forwardRegex:"c{2}t[abcdghkmnrstvwy]agc",reverseRegex:"gct[abcdghkmnrstvwy]ag{2}",topSnipOffset:2,bottomSnipOffset:5},{aliases:["EcoP15I"],site:"cagcag",forwardRegex:"cagcag",reverseRegex:"ctgctg",topSnipOffset:31,bottomSnipOffset:33,isType2S:!0},{aliases:["Nli3877I"],site:"cycgrg",forwardRegex:"c[cty]cg[agr]g",reverseRegex:"c[cty]cg[agr]g",topSnipOffset:5,bottomSnipOffset:1},{aliases:["StySEAI"],site:"acannnnnntyca",forwardRegex:"aca[abcdghkmnrstvwy]{6}t[cty]ca",reverseRegex:"tg[agr]a[abcdghkmnrstvwy]{6}tgt",topSnipOffset:1,bottomSnipOffset:1},{aliases:["M.CviAIV"],site:"rgcb",forwardRegex:"[agr]gc[bcgksty]",reverseRegex:"[acgmrsv]gc[cty]",topSnipOffset:1,bottomSnipOffset:1},{aliases:["Msp16I"],site:"tggcca",forwardRegex:"tg{2}c{2}a",reverseRegex:"tg{2}c{2}a",topSnipOffset:1,bottomSnipOffset:1},{aliases:["SasI"],site:"gaggag",forwardRegex:"gag{2}ag",reverseRegex:"ctc{2}tc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["AquIII"],site:"gaggag",forwardRegex:"gag{2}ag",reverseRegex:"ctc{2}tc",topSnipOffset:26,bottomSnipOffset:24,isType2S:!0},{aliases:["FaiI"],site:"yatr",forwardRegex:"[cty]at[agr]",reverseRegex:"[cty]at[agr]",topSnipOffset:2,bottomSnipOffset:2},{aliases:["BsbI"],site:"caacac",forwardRegex:"ca{2}cac",reverseRegex:"gtgt{2}g",topSnipOffset:27,bottomSnipOffset:25,isType2S:!0},{aliases:["NgoAV"],site:"gcannnnnnnntgc",forwardRegex:"gca[abcdghkmnrstvwy]{8}tgc",reverseRegex:"gca[abcdghkmnrstvwy]{8}tgc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["BstAPI"],site:"gcannnnntgc",forwardRegex:"gca[abcdghkmnrstvwy]{5}tgc",reverseRegex:"gca[abcdghkmnrstvwy]{5}tgc",topSnipOffset:7,bottomSnipOffset:4},{aliases:["BsmEI"],site:"gagtc",forwardRegex:"gagtc",reverseRegex:"gactc",topSnipOffset:1,bottomSnipOffset:1},{aliases:["NcuII"],site:"cccg",forwardRegex:"c{3}g",reverseRegex:"cg{3}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["CviMI","CviNI","CviLI","CviOI"],site:"rgcy",forwardRegex:"[agr]gc[cty]",reverseRegex:"[agr]gc[cty]",topSnipOffset:1,bottomSnipOffset:1},{aliases:["StySGI"],site:"taannnnnnrtcg",forwardRegex:"ta{2}[abcdghkmnrstvwy]{6}[agr]tcg",reverseRegex:"cga[cty][abcdghkmnrstvwy]{6}t{2}a",topSnipOffset:1,bottomSnipOffset:1},{aliases:["UbaF14I"],site:"ccannnnntcg",forwardRegex:"c{2}a[abcdghkmnrstvwy]{5}tcg",reverseRegex:"cga[abcdghkmnrstvwy]{5}tg{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["UbaPI"],site:"cgaacg",forwardRegex:"cga{2}cg",reverseRegex:"cgt{2}cg",topSnipOffset:1,bottomSnipOffset:1},{aliases:["TspDTI"],site:"atgaa",forwardRegex:"atga{2}",reverseRegex:"t{2}cat",topSnipOffset:16,bottomSnipOffset:14,isType2S:!0},{aliases:["SspI"],site:"aatatt",forwardRegex:"a{2}tat{2}",reverseRegex:"a{2}tat{2}",topSnipOffset:3,bottomSnipOffset:3},{aliases:["GdiII"],site:"cggccr",forwardRegex:"cg{2}c{2}[agr]",reverseRegex:"[cty]g{2}c{2}g",topSnipOffset:1,bottomSnipOffset:5},{aliases:["StySQI"],site:"aacnnnnnnrtayg",forwardRegex:"a{2}c[abcdghkmnrstvwy]{6}[agr]ta[cty]g",reverseRegex:"c[agr]ta[cty][abcdghkmnrstvwy]{6}gt{2}",topSnipOffset:1,bottomSnipOffset:1},{aliases:["NlaCI"],site:"catcac",forwardRegex:"catcac",reverseRegex:"gtgatg",topSnipOffset:25,bottomSnipOffset:23,isType2S:!0},{aliases:["PacI"],site:"ttaattaa",forwardRegex:"t{2}a{2}t{2}a{2}",reverseRegex:"t{2}a{2}t{2}a{2}",topSnipOffset:5,bottomSnipOffset:3},{aliases:["BarI"],isType2S:!0,site:"gaagnnnnnntac",forwardRegex:"ga{2}g[abcdghkmnrstvwy]{6}tac",reverseRegex:"gta[abcdghkmnrstvwy]{6}ct{2}c",topSnipOffset:25,bottomSnipOffset:20,cutType:1,usForward:25,usReverse:20},{aliases:["CspCI"],isType2S:!0,site:"caannnnngtgg",forwardRegex:"ca{2}[abcdghkmnrstvwy]{5}gtg{2}",reverseRegex:"c{2}ac[abcdghkmnrstvwy]{5}t{2}g",topSnipOffset:24,bottomSnipOffset:22,cutType:1,usForward:24,usReverse:22},{aliases:["NmeDI"],site:"rccggy",forwardRegex:"[agr]c{2}g{2}[cty]",reverseRegex:"[agr]c{2}g{2}[cty]",topSnipOffset:13,bottomSnipOffset:18,cutType:1,usForward:13,usReverse:18,isType2S:!0},{aliases:["CjePI"],site:"ccannnnnnntc",forwardRegex:"c{2}a[abcdghkmnrstvwy]{7}tc",reverseRegex:"ga[abcdghkmnrstvwy]{7}tg{2}",topSnipOffset:26,bottomSnipOffset:20,cutType:1,usForward:26,usReverse:20,isType2S:!0},{aliases:["CjeI"],site:"ccannnnnngt",forwardRegex:"c{2}a[abcdghkmnrstvwy]{6}gt",reverseRegex:"ac[abcdghkmnrstvwy]{6}tg{2}",topSnipOffset:26,bottomSnipOffset:20,cutType:1,usForward:26,usReverse:20,isType2S:!0},{aliases:["PsrI"],site:"gaacnnnnnntac",forwardRegex:"ga{2}c[abcdghkmnrstvwy]{6}tac",reverseRegex:"gta[abcdghkmnrstvwy]{6}gt{2}c",topSnipOffset:25,bottomSnipOffset:20,cutType:1,usForward:25,usReverse:20,isType2S:!0},{aliases:["ArsI"],site:"gacnnnnnnttyg",forwardRegex:"gac[abcdghkmnrstvwy]{6}t{2}[cty]g",reverseRegex:"c[agr]a{2}[abcdghkmnrstvwy]{6}gtc",topSnipOffset:24,bottomSnipOffset:19,cutType:1,usForward:24,usReverse:19,isType2S:!0},{aliases:["TstI"],site:"cacnnnnnntcc",forwardRegex:"cac[abcdghkmnrstvwy]{6}tc{2}",reverseRegex:"g{2}a[abcdghkmnrstvwy]{6}gtg",topSnipOffset:24,bottomSnipOffset:19,cutType:1,usForward:24,usReverse:19,isType2S:!0},{aliases:["Bsp24I"],site:"gacnnnnnntgg",forwardRegex:"gac[abcdghkmnrstvwy]{6}tg{2}",reverseRegex:"c{2}a[abcdghkmnrstvwy]{6}gtc",topSnipOffset:24,bottomSnipOffset:19,cutType:1,usForward:24,usReverse:19,isType2S:!0},{aliases:["AloI"],site:"gaacnnnnnntcc",forwardRegex:"ga{2}c[abcdghkmnrstvwy]{6}tc{2}",reverseRegex:"g{2}a[abcdghkmnrstvwy]{6}gt{2}c",topSnipOffset:25,bottomSnipOffset:20,cutType:1,usForward:25,usReverse:20,isType2S:!0},{aliases:["FalI"],site:"aagnnnnnctt",forwardRegex:"a{2}g[abcdghkmnrstvwy]{5}ct{2}",reverseRegex:"a{2}g[abcdghkmnrstvwy]{5}ct{2}",topSnipOffset:24,bottomSnipOffset:19,cutType:1,usForward:24,usReverse:19,isType2S:!0},{aliases:["AjuI"],site:"gaannnnnnnttgg",forwardRegex:"ga{2}[abcdghkmnrstvwy]{7}t{2}g{2}",reverseRegex:"c{2}a{2}[abcdghkmnrstvwy]{7}t{2}c",topSnipOffset:25,bottomSnipOffset:20,cutType:1,usForward:25,usReverse:20,isType2S:!0},{aliases:["AlfI"],site:"gcannnnnntgc",forwardRegex:"gca[abcdghkmnrstvwy]{6}tgc",reverseRegex:"gca[abcdghkmnrstvwy]{6}tgc",topSnipOffset:24,bottomSnipOffset:22,cutType:1,usForward:24,usReverse:22,isType2S:!0},{aliases:["NgoAVIII"],site:"gacnnnnntga",forwardRegex:"gac[abcdghkmnrstvwy]{5}tga",reverseRegex:"tca[abcdghkmnrstvwy]{5}gtc",topSnipOffset:24,bottomSnipOffset:22,cutType:1,usForward:24,usReverse:22,isType2S:!0},{aliases:["HaeIV"],site:"gaynnnnnrtc",forwardRegex:"ga[cty][abcdghkmnrstvwy]{5}[agr]tc",reverseRegex:"ga[cty][abcdghkmnrstvwy]{5}[agr]tc",topSnipOffset:25,bottomSnipOffset:20,cutType:1,usForward:25,usReverse:20,isType2S:!0},{aliases:["BdaI"],site:"tgannnnnntca",forwardRegex:"tga[abcdghkmnrstvwy]{6}tca",reverseRegex:"tga[abcdghkmnrstvwy]{6}tca",topSnipOffset:24,bottomSnipOffset:22,cutType:1,usForward:24,usReverse:22,isType2S:!0},{aliases:["PpiI"],site:"gaacnnnnnctc",forwardRegex:"ga{2}c[abcdghkmnrstvwy]{5}ctc",reverseRegex:"gag[abcdghkmnrstvwy]{5}gt{2}c",topSnipOffset:25,bottomSnipOffset:20,cutType:1,usForward:25,usReverse:20,isType2S:!0},{aliases:["BcgI"],site:"cgannnnnntgc",forwardRegex:"cga[abcdghkmnrstvwy]{6}tgc",reverseRegex:"gca[abcdghkmnrstvwy]{6}tcg",topSnipOffset:24,bottomSnipOffset:22,cutType:1,usForward:24,usReverse:22,isType2S:!0},{aliases:["BplI"],site:"gagnnnnnctc",forwardRegex:"gag[abcdghkmnrstvwy]{5}ctc",reverseRegex:"gag[abcdghkmnrstvwy]{5}ctc",topSnipOffset:24,bottomSnipOffset:19,cutType:1,usForward:24,usReverse:19,isType2S:!0},{aliases:["BsaXI"],site:"acnnnnnctcc",forwardRegex:"ac[abcdghkmnrstvwy]{5}ctc{2}",reverseRegex:"g{2}ag[abcdghkmnrstvwy]{5}gt",topSnipOffset:21,bottomSnipOffset:18,cutType:1,usForward:21,usReverse:18,isType2S:!0},{aliases:["Hin4I"],site:"gaynnnnnvtc",forwardRegex:"ga[cty][abcdghkmnrstvwy]{5}[acgmrsv]tc",reverseRegex:"ga[bcgksty][abcdghkmnrstvwy]{5}[agr]tc",topSnipOffset:24,bottomSnipOffset:19,cutType:1,usForward:24,usReverse:19,isType2S:!0},{aliases:["BaeI"],site:"acnnnngtayc",forwardRegex:"ac[abcdghkmnrstvwy]{4}gta[cty]c",reverseRegex:"g[agr]tac[abcdghkmnrstvwy]{4}gt",topSnipOffset:23,bottomSnipOffset:18,cutType:1,usForward:23,usReverse:18,isType2S:!0},{aliases:["SdeOSI"],site:"gacnnnnrtga",forwardRegex:"gac[abcdghkmnrstvwy]{4}[agr]tga",reverseRegex:"tca[cty][abcdghkmnrstvwy]{4}gtc",topSnipOffset:23,bottomSnipOffset:21,cutType:1,usForward:23,usReverse:21,isType2S:!0}],Si={};dv.forEach(a=>{a.aliases.forEach(n=>{Si[n.toLowerCase()]=Se(se({},a),{name:n})})});const vv=["aari","aatii","aaui","accebi","acci","accii","acciii","acsi","afai","aflii","alui","aor13hi","aor51hi","apai","apali","asci","asisi","asp35hi","asp713i","aspmi","atsi","atu1i","atu1ii","avrbi","avrii","bali","bamhi","banii","bari","baui","bbvbi","bcni","bcoki","bdii","bgli","bglii","blni","bme216i","bmet110i","bmgt120i","bmui","bnai","bpu1102i","bpuai","bpub5i","bsai","bsavi","bseri","bsgi","bshhi","bsiwi","bsmbi","bsmfi","bsofi","bsp105i","bsp1286i","bsp139i","bsp1407i","bsp4009i","bsp70i","bsp71i","bspa2i","bspci","bspfni","bspt104i","bspt107i","bsrfi","bsshii","bst1107i","bstb7si","bsthi","bstiz316i","bstli","bstpi","bstri","bstxi","bsu1532i","bsu8565i","bsu90i","btgai","btsci","btsi","bvei","ccini","ccop95i","ceqi","cfr10i","cfr45i","cfr47i","cfr6i","cjuii","clai","cpaai","cpoi","cspai","cspci","ddei","dpni","drai","dsai","dsavi","eaei","eagi","eam1105i","ecidi","ecl37i","eco211i","eco240i","eco241i","eco246i","eco247i","eco52i","eco68i","eco81i","eco93i","ecoicri","ecoo109i","ecoo65i","ecopi","ecoprri","ecori","ecorv","ecot14i","ecot22i","ecoviii","ehei","esphk22i","fbai","fdiii","foki","fsei","haeii","haeiii","hapii","hgiai","hgibi","hhai","hin1i","hincii","hindiii","hinfi","hpai","hpyf13iii","hpyf19ii","hpyf21i","hpyf28i","hpyf29i","hpyf36i","hpyf62i","hpyf65i","hpyii","koyi","kpni","m.bbu297i","m.pmudam","maek81i","mboi","mboii","mfli","mizi","mlui","mph1103ii","msei","msii","mspi","mthai","muni","naei","ncoi","ndai","ndei","nflaii","ngbi","ngobviii","ngodviii","ngoeii","ngotii","nhei","nlaiv","noci","noti","novii","nrui","nsbi","nsici","nsp29132i","paci","pae17ki","pca17ai","pfaaiii","pfl16i","ple214i","pmaci","pmei","pru2i","psb9879i","pshai","pshbi","psp1406i","psp31i","psp33i","psp5i","psti","psuni","pvui","pvuii","ral8i","rsplki","saci","sacii","sali","sapi","sau3ai","sauni","sbai","sbfi","scai","sfii","sflhk115731i","slu1777i","smai","smii","snabi","spei","sphi","srfi","srl61di","sse8387i","ssp2i","sspi","stui","suii","swai","taqi","tauii","tsci","tth111i","tthhb8i","uba1093i","uba1095i","uba1122i","uba1160i","uba1229i","uba1371i","uba1380i","uba1403i","uba1415i","uba1437i","uba1439i","uba1440i","uba36i","uba41i","uba42i","uba89i","uban13i","van91i","vcho66i","vpak11bi","vpakutji","xbai","xcyi","xhoi","xmai","xmli","xphi","xspi"],Og={};vv.forEach(a=>{Og[a]=Si[a]});function $r(a,n,r,o){const f={};for(let i=0;i<a;i++){const c=mv(n,r,o);f[c.id]=c}return f}function mv(a,n,r){const o=Q2(a,n,r);return Se(se({},o),{name:Sv(0,1e5).toString(),type:"misc_feature",id:Qt().str,forward:Math.random()>.5,notes:{}})}function Sv(a,n){return Math.floor(Math.random()*(n-a))+a}function bv({isProtein:a,sequenceLength:n=1e3,numFeatures:r,numParts:o,numPrimers:f,numTranslations:i}={}){const c=a&&Oc(n,!0),g=!a&&Oc(n);return{circular:a?!1:Math.random()>.5,name:"p-"+Math.floor(Math.random*100),description:"",isProtein:a,sequence:g,proteinSequence:c,translations:a?void 0:$r(i||5,0,n-1,n/3),features:$r(r||10,0,n-1,n/3),primers:a?void 0:$r(f||10,0,n-1,50),parts:$r(o||10,0,n-1,n/3)}}function Oc(a=9,n){let r="";const o=n?"":"gatc";for(let f=0;f<a;f++)r+=o.charAt(Math.floor(Math.random()*o.length));return r}function yv(a,n,r,o){if(r||(r=0),a.length<n.length)return null;const f=new RegExp(n,"ig");let i,c,g=1/0;for(;(i=f.exec(a+(o?"":a)))&&!(i.index>a.length);){let l=Math.abs(i.index-r);if(l=o?l:Math.min(l,Math.abs(l-a.length)),l>g)break;c=i.index,g=l}return Mc({start:c,end:c+n.length-1},a.length)}function ni(a){let n=a.sequence;const r=a.minimumOrfSize,o=a.forward,f=a.circular,i=a.useAdditionalOrfStartCodons,c=n.length;o||(n=Et(n)),f&&(n+=n);const g=i?/(?=((?:A[TU]G|G[TU]G|C[TU]G)(?:.{3})*?(?:[TU]AG|[TU]AA|[TU]GA)))/gi:/(?=((?:A[TU]G)(?:.{3})*?(?:[TU]AG|[TU]AA|[TU]GA)))/gi;let l;const p=[];for(;(l=g.exec(n))!==null;){l.index===g.lastIndex&&g.lastIndex++;const v=l[1].length;if(v>=r){const m=l.index;let w=v+m-1;w>=c&&(w-=c),m<c&&p.push({start:m,end:w,length:l[1].length,internalStartCodonIndices:[],frame:m%3,forward:o,annotationTypePlural:"orfs",isOrf:!0,id:Qt().str})}}const I={};return p.forEach((v,m)=>{const w=I[v.end];if(typeof w!="undefined"){let B=v,x=p[w];x.length<B.length&&(B=p[w],x=v,I[v.end]=m);const C=o?B.start:c-B.start-1;x.internalStartCodonIndices=[...x.internalStartCodonIndices,...B.internalStartCodonIndices,C],B.remove=!0}else if(I[v.end]=m,!o){const B=v.end;v.end=c-v.start-1,v.start=c-B-1}}),p.filter(v=>!v.remove)}function wv(a,n,r,o){const f=ni({sequence:a,minimumOrfSize:r,forward:!0,circular:n,useAdditionalOrfStartCodons:o}),i=ni({sequence:a,minimumOrfSize:r,forward:!1,circular:n,useAdditionalOrfStartCodons:o});return f.concat(i)}var Rv=/[|\\{}()[\]^$+*?.]/g,Ov=function(a){if(typeof a!="string")throw new TypeError("Expected a string");return a.replace(Rv,"\\$&")};const Bv=Zr(Ov);function br(a){const n=Xr(a,!0),r=[];let o="";return n.forEach(f=>{f.fullCodon&&(r[f.aminoAcidIndex]=f.aminoAcid.value)}),o=r.join(""),o}function Av(a,n,r={}){let o=Bc(a,n,r);const{searchReverseStrand:f}=r;if(f){const i=a.length;let c;c=Et(a);const l=Bc(c,n,r).map(p=>Se(se({},J2(p,{start:0,end:i-1},i)),{bottomStrand:!0}));o=[...o,...l]}return o}function Bc(a,n,r={}){const{isCircular:o,isAmbiguous:f,isProteinSequence:i,isProteinSearch:c}=r;let g=Bv(n);if(f&&(c||i?g=Ac(g,!0):g=Ac(g)),!g)return[];let l=a;o&&(l=l+l);let p=[{seqToCheck:l,offset:0}];c&&(p=[{seqToCheck:br(l),offset:0},{seqToCheck:br(l.substr(1)),offset:1},{seqToCheck:br(l.substr(2)),offset:2}]);let I=[];return p.forEach(({seqToCheck:h,offset:v})=>{const m=new RegExp(g,"ig");let w,B;for(;(w=m.exec(h))!==null;)B={start:w.index,end:w.index+n.length-1},c&&(B.start=B.start*3+v,B.end=B.end*3+2+v),I.push(s0(B,a.length)),m.lastIndex=w.index+1}),V.uniqBy(I,h=>h.start+"-"+h.end)}function Ac(a,n){return V.reduce(a,(r,o)=>{const f=n?Cc[o.toUpperCase()]:rs[o.toUpperCase()];return f&&(f.length===1?r+=f:r+=`[${f}]`),r},"")}function xv(a,n,r,o){const f=r[o-1];if(f&&f.aminoAcidIndex===n.aminoAcidIndex){const i=r[o-2];return i&&i.aminoAcidIndex===n.aminoAcidIndex?{start:a-2,end:a}:n.fullCodon===!0?{start:a-1,end:a+1}:{start:a-1,end:a}}else{if(n.fullCodon===!0)return{start:a,end:a+2};{const i=r[o-2];return i&&i.aminoAcidIndex===n.aminoAcidIndex?{start:a,end:a+1}:{start:a,end:a+1}}}}function _v(a){return br(a).split("").reverse().join("")}function Jr(a){let n="";for(let r=0;r<a.length;r++){let o=oi[a[r]];o||(o=a[r]),n+=o}return n}function vs(a,n,r={}){if(!n)return a;const{exclude:o={},excludePartial:f={}}=r,i=Ue(a,r);ht.forEach(g=>{delete i[`filtered${V.startCase(g)}`]});const c=V.extend({},i,{circular:i.sequence.length===xe(n,a.sequence.length)?i.circular:!1,sequence:xt(n,i.sequence),proteinSequence:xt(mi(n),i.proteinSequence)},ht.reduce((g,l)=>o[l]?(g[l]=[],g):(g[l]=Bg(i[l],n,i.sequence.length,f[l]),g),{}));if(n.overlapsSelf){const g=ds({sequence:c.sequence},i,n.start),l=vs(g,{start:n.end+1,end:n.end},r);return ht.forEach(p=>{V.forEach(l[p],I=>{I.overlapsSelf&&I.start===0&&xe(I,i.sequence.length)===xe(n,i.sequence.length)&&(I.overlapsSelf=!1,I.end=l.sequence.length-1)})}),Ue(l,r)}return Ue(c,r)}function Bg(a,n,r,o){return V.flatMap(a,f=>{f.locations&&f.locations.length&&(f.locations=Bg(f.locations,n,r,o));const i=f0(f,n,r).map(c=>V.extend({},f,c));if(o){if(i.length>1)return[];if(i[0]&&xe(i[0],r)!==xe(f,r))return[]}return i}).map(f=>(f.locations&&f.locations.length&&(f.start=f.locations[0].start,f.end=f.locations[f.locations.length-1].end,f.locations.length===1&&delete f.locations),f))}function Ev(a,n={}){const r=Ue(vs(a,n.range),n),o=Object.assign({},r,{sequence:Jr(r.sequence)});return Ue(o,n)}function Cv(a){const{topSnipOffset:n,bottomSnipOffset:r}=a;return n===r?"blunt":n<r?"5' overhang":"3' overhang"}function Fv(a,n,r){return n.start>-1?[Xn(n.start,r),Xn(n.end+2,r)]:a>-1?[Xn(a,r),Xn(a+1,r)]:[r,1]}function Tv(a,n,r){let o={leftHandSide:"",rightHandSide:""};return Tc(n,a)?(o.leftHandSide=xt({start:a.start,end:ae(n-1,r.length)},r),o.rightHandSide=xt({start:n,end:a.end},r)):n0(n,a,r.length)?o.rightHandSide=xt(a,r):o.leftHandSide=xt(a,r),o}function Mv(a,n,r){n=n.toLowerCase(),a=a.toLowerCase();const f=(n+n).indexOf(a);return f>-1?{start:f,end:kc(f+a.length-1,{start:0,end:n.length-1})}:null}function Pv(a,n){n=n.length?n:[n];let r=a.sequence,o=r.length,f=a.circular,i=[];n.forEach(g=>{let l=ls(r,f,g);i=i.concat(l)});let c=[];return i.length<1?c:i.length===1?(c.push(Ya(i[0],i[0],o)),c):(Ag(i).forEach(l=>{let p=l[0],I=l[1],h=Ya(p,I,o),v=Ya(I,p,o);(f||!(h.start>h.end))&&c.push(h),(f||!(v.start>v.end))&&c.push(v)}),c)}function Ya(a,n,r){let o=xc(a.restrictionEnzyme),f=xc(n.restrictionEnzyme),i=a.topSnipBeforeBottom?a.topSnipPosition:a.bottomSnipPosition,c=ae((n.topSnipBeforeBottom?n.bottomSnipPosition:n.topSnipPosition)-1,r);return{start:i,start1Based:i+1,end:c,end1Based:c+1,firstCut:a,firstCutOffset:o,firstCutOverhang:a.overhangBps,firstCutOverhangTop:o>0?a.overhangBps:"",firstCutOverhangBottom:o<0?Jr(a.overhangBps):"",secondCut:n,secondCutOffset:f,secondCutOverhang:n.overhangBps,secondCutOverhangTop:f<0?n.overhangBps:"",secondCutOverhangBottom:f>0?Jr(n.overhangBps):""}}function xc(a){return a.bottomSnipOffset-a.topSnipOffset}function Ag(a){if(a.length<2)return[];let n=a[0],r=a.slice(1);return r.map(f=>[n,f]).concat(Ag(r))}function Uv(a){const n=Xr(a,!1),r=[];let o="";return n.forEach(f=>{f.fullCodon&&(r[f.aminoAcidIndex]=f.aminoAcid.value)}),o=r.join(""),o}function kv(a){return br(Et(a))}function xg(a,n){return Object.assign({},a,{start:n-(a.end+1),end:n-(a.start+1),forward:!a.forward,strand:a.strand===1?-1:1})}function Dv(a,n={}){const r=Ue(vs(a,n.range),n),o=Object.assign({},r,{sequence:Et(r.sequence)},ht.reduce((f,i)=>(r[i]&&(f[i]=V.map(r[i],c=>xg(c,r.sequence.length))),f),{}));return Ue(o,n)}function Hv(a){let n="";for(let r=a.length-1;r>=0;r--){let o=a[r];o||(o=a[r]),n+=o}return n}function Nv(a,n={}){const{threshold:r=.9,loose:o}=n,i=(n.dnaLetters||o?[...Ec.split(""),"U"]:["G","A","T","C","U"]).reduce((g,l)=>(g[l.toUpperCase()]=!0,g),{});let c=0;if(!a||!a.length)return!0;for(let g=0;g<a.length;g++){const l=a[g];i[l.toUpperCase()]&&(c=c+1)}return c/a.length>r}function _g(a,n,r,{splitForwardReverse:o}={}){const f={},i={},c={};return V.each(a,g=>{const l=!!(g.locations&&g.locations.length);g.overlapsSelf&&(c[g.id]||(Qa({wrappedAnnotations:c,annotation:{start:0,end:n-1,id:`__tempAnnRemoveMe__${g.id}`},sequenceLength:n,bpsPerRow:r,annotationsToRowsMap:f,yOffsetLevelMap:i,containsLocations:l,splitForwardReverse:o}),c[g.id]=!0)),Qa({wrappedAnnotations:c,annotation:g,sequenceLength:n,bpsPerRow:r,annotationsToRowsMap:f,yOffsetLevelMap:i,containsLocations:l,splitForwardReverse:o}),l&&g.locations.forEach(p=>{Qa({wrappedAnnotations:c,annotation:g,sequenceLength:n,bpsPerRow:r,annotationsToRowsMap:f,yOffsetLevelMap:i,location:p,splitForwardReverse:o})})}),V.forEach(f,(g,l)=>{f[l]=V.filter(g,p=>!V.startsWith(p.id,"__tempAnnRemoveMe__"))}),f}function Qa({wrappedAnnotations:a,annotation:n,sequenceLength:r,bpsPerRow:o,annotationsToRowsMap:f,yOffsetLevelMap:i,location:c,containsLocations:g,splitForwardReverse:l}){_t(c||n,r).forEach((I,h)=>{const v=Math.floor(I.start/o),m=Math.floor(I.end/o);for(let w=v;w<=m;w++){f[w]||(f[w]=[]);const B=l?n.forward?w+"_forward":w+"_reverse":w,x=f[w];i[B]||(i[B]=[]);let C;const H=i[B],F=w===v?I.start:w*o,N=w===m?I.end:w*o+o-1;n.overlapsSelf?x.forEach(_=>{_.id===`__tempAnnRemoveMe__${n.id}`&&(C=_.yOffset)}):c?x.forEach(_=>{_.id===n.id&&(C=_.yOffset)}):(h>0&&x.length&&x[x.length-1].annotation===n?C=x[x.length-1].yOffset:C=Uc(n,H),H[C]||(H[C]=[]),H[C].push({start:F,end:N})),x.push(Se(se(se({id:n.id,annotation:n,start:F,end:N},g&&{containsLocations:g}),c&&{isJoinedLocation:!!c}),{yOffset:C,enclosingRangeType:I.type}))}})}function Lv(a){const n=V.cloneDeep(a);return ht.forEach(r=>{if(r!=="cutsites"){const o=e0(n[r]).maxYOffset;n[r].maxYOffset=o}}),n}function Gv(a,n){const r=a.sequence.length,o=Math.ceil(r/n)||1,f=[],i={};ht.forEach(c=>{i[c]=_g(a[c],r,n,{splitForwardReverse:c==="primers"})});for(let c=0;c<o;c++){const g={};g.rowNumber=c,g.start=c*n,g.end=(c+1)*n-1<r?(c+1)*n-1:r-1,g.end<0&&(g.end=0),ht.forEach(l=>{g[l]=i[l][c]||[]}),g.sequence=a.sequence.slice(g.start,g.end+1),f[c]=g}return f}function Kv(a,n){let r=[];const o=a.toLowerCase().split(""),f=n.toLowerCase().split(""),i=n.length,c=n.replace(/^-+/g,""),g=n.replace(/-+$/g,""),l=i-c.length,p=i-(i-g.length);for(let I=0;I<o.length;I++)I<l||I>=p?r.push("W"):o[I]===f[I]&&o[I]!=="-"&&f[I]!=="-"?r.push("G"):o[I]!==f[I]&&o[I]!=="-"&&f[I]!=="-"||f[I]==="-"||o[I]==="-"&&o[I-1]!=="-"&&I!==o.length-1&&o[I+1]==="-"?r.push("R"):o[I]==="-"&&o[I-1]!=="-"&&I!==o.length-1&&o[I+1]!=="-"?(r.push("R"),I++):I===o.length-1&&o[I]==="-"&&o[I-1]==="-"?r.splice(-2,1):I===o.length-1&&o[I]==="-"&&o[I-1]!=="-"?(r.pop(),r.push("R")):o[I]==="-"&&o[I-1]==="-"&&o[I+1]!=="-"?I++:o[I]==="-"&&o[I-1]==="-"||console.error("should not reach this step!");return r.join("")}function Vv(a,n){for(let g=0;g<n.length;g++)n[g].cigar===null&&n.splice(g,1);const r=bg(a.sequence,n),o=[{name:a.name,sequence:r.toUpperCase()}];n.forEach(g=>{const l=[];n.forEach(_=>{const U=_.cigar.match(/([0-9]*[SMDI])/g);let L=V.cloneDeep(_.pos);if(U[0].slice(-1)==="S"){const W=U[0].slice(0,-1);L=_.pos-W}for(let W=0;W<U.length;W++)if(U[W].slice(-1)==="I"){let z=L;const de=Number(U[W].slice(0,-1));for(let fe=0;fe<W;fe++)if(U[fe].slice(-1)!=="I"){const Be=Number(U[fe].slice(0,-1));z+=Be}const ie={bpPos:z,number:de};l.push(ie)}});const p=g.cigar.match(/([0-9]*[SMDI])/g);let I=V.cloneDeep(g.pos);if(p[0].slice(-1)==="S"){const _=p[0].slice(0,-1);I=g.pos-_}let h=g.seq.split("");I>0&&h.unshift("-".repeat(I-1)),h=h.join("").split("");const v=[];for(let _=0;_<p.length;_++)if(p[_].slice(-1)==="D"){let U=I;const L=Number(p[_].slice(0,-1));for(let z=0;z<_;z++){const de=Number(p[z].slice(0,-1));U+=de}const W={bpPos:U,number:L};v.push(W)}const m=v.sort((_,U)=>_.bpPos-U.bpPos);for(let _=0;_<m.length;_++){const U=m[_].bpPos,L=m[_].number;let W="";for(let z=0;z<L;z++)W+="-";h.splice(U-1,0,W),h=h.join("").split("")}h=h.join("").split("");const w=[],B=[];for(let _=0;_<p.length;_++)if(p[_].slice(-1)==="I"){let U=I;const L=Number(p[_].slice(0,-1)),W=[];for(let ie=0;ie<_;ie++){const fe=Number(p[ie].slice(0,-1));U+=fe}for(let ie=0;ie<L;ie++)W.push(h[U-1+ie]);const z={bpPos:U,number:L},de={bpPos:U,number:L,nucleotides:W};w.push(z),B.push(de)}const x=JSON.parse(JSON.stringify(w)),C=w.sort((_,U)=>_.bpPos-U.bpPos),H=B.sort((_,U)=>_.bpPos-U.bpPos);for(let _=0;_<C.length;_++){const U=C[_].bpPos,L=C[_].number;for(let W=0;W<L;W++)h.splice(U-1,1);for(let W=_+1;W<C.length;W++)C[W].bpPos-=L}let F=l.sort((_,U)=>_.bpPos-U.bpPos);F=F.filter((_,U)=>U===F.findIndex(L=>JSON.stringify(L)===JSON.stringify(_)));for(let _=0;_<F.length-1;_++)for(;F[_].bpPos===F[_+1].bpPos;)F[_].number>F[_+1].number?F.splice(_+1,1):(F[_].number<F[_+1].number||F[_].number===F[_+1].number)&&F.splice(_,1);for(let _=0;_<x.length;_++){const U=F.findIndex(L=>L.bpPos===x[_].bpPos);U!==-1&&(F[U].number>x[_].number?F[U].number=F[U].number-x[_].number:F[U].number<=x[_].number&&(F.splice(U,1),_--))}for(let _=0;_<C.length;_++){const U=F.findIndex(L=>L.bpPos===C[_].bpPos);U!==-1&&(F[U].number>C[_].number?F[U].number=F[U].number-C[_].number:F[U].number<=C[_].number&&(F.splice(U,1),_--))}const N=JSON.parse(JSON.stringify(H));for(let _=0;_<N.length;_++){let U=0;for(let L=0;L<_;L++)U+=N[L].number-1;N[_].bpPos=N[_].bpPos-U,H[_].bpPos=H[_].bpPos-U}for(let _=0;_<F.length;_++)for(let U=0;U<N.length;U++)F[_].bpPos<=H[U].bpPos&&(N[U].bpPos+=1);for(let _=0;_<F.length&&F[_].bpPos<=h.length;_++){const U=F[_].bpPos,L=F[_].number;let W="";for(let z=0;z<L;z++)W+="-";h.splice(U-1,0,W);for(let z=_+1;z<F.length;z++)F[z].bpPos+=1}for(let _=0;_<N.length;_++){const U=N[_].bpPos,L=N[_].nucleotides.join("");h.splice(U-1,0,L)}h=h.join("").split(""),h.length<r.length&&h.push("-".repeat(r.length-h.length)),o.push({name:g.name,sequence:h.join(""),reversed:g.reversed,cigar:g.cigar})});const f=[];n.forEach(g=>{const l=g.cigar.match(/([0-9]*[SMDI])/g);let p=V.cloneDeep(g.pos);if(l[0].slice(-1)==="S"){const I=l[0].slice(0,-1);p=g.pos-I,p<0&&f.push(Math.abs(p))}});let i=0;for(let g=1;g<o.length;g++){const l=o[g].sequence.split(""),p=n[g-1].cigar.match(/([0-9]*[SMDI])/g);let I=V.cloneDeep(n[g-1].pos);if(f.length>0&&(i=Math.max(...f)),p[0].slice(-1)==="S"){const h=p[0].slice(0,-1);I=n[g-1].pos-h,I>0?(i>0&&l.unshift("-".repeat(i+1)),o[g].sequence=l.join("")):I<0&&(i>0&&l.unshift("-".repeat(i-Math.abs(I))),o[g].sequence=l.join(""))}else i>0&&l.unshift("-".repeat(i+1)),o[g].sequence=l.join("")}if(i>0){const g=o[0].sequence.split("");g.unshift("-".repeat(i+1)),o[0].sequence=g.join("")}const c=[];for(let g=1;g<o.length;g++){const l=o[0];o[g].sequence.length>l.sequence.length&&c.push(o[g].sequence.length)}if(c.length>0){const g=Math.max(...c);for(let l=0;l<o.length;l++)o[l].sequence.length<g&&(o[l].sequence+="-".repeat(g-o[l].sequence.length))}for(let g=1;g<o.length;g++){const l=o[0];o[g].sequence.length<l.sequence.length&&(o[g].sequence+="-".repeat(l.sequence.length-o[g].sequence.length))}return o}function Eg(a,n,{monovalentCationConc:r}={}){try{if(/[^atgc]/i.test(a))throw new Error(`Degenerate bases prohibited in Tm calculation of sequence ${a}`);const f=a.toUpperCase().split("");let i=0,c=0,g=0,l=0;const p=1.987,I=-273.15,h=273.15,v=1e3,m={"AA/TT":-7.9,"AT/TA":-7.2,"TA/AT":-7.2,"CA/GT":-8.5,"GT/CA":-8.4,"CT/GA":-7.8,"GA/CT":-8.2,"CG/GC":-10.6,"GC/CG":-9.8,"GG/CC":-8,"TT/AA":-7.9,"TG/AC":-8.5,"AC/TG":-8.4,"AG/TC":-7.8,"TC/AG":-8.2,"CC/GG":-8,initiationWithTerminalGC:.1,initiationWithTerminalAT:2.3},w={"AA/TT":-22.2,"AT/TA":-20.4,"TA/AT":-21.3,"CA/GT":-22.7,"GT/CA":-22.4,"CT/GA":-21,"GA/CT":-22.2,"CG/GC":-27.2,"GC/CG":-24.4,"GG/CC":-19.9,"TT/AA":-22.2,"TG/AC":-22.7,"AC/TG":-22.4,"AG/TC":-21,"TC/AG":-22.2,"CC/GG":-19.9,initiationWithTerminalGC:-2.8,initiationWithTerminalAT:4.1};for(let N=0;N<f.length;N++)if((N===0||N===f.length-1)&&(f[N]==="G"||f[N]==="C"?(g+=m.initiationWithTerminalGC,l+=w.initiationWithTerminalGC):(f[N]==="A"||f[N]==="T")&&(g+=m.initiationWithTerminalAT,l+=w.initiationWithTerminalAT)),N<f.length-1){const _=f[N]+f[N+1],U=Jr(_).toUpperCase(),L=`${_}/${U}`;if(!m[L]||!w[L])throw new Error(`Could not find value for ${L} of sequence ${a}`);i+=m[L],c+=w[L]}const B=i+g,x=c+l,C=B*v,H=x+p*Math.log(n),F=C/H+I;if(r){const N=Math.log(r),L=(4.29*(yg(a)/100)-3.95)*Math.pow(10,-5)*N+Math.pow(9.4,-6)*Math.pow(N,2);return 1/(1/(F+h)+L)+I}else return F}catch(o){return`Error calculating Tm for sequence ${a}: ${o}`}}function qv(a,n,{monovalentCationConc:r,polymerase:o}={}){try{if(a.length!==2)throw new Error(`${a.length} sequences received when 2 primers were expected`);const f=a.map(g=>Eg(g,n,{monovalentCationConc:r}));f.sort((g,l)=>g-l);const i=f[0];let c;return o==="Q5"?(c=i+1,c>72&&(c=72)):c=i-3,c}catch(f){return`Error calculating annealing temperature: ${f}`}}function Cg(a,n,r,o={}){const f=[],i=[];if(!r.length)return[];let c=r.sort((g,l)=>g.topSnipPosition-l.topSnipPosition);return n||(c=[{topSnipPosition:0,bottomSnipPosition:0,overhangSize:0,type:"START_OR_END_OF_SEQ",name:"START_OF_SEQ"},...c,{topSnipPosition:a,bottomSnipPosition:a,overhangSize:0,type:"START_OR_END_OF_SEQ",name:"END_OF_SEQ"}]),c.forEach((g,l)=>{!n&&!c[l+1]||(o.computePartialDigests&&c.forEach((p,I)=>{I===l+1||I===0||i.push([g,c[I]])}),i.push([g,c[l+1]?c[l+1]:c[0]]))}),i.forEach(([g,l])=>{const p=ae(g.topSnipPosition,a),I=ae(l.topSnipPosition-1,a),h={start:p,end:I},v=xe(h,a),m=p+"-"+I+"-"+v+"-";f.push(Se(se({cut1:Se(se({},g),{isOverhangIncludedInFragmentSize:g.type!=="START_OR_END_OF_SEQ"&&g.overhangSize>0&&g.topSnipBeforeBottom}),cut2:Se(se({},l),{isOverhangIncludedInFragmentSize:l.type!=="START_OR_END_OF_SEQ"&&l.overhangSize>0&&!l.topSnipBeforeBottom})},h),{size:v,id:m}))}),f.filter(g=>!!g.size),f}function Wv(a,n,r,o){const f=Array.isArray(r)?r:[r],i=V.flatMap(f,c=>ls(a,n,c));return Cg(a.length,n,i,o)}function $v(a){return typeof a=="object"&&a!==null?_c(Se(se({},a),{locations:a.locations?a.locations.map(_c):void 0})):jv(a)}function jv(a){return a*3}function _c(a){return Se(se({},a),{start:a.start>-1?a.start*3:a.start,end:a.end>-1?a.end*3+2:a.end})}const Xv=V.invert(vi);function zv(a,n=2,r=!1){let o=0;for(let f=0;f<a.length;f++)o+=k[a[f]].mass;return r&&(o/=3),Math.round(o*we(10,n))/we(10,n)}function Jv({seqData:a,caretPosition:n,insertLength:r}){zr.forEach(o=>{const f=a[o];a[o]=fs(f,n,r)})}const Zv=gs(),Yv=ci();exports.DNAComplementMap=oi;exports.FeatureTypes=Zv;exports.addGapsToSeqReads=Vv;exports.adjustAnnotationsToInsert=fs;exports.adjustBpsToReplaceOrInsert=ri;exports.aliasedEnzymesByName=Si;exports.aminoAcidToDegenerateDnaMap=cs;exports.aminoAcidToDegenerateRnaMap=vi;exports.annotateSingleSeq=rv;exports.annotationTypes=ht;exports.autoAnnotate=Dc;exports.bioData=q2;exports.calculateNebTa=qv;exports.calculateNebTm=Eg;exports.calculatePercentGC=yg;exports.calculateTm=fv;exports.computeDigestFragments=Gc;exports.condensePairwiseAlignmentDifferences=Kv;exports.convertAACaretPositionOrRangeToDna=$v;exports.convertApELikeRegexToRegex=c0;exports.convertDnaCaretPositionOrRangeToAA=mi;exports.convertProteinSeqToDNAIupac=g0;exports.cutSequenceByRestrictionEnzyme=ls;exports.defaultEnzymesByName=Og;exports.degenerateDnaToAminoAcidMap=Ig;exports.degenerateRnaToAminoAcidMap=Xv;exports.deleteSequenceDataAtRange=Iv;exports.doesEnzymeChopOutsideOfRecognitionSite=hv;exports.featureColors=Yv;exports.filterAminoAcidSequenceString=vg;exports.filterSequenceString=hg;exports.findNearestRangeOfSequenceOverlapToPosition=yv;exports.findOrfsInPlasmid=wv;exports.findSequenceMatches=Av;exports.genbankFeatureTypes=Hc;exports.generateAnnotations=$r;exports.generateSequenceData=bv;exports.getAllInsertionsInSeqReads=Sg;exports.getAminoAcidDataForEachBaseOfDna=Xr;exports.getAminoAcidFromSequenceTriplet=es;exports.getAminoAcidStringFromSequenceString=br;exports.getCodonRangeForAASliver=xv;exports.getComplementAminoAcidStringFromSequenceString=_v;exports.getComplementSequenceAndAnnotations=Ev;exports.getComplementSequenceString=Jr;exports.getCutsiteType=Cv;exports.getCutsitesFromSequence=Lc;exports.getDegenerateDnaStringFromAAString=mg;exports.getDegenerateRnaStringFromAAString=nv;exports.getDiffFromSeqs=Q0;exports.getDigestFragmentsForCutsites=Cg;exports.getDigestFragmentsForRestrictionEnzymes=Wv;exports.getDigestFragsForSeqAndEnzymes=d0;exports.getFeatureToColorMap=ci;exports.getFeatureTypes=gs;exports.getInsertBetweenVals=Fv;exports.getLeftAndRightOfSequenceInRangeGivenPosition=Tv;exports.getMassOfAaString=zv;exports.getMergedFeatureMap=fi;exports.getOrfsFromSequence=ni;exports.getOverlapBetweenTwoSequences=Mv;exports.getPossiblePartsFromSequenceAndEnzymes=Pv;exports.getReverseAminoAcidStringFromSequenceString=Uv;exports.getReverseComplementAminoAcidStringFromSequenceString=kv;exports.getReverseComplementAnnotation=xg;exports.getReverseComplementSequenceAndAnnotations=Dv;exports.getReverseComplementSequenceString=Et;exports.getReverseSequenceString=Hv;exports.getSequenceDataBetweenRange=vs;exports.getVirtualDigest=sv;exports.guessIfSequenceIsDnaAndNotProtein=Nv;exports.insertGapsIntoRefSeq=bg;exports.insertSequenceDataAtPosition=ds;exports.insertSequenceDataAtPositionOrRange=ds;exports.isEnzymeType2S=av;exports.mapAnnotationsToRows=_g;exports.modifiableTypes=zr;exports.patchSeqWithDiff=ev;exports.prepareCircularViewData=Lv;exports.prepareRowData=Gv;exports.proteinAlphabet=k;exports.reverseSeqDiff=tv;exports.rotateBpsToPosition=wg;exports.rotateSequenceDataToPosition=Rg;exports.shiftAnnotationsByLen=Jv;exports.threeLetterSequenceStringToAminoAcidMap=pg;exports.tidyUpAnnotation=dg;exports.tidyUpSequenceData=Ue;
|