Home
Sort by
last modified time
|
relevance
|
path
Repository(s)
applications
arkcompiler
base
build
commonlibrary
developtools
device
docs
domains
drivers
foundation
ide
interface
kernel
napi_generator
productdefine
test
third_party
vendor
select all
invert selection
clear
Full Search
Search through all text tokens(words,strings,identifiers,numbers) in index.
Definition
Only finds symbol definitions(where e.g a variable(function,...) is defined).
Symbol
Only finds symbol(e.g. methods classes,function,variables).
File Path
Path of the source file(use "/").If you want just exact path,enclose it in "".Source files end with: .jar/.bz2/.a/.h/.java...
History
History log comments.
Type
Any
Bzip(2)
C
Clojure
C#
C++
ELF
Erlang
Image file
Fortran
Golang
GZIP
Haskell
Jar
Java
Java class
JavaScript
Lisp
Lua
Pascal
Perl
PHP
Plain Text
PL/SQL
Python
Rust
Scala
Shell script
SQL
Tar
Tcl
Troff
UUEncoded
Visual Basic
XML
Zip
Type of analyzer used to filter file types include with selected(e.g. just C sources).
Help
Searched
refs:constant
(Results
1 - 5
of
5
) sorted by relevance
/interface/sdk_c/third_party/musl/ndk_musl_include/sys/
H
A
D
timex.h
23
long
constant
, precision, tolerance;
member
/interface/sdk-js/build-tools/api_check_plugin/src/
H
A
D
utils.js
49
'namespace', 'struct', 'extends', 'implements', 'typedef', 'interface', 'permission', 'enum', '
constant
', 'type',
231
if (/\@
constant
/g.test(notesStr)) {
/interface/sdk-js/build-tools/dts_parser/package/
H
A
D
JS_API_OPTIMIZE_PLUGIN.js
67
*/e=r.nmd(e),function(){var i,a="Expected a function",o="__lodash_hash_undefined__",s="__lodash_placeholder__",c=16,l=32,u=64,d=128,p=256,f=1/0,m=9007199254740991,g=NaN,_=4294967295,h=[["ary",d],["bind",1],["bindKey",2],["curry",8],["curryRight",c],["flip",512],["partial",l],["partialRight",u],["rearg",p]],y="[object Arguments]",v="[object Array]",b="[object Boolean]",k="[object Date]",x="[object Error]",E="[object Function]",S="[object GeneratorFunction]",D="[object Map]",w="[object Number]",T="[object Object]",C="[object Promise]",A="[object RegExp]",N="[object Set]",P="[object String]",I="[object Symbol]",F="[object WeakMap]",O="[object ArrayBuffer]",R="[object DataView]",M="[object Float32Array]",L="[object Float64Array]",j="[object Int8Array]",B="[object Int16Array]",z="[object Int32Array]",U="[object Uint8Array]",q="[object Uint8ClampedArray]",J="[object Uint16Array]",V="[object Uint32Array]",H=/\b__p \+= '';/g,K=/\b(__p \+=) '' \+/g,W=/(__e\(.*?\)|\b__t\)) \+\n'';/g,G=/&(?:amp|lt|gt|quot|#39);/g,$=/[&<>"']/g,Y=RegExp(G.source),X=RegExp($.source),Q=/<%-([\s\S]+?)%>/g,Z=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,re=/^\w*$/,ne=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ie=/[\\^$.*+?()[\]{}|]/g,ae=RegExp(ie.source),oe=/^\s+/,se=/\s/,ce=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,le=/\{\n\/\* \[wrapped with (.+)\] \*/,ue=/,? & /,de=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,pe=/[()=,{}\[\]\/\s]/,fe=/\\(\\)?/g,me=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ge=/\w*$/,_e=/^[-+]0x[0-9a-f]+$/i,he=/^0b[01]+$/i,ye=/^\[object .+?Constructor\]$/,ve=/^0o[0-7]+$/i,be=/^(?:0|[1-9]\d*)$/,ke=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xe=/($^)/,Ee=/['\n\r\u2028\u2029\\]/g,Se="\\ud800-\\udfff",De="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",we="\\u2700-\\u27bf",Te="a-z\\xdf-\\xf6\\xf8-\\xff",Ce="A-Z\\xc0-\\xd6\\xd8-\\xde",Ae="\\ufe0e\\ufe0f",Ne="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\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",Pe="['’]",Ie="["+Se+"]",Fe="["+Ne+"]",Oe="["+De+"]",Re="\\d+",Me="["+we+"]",Le="["+Te+"]",je="[^"+Se+Ne+Re+we+Te+Ce+"]",Be="\\ud83c[\\udffb-\\udfff]",ze="[^"+Se+"]",Ue="(?:\\ud83c[\\udde6-\\uddff]){2}",qe="[\\ud800-\\udbff][\\udc00-\\udfff]",Je="["+Ce+"]",Ve="\\u200d",He="(?:"+Le+"|"+je+")",Ke="(?:"+Je+"|"+je+")",We="(?:['’](?:d|ll|m|re|s|t|ve))?",Ge="(?:['’](?:D|LL|M|RE|S|T|VE))?",$e="(?:"+Oe+"|"+Be+")"+"?",Ye="["+Ae+"]?",Xe=Ye+$e+("(?:"+Ve+"(?:"+[ze,Ue,qe].join("|")+")"+Ye+$e+")*"),Qe="(?:"+[Me,Ue,qe].join("|")+")"+Xe,Ze="(?:"+[ze+Oe+"?",Oe,Ue,qe,Ie].join("|")+")",et=RegExp(Pe,"g"),tt=RegExp(Oe,"g"),rt=RegExp(Be+"(?="+Be+")|"+Ze+Xe,"g"),nt=RegExp([Je+"?"+Le+"+"+We+"(?="+[Fe,Je,"$"].join("|")+")",Ke+"+"+Ge+"(?="+[Fe,Je+He,"$"].join("|")+")",Je+"?"+He+"+"+We,Je+"+"+Ge,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Re,Qe].join("|"),"g"),it=RegExp("["+Ve+Se+De+Ae+"]"),at=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ot=["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"],st=-1,ct={};ct[M]=ct[L]=ct[j]=ct[B]=ct[z]=ct[U]=ct[q]=ct[J]=ct[V]=!0,ct[y]=ct[v]=ct[O]=ct[b]=ct[R]=ct[k]=ct[x]=ct[E]=ct[D]=ct[w]=ct[T]=ct[A]=ct[N]=ct[P]=ct[F]=!1;var lt={};lt[y]=lt[v]=lt[O]=lt[R]=lt[b]=lt[k]=lt[M]=lt[L]=lt[j]=lt[B]=lt[z]=lt[D]=lt[w]=lt[T]=lt[A]=lt[N]=lt[P]=lt[I]=lt[U]=lt[q]=lt[J]=lt[V]=!0,lt[x]=lt[E]=lt[F]=!1;var ut={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},dt=parseFloat,pt=parseInt,ft="object"==typeof global&&global&&global.Object===Object&&global,mt="object"==typeof self&&self&&self.Object===Object&&self,gt=ft||mt||Function("return this")(),_t=t&&!t.nodeType&&t,ht=_t&&e&&!e.nodeType&&e,yt=ht&&ht.exports===_t,vt=yt&&ft.process,bt=function(){try{var e=ht&&ht.require&&ht.require("util").types;return e||vt&&vt.binding&&vt.binding("util")}catch(e){}}(),kt=bt&&bt.isArrayBuffer,xt=bt&&bt.isDate,Et=bt&&bt.isMap,St=bt&&bt.isRegExp,Dt=bt&&bt.isSet,wt=bt&&bt.isTypedArray;function Tt(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function Ct(e,t,r,n){for(var i=-1,a=null==e?0:e.length;++i<a;){var o=e[i];t(n,o,r(o),e)}return n}function At(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}function Nt(e,t){for(var r=null==e?0:e.length;r--&&!1!==t(e[r],r,e););return e}function Pt(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(!t(e[r],r,e))return!1;return!0}function It(e,t){for(var r=-1,n=null==e?0:e.length,i=0,a=[];++r<n;){var o=e[r];t(o,r,e)&&(a[i++]=o)}return a}function Ft(e,t){return!!(null==e?0:e.length)&&Jt(e,t,0)>-1}function Ot(e,t,r){for(var n=-1,i=null==e?0:e.length;++n<i;)if(r(t,e[n]))return!0;return!1}function Rt(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}function Mt(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}function Lt(e,t,r,n){var i=-1,a=null==e?0:e.length;for(n&&a&&(r=e[++i]);++i<a;)r=t(r,e[i],i,e);return r}function jt(e,t,r,n){var i=null==e?0:e.length;for(n&&i&&(r=e[--i]);i--;)r=t(r,e[i],i,e);return r}function Bt(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}var zt=Wt("length");function Ut(e,t,r){var n;return r(e,(function(e,r,i){if(t(e,r,i))return n=r,!1})),n}function qt(e,t,r,n){for(var i=e.length,a=r+(n?1:-1);n?a--:++a<i;)if(t(e[a],a,e))return a;return-1}function Jt(e,t,r){return t==t?function(e,t,r){var n=r-1,i=e.length;for(;++n<i;)if(e[n]===t)return n;return-1}(e,t,r):qt(e,Ht,r)}function Vt(e,t,r,n){for(var i=r-1,a=e.length;++i<a;)if(n(e[i],t))return i;return-1}function Ht(e){return e!=e}function Kt(e,t){var r=null==e?0:e.length;return r?Yt(e,t)/r:g}function Wt(e){return function(t){return null==t?i:t[e]}}function Gt(e){return function(t){return null==e?i:e[t]}}function $t(e,t,r,n,i){return i(e,(function(e,i,a){r=n?(n=!1,e):t(r,e,i,a)})),r}function Yt(e,t){for(var r,n=-1,a=e.length;++n<a;){var o=t(e[n]);o!==i&&(r=r===i?o:r+o)}return r}function Xt(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}function Qt(e){return e?e.slice(0,gr(e)+1).replace(oe,""):e}function Zt(e){return function(t){return e(t)}}function er(e,t){return Rt(t,(function(t){return e[t]}))}function tr(e,t){return e.has(t)}function rr(e,t){for(var r=-1,n=e.length;++r<n&&Jt(t,e[r],0)>-1;);return r}function nr(e,t){for(var r=e.length;r--&&Jt(t,e[r],0)>-1;);return r}var ir=Gt({À:"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"}),ar=Gt({"&":"&","<":"<",">":">",'"':""","'":"'"});function or(e){return"\\"+ut[e]}function sr(e){return it.test(e)}function cr(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}function lr(e,t){return function(r){return e(t(r))}}function ur(e,t){for(var r=-1,n=e.length,i=0,a=[];++r<n;){var o=e[r];o!==t&&o!==s||(e[r]=s,a[i++]=r)}return a}function dr(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}function pr(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=[e,e]})),r}function fr(e){return sr(e)?function(e){var t=rt.lastIndex=0;for(;rt.test(e);)++t;return t}(e):zt(e)}function mr(e){return sr(e)?function(e){return e.match(rt)||[]}(e):function(e){return e.split("")}(e)}function gr(e){for(var t=e.length;t--&&se.test(e.charAt(t)););return t}var _r=Gt({"&":"&","<":"<",">":">",""":'"',"'":"'"});var hr=function e(t){var r,n=(t=null==t?gt:hr.defaults(gt.Object(),t,hr.pick(gt,ot))).Array,se=t.Date,Se=t.Error,De=t.Function,we=t.Math,Te=t.Object,Ce=t.RegExp,Ae=t.String,Ne=t.TypeError,Pe=n.prototype,Ie=De.prototype,Fe=Te.prototype,Oe=t["__core-js_shared__"],Re=Ie.toString,Me=Fe.hasOwnProperty,Le=0,je=(r=/[^.]+$/.exec(Oe&&Oe.keys&&Oe.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",Be=Fe.toString,ze=Re.call(Te),Ue=gt._,qe=Ce("^"+Re.call(Me).replace(ie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Je=yt?t.Buffer:i,Ve=t.Symbol,He=t.Uint8Array,Ke=Je?Je.allocUnsafe:i,We=lr(Te.getPrototypeOf,Te),Ge=Te.create,$e=Fe.propertyIsEnumerable,Ye=Pe.splice,Xe=Ve?Ve.isConcatSpreadable:i,Qe=Ve?Ve.iterator:i,Ze=Ve?Ve.toStringTag:i,rt=function(){try{var e=pa(Te,"defineProperty");return e({},"",{}),e}catch(e){}}(),it=t.clearTimeout!==gt.clearTimeout&&t.clearTimeout,ut=se&&se.now!==gt.Date.now&&se.now,ft=t.setTimeout!==gt.setTimeout&&t.setTimeout,mt=we.ceil,_t=we.floor,ht=Te.getOwnPropertySymbols,vt=Je?Je.isBuffer:i,bt=t.isFinite,zt=Pe.join,Gt=lr(Te.keys,Te),yr=we.max,vr=we.min,br=se.now,kr=t.parseInt,xr=we.random,Er=Pe.reverse,Sr=pa(t,"DataView"),Dr=pa(t,"Map"),wr=pa(t,"Promise"),Tr=pa(t,"Set"),Cr=pa(t,"WeakMap"),Ar=pa(Te,"create"),Nr=Cr&&new Cr,Pr={},Ir=ja(Sr),Fr=ja(Dr),Or=ja(wr),Rr=ja(Tr),Mr=ja(Cr),Lr=Ve?Ve.prototype:i,jr=Lr?Lr.valueOf:i,Br=Lr?Lr.toString:i;function zr(e){if(rs(e)&&!Ho(e)&&!(e instanceof Vr)){if(e instanceof Jr)return e;if(Me.call(e,"__wrapped__"))return Ba(e)}return new Jr(e)}var Ur=function(){function e(){}return function(t){if(!ts(t))return{};if(Ge)return Ge(t);e.prototype=t;var r=new e;return e.prototype=i,r}}();function qr(){}function Jr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}function Vr(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=_,this.__views__=[]}function Hr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Kr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Wr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Gr(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new Wr;++t<r;)this.add(e[t])}function $r(e){var t=this.__data__=new Kr(e);this.size=t.size}function Yr(e,t){var r=Ho(e),n=!r&&Vo(e),i=!r&&!n&&$o(e),a=!r&&!n&&!i&&us(e),o=r||n||i||a,s=o?Xt(e.length,Ae):[],c=s.length;for(var l in e)!t&&!Me.call(e,l)||o&&("length"==l||i&&("offset"==l||"parent"==l)||a&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||va(l,c))||s.push(l);return s}function Xr(e){var t=e.length;return t?e[$n(0,t-1)]:i}function Qr(e,t){return Ra(Ni(e),cn(t,0,e.length))}function Zr(e){return Ra(Ni(e))}function en(e,t,r){(r!==i&&!Uo(e[t],r)||r===i&&!(t in e))&&on(e,t,r)}function tn(e,t,r){var n=e[t];Me.call(e,t)&&Uo(n,r)&&(r!==i||t in e)||on(e,t,r)}function rn(e,t){for(var r=e.length;r--;)if(Uo(e[r][0],t))return r;return-1}function nn(e,t,r,n){return fn(e,(function(e,i,a){t(n,e,r(e),a)})),n}function an(e,t){return e&&Pi(t,Is(t),e)}function on(e,t,r){"__proto__"==t&&rt?rt(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function sn(e,t){for(var r=-1,a=t.length,o=n(a),s=null==e;++r<a;)o[r]=s?i:Ts(e,t[r]);return o}function cn(e,t,r){return e==e&&(r!==i&&(e=e<=r?e:r),t!==i&&(e=e>=t?e:t)),e}function ln(e,t,r,n,a,o){var s,c=1&t,l=2&t,u=4&t;if(r&&(s=a?r(e,n,a,o):r(e)),s!==i)return s;if(!ts(e))return e;var d=Ho(e);if(d){if(s=function(e){var t=e.length,r=new e.constructor(t);t&&"string"==typeof e[0]&&Me.call(e,"index")&&(r.index=e.index,r.input=e.input);return r}(e),!c)return Ni(e,s)}else{var p=ga(e),f=p==E||p==S;if($o(e))return Si(e,c);if(p==T||p==y||f&&!a){if(s=l||f?{}:ha(e),!c)return l?function(e,t){return Pi(e,ma(e),t)}(e,function(e,t){return e&&Pi(t,Fs(t),e)}(s,e)):function(e,t){return Pi(e,fa(e),t)}(e,an(s,e))}else{if(!lt[p])return a?e:{};s=function(e,t,r){var n=e.constructor;switch(t){case O:return Di(e);case b:case k:return new n(+e);case R:return function(e,t){var r=t?Di(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}(e,r);case M:case L:case j:case B:case z:case U:case q:case J:case V:return wi(e,r);case D:return new n;case w:case P:return new n(e);case A:return function(e){var t=new e.constructor(e.source,ge.exec(e));return t.lastIndex=e.lastIndex,t}(e);case N:return new n;case I:return i=e,jr?Te(jr.call(i)):{}}var i}(e,p,c)}}o||(o=new $r);var m=o.get(e);if(m)return m;o.set(e,s),ss(e)?e.forEach((function(n){s.add(ln(n,t,r,n,e,o))})):ns(e)&&e.forEach((function(n,i){s.set(i,ln(n,t,r,i,e,o))}));var g=d?i:(u?l?aa:ia:l?Fs:Is)(e);return At(g||e,(function(n,i){g&&(n=e[i=n]),tn(s,i,ln(n,t,r,i,e,o))})),s}function un(e,t,r){var n=r.length;if(null==e)return!n;for(e=Te(e);n--;){var a=r[n],o=t[a],s=e[a];if(s===i&&!(a in e)||!o(s))return!1}return!0}function dn(e,t,r){if("function"!=typeof e)throw new Ne(a);return Pa((function(){e.apply(i,r)}),t)}function pn(e,t,r,n){var i=-1,a=Ft,o=!0,s=e.length,c=[],l=t.length;if(!s)return c;r&&(t=Rt(t,Zt(r))),n?(a=Ot,o=!1):t.length>=200&&(a=tr,o=!1,t=new Gr(t));e:for(;++i<s;){var u=e[i],d=null==r?u:r(u);if(u=n||0!==u?u:0,o&&d==d){for(var p=l;p--;)if(t[p]===d)continue e;c.push(u)}else a(t,d,n)||c.push(u)}return c}zr.templateSettings={escape:Q,evaluate:Z,interpolate:ee,variable:"",imports:{_:zr}},zr.prototype=qr.prototype,zr.prototype.constructor=zr,Jr.prototype=Ur(qr.prototype),Jr.prototype.constructor=Jr,Vr.prototype=Ur(qr.prototype),Vr.prototype.constructor=Vr,Hr.prototype.clear=function(){this.__data__=Ar?Ar(null):{},this.size=0},Hr.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Hr.prototype.get=function(e){var t=this.__data__;if(Ar){var r=t[e];return r===o?i:r}return Me.call(t,e)?t[e]:i},Hr.prototype.has=function(e){var t=this.__data__;return Ar?t[e]!==i:Me.call(t,e)},Hr.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Ar&&t===i?o:t,this},Kr.prototype.clear=function(){this.__data__=[],this.size=0},Kr.prototype.delete=function(e){var t=this.__data__,r=rn(t,e);return!(r<0)&&(r==t.length-1?t.pop():Ye.call(t,r,1),--this.size,!0)},Kr.prototype.get=function(e){var t=this.__data__,r=rn(t,e);return r<0?i:t[r][1]},Kr.prototype.has=function(e){return rn(this.__data__,e)>-1},Kr.prototype.set=function(e,t){var r=this.__data__,n=rn(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},Wr.prototype.clear=function(){this.size=0,this.__data__={hash:new Hr,map:new(Dr||Kr),string:new Hr}},Wr.prototype.delete=function(e){var t=ua(this,e).delete(e);return this.size-=t?1:0,t},Wr.prototype.get=function(e){return ua(this,e).get(e)},Wr.prototype.has=function(e){return ua(this,e).has(e)},Wr.prototype.set=function(e,t){var r=ua(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},Gr.prototype.add=Gr.prototype.push=function(e){return this.__data__.set(e,o),this},Gr.prototype.has=function(e){return this.__data__.has(e)},$r.prototype.clear=function(){this.__data__=new Kr,this.size=0},$r.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},$r.prototype.get=function(e){return this.__data__.get(e)},$r.prototype.has=function(e){return this.__data__.has(e)},$r.prototype.set=function(e,t){var r=this.__data__;if(r instanceof Kr){var n=r.__data__;if(!Dr||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Wr(n)}return r.set(e,t),this.size=r.size,this};var fn=Oi(kn),mn=Oi(xn,!0);function gn(e,t){var r=!0;return fn(e,(function(e,n,i){return r=!!t(e,n,i)})),r}function _n(e,t,r){for(var n=-1,a=e.length;++n<a;){var o=e[n],s=t(o);if(null!=s&&(c===i?s==s&&!ls(s):r(s,c)))var c=s,l=o}return l}function hn(e,t){var r=[];return fn(e,(function(e,n,i){t(e,n,i)&&r.push(e)})),r}function yn(e,t,r,n,i){var a=-1,o=e.length;for(r||(r=ya),i||(i=[]);++a<o;){var s=e[a];t>0&&r(s)?t>1?yn(s,t-1,r,n,i):Mt(i,s):n||(i[i.length]=s)}return i}var vn=Ri(),bn=Ri(!0);function kn(e,t){return e&&vn(e,t,Is)}function xn(e,t){return e&&bn(e,t,Is)}function En(e,t){return It(t,(function(t){return Qo(e[t])}))}function Sn(e,t){for(var r=0,n=(t=bi(t,e)).length;null!=e&&r<n;)e=e[La(t[r++])];return r&&r==n?e:i}function Dn(e,t,r){var n=t(e);return Ho(e)?n:Mt(n,r(e))}function wn(e){return null==e?e===i?"[object Undefined]":"[object Null]":Ze&&Ze in Te(e)?function(e){var t=Me.call(e,Ze),r=e[Ze];try{e[Ze]=i;var n=!0}catch(e){}var a=Be.call(e);n&&(t?e[Ze]=r:delete e[Ze]);return a}(e):function(e){return Be.call(e)}(e)}function Tn(e,t){return e>t}function Cn(e,t){return null!=e&&Me.call(e,t)}function An(e,t){return null!=e&&t in Te(e)}function Nn(e,t,r){for(var a=r?Ot:Ft,o=e[0].length,s=e.length,c=s,l=n(s),u=1/0,d=[];c--;){var p=e[c];c&&t&&(p=Rt(p,Zt(t))),u=vr(p.length,u),l[c]=!r&&(t||o>=120&&p.length>=120)?new Gr(c&&p):i}p=e[0];var f=-1,m=l[0];e:for(;++f<o&&d.length<u;){var g=p[f],_=t?t(g):g;if(g=r||0!==g?g:0,!(m?tr(m,_):a(d,_,r))){for(c=s;--c;){var h=l[c];if(!(h?tr(h,_):a(e[c],_,r)))continue e}m&&m.push(_),d.push(g)}}return d}function Pn(e,t,r){var n=null==(e=Ca(e,t=bi(t,e)))?e:e[La(Ya(t))];return null==n?i:Tt(n,e,r)}function In(e){return rs(e)&&wn(e)==y}function Fn(e,t,r,n,a){return e===t||(null==e||null==t||!rs(e)&&!rs(t)?e!=e&&t!=t:function(e,t,r,n,a,o){var s=Ho(e),c=Ho(t),l=s?v:ga(e),u=c?v:ga(t),d=(l=l==y?T:l)==T,p=(u=u==y?T:u)==T,f=l==u;if(f&&$o(e)){if(!$o(t))return!1;s=!0,d=!1}if(f&&!d)return o||(o=new $r),s||us(e)?ra(e,t,r,n,a,o):function(e,t,r,n,i,a,o){switch(r){case R:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case O:return!(e.byteLength!=t.byteLength||!a(new He(e),new He(t)));case b:case k:case w:return Uo(+e,+t);case x:return e.name==t.name&&e.message==t.message;case A:case P:return e==t+"";case D:var s=cr;case N:var c=1&n;if(s||(s=dr),e.size!=t.size&&!c)return!1;var l=o.get(e);if(l)return l==t;n|=2,o.set(e,t);var u=ra(s(e),s(t),n,i,a,o);return o.delete(e),u;case I:if(jr)return jr.call(e)==jr.call(t)}return!1}(e,t,l,r,n,a,o);if(!(1&r)){var m=d&&Me.call(e,"__wrapped__"),g=p&&Me.call(t,"__wrapped__");if(m||g){var _=m?e.value():e,h=g?t.value():t;return o||(o=new $r),a(_,h,r,n,o)}}if(!f)return!1;return o||(o=new $r),function(e,t,r,n,a,o){var s=1&r,c=ia(e),l=c.length,u=ia(t),d=u.length;if(l!=d&&!s)return!1;var p=l;for(;p--;){var f=c[p];if(!(s?f in t:Me.call(t,f)))return!1}var m=o.get(e),g=o.get(t);if(m&&g)return m==t&&g==e;var _=!0;o.set(e,t),o.set(t,e);var h=s;for(;++p<l;){var y=e[f=c[p]],v=t[f];if(n)var b=s?n(v,y,f,t,e,o):n(y,v,f,e,t,o);if(!(b===i?y===v||a(y,v,r,n,o):b)){_=!1;break}h||(h="constructor"==f)}if(_&&!h){var k=e.constructor,x=t.constructor;k==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof k&&k instanceof k&&"function"==typeof x&&x instanceof x||(_=!1)}return o.delete(e),o.delete(t),_}(e,t,r,n,a,o)}(e,t,r,n,Fn,a))}function On(e,t,r,n){var a=r.length,o=a,s=!n;if(null==e)return!o;for(e=Te(e);a--;){var c=r[a];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<o;){var l=(c=r[a])[0],u=e[l],d=c[1];if(s&&c[2]){if(u===i&&!(l in e))return!1}else{var p=new $r;if(n)var f=n(u,d,l,e,t,p);if(!(f===i?Fn(d,u,3,n,p):f))return!1}}return!0}function Rn(e){return!(!ts(e)||(t=e,je&&je in t))&&(Qo(e)?qe:ye).test(ja(e));var t}function Mn(e){return"function"==typeof e?e:null==e?ic:"object"==typeof e?Ho(e)?qn(e[0],e[1]):Un(e):fc(e)}function Ln(e){if(!Sa(e))return Gt(e);var t=[];for(var r in Te(e))Me.call(e,r)&&"constructor"!=r&&t.push(r);return t}function jn(e){if(!ts(e))return function(e){var t=[];if(null!=e)for(var r in Te(e))t.push(r);return t}(e);var t=Sa(e),r=[];for(var n in e)("constructor"!=n||!t&&Me.call(e,n))&&r.push(n);return r}function Bn(e,t){return e<t}function zn(e,t){var r=-1,i=Wo(e)?n(e.length):[];return fn(e,(function(e,n,a){i[++r]=t(e,n,a)})),i}function Un(e){var t=da(e);return 1==t.length&&t[0][2]?wa(t[0][0],t[0][1]):function(r){return r===e||On(r,e,t)}}function qn(e,t){return ka(e)&&Da(t)?wa(La(e),t):function(r){var n=Ts(r,e);return n===i&&n===t?Cs(r,e):Fn(t,n,3)}}function Jn(e,t,r,n,a){e!==t&&vn(t,(function(o,s){if(a||(a=new $r),ts(o))!function(e,t,r,n,a,o,s){var c=Aa(e,r),l=Aa(t,r),u=s.get(l);if(u)return void en(e,r,u);var d=o?o(c,l,r+"",e,t,s):i,p=d===i;if(p){var f=Ho(l),m=!f&&$o(l),g=!f&&!m&&us(l);d=l,f||m||g?Ho(c)?d=c:Go(c)?d=Ni(c):m?(p=!1,d=Si(l,!0)):g?(p=!1,d=wi(l,!0)):d=[]:as(l)||Vo(l)?(d=c,Vo(c)?d=ys(c):ts(c)&&!Qo(c)||(d=ha(l))):p=!1}p&&(s.set(l,d),a(d,l,n,o,s),s.delete(l));en(e,r,d)}(e,t,s,r,Jn,n,a);else{var c=n?n(Aa(e,s),o,s+"",e,t,a):i;c===i&&(c=o),en(e,s,c)}}),Fs)}function Vn(e,t){var r=e.length;if(r)return va(t+=t<0?r:0,r)?e[t]:i}function Hn(e,t,r){t=t.length?Rt(t,(function(e){return Ho(e)?function(t){return Sn(t,1===e.length?e[0]:e)}:e})):[ic];var n=-1;t=Rt(t,Zt(la()));var i=zn(e,(function(e,r,i){var a=Rt(t,(function(t){return t(e)}));return{criteria:a,index:++n,value:e}}));return function(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e}(i,(function(e,t){return function(e,t,r){var n=-1,i=e.criteria,a=t.criteria,o=i.length,s=r.length;for(;++n<o;){var c=Ti(i[n],a[n]);if(c)return n>=s?c:c*("desc"==r[n]?-1:1)}return e.index-t.index}(e,t,r)}))}function Kn(e,t,r){for(var n=-1,i=t.length,a={};++n<i;){var o=t[n],s=Sn(e,o);r(s,o)&&ei(a,bi(o,e),s)}return a}function Wn(e,t,r,n){var i=n?Vt:Jt,a=-1,o=t.length,s=e;for(e===t&&(t=Ni(t)),r&&(s=Rt(e,Zt(r)));++a<o;)for(var c=0,l=t[a],u=r?r(l):l;(c=i(s,u,c,n))>-1;)s!==e&&Ye.call(s,c,1),Ye.call(e,c,1);return e}function Gn(e,t){for(var r=e?t.length:0,n=r-1;r--;){var i=t[r];if(r==n||i!==a){var a=i;va(i)?Ye.call(e,i,1):pi(e,i)}}return e}function $n(e,t){return e+_t(xr()*(t-e+1))}function Yn(e,t){var r="";if(!e||t<1||t>m)return r;do{t%2&&(r+=e),(t=_t(t/2))&&(e+=e)}while(t);return r}function Xn(e,t){return Ia(Ta(e,t,ic),e+"")}function Qn(e){return Xr(Us(e))}function Zn(e,t){var r=Us(e);return Ra(r,cn(t,0,r.length))}function ei(e,t,r,n){if(!ts(e))return e;for(var a=-1,o=(t=bi(t,e)).length,s=o-1,c=e;null!=c&&++a<o;){var l=La(t[a]),u=r;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(a!=s){var d=c[l];(u=n?n(d,l,c):i)===i&&(u=ts(d)?d:va(t[a+1])?[]:{})}tn(c,l,u),c=c[l]}return e}var ti=Nr?function(e,t){return Nr.set(e,t),e}:ic,ri=rt?function(e,t){return rt(e,"toString",{configurable:!0,enumerable:!1,value:tc(t),writable:!0})}:ic;function ni(e){return Ra(Us(e))}function ii(e,t,r){var i=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(r=r>a?a:r)<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;for(var o=n(a);++i<a;)o[i]=e[i+t];return o}function ai(e,t){var r;return fn(e,(function(e,n,i){return!(r=t(e,n,i))})),!!r}function oi(e,t,r){var n=0,i=null==e?n:e.length;if("number"==typeof t&&t==t&&i<=2147483647){for(;n<i;){var a=n+i>>>1,o=e[a];null!==o&&!ls(o)&&(r?o<=t:o<t)?n=a+1:i=a}return i}return si(e,t,ic,r)}function si(e,t,r,n){var a=0,o=null==e?0:e.length;if(0===o)return 0;for(var s=(t=r(t))!=t,c=null===t,l=ls(t),u=t===i;a<o;){var d=_t((a+o)/2),p=r(e[d]),f=p!==i,m=null===p,g=p==p,_=ls(p);if(s)var h=n||g;else h=u?g&&(n||f):c?g&&f&&(n||!m):l?g&&f&&!m&&(n||!_):!m&&!_&&(n?p<=t:p<t);h?a=d+1:o=d}return vr(o,4294967294)}function ci(e,t){for(var r=-1,n=e.length,i=0,a=[];++r<n;){var o=e[r],s=t?t(o):o;if(!r||!Uo(s,c)){var c=s;a[i++]=0===o?0:o}}return a}function li(e){return"number"==typeof e?e:ls(e)?g:+e}function ui(e){if("string"==typeof e)return e;if(Ho(e))return Rt(e,ui)+"";if(ls(e))return Br?Br.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function di(e,t,r){var n=-1,i=Ft,a=e.length,o=!0,s=[],c=s;if(r)o=!1,i=Ot;else if(a>=200){var l=t?null:Yi(e);if(l)return dr(l);o=!1,i=tr,c=new Gr}else c=t?[]:s;e:for(;++n<a;){var u=e[n],d=t?t(u):u;if(u=r||0!==u?u:0,o&&d==d){for(var p=c.length;p--;)if(c[p]===d)continue e;t&&c.push(d),s.push(u)}else i(c,d,r)||(c!==s&&c.push(d),s.push(u))}return s}function pi(e,t){return null==(e=Ca(e,t=bi(t,e)))||delete e[La(Ya(t))]}function fi(e,t,r,n){return ei(e,t,r(Sn(e,t)),n)}function mi(e,t,r,n){for(var i=e.length,a=n?i:-1;(n?a--:++a<i)&&t(e[a],a,e););return r?ii(e,n?0:a,n?a+1:i):ii(e,n?a+1:0,n?i:a)}function gi(e,t){var r=e;return r instanceof Vr&&(r=r.value()),Lt(t,(function(e,t){return t.func.apply(t.thisArg,Mt([e],t.args))}),r)}function _i(e,t,r){var i=e.length;if(i<2)return i?di(e[0]):[];for(var a=-1,o=n(i);++a<i;)for(var s=e[a],c=-1;++c<i;)c!=a&&(o[a]=pn(o[a]||s,e[c],t,r));return di(yn(o,1),t,r)}function hi(e,t,r){for(var n=-1,a=e.length,o=t.length,s={};++n<a;){var c=n<o?t[n]:i;r(s,e[n],c)}return s}function yi(e){return Go(e)?e:[]}function vi(e){return"function"==typeof e?e:ic}function bi(e,t){return Ho(e)?e:ka(e,t)?[e]:Ma(vs(e))}var ki=Xn;function xi(e,t,r){var n=e.length;return r=r===i?n:r,!t&&r>=n?e:ii(e,t,r)}var Ei=it||function(e){return gt.clearTimeout(e)};function Si(e,t){if(t)return e.slice();var r=e.length,n=Ke?Ke(r):new e.constructor(r);return e.copy(n),n}function Di(e){var t=new e.constructor(e.byteLength);return new He(t).set(new He(e)),t}function wi(e,t){var r=t?Di(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function Ti(e,t){if(e!==t){var r=e!==i,n=null===e,a=e==e,o=ls(e),s=t!==i,c=null===t,l=t==t,u=ls(t);if(!c&&!u&&!o&&e>t||o&&s&&l&&!c&&!u||n&&s&&l||!r&&l||!a)return 1;if(!n&&!o&&!u&&e<t||u&&r&&a&&!n&&!o||c&&r&&a||!s&&a||!l)return-1}return 0}function Ci(e,t,r,i){for(var a=-1,o=e.length,s=r.length,c=-1,l=t.length,u=yr(o-s,0),d=n(l+u),p=!i;++c<l;)d[c]=t[c];for(;++a<s;)(p||a<o)&&(d[r[a]]=e[a]);for(;u--;)d[c++]=e[a++];return d}function Ai(e,t,r,i){for(var a=-1,o=e.length,s=-1,c=r.length,l=-1,u=t.length,d=yr(o-c,0),p=n(d+u),f=!i;++a<d;)p[a]=e[a];for(var m=a;++l<u;)p[m+l]=t[l];for(;++s<c;)(f||a<o)&&(p[m+r[s]]=e[a++]);return p}function Ni(e,t){var r=-1,i=e.length;for(t||(t=n(i));++r<i;)t[r]=e[r];return t}function Pi(e,t,r,n){var a=!r;r||(r={});for(var o=-1,s=t.length;++o<s;){var c=t[o],l=n?n(r[c],e[c],c,r,e):i;l===i&&(l=e[c]),a?on(r,c,l):tn(r,c,l)}return r}function Ii(e,t){return function(r,n){var i=Ho(r)?Ct:nn,a=t?t():{};return i(r,e,la(n,2),a)}}function Fi(e){return Xn((function(t,r){var n=-1,a=r.length,o=a>1?r[a-1]:i,s=a>2?r[2]:i;for(o=e.length>3&&"function"==typeof o?(a--,o):i,s&&ba(r[0],r[1],s)&&(o=a<3?i:o,a=1),t=Te(t);++n<a;){var c=r[n];c&&e(t,c,n,o)}return t}))}function Oi(e,t){return function(r,n){if(null==r)return r;if(!Wo(r))return e(r,n);for(var i=r.length,a=t?i:-1,o=Te(r);(t?a--:++a<i)&&!1!==n(o[a],a,o););return r}}function Ri(e){return function(t,r,n){for(var i=-1,a=Te(t),o=n(t),s=o.length;s--;){var c=o[e?s:++i];if(!1===r(a[c],c,a))break}return t}}function Mi(e){return function(t){var r=sr(t=vs(t))?mr(t):i,n=r?r[0]:t.charAt(0),a=r?xi(r,1).join(""):t.slice(1);return n[e]()+a}}function Li(e){return function(t){return Lt(Qs(Vs(t).replace(et,"")),e,"")}}function ji(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 r=Ur(e.prototype),n=e.apply(r,t);return ts(n)?n:r}}function Bi(e){return function(t,r,n){var a=Te(t);if(!Wo(t)){var o=la(r,3);t=Is(t),r=function(e){return o(a[e],e,a)}}var s=e(t,r,n);return s>-1?a[o?t[s]:s]:i}}function zi(e){return na((function(t){var r=t.length,n=r,o=Jr.prototype.thru;for(e&&t.reverse();n--;){var s=t[n];if("function"!=typeof s)throw new Ne(a);if(o&&!c&&"wrapper"==sa(s))var c=new Jr([],!0)}for(n=c?n:r;++n<r;){var l=sa(s=t[n]),u="wrapper"==l?oa(s):i;c=u&&xa(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?c[sa(u[0])].apply(c,u[3]):1==s.length&&xa(s)?c[l]():c.thru(s)}return function(){var e=arguments,n=e[0];if(c&&1==e.length&&Ho(n))return c.plant(n).value();for(var i=0,a=r?t[i].apply(this,e):n;++i<r;)a=t[i].call(this,a);return a}}))}function Ui(e,t,r,a,o,s,c,l,u,p){var f=t&d,m=1&t,g=2&t,_=24&t,h=512&t,y=g?i:ji(e);return function d(){for(var v=arguments.length,b=n(v),k=v;k--;)b[k]=arguments[k];if(_)var x=ca(d),E=function(e,t){for(var r=e.length,n=0;r--;)e[r]===t&&++n;return n}(b,x);if(a&&(b=Ci(b,a,o,_)),s&&(b=Ai(b,s,c,_)),v-=E,_&&v<p){var S=ur(b,x);return Gi(e,t,Ui,d.placeholder,r,b,S,l,u,p-v)}var D=m?r:this,w=g?D[e]:e;return v=b.length,l?b=function(e,t){var r=e.length,n=vr(t.length,r),a=Ni(e);for(;n--;){var o=t[n];e[n]=va(o,r)?a[o]:i}return e}(b,l):h&&v>1&&b.reverse(),f&&u<v&&(b.length=u),this&&this!==gt&&this instanceof d&&(w=y||ji(w)),w.apply(D,b)}}function qi(e,t){return function(r,n){return function(e,t,r,n){return kn(e,(function(e,i,a){t(n,r(e),i,a)})),n}(r,e,t(n),{})}}function Ji(e,t){return function(r,n){var a;if(r===i&&n===i)return t;if(r!==i&&(a=r),n!==i){if(a===i)return n;"string"==typeof r||"string"==typeof n?(r=ui(r),n=ui(n)):(r=li(r),n=li(n)),a=e(r,n)}return a}}function Vi(e){return na((function(t){return t=Rt(t,Zt(la())),Xn((function(r){var n=this;return e(t,(function(e){return Tt(e,n,r)}))}))}))}function Hi(e,t){var r=(t=t===i?" ":ui(t)).length;if(r<2)return r?Yn(t,e):t;var n=Yn(t,mt(e/fr(t)));return sr(t)?xi(mr(n),0,e).join(""):n.slice(0,e)}function Ki(e){return function(t,r,a){return a&&"number"!=typeof a&&ba(t,r,a)&&(r=a=i),t=ms(t),r===i?(r=t,t=0):r=ms(r),function(e,t,r,i){for(var a=-1,o=yr(mt((t-e)/(r||1)),0),s=n(o);o--;)s[i?o:++a]=e,e+=r;return s}(t,r,a=a===i?t<r?1:-1:ms(a),e)}}function Wi(e){return function(t,r){return"string"==typeof t&&"string"==typeof r||(t=hs(t),r=hs(r)),e(t,r)}}function Gi(e,t,r,n,a,o,s,c,d,p){var f=8&t;t|=f?l:u,4&(t&=~(f?u:l))||(t&=-4);var m=[e,t,a,f?o:i,f?s:i,f?i:o,f?i:s,c,d,p],g=r.apply(i,m);return xa(e)&&Na(g,m),g.placeholder=n,Fa(g,e,t)}function $i(e){var t=we[e];return function(e,r){if(e=hs(e),(r=null==r?0:vr(gs(r),292))&&bt(e)){var n=(vs(e)+"e").split("e");return+((n=(vs(t(n[0]+"e"+(+n[1]+r)))+"e").split("e"))[0]+"e"+(+n[1]-r))}return t(e)}}var Yi=Tr&&1/dr(new Tr([,-0]))[1]==f?function(e){return new Tr(e)}:lc;function Xi(e){return function(t){var r=ga(t);return r==D?cr(t):r==N?pr(t):function(e,t){return Rt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Qi(e,t,r,o,f,m,g,_){var h=2&t;if(!h&&"function"!=typeof e)throw new Ne(a);var y=o?o.length:0;if(y||(t&=-97,o=f=i),g=g===i?g:yr(gs(g),0),_=_===i?_:gs(_),y-=f?f.length:0,t&u){var v=o,b=f;o=f=i}var k=h?i:oa(e),x=[e,t,r,o,f,v,b,m,g,_];if(k&&function(e,t){var r=e[1],n=t[1],i=r|n,a=i<131,o=n==d&&8==r||n==d&&r==p&&e[7].length<=t[8]||384==n&&t[7].length<=t[8]&&8==r;if(!a&&!o)return e;1&n&&(e[2]=t[2],i|=1&r?0:4);var c=t[3];if(c){var l=e[3];e[3]=l?Ci(l,c,t[4]):c,e[4]=l?ur(e[3],s):t[4]}(c=t[5])&&(l=e[5],e[5]=l?Ai(l,c,t[6]):c,e[6]=l?ur(e[5],s):t[6]);(c=t[7])&&(e[7]=c);n&d&&(e[8]=null==e[8]?t[8]:vr(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=i}(x,k),e=x[0],t=x[1],r=x[2],o=x[3],f=x[4],!(_=x[9]=x[9]===i?h?0:e.length:yr(x[9]-y,0))&&24&t&&(t&=-25),t&&1!=t)E=8==t||t==c?function(e,t,r){var a=ji(e);return function o(){for(var s=arguments.length,c=n(s),l=s,u=ca(o);l--;)c[l]=arguments[l];var d=s<3&&c[0]!==u&&c[s-1]!==u?[]:ur(c,u);return(s-=d.length)<r?Gi(e,t,Ui,o.placeholder,i,c,d,i,i,r-s):Tt(this&&this!==gt&&this instanceof o?a:e,this,c)}}(e,t,_):t!=l&&33!=t||f.length?Ui.apply(i,x):function(e,t,r,i){var a=1&t,o=ji(e);return function t(){for(var s=-1,c=arguments.length,l=-1,u=i.length,d=n(u+c),p=this&&this!==gt&&this instanceof t?o:e;++l<u;)d[l]=i[l];for(;c--;)d[l++]=arguments[++s];return Tt(p,a?r:this,d)}}(e,t,r,o);else var E=function(e,t,r){var n=1&t,i=ji(e);return function t(){return(this&&this!==gt&&this instanceof t?i:e).apply(n?r:this,arguments)}}(e,t,r);return Fa((k?ti:Na)(E,x),e,t)}function Zi(e,t,r,n){return e===i||Uo(e,Fe[r])&&!Me.call(n,r)?t:e}function ea(e,t,r,n,a,o){return ts(e)&&ts(t)&&(o.set(t,e),Jn(e,t,i,ea,o),o.delete(t)),e}function ta(e){return as(e)?i:e}function ra(e,t,r,n,a,o){var s=1&r,c=e.length,l=t.length;if(c!=l&&!(s&&l>c))return!1;var u=o.get(e),d=o.get(t);if(u&&d)return u==t&&d==e;var p=-1,f=!0,m=2&r?new Gr:i;for(o.set(e,t),o.set(t,e);++p<c;){var g=e[p],_=t[p];if(n)var h=s?n(_,g,p,t,e,o):n(g,_,p,e,t,o);if(h!==i){if(h)continue;f=!1;break}if(m){if(!Bt(t,(function(e,t){if(!tr(m,t)&&(g===e||a(g,e,r,n,o)))return m.push(t)}))){f=!1;break}}else if(g!==_&&!a(g,_,r,n,o)){f=!1;break}}return o.delete(e),o.delete(t),f}function na(e){return Ia(Ta(e,i,Ha),e+"")}function ia(e){return Dn(e,Is,fa)}function aa(e){return Dn(e,Fs,ma)}var oa=Nr?function(e){return Nr.get(e)}:lc;function sa(e){for(var t=e.name+"",r=Pr[t],n=Me.call(Pr,t)?r.length:0;n--;){var i=r[n],a=i.func;if(null==a||a==e)return i.name}return t}function ca(e){return(Me.call(zr,"placeholder")?zr:e).placeholder}function la(){var e=zr.iteratee||ac;return e=e===ac?Mn:e,arguments.length?e(arguments[0],arguments[1]):e}function ua(e,t){var r,n,i=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?i["string"==typeof t?"string":"hash"]:i.map}function da(e){for(var t=Is(e),r=t.length;r--;){var n=t[r],i=e[n];t[r]=[n,i,Da(i)]}return t}function pa(e,t){var r=function(e,t){return null==e?i:e[t]}(e,t);return Rn(r)?r:i}var fa=ht?function(e){return null==e?[]:(e=Te(e),It(ht(e),(function(t){return $e.call(e,t)})))}:_c,ma=ht?function(e){for(var t=[];e;)Mt(t,fa(e)),e=We(e);return t}:_c,ga=wn;function _a(e,t,r){for(var n=-1,i=(t=bi(t,e)).length,a=!1;++n<i;){var o=La(t[n]);if(!(a=null!=e&&r(e,o)))break;e=e[o]}return a||++n!=i?a:!!(i=null==e?0:e.length)&&es(i)&&va(o,i)&&(Ho(e)||Vo(e))}function ha(e){return"function"!=typeof e.constructor||Sa(e)?{}:Ur(We(e))}function ya(e){return Ho(e)||Vo(e)||!!(Xe&&e&&e[Xe])}function va(e,t){var r=typeof e;return!!(t=null==t?m:t)&&("number"==r||"symbol"!=r&&be.test(e))&&e>-1&&e%1==0&&e<t}function ba(e,t,r){if(!ts(r))return!1;var n=typeof t;return!!("number"==n?Wo(r)&&va(t,r.length):"string"==n&&t in r)&&Uo(r[t],e)}function ka(e,t){if(Ho(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!ls(e))||(re.test(e)||!te.test(e)||null!=t&&e in Te(t))}function xa(e){var t=sa(e),r=zr[t];if("function"!=typeof r||!(t in Vr.prototype))return!1;if(e===r)return!0;var n=oa(r);return!!n&&e===n[0]}(Sr&&ga(new Sr(new ArrayBuffer(1)))!=R||Dr&&ga(new Dr)!=D||wr&&ga(wr.resolve())!=C||Tr&&ga(new Tr)!=N||Cr&&ga(new Cr)!=F)&&(ga=function(e){var t=wn(e),r=t==T?e.constructor:i,n=r?ja(r):"";if(n)switch(n){case Ir:return R;case Fr:return D;case Or:return C;case Rr:return N;case Mr:return F}return t});var Ea=Oe?Qo:hc;function Sa(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Fe)}function Da(e){return e==e&&!ts(e)}function wa(e,t){return function(r){return null!=r&&(r[e]===t&&(t!==i||e in Te(r)))}}function Ta(e,t,r){return t=yr(t===i?e.length-1:t,0),function(){for(var i=arguments,a=-1,o=yr(i.length-t,0),s=n(o);++a<o;)s[a]=i[t+a];a=-1;for(var c=n(t+1);++a<t;)c[a]=i[a];return c[t]=r(s),Tt(e,this,c)}}function Ca(e,t){return t.length<2?e:Sn(e,ii(t,0,-1))}function Aa(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Na=Oa(ti),Pa=ft||function(e,t){return gt.setTimeout(e,t)},Ia=Oa(ri);function Fa(e,t,r){var n=t+"";return Ia(e,function(e,t){var r=t.length;if(!r)return e;var n=r-1;return t[n]=(r>1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(ce,"{\n/* [wrapped with "+t+"] */\n")}(n,function(e,t){return At(h,(function(r){var n="_."+r[0];t&r[1]&&!Ft(e,n)&&e.push(n)})),e.sort()}(function(e){var t=e.match(le);return t?t[1].split(ue):[]}(n),r)))}function Oa(e){var t=0,r=0;return function(){var n=br(),a=16-(n-r);if(r=n,a>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(i,arguments)}}function Ra(e,t){var r=-1,n=e.length,a=n-1;for(t=t===i?n:t;++r<t;){var o=$n(r,a),s=e[o];e[o]=e[r],e[r]=s}return e.length=t,e}var Ma=function(e){var t=Ro(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(ne,(function(e,r,n,i){t.push(n?i.replace(fe,"$1"):r||e)})),t}));function La(e){if("string"==typeof e||ls(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function ja(e){if(null!=e){try{return Re.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Ba(e){if(e instanceof Vr)return e.clone();var t=new Jr(e.__wrapped__,e.__chain__);return t.__actions__=Ni(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var za=Xn((function(e,t){return Go(e)?pn(e,yn(t,1,Go,!0)):[]})),Ua=Xn((function(e,t){var r=Ya(t);return Go(r)&&(r=i),Go(e)?pn(e,yn(t,1,Go,!0),la(r,2)):[]})),qa=Xn((function(e,t){var r=Ya(t);return Go(r)&&(r=i),Go(e)?pn(e,yn(t,1,Go,!0),i,r):[]}));function Ja(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=null==r?0:gs(r);return i<0&&(i=yr(n+i,0)),qt(e,la(t,3),i)}function Va(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var a=n-1;return r!==i&&(a=gs(r),a=r<0?yr(n+a,0):vr(a,n-1)),qt(e,la(t,3),a,!0)}function Ha(e){return(null==e?0:e.length)?yn(e,1):[]}function Ka(e){return e&&e.length?e[0]:i}var Wa=Xn((function(e){var t=Rt(e,yi);return t.length&&t[0]===e[0]?Nn(t):[]})),Ga=Xn((function(e){var t=Ya(e),r=Rt(e,yi);return t===Ya(r)?t=i:r.pop(),r.length&&r[0]===e[0]?Nn(r,la(t,2)):[]})),$a=Xn((function(e){var t=Ya(e),r=Rt(e,yi);return(t="function"==typeof t?t:i)&&r.pop(),r.length&&r[0]===e[0]?Nn(r,i,t):[]}));function Ya(e){var t=null==e?0:e.length;return t?e[t-1]:i}var Xa=Xn(Qa);function Qa(e,t){return e&&e.length&&t&&t.length?Wn(e,t):e}var Za=na((function(e,t){var r=null==e?0:e.length,n=sn(e,t);return Gn(e,Rt(t,(function(e){return va(e,r)?+e:e})).sort(Ti)),n}));function eo(e){return null==e?e:Er.call(e)}var to=Xn((function(e){return di(yn(e,1,Go,!0))})),ro=Xn((function(e){var t=Ya(e);return Go(t)&&(t=i),di(yn(e,1,Go,!0),la(t,2))})),no=Xn((function(e){var t=Ya(e);return t="function"==typeof t?t:i,di(yn(e,1,Go,!0),i,t)}));function io(e){if(!e||!e.length)return[];var t=0;return e=It(e,(function(e){if(Go(e))return t=yr(e.length,t),!0})),Xt(t,(function(t){return Rt(e,Wt(t))}))}function ao(e,t){if(!e||!e.length)return[];var r=io(e);return null==t?r:Rt(r,(function(e){return Tt(t,i,e)}))}var oo=Xn((function(e,t){return Go(e)?pn(e,t):[]})),so=Xn((function(e){return _i(It(e,Go))})),co=Xn((function(e){var t=Ya(e);return Go(t)&&(t=i),_i(It(e,Go),la(t,2))})),lo=Xn((function(e){var t=Ya(e);return t="function"==typeof t?t:i,_i(It(e,Go),i,t)})),uo=Xn(io);var po=Xn((function(e){var t=e.length,r=t>1?e[t-1]:i;return r="function"==typeof r?(e.pop(),r):i,ao(e,r)}));function fo(e){var t=zr(e);return t.__chain__=!0,t}function mo(e,t){return t(e)}var go=na((function(e){var t=e.length,r=t?e[0]:0,n=this.__wrapped__,a=function(t){return sn(t,e)};return!(t>1||this.__actions__.length)&&n instanceof Vr&&va(r)?((n=n.slice(r,+r+(t?1:0))).__actions__.push({func:mo,args:[a],thisArg:i}),new Jr(n,this.__chain__).thru((function(e){return t&&!e.length&&e.push(i),e}))):this.thru(a)}));var _o=Ii((function(e,t,r){Me.call(e,r)?++e[r]:on(e,r,1)}));var ho=Bi(Ja),yo=Bi(Va);function vo(e,t){return(Ho(e)?At:fn)(e,la(t,3))}function bo(e,t){return(Ho(e)?Nt:mn)(e,la(t,3))}var ko=Ii((function(e,t,r){Me.call(e,r)?e[r].push(t):on(e,r,[t])}));var xo=Xn((function(e,t,r){var i=-1,a="function"==typeof t,o=Wo(e)?n(e.length):[];return fn(e,(function(e){o[++i]=a?Tt(t,e,r):Pn(e,t,r)})),o})),Eo=Ii((function(e,t,r){on(e,r,t)}));function So(e,t){return(Ho(e)?Rt:zn)(e,la(t,3))}var Do=Ii((function(e,t,r){e[r?0:1].push(t)}),(function(){return[[],[]]}));var wo=Xn((function(e,t){if(null==e)return[];var r=t.length;return r>1&&ba(e,t[0],t[1])?t=[]:r>2&&ba(t[0],t[1],t[2])&&(t=[t[0]]),Hn(e,yn(t,1),[])})),To=ut||function(){return gt.Date.now()};function Co(e,t,r){return t=r?i:t,t=e&&null==t?e.length:t,Qi(e,d,i,i,i,i,t)}function Ao(e,t){var r;if("function"!=typeof t)throw new Ne(a);return e=gs(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=i),r}}var No=Xn((function(e,t,r){var n=1;if(r.length){var i=ur(r,ca(No));n|=l}return Qi(e,n,t,r,i)})),Po=Xn((function(e,t,r){var n=3;if(r.length){var i=ur(r,ca(Po));n|=l}return Qi(t,n,e,r,i)}));function Io(e,t,r){var n,o,s,c,l,u,d=0,p=!1,f=!1,m=!0;if("function"!=typeof e)throw new Ne(a);function g(t){var r=n,a=o;return n=o=i,d=t,c=e.apply(a,r)}function _(e){var r=e-u;return u===i||r>=t||r<0||f&&e-d>=s}function h(){var e=To();if(_(e))return y(e);l=Pa(h,function(e){var r=t-(e-u);return f?vr(r,s-(e-d)):r}(e))}function y(e){return l=i,m&&n?g(e):(n=o=i,c)}function v(){var e=To(),r=_(e);if(n=arguments,o=this,u=e,r){if(l===i)return function(e){return d=e,l=Pa(h,t),p?g(e):c}(u);if(f)return Ei(l),l=Pa(h,t),g(u)}return l===i&&(l=Pa(h,t)),c}return t=hs(t)||0,ts(r)&&(p=!!r.leading,s=(f="maxWait"in r)?yr(hs(r.maxWait)||0,t):s,m="trailing"in r?!!r.trailing:m),v.cancel=function(){l!==i&&Ei(l),d=0,n=u=o=l=i},v.flush=function(){return l===i?c:y(To())},v}var Fo=Xn((function(e,t){return dn(e,1,t)})),Oo=Xn((function(e,t,r){return dn(e,hs(t)||0,r)}));function Ro(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ne(a);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var o=e.apply(this,n);return r.cache=a.set(i,o)||a,o};return r.cache=new(Ro.Cache||Wr),r}function Mo(e){if("function"!=typeof e)throw new Ne(a);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)}}Ro.Cache=Wr;var Lo=ki((function(e,t){var r=(t=1==t.length&&Ho(t[0])?Rt(t[0],Zt(la())):Rt(yn(t,1),Zt(la()))).length;return Xn((function(n){for(var i=-1,a=vr(n.length,r);++i<a;)n[i]=t[i].call(this,n[i]);return Tt(e,this,n)}))})),jo=Xn((function(e,t){var r=ur(t,ca(jo));return Qi(e,l,i,t,r)})),Bo=Xn((function(e,t){var r=ur(t,ca(Bo));return Qi(e,u,i,t,r)})),zo=na((function(e,t){return Qi(e,p,i,i,i,t)}));function Uo(e,t){return e===t||e!=e&&t!=t}var qo=Wi(Tn),Jo=Wi((function(e,t){return e>=t})),Vo=In(function(){return arguments}())?In:function(e){return rs(e)&&Me.call(e,"callee")&&!$e.call(e,"callee")},Ho=n.isArray,Ko=kt?Zt(kt):function(e){return rs(e)&&wn(e)==O};function Wo(e){return null!=e&&es(e.length)&&!Qo(e)}function Go(e){return rs(e)&&Wo(e)}var $o=vt||hc,Yo=xt?Zt(xt):function(e){return rs(e)&&wn(e)==k};function Xo(e){if(!rs(e))return!1;var t=wn(e);return t==x||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!as(e)}function Qo(e){if(!ts(e))return!1;var t=wn(e);return t==E||t==S||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Zo(e){return"number"==typeof e&&e==gs(e)}function es(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=m}function ts(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function rs(e){return null!=e&&"object"==typeof e}var ns=Et?Zt(Et):function(e){return rs(e)&&ga(e)==D};function is(e){return"number"==typeof e||rs(e)&&wn(e)==w}function as(e){if(!rs(e)||wn(e)!=T)return!1;var t=We(e);if(null===t)return!0;var r=Me.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Re.call(r)==ze}var os=St?Zt(St):function(e){return rs(e)&&wn(e)==A};var ss=Dt?Zt(Dt):function(e){return rs(e)&&ga(e)==N};function cs(e){return"string"==typeof e||!Ho(e)&&rs(e)&&wn(e)==P}function ls(e){return"symbol"==typeof e||rs(e)&&wn(e)==I}var us=wt?Zt(wt):function(e){return rs(e)&&es(e.length)&&!!ct[wn(e)]};var ds=Wi(Bn),ps=Wi((function(e,t){return e<=t}));function fs(e){if(!e)return[];if(Wo(e))return cs(e)?mr(e):Ni(e);if(Qe&&e[Qe])return function(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}(e[Qe]());var t=ga(e);return(t==D?cr:t==N?dr:Us)(e)}function ms(e){return e?(e=hs(e))===f||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function gs(e){var t=ms(e),r=t%1;return t==t?r?t-r:t:0}function _s(e){return e?cn(gs(e),0,_):0}function hs(e){if("number"==typeof e)return e;if(ls(e))return g;if(ts(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ts(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Qt(e);var r=he.test(e);return r||ve.test(e)?pt(e.slice(2),r?2:8):_e.test(e)?g:+e}function ys(e){return Pi(e,Fs(e))}function vs(e){return null==e?"":ui(e)}var bs=Fi((function(e,t){if(Sa(t)||Wo(t))Pi(t,Is(t),e);else for(var r in t)Me.call(t,r)&&tn(e,r,t[r])})),ks=Fi((function(e,t){Pi(t,Fs(t),e)})),xs=Fi((function(e,t,r,n){Pi(t,Fs(t),e,n)})),Es=Fi((function(e,t,r,n){Pi(t,Is(t),e,n)})),Ss=na(sn);var Ds=Xn((function(e,t){e=Te(e);var r=-1,n=t.length,a=n>2?t[2]:i;for(a&&ba(t[0],t[1],a)&&(n=1);++r<n;)for(var o=t[r],s=Fs(o),c=-1,l=s.length;++c<l;){var u=s[c],d=e[u];(d===i||Uo(d,Fe[u])&&!Me.call(e,u))&&(e[u]=o[u])}return e})),ws=Xn((function(e){return e.push(i,ea),Tt(Rs,i,e)}));function Ts(e,t,r){var n=null==e?i:Sn(e,t);return n===i?r:n}function Cs(e,t){return null!=e&&_a(e,t,An)}var As=qi((function(e,t,r){null!=t&&"function"!=typeof t.toString&&(t=Be.call(t)),e[t]=r}),tc(ic)),Ns=qi((function(e,t,r){null!=t&&"function"!=typeof t.toString&&(t=Be.call(t)),Me.call(e,t)?e[t].push(r):e[t]=[r]}),la),Ps=Xn(Pn);function Is(e){return Wo(e)?Yr(e):Ln(e)}function Fs(e){return Wo(e)?Yr(e,!0):jn(e)}var Os=Fi((function(e,t,r){Jn(e,t,r)})),Rs=Fi((function(e,t,r,n){Jn(e,t,r,n)})),Ms=na((function(e,t){var r={};if(null==e)return r;var n=!1;t=Rt(t,(function(t){return t=bi(t,e),n||(n=t.length>1),t})),Pi(e,aa(e),r),n&&(r=ln(r,7,ta));for(var i=t.length;i--;)pi(r,t[i]);return r}));var Ls=na((function(e,t){return null==e?{}:function(e,t){return Kn(e,t,(function(t,r){return Cs(e,r)}))}(e,t)}));function js(e,t){if(null==e)return{};var r=Rt(aa(e),(function(e){return[e]}));return t=la(t),Kn(e,r,(function(e,r){return t(e,r[0])}))}var Bs=Xi(Is),zs=Xi(Fs);function Us(e){return null==e?[]:er(e,Is(e))}var qs=Li((function(e,t,r){return t=t.toLowerCase(),e+(r?Js(t):t)}));function Js(e){return Xs(vs(e).toLowerCase())}function Vs(e){return(e=vs(e))&&e.replace(ke,ir).replace(tt,"")}var Hs=Li((function(e,t,r){return e+(r?"-":"")+t.toLowerCase()})),Ks=Li((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()})),Ws=Mi("toLowerCase");var Gs=Li((function(e,t,r){return e+(r?"_":"")+t.toLowerCase()}));var $s=Li((function(e,t,r){return e+(r?" ":"")+Xs(t)}));var Ys=Li((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),Xs=Mi("toUpperCase");function Qs(e,t,r){return e=vs(e),(t=r?i:t)===i?function(e){return at.test(e)}(e)?function(e){return e.match(nt)||[]}(e):function(e){return e.match(de)||[]}(e):e.match(t)||[]}var Zs=Xn((function(e,t){try{return Tt(e,i,t)}catch(e){return Xo(e)?e:new Se(e)}})),ec=na((function(e,t){return At(t,(function(t){t=La(t),on(e,t,No(e[t],e))})),e}));function tc(e){return function(){return e}}var rc=zi(),nc=zi(!0);function ic(e){return e}function ac(e){return Mn("function"==typeof e?e:ln(e,1))}var oc=Xn((function(e,t){return function(r){return Pn(r,e,t)}})),sc=Xn((function(e,t){return function(r){return Pn(e,r,t)}}));function cc(e,t,r){var n=Is(t),i=En(t,n);null!=r||ts(t)&&(i.length||!n.length)||(r=t,t=e,e=this,i=En(t,Is(t)));var a=!(ts(r)&&"chain"in r&&!r.chain),o=Qo(e);return At(i,(function(r){var n=t[r];e[r]=n,o&&(e.prototype[r]=function(){var t=this.__chain__;if(a||t){var r=e(this.__wrapped__);return(r.__actions__=Ni(this.__actions__)).push({func:n,args:arguments,thisArg:e}),r.__chain__=t,r}return n.apply(e,Mt([this.value()],arguments))})})),e}function lc(){}var uc=Vi(Rt),dc=Vi(Pt),pc=Vi(Bt);function fc(e){return ka(e)?Wt(La(e)):function(e){return function(t){return Sn(t,e)}}(e)}var mc=Ki(),gc=Ki(!0);function _c(){return[]}function hc(){return!1}var yc=Ji((function(e,t){return e+t}),0),vc=$i("ceil"),bc=Ji((function(e,t){return e/t}),1),kc=$i("floor");var xc,Ec=Ji((function(e,t){return e*t}),1),Sc=$i("round"),Dc=Ji((function(e,t){return e-t}),0);return zr.after=function(e,t){if("function"!=typeof t)throw new Ne(a);return e=gs(e),function(){if(--e<1)return t.apply(this,arguments)}},zr.ary=Co,zr.assign=bs,zr.assignIn=ks,zr.assignInWith=xs,zr.assignWith=Es,zr.at=Ss,zr.before=Ao,zr.bind=No,zr.bindAll=ec,zr.bindKey=Po,zr.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ho(e)?e:[e]},zr.chain=fo,zr.chunk=function(e,t,r){t=(r?ba(e,t,r):t===i)?1:yr(gs(t),0);var a=null==e?0:e.length;if(!a||t<1)return[];for(var o=0,s=0,c=n(mt(a/t));o<a;)c[s++]=ii(e,o,o+=t);return c},zr.compact=function(e){for(var t=-1,r=null==e?0:e.length,n=0,i=[];++t<r;){var a=e[t];a&&(i[n++]=a)}return i},zr.concat=function(){var e=arguments.length;if(!e)return[];for(var t=n(e-1),r=arguments[0],i=e;i--;)t[i-1]=arguments[i];return Mt(Ho(r)?Ni(r):[r],yn(t,1))},zr.cond=function(e){var t=null==e?0:e.length,r=la();return e=t?Rt(e,(function(e){if("function"!=typeof e[1])throw new Ne(a);return[r(e[0]),e[1]]})):[],Xn((function(r){for(var n=-1;++n<t;){var i=e[n];if(Tt(i[0],this,r))return Tt(i[1],this,r)}}))},zr.conforms=function(e){return function(e){var t=Is(e);return function(r){return un(r,e,t)}}(ln(e,1))},zr.
constant
=tc,zr.countBy=_o,zr.create=function(e,t){var r=Ur(e);return null==t?r:an(r,t)},zr.curry=function e(t,r,n){var a=Qi(t,8,i,i,i,i,i,r=n?i:r);return a.placeholder=e.placeholder,a},zr.curryRight=function e(t,r,n){var a=Qi(t,c,i,i,i,i,i,r=n?i:r);return a.placeholder=e.placeholder,a},zr.debounce=Io,zr.defaults=Ds,zr.defaultsDeep=ws,zr.defer=Fo,zr.delay=Oo,zr.difference=za,zr.differenceBy=Ua,zr.differenceWith=qa,zr.drop=function(e,t,r){var n=null==e?0:e.length;return n?ii(e,(t=r||t===i?1:gs(t))<0?0:t,n):[]},zr.dropRight=function(e,t,r){var n=null==e?0:e.length;return n?ii(e,0,(t=n-(t=r||t===i?1:gs(t)))<0?0:t):[]},zr.dropRightWhile=function(e,t){return e&&e.length?mi(e,la(t,3),!0,!0):[]},zr.dropWhile=function(e,t){return e&&e.length?mi(e,la(t,3),!0):[]},zr.fill=function(e,t,r,n){var a=null==e?0:e.length;return a?(r&&"number"!=typeof r&&ba(e,t,r)&&(r=0,n=a),function(e,t,r,n){var a=e.length;for((r=gs(r))<0&&(r=-r>a?0:a+r),(n=n===i||n>a?a:gs(n))<0&&(n+=a),n=r>n?0:_s(n);r<n;)e[r++]=t;return e}(e,t,r,n)):[]},zr.filter=function(e,t){return(Ho(e)?It:hn)(e,la(t,3))},zr.flatMap=function(e,t){return yn(So(e,t),1)},zr.flatMapDeep=function(e,t){return yn(So(e,t),f)},zr.flatMapDepth=function(e,t,r){return r=r===i?1:gs(r),yn(So(e,t),r)},zr.flatten=Ha,zr.flattenDeep=function(e){return(null==e?0:e.length)?yn(e,f):[]},zr.flattenDepth=function(e,t){return(null==e?0:e.length)?yn(e,t=t===i?1:gs(t)):[]},zr.flip=function(e){return Qi(e,512)},zr.flow=rc,zr.flowRight=nc,zr.fromPairs=function(e){for(var t=-1,r=null==e?0:e.length,n={};++t<r;){var i=e[t];n[i[0]]=i[1]}return n},zr.functions=function(e){return null==e?[]:En(e,Is(e))},zr.functionsIn=function(e){return null==e?[]:En(e,Fs(e))},zr.groupBy=ko,zr.initial=function(e){return(null==e?0:e.length)?ii(e,0,-1):[]},zr.intersection=Wa,zr.intersectionBy=Ga,zr.intersectionWith=$a,zr.invert=As,zr.invertBy=Ns,zr.invokeMap=xo,zr.iteratee=ac,zr.keyBy=Eo,zr.keys=Is,zr.keysIn=Fs,zr.map=So,zr.mapKeys=function(e,t){var r={};return t=la(t,3),kn(e,(function(e,n,i){on(r,t(e,n,i),e)})),r},zr.mapValues=function(e,t){var r={};return t=la(t,3),kn(e,(function(e,n,i){on(r,n,t(e,n,i))})),r},zr.matches=function(e){return Un(ln(e,1))},zr.matchesProperty=function(e,t){return qn(e,ln(t,1))},zr.memoize=Ro,zr.merge=Os,zr.mergeWith=Rs,zr.method=oc,zr.methodOf=sc,zr.mixin=cc,zr.negate=Mo,zr.nthArg=function(e){return e=gs(e),Xn((function(t){return Vn(t,e)}))},zr.omit=Ms,zr.omitBy=function(e,t){return js(e,Mo(la(t)))},zr.once=function(e){return Ao(2,e)},zr.orderBy=function(e,t,r,n){return null==e?[]:(Ho(t)||(t=null==t?[]:[t]),Ho(r=n?i:r)||(r=null==r?[]:[r]),Hn(e,t,r))},zr.over=uc,zr.overArgs=Lo,zr.overEvery=dc,zr.overSome=pc,zr.partial=jo,zr.partialRight=Bo,zr.partition=Do,zr.pick=Ls,zr.pickBy=js,zr.property=fc,zr.propertyOf=function(e){return function(t){return null==e?i:Sn(e,t)}},zr.pull=Xa,zr.pullAll=Qa,zr.pullAllBy=function(e,t,r){return e&&e.length&&t&&t.length?Wn(e,t,la(r,2)):e},zr.pullAllWith=function(e,t,r){return e&&e.length&&t&&t.length?Wn(e,t,i,r):e},zr.pullAt=Za,zr.range=mc,zr.rangeRight=gc,zr.rearg=zo,zr.reject=function(e,t){return(Ho(e)?It:hn)(e,Mo(la(t,3)))},zr.remove=function(e,t){var r=[];if(!e||!e.length)return r;var n=-1,i=[],a=e.length;for(t=la(t,3);++n<a;){var o=e[n];t(o,n,e)&&(r.push(o),i.push(n))}return Gn(e,i),r},zr.rest=function(e,t){if("function"!=typeof e)throw new Ne(a);return Xn(e,t=t===i?t:gs(t))},zr.reverse=eo,zr.sampleSize=function(e,t,r){return t=(r?ba(e,t,r):t===i)?1:gs(t),(Ho(e)?Qr:Zn)(e,t)},zr.set=function(e,t,r){return null==e?e:ei(e,t,r)},zr.setWith=function(e,t,r,n){return n="function"==typeof n?n:i,null==e?e:ei(e,t,r,n)},zr.shuffle=function(e){return(Ho(e)?Zr:ni)(e)},zr.slice=function(e,t,r){var n=null==e?0:e.length;return n?(r&&"number"!=typeof r&&ba(e,t,r)?(t=0,r=n):(t=null==t?0:gs(t),r=r===i?n:gs(r)),ii(e,t,r)):[]},zr.sortBy=wo,zr.sortedUniq=function(e){return e&&e.length?ci(e):[]},zr.sortedUniqBy=function(e,t){return e&&e.length?ci(e,la(t,2)):[]},zr.split=function(e,t,r){return r&&"number"!=typeof r&&ba(e,t,r)&&(t=r=i),(r=r===i?_:r>>>0)?(e=vs(e))&&("string"==typeof t||null!=t&&!os(t))&&!(t=ui(t))&&sr(e)?xi(mr(e),0,r):e.split(t,r):[]},zr.spread=function(e,t){if("function"!=typeof e)throw new Ne(a);return t=null==t?0:yr(gs(t),0),Xn((function(r){var n=r[t],i=xi(r,0,t);return n&&Mt(i,n),Tt(e,this,i)}))},zr.tail=function(e){var t=null==e?0:e.length;return t?ii(e,1,t):[]},zr.take=function(e,t,r){return e&&e.length?ii(e,0,(t=r||t===i?1:gs(t))<0?0:t):[]},zr.takeRight=function(e,t,r){var n=null==e?0:e.length;return n?ii(e,(t=n-(t=r||t===i?1:gs(t)))<0?0:t,n):[]},zr.takeRightWhile=function(e,t){return e&&e.length?mi(e,la(t,3),!1,!0):[]},zr.takeWhile=function(e,t){return e&&e.length?mi(e,la(t,3)):[]},zr.tap=function(e,t){return t(e),e},zr.throttle=function(e,t,r){var n=!0,i=!0;if("function"!=typeof e)throw new Ne(a);return ts(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),Io(e,t,{leading:n,maxWait:t,trailing:i})},zr.thru=mo,zr.toArray=fs,zr.toPairs=Bs,zr.toPairsIn=zs,zr.toPath=function(e){return Ho(e)?Rt(e,La):ls(e)?[e]:Ni(Ma(vs(e)))},zr.toPlainObject=ys,zr.transform=function(e,t,r){var n=Ho(e),i=n||$o(e)||us(e);if(t=la(t,4),null==r){var a=e&&e.constructor;r=i?n?new a:[]:ts(e)&&Qo(a)?Ur(We(e)):{}}return(i?At:kn)(e,(function(e,n,i){return t(r,e,n,i)})),r},zr.unary=function(e){return Co(e,1)},zr.union=to,zr.unionBy=ro,zr.unionWith=no,zr.uniq=function(e){return e&&e.length?di(e):[]},zr.uniqBy=function(e,t){return e&&e.length?di(e,la(t,2)):[]},zr.uniqWith=function(e,t){return t="function"==typeof t?t:i,e&&e.length?di(e,i,t):[]},zr.unset=function(e,t){return null==e||pi(e,t)},zr.unzip=io,zr.unzipWith=ao,zr.update=function(e,t,r){return null==e?e:fi(e,t,vi(r))},zr.updateWith=function(e,t,r,n){return n="function"==typeof n?n:i,null==e?e:fi(e,t,vi(r),n)},zr.values=Us,zr.valuesIn=function(e){return null==e?[]:er(e,Fs(e))},zr.without=oo,zr.words=Qs,zr.wrap=function(e,t){return jo(vi(t),e)},zr.xor=so,zr.xorBy=co,zr.xorWith=lo,zr.zip=uo,zr.zipObject=function(e,t){return hi(e||[],t||[],tn)},zr.zipObjectDeep=function(e,t){return hi(e||[],t||[],ei)},zr.zipWith=po,zr.entries=Bs,zr.entriesIn=zs,zr.extend=ks,zr.extendWith=xs,cc(zr,zr),zr.add=yc,zr.attempt=Zs,zr.camelCase=qs,zr.capitalize=Js,zr.ceil=vc,zr.clamp=function(e,t,r){return r===i&&(r=t,t=i),r!==i&&(r=(r=hs(r))==r?r:0),t!==i&&(t=(t=hs(t))==t?t:0),cn(hs(e),t,r)},zr.clone=function(e){return ln(e,4)},zr.cloneDeep=function(e){return ln(e,5)},zr.cloneDeepWith=function(e,t){return ln(e,5,t="function"==typeof t?t:i)},zr.cloneWith=function(e,t){return ln(e,4,t="function"==typeof t?t:i)},zr.conformsTo=function(e,t){return null==t||un(e,t,Is(t))},zr.deburr=Vs,zr.defaultTo=function(e,t){return null==e||e!=e?t:e},zr.divide=bc,zr.endsWith=function(e,t,r){e=vs(e),t=ui(t);var n=e.length,a=r=r===i?n:cn(gs(r),0,n);return(r-=t.length)>=0&&e.slice(r,a)==t},zr.eq=Uo,zr.escape=function(e){return(e=vs(e))&&X.test(e)?e.replace($,ar):e},zr.escapeRegExp=function(e){return(e=vs(e))&&ae.test(e)?e.replace(ie,"\\$&"):e},zr.every=function(e,t,r){var n=Ho(e)?Pt:gn;return r&&ba(e,t,r)&&(t=i),n(e,la(t,3))},zr.find=ho,zr.findIndex=Ja,zr.findKey=function(e,t){return Ut(e,la(t,3),kn)},zr.findLast=yo,zr.findLastIndex=Va,zr.findLastKey=function(e,t){return Ut(e,la(t,3),xn)},zr.floor=kc,zr.forEach=vo,zr.forEachRight=bo,zr.forIn=function(e,t){return null==e?e:vn(e,la(t,3),Fs)},zr.forInRight=function(e,t){return null==e?e:bn(e,la(t,3),Fs)},zr.forOwn=function(e,t){return e&&kn(e,la(t,3))},zr.forOwnRight=function(e,t){return e&&xn(e,la(t,3))},zr.get=Ts,zr.gt=qo,zr.gte=Jo,zr.has=function(e,t){return null!=e&&_a(e,t,Cn)},zr.hasIn=Cs,zr.head=Ka,zr.identity=ic,zr.includes=function(e,t,r,n){e=Wo(e)?e:Us(e),r=r&&!n?gs(r):0;var i=e.length;return r<0&&(r=yr(i+r,0)),cs(e)?r<=i&&e.indexOf(t,r)>-1:!!i&&Jt(e,t,r)>-1},zr.indexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=null==r?0:gs(r);return i<0&&(i=yr(n+i,0)),Jt(e,t,i)},zr.inRange=function(e,t,r){return t=ms(t),r===i?(r=t,t=0):r=ms(r),function(e,t,r){return e>=vr(t,r)&&e<yr(t,r)}(e=hs(e),t,r)},zr.invoke=Ps,zr.isArguments=Vo,zr.isArray=Ho,zr.isArrayBuffer=Ko,zr.isArrayLike=Wo,zr.isArrayLikeObject=Go,zr.isBoolean=function(e){return!0===e||!1===e||rs(e)&&wn(e)==b},zr.isBuffer=$o,zr.isDate=Yo,zr.isElement=function(e){return rs(e)&&1===e.nodeType&&!as(e)},zr.isEmpty=function(e){if(null==e)return!0;if(Wo(e)&&(Ho(e)||"string"==typeof e||"function"==typeof e.splice||$o(e)||us(e)||Vo(e)))return!e.length;var t=ga(e);if(t==D||t==N)return!e.size;if(Sa(e))return!Ln(e).length;for(var r in e)if(Me.call(e,r))return!1;return!0},zr.isEqual=function(e,t){return Fn(e,t)},zr.isEqualWith=function(e,t,r){var n=(r="function"==typeof r?r:i)?r(e,t):i;return n===i?Fn(e,t,i,r):!!n},zr.isError=Xo,zr.isFinite=function(e){return"number"==typeof e&&bt(e)},zr.isFunction=Qo,zr.isInteger=Zo,zr.isLength=es,zr.isMap=ns,zr.isMatch=function(e,t){return e===t||On(e,t,da(t))},zr.isMatchWith=function(e,t,r){return r="function"==typeof r?r:i,On(e,t,da(t),r)},zr.isNaN=function(e){return is(e)&&e!=+e},zr.isNative=function(e){if(Ea(e))throw new Se("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Rn(e)},zr.isNil=function(e){return null==e},zr.isNull=function(e){return null===e},zr.isNumber=is,zr.isObject=ts,zr.isObjectLike=rs,zr.isPlainObject=as,zr.isRegExp=os,zr.isSafeInteger=function(e){return Zo(e)&&e>=-9007199254740991&&e<=m},zr.isSet=ss,zr.isString=cs,zr.isSymbol=ls,zr.isTypedArray=us,zr.isUndefined=function(e){return e===i},zr.isWeakMap=function(e){return rs(e)&&ga(e)==F},zr.isWeakSet=function(e){return rs(e)&&"[object WeakSet]"==wn(e)},zr.join=function(e,t){return null==e?"":zt.call(e,t)},zr.kebabCase=Hs,zr.last=Ya,zr.lastIndexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var a=n;return r!==i&&(a=(a=gs(r))<0?yr(n+a,0):vr(a,n-1)),t==t?function(e,t,r){for(var n=r+1;n--;)if(e[n]===t)return n;return n}(e,t,a):qt(e,Ht,a,!0)},zr.lowerCase=Ks,zr.lowerFirst=Ws,zr.lt=ds,zr.lte=ps,zr.max=function(e){return e&&e.length?_n(e,ic,Tn):i},zr.maxBy=function(e,t){return e&&e.length?_n(e,la(t,2),Tn):i},zr.mean=function(e){return Kt(e,ic)},zr.meanBy=function(e,t){return Kt(e,la(t,2))},zr.min=function(e){return e&&e.length?_n(e,ic,Bn):i},zr.minBy=function(e,t){return e&&e.length?_n(e,la(t,2),Bn):i},zr.stubArray=_c,zr.stubFalse=hc,zr.stubObject=function(){return{}},zr.stubString=function(){return""},zr.stubTrue=function(){return!0},zr.multiply=Ec,zr.nth=function(e,t){return e&&e.length?Vn(e,gs(t)):i},zr.noConflict=function(){return gt._===this&&(gt._=Ue),this},zr.noop=lc,zr.now=To,zr.pad=function(e,t,r){e=vs(e);var n=(t=gs(t))?fr(e):0;if(!t||n>=t)return e;var i=(t-n)/2;return Hi(_t(i),r)+e+Hi(mt(i),r)},zr.padEnd=function(e,t,r){e=vs(e);var n=(t=gs(t))?fr(e):0;return t&&n<t?e+Hi(t-n,r):e},zr.padStart=function(e,t,r){e=vs(e);var n=(t=gs(t))?fr(e):0;return t&&n<t?Hi(t-n,r)+e:e},zr.parseInt=function(e,t,r){return r||null==t?t=0:t&&(t=+t),kr(vs(e).replace(oe,""),t||0)},zr.random=function(e,t,r){if(r&&"boolean"!=typeof r&&ba(e,t,r)&&(t=r=i),r===i&&("boolean"==typeof t?(r=t,t=i):"boolean"==typeof e&&(r=e,e=i)),e===i&&t===i?(e=0,t=1):(e=ms(e),t===i?(t=e,e=0):t=ms(t)),e>t){var n=e;e=t,t=n}if(r||e%1||t%1){var a=xr();return vr(e+a*(t-e+dt("1e-"+((a+"").length-1))),t)}return $n(e,t)},zr.reduce=function(e,t,r){var n=Ho(e)?Lt:$t,i=arguments.length<3;return n(e,la(t,4),r,i,fn)},zr.reduceRight=function(e,t,r){var n=Ho(e)?jt:$t,i=arguments.length<3;return n(e,la(t,4),r,i,mn)},zr.repeat=function(e,t,r){return t=(r?ba(e,t,r):t===i)?1:gs(t),Yn(vs(e),t)},zr.replace=function(){var e=arguments,t=vs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},zr.result=function(e,t,r){var n=-1,a=(t=bi(t,e)).length;for(a||(a=1,e=i);++n<a;){var o=null==e?i:e[La(t[n])];o===i&&(n=a,o=r),e=Qo(o)?o.call(e):o}return e},zr.round=Sc,zr.runInContext=e,zr.sample=function(e){return(Ho(e)?Xr:Qn)(e)},zr.size=function(e){if(null==e)return 0;if(Wo(e))return cs(e)?fr(e):e.length;var t=ga(e);return t==D||t==N?e.size:Ln(e).length},zr.snakeCase=Gs,zr.some=function(e,t,r){var n=Ho(e)?Bt:ai;return r&&ba(e,t,r)&&(t=i),n(e,la(t,3))},zr.sortedIndex=function(e,t){return oi(e,t)},zr.sortedIndexBy=function(e,t,r){return si(e,t,la(r,2))},zr.sortedIndexOf=function(e,t){var r=null==e?0:e.length;if(r){var n=oi(e,t);if(n<r&&Uo(e[n],t))return n}return-1},zr.sortedLastIndex=function(e,t){return oi(e,t,!0)},zr.sortedLastIndexBy=function(e,t,r){return si(e,t,la(r,2),!0)},zr.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var r=oi(e,t,!0)-1;if(Uo(e[r],t))return r}return-1},zr.startCase=$s,zr.startsWith=function(e,t,r){return e=vs(e),r=null==r?0:cn(gs(r),0,e.length),t=ui(t),e.slice(r,r+t.length)==t},zr.subtract=Dc,zr.sum=function(e){return e&&e.length?Yt(e,ic):0},zr.sumBy=function(e,t){return e&&e.length?Yt(e,la(t,2)):0},zr.template=function(e,t,r){var n=zr.templateSettings;r&&ba(e,t,r)&&(t=i),e=vs(e),t=xs({},t,n,Zi);var a,o,s=xs({},t.imports,n.imports,Zi),c=Is(s),l=er(s,c),u=0,d=t.interpolate||xe,p="__p += '",f=Ce((t.escape||xe).source+"|"+d.source+"|"+(d===ee?me:xe).source+"|"+(t.evaluate||xe).source+"|$","g"),m="//# sourceURL="+(Me.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++st+"]")+"\n";e.replace(f,(function(t,r,n,i,s,c){return n||(n=i),p+=e.slice(u,c).replace(Ee,or),r&&(a=!0,p+="' +\n__e("+r+") +\n'"),s&&(o=!0,p+="';\n"+s+";\n__p += '"),n&&(p+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),u=c+t.length,t})),p+="';\n";var g=Me.call(t,"variable")&&t.variable;if(g){if(pe.test(g))throw new Se("Invalid `variable` option passed into `_.template`")}else p="with (obj) {\n"+p+"\n}\n";p=(o?p.replace(H,""):p).replace(K,"$1").replace(W,"$1;"),p="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var _=Zs((function(){return De(c,m+"return "+p).apply(i,l)}));if(_.source=p,Xo(_))throw _;return _},zr.times=function(e,t){if((e=gs(e))<1||e>m)return[];var r=_,n=vr(e,_);t=la(t),e-=_;for(var i=Xt(n,t);++r<e;)t(r);return i},zr.toFinite=ms,zr.toInteger=gs,zr.toLength=_s,zr.toLower=function(e){return vs(e).toLowerCase()},zr.toNumber=hs,zr.toSafeInteger=function(e){return e?cn(gs(e),-9007199254740991,m):0===e?e:0},zr.toString=vs,zr.toUpper=function(e){return vs(e).toUpperCase()},zr.trim=function(e,t,r){if((e=vs(e))&&(r||t===i))return Qt(e);if(!e||!(t=ui(t)))return e;var n=mr(e),a=mr(t);return xi(n,rr(n,a),nr(n,a)+1).join("")},zr.trimEnd=function(e,t,r){if((e=vs(e))&&(r||t===i))return e.slice(0,gr(e)+1);if(!e||!(t=ui(t)))return e;var n=mr(e);return xi(n,0,nr(n,mr(t))+1).join("")},zr.trimStart=function(e,t,r){if((e=vs(e))&&(r||t===i))return e.replace(oe,"");if(!e||!(t=ui(t)))return e;var n=mr(e);return xi(n,rr(n,mr(t))).join("")},zr.truncate=function(e,t){var r=30,n="...";if(ts(t)){var a="separator"in t?t.separator:a;r="length"in t?gs(t.length):r,n="omission"in t?ui(t.omission):n}var o=(e=vs(e)).length;if(sr(e)){var s=mr(e);o=s.length}if(r>=o)return e;var c=r-fr(n);if(c<1)return n;var l=s?xi(s,0,c).join(""):e.slice(0,c);if(a===i)return l+n;if(s&&(c+=l.length-c),os(a)){if(e.slice(c).search(a)){var u,d=l;for(a.global||(a=Ce(a.source,vs(ge.exec(a))+"g")),a.lastIndex=0;u=a.exec(d);)var p=u.index;l=l.slice(0,p===i?c:p)}}else if(e.indexOf(ui(a),c)!=c){var f=l.lastIndexOf(a);f>-1&&(l=l.slice(0,f))}return l+n},zr.unescape=function(e){return(e=vs(e))&&Y.test(e)?e.replace(G,_r):e},zr.uniqueId=function(e){var t=++Le;return vs(e)+t},zr.upperCase=Ys,zr.upperFirst=Xs,zr.each=vo,zr.eachRight=bo,zr.first=Ka,cc(zr,(xc={},kn(zr,(function(e,t){Me.call(zr.prototype,t)||(xc[t]=e)})),xc),{chain:!1}),zr.VERSION="4.17.21",At(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){zr[e].placeholder=zr})),At(["drop","take"],(function(e,t){Vr.prototype[e]=function(r){r=r===i?1:yr(gs(r),0);var n=this.__filtered__&&!t?new Vr(this):this.clone();return n.__filtered__?n.__takeCount__=vr(r,n.__takeCount__):n.__views__.push({size:vr(r,_),type:e+(n.__dir__<0?"Right":"")}),n},Vr.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),At(["filter","map","takeWhile"],(function(e,t){var r=t+1,n=1==r||3==r;Vr.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:la(e,3),type:r}),t.__filtered__=t.__filtered__||n,t}})),At(["head","last"],(function(e,t){var r="take"+(t?"Right":"");Vr.prototype[e]=function(){return this[r](1).value()[0]}})),At(["initial","tail"],(function(e,t){var r="drop"+(t?"":"Right");Vr.prototype[e]=function(){return this.__filtered__?new Vr(this):this[r](1)}})),Vr.prototype.compact=function(){return this.filter(ic)},Vr.prototype.find=function(e){return this.filter(e).head()},Vr.prototype.findLast=function(e){return this.reverse().find(e)},Vr.prototype.invokeMap=Xn((function(e,t){return"function"==typeof e?new Vr(this):this.map((function(r){return Pn(r,e,t)}))})),Vr.prototype.reject=function(e){return this.filter(Mo(la(e)))},Vr.prototype.slice=function(e,t){e=gs(e);var r=this;return r.__filtered__&&(e>0||t<0)?new Vr(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==i&&(r=(t=gs(t))<0?r.dropRight(-t):r.take(t-e)),r)},Vr.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Vr.prototype.toArray=function(){return this.take(_)},kn(Vr.prototype,(function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),n=/^(?:head|last)$/.test(t),a=zr[n?"take"+("last"==t?"Right":""):t],o=n||/^find/.test(t);a&&(zr.prototype[t]=function(){var t=this.__wrapped__,s=n?[1]:arguments,c=t instanceof Vr,l=s[0],u=c||Ho(t),d=function(e){var t=a.apply(zr,Mt([e],s));return n&&p?t[0]:t};u&&r&&"function"==typeof l&&1!=l.length&&(c=u=!1);var p=this.__chain__,f=!!this.__actions__.length,m=o&&!p,g=c&&!f;if(!o&&u){t=g?t:new Vr(this);var _=e.apply(t,s);return _.__actions__.push({func:mo,args:[d],thisArg:i}),new Jr(_,p)}return m&&g?e.apply(this,s):(_=this.thru(d),m?n?_.value()[0]:_.value():_)})})),At(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Pe[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);zr.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var i=this.value();return t.apply(Ho(i)?i:[],e)}return this[r]((function(r){return t.apply(Ho(r)?r:[],e)}))}})),kn(Vr.prototype,(function(e,t){var r=zr[t];if(r){var n=r.name+"";Me.call(Pr,n)||(Pr[n]=[]),Pr[n].push({name:t,func:r})}})),Pr[Ui(i,2).name]=[{name:"wrapper",func:i}],Vr.prototype.clone=function(){var e=new Vr(this.__wrapped__);return e.__actions__=Ni(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ni(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ni(this.__views__),e},Vr.prototype.reverse=function(){if(this.__filtered__){var e=new Vr(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Vr.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,r=Ho(e),n=t<0,i=r?e.length:0,a=function(e,t,r){var n=-1,i=r.length;for(;++n<i;){var a=r[n],o=a.size;switch(a.type){case"drop":e+=o;break;case"dropRight":t-=o;break;case"take":t=vr(t,e+o);break;case"takeRight":e=yr(e,t-o)}}return{start:e,end:t}}(0,i,this.__views__),o=a.start,s=a.end,c=s-o,l=n?s:o-1,u=this.__iteratees__,d=u.length,p=0,f=vr(c,this.__takeCount__);if(!r||!n&&i==c&&f==c)return gi(e,this.__actions__);var m=[];e:for(;c--&&p<f;){for(var g=-1,_=e[l+=t];++g<d;){var h=u[g],y=h.iteratee,v=h.type,b=y(_);if(2==v)_=b;else if(!b){if(1==v)continue e;break e}}m[p++]=_}return m},zr.prototype.at=go,zr.prototype.chain=function(){return fo(this)},zr.prototype.commit=function(){return new Jr(this.value(),this.__chain__)},zr.prototype.next=function(){this.__values__===i&&(this.__values__=fs(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?i:this.__values__[this.__index__++]}},zr.prototype.plant=function(e){for(var t,r=this;r instanceof qr;){var n=Ba(r);n.__index__=0,n.__values__=i,t?a.__wrapped__=n:t=n;var a=n;r=r.__wrapped__}return a.__wrapped__=e,t},zr.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Vr){var t=e;return this.__actions__.length&&(t=new Vr(this)),(t=t.reverse()).__actions__.push({func:mo,args:[eo],thisArg:i}),new Jr(t,this.__chain__)}return this.thru(eo)},zr.prototype.toJSON=zr.prototype.valueOf=zr.prototype.value=function(){return gi(this.__wrapped__,this.__actions__)},zr.prototype.first=zr.prototype.head,Qe&&(zr.prototype[Qe]=function(){return this}),zr}();gt._=hr,(n=function(){return hr}.call(t,r,t,e))===i||(e.exports=n)}.call(this)},91171:(e,t,r)=>{e.exports=p,p.Minimatch=f;var n=function(){try{return r(71017)}catch(e){}}()||{sep:"/"};p.sep=n.sep;var i=p.GLOBSTAR=f.GLOBSTAR={},a=r(3644),o={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},s="[^/]",c=s+"*?",l="().*{}+?[]^$\\!".split("").reduce((function(e,t){return e[t]=!0,e}),{});var u=/\/+/;function d(e,t){t=t||{};var r={};return Object.keys(e).forEach((function(t){r[t]=e[t]})),Object.keys(t).forEach((function(e){r[e]=t[e]})),r}function p(e,t,r){return g(t),r||(r={}),!(!r.nocomment&&"#"===t.charAt(0))&&new f(t,r).match(e)}function f(e,t){if(!(this instanceof f))return new f(e,t);g(e),t||(t={}),e=e.trim(),t.allowWindowsEscape||"/"===n.sep||(e=e.split(n.sep).join("/")),this.options=t,this.set=[],this.pattern=e,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.make()}function m(e,t){return t||(t=this instanceof f?this.options:{}),e=void 0===e?this.pattern:e,g(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:a(e)}p.filter=function(e,t){return t=t||{},function(r,n,i){return p(r,e,t)}},p.defaults=function(e){if(!e||"object"!=typeof e||!Object.keys(e).length)return p;var t=p,r=function(r,n,i){return t(r,n,d(e,i))};return(r.Minimatch=function(r,n){return new t.Minimatch(r,d(e,n))}).defaults=function(r){return t.defaults(d(e,r)).Minimatch},r.filter=function(r,n){return t.filter(r,d(e,n))},r.defaults=function(r){return t.defaults(d(e,r))},r.makeRe=function(r,n){return t.makeRe(r,d(e,n))},r.braceExpand=function(r,n){return t.braceExpand(r,d(e,n))},r.match=function(r,n,i){return t.match(r,n,d(e,i))},r},f.defaults=function(e){return p.defaults(e).Minimatch},f.prototype.debug=function(){},f.prototype.make=function(){var e=this.pattern,t=this.options;if(!t.nocomment&&"#"===e.charAt(0))return void(this.comment=!0);if(!e)return void(this.empty=!0);this.parseNegate();var r=this.globSet=this.braceExpand();t.debug&&(this.debug=function(){console.error.apply(console,arguments)});this.debug(this.pattern,r),r=this.globParts=r.map((function(e){return e.split(u)})),this.debug(this.pattern,r),r=r.map((function(e,t,r){return e.map(this.parse,this)}),this),this.debug(this.pattern,r),r=r.filter((function(e){return-1===e.indexOf(!1)})),this.debug(this.pattern,r),this.set=r},f.prototype.parseNegate=function(){var e=this.pattern,t=!1,r=this.options,n=0;if(r.nonegate)return;for(var i=0,a=e.length;i<a&&"!"===e.charAt(i);i++)t=!t,n++;n&&(this.pattern=e.substr(n));this.negate=t},p.braceExpand=function(e,t){return m(e,t)},f.prototype.braceExpand=m;var g=function(e){if("string"!=typeof e)throw new TypeError("invalid pattern");if(e.length>65536)throw new TypeError("pattern is too long")};f.prototype.parse=function(e,t){g(e);var r=this.options;if("**"===e){if(!r.noglobstar)return i;e="*"}if(""===e)return"";var n,a="",u=!!r.nocase,d=!1,p=[],f=[],m=!1,h=-1,y=-1,v="."===e.charAt(0)?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",b=this;function k(){if(n){switch(n){case"*":a+=c,u=!0;break;case"?":a+=s,u=!0;break;default:a+="\\"+n}b.debug("clearStateChar %j %j",n,a),n=!1}}for(var x,E=0,S=e.length;E<S&&(x=e.charAt(E));E++)if(this.debug("%s\t%s %s %j",e,E,a,x),d&&l[x])a+="\\"+x,d=!1;else switch(x){case"/":return!1;case"\\":k(),d=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",e,E,a,x),m){this.debug(" in class"),"!"===x&&E===y+1&&(x="^"),a+=x;continue}b.debug("call clearStateChar %j",n),k(),n=x,r.noext&&k();continue;case"(":if(m){a+="(";continue}if(!n){a+="\\(";continue}p.push({type:n,start:E-1,reStart:a.length,open:o[n].open,close:o[n].close}),a+="!"===n?"(?:(?!(?:":"(?:",this.debug("plType %j %j",n,a),n=!1;continue;case")":if(m||!p.length){a+="\\)";continue}k(),u=!0;var D=p.pop();a+=D.close,"!"===D.type&&f.push(D),D.reEnd=a.length;continue;case"|":if(m||!p.length||d){a+="\\|",d=!1;continue}k(),a+="|";continue;case"[":if(k(),m){a+="\\"+x;continue}m=!0,y=E,h=a.length,a+=x;continue;case"]":if(E===y+1||!m){a+="\\"+x,d=!1;continue}var w=e.substring(y+1,E);try{RegExp("["+w+"]")}catch(e){var T=this.parse(w,_);a=a.substr(0,h)+"\\["+T[0]+"\\]",u=u||T[1],m=!1;continue}u=!0,m=!1,a+=x;continue;default:k(),d?d=!1:!l[x]||"^"===x&&m||(a+="\\"),a+=x}m&&(w=e.substr(y+1),T=this.parse(w,_),a=a.substr(0,h)+"\\["+T[0],u=u||T[1]);for(D=p.pop();D;D=p.pop()){var C=a.slice(D.reStart+D.open.length);this.debug("setting tail",a,D),C=C.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(e,t,r){return r||(r="\\"),t+t+r+"|"})),this.debug("tail=%j\n %s",C,C,D,a);var A="*"===D.type?c:"?"===D.type?s:"\\"+D.type;u=!0,a=a.slice(0,D.reStart)+A+"\\("+C}k(),d&&(a+="\\\\");var N=!1;switch(a.charAt(0)){case"[":case".":case"(":N=!0}for(var P=f.length-1;P>-1;P--){var I=f[P],F=a.slice(0,I.reStart),O=a.slice(I.reStart,I.reEnd-8),R=a.slice(I.reEnd-8,I.reEnd),M=a.slice(I.reEnd);R+=M;var L=F.split("(").length-1,j=M;for(E=0;E<L;E++)j=j.replace(/\)[+*?]?/,"");var B="";""===(M=j)&&t!==_&&(B="$"),a=F+O+M+B+R}""!==a&&u&&(a="(?=.)"+a);N&&(a=v+a);if(t===_)return[a,u];if(!u)return function(e){return e.replace(/\\(.)/g,"$1")}(e);var z=r.nocase?"i":"";try{var U=new RegExp("^"+a+"$",z)}catch(e){return new RegExp("$.")}return U._glob=e,U._src=a,U};var _={};p.makeRe=function(e,t){return new f(e,t||{}).makeRe()},f.prototype.makeRe=function(){if(this.regexp||!1===this.regexp)return this.regexp;var e=this.set;if(!e.length)return this.regexp=!1,this.regexp;var t=this.options,r=t.noglobstar?c:t.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",n=t.nocase?"i":"",a=e.map((function(e){return e.map((function(e){return e===i?r:"string"==typeof e?function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(e):e._src})).join("\\/")})).join("|");a="^(?:"+a+")$",this.negate&&(a="^(?!"+a+").*$");try{this.regexp=new RegExp(a,n)}catch(e){this.regexp=!1}return this.regexp},p.match=function(e,t,r){var n=new f(t,r=r||{});return e=e.filter((function(e){return n.match(e)})),n.options.nonull&&!e.length&&e.push(t),e},f.prototype.match=function(e,t){if(void 0===t&&(t=this.partial),this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return""===e;if("/"===e&&t)return!0;var r=this.options;"/"!==n.sep&&(e=e.split(n.sep).join("/")),e=e.split(u),this.debug(this.pattern,"split",e);var i,a,o=this.set;for(this.debug(this.pattern,"set",o),a=e.length-1;a>=0&&!(i=e[a]);a--);for(a=0;a<o.length;a++){var s=o[a],c=e;if(r.matchBase&&1===s.length&&(c=[i]),this.matchOne(c,s,t))return!!r.flipNegate||!this.negate}return!r.flipNegate&&this.negate},f.prototype.matchOne=function(e,t,r){var n=this.options;this.debug("matchOne",{this:this,file:e,pattern:t}),this.debug("matchOne",e.length,t.length);for(var a=0,o=0,s=e.length,c=t.length;a<s&&o<c;a++,o++){this.debug("matchOne loop");var l,u=t[o],d=e[a];if(this.debug(t,u,d),!1===u)return!1;if(u===i){this.debug("GLOBSTAR",[t,u,d]);var p=a,f=o+1;if(f===c){for(this.debug("** at the end");a<s;a++)if("."===e[a]||".."===e[a]||!n.dot&&"."===e[a].charAt(0))return!1;return!0}for(;p<s;){var m=e[p];if(this.debug("\nglobstar while",e,p,t,f,m),this.matchOne(e.slice(p),t.slice(f),r))return this.debug("globstar found match!",p,s,m),!0;if("."===m||".."===m||!n.dot&&"."===m.charAt(0)){this.debug("dot detected!",e,p,t,f);break}this.debug("globstar swallow a segment, and continue"),p++}return!(!r||(this.debug("\n>>> no match, partial?",e,p,t,f),p!==s))}if("string"==typeof u?(l=d===u,this.debug("string match",u,d,l)):(l=d.match(u),this.debug("pattern match",u,d,l)),!l)return!1}if(a===s&&o===c)return!0;if(a===s)return r;if(o===c)return a===s-1&&""===e[a];throw new Error("wtf?")}},81890:(e,t,r)=>{var n=r(71017),i=r(57147),a=parseInt("0777",8);function o(e,t,r,s){"function"==typeof t?(r=t,t={}):t&&"object"==typeof t||(t={mode:t});var c=t.mode,l=t.fs||i;void 0===c&&(c=a),s||(s=null);var u=r||function(){};e=n.resolve(e),l.mkdir(e,c,(function(r){if(!r)return u(null,s=s||e);if("ENOENT"===r.code){if(n.dirname(e)===e)return u(r);o(n.dirname(e),t,(function(r,n){r?u(r,n):o(e,t,u,n)}))}else l.stat(e,(function(e,t){e||!t.isDirectory()?u(r,s):u(null,s)}))}))}e.exports=o.mkdirp=o.mkdirP=o,o.sync=function e(t,r,o){r&&"object"==typeof r||(r={mode:r});var s=r.mode,c=r.fs||i;void 0===s&&(s=a),o||(o=null),t=n.resolve(t);try{c.mkdirSync(t,s),o=o||t}catch(i){if("ENOENT"===i.code)o=e(n.dirname(t),r,o),e(t,r,o);else{var l;try{l=c.statSync(t)}catch(e){throw i}if(!l.isDirectory())throw i}}return o}},13171:e=>{
82
const n=r(57147),i=r(22037),a=r(71017),o=r(6113),s={fs:n.constants,os:i.constants},c=r(50984),l="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",u=/XXXXXX/,d=3,p=(s.O_CREAT||s.fs.O_CREAT)|(s.O_EXCL||s.fs.O_EXCL)|(s.O_RDWR||s.fs.O_RDWR),f="win32"===i.platform(),m=s.EBADF||s.os.errno.EBADF,g=s.ENOENT||s.os.errno.ENOENT,_=[],h=n.rmdirSync.bind(n),y=c.sync;let v=!1;function b(e,t){const r=N(e,t),i=r[0],a=r[1];try{I(i)}catch(e){return a(e)}let o=i.tries;!function e(){try{const t=P(i);n.stat(t,(function(r){if(!r)return o-- >0?e():a(new Error("Could not get a unique tmp filename, max tries reached "+t));a(null,t)}))}catch(e){a(e)}}()}function k(e){const t=N(e)[0];I(t);let r=t.tries;do{const e=P(t);try{n.statSync(e)}catch(t){return e}}while(r-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function x(e,t){const r=function(e){if(e&&!M(e))return t(e);t()};0<=e[0]?n.close(e[0],(function(){n.unlink(e[1],r)})):n.unlink(e[1],r)}function E(e){let t=null;try{0<=e[0]&&n.closeSync(e[0])}catch(e){if(!(r=e,L(r,-m,"EBADF")||M(e)))throw e}finally{try{n.unlinkSync(e[1])}catch(e){M(e)||(t=e)}}var r;if(null!==t)throw t}function S(e,t,r,n){const i=w(E,[t,e],n),a=w(x,[t,e],n,i);return r.keep||_.unshift(i),n?i:a}function D(e,t,r){const i=t.unsafeCleanup?c:n.rmdir.bind(n),a=w(t.unsafeCleanup?y:h,e,r),o=w(i,e,r,a);return t.keep||_.unshift(a),r?a:o}function w(e,t,r,n){let i=!1;return function a(o){if(!i){const s=n||a,c=_.indexOf(s);return c>=0&&_.splice(c,1),i=!0,r||e===h||e===y?e(t):e(t,o||function(){})}}}function T(e){let t=[],r=null;try{r=o.randomBytes(e)}catch(t){r=o.pseudoRandomBytes(e)}for(var n=0;n<e;n++)t.push(l[r[n]%l.length]);return t.join("")}function C(e){return null===e||A(e)||!e.trim()}function A(e){return void 0===e}function N(e,t){if("function"==typeof e)return[{},e];if(A(e))return[{},t];const r={};for(const t of Object.getOwnPropertyNames(e))r[t]=e[t];return[r,t]}function P(e){const t=e.tmpdir;if(!A(e.name))return a.join(t,e.dir,e.name);if(!A(e.template))return a.join(t,e.dir,e.template).replace(u,T(6));const r=[e.prefix?e.prefix:"tmp","-",process.pid,"-",T(12),e.postfix?"-"+e.postfix:""].join("");return a.join(t,e.dir,r)}function I(e){e.tmpdir=j(e);const t=e.tmpdir;if(A(e.name)||R(e.name,"name",t),A(e.dir)||R(e.dir,"dir",t),!A(e.template)&&(R(e.template,"template",t),!e.template.match(u)))throw new Error(`Invalid template, found "${e.template}".`);if(!A(e.tries)&&isNaN(e.tries)||e.tries<0)throw new Error(`Invalid tries, found "${e.tries}".`);e.tries=A(e.name)?e.tries||d:1,e.keep=!!e.keep,e.detachDescriptor=!!e.detachDescriptor,e.discardDescriptor=!!e.discardDescriptor,e.unsafeCleanup=!!e.unsafeCleanup,e.dir=A(e.dir)?"":a.relative(t,F(e.dir,t)),e.template=A(e.template)?void 0:a.relative(t,F(e.template,t)),e.template=C(e.template)?void 0:a.relative(e.dir,e.template),e.name=A(e.name)?void 0:O(e.name),e.prefix=A(e.prefix)?"":e.prefix,e.postfix=A(e.postfix)?"":e.postfix}function F(e,t){const r=O(e);return r.startsWith(t)?a.resolve(r):a.resolve(a.join(t,r))}function O(e){return C(e)?e:e.replace(/["']/g,"")}function R(e,t,r){if("name"===t){if(a.isAbsolute(e))throw new Error(`${t} option must not contain an absolute path, found "${e}".`);let r=a.basename(e);if(".."===r||"."===r||r!==e)throw new Error(`${t} option must not contain a path, found "${e}".`)}else{if(a.isAbsolute(e)&&!e.startsWith(r))throw new Error(`${t} option must be relative to "${r}", found "${e}".`);let n=F(e,r);if(!n.startsWith(r))throw new Error(`${t} option must be relative to "${r}", found "${n}".`)}}function M(e){return L(e,-g,"ENOENT")}function L(e,t,r){return f?e.code===r:e.code===r&&e.errno===t}function j(e){return a.resolve(O(e&&e.tmpdir||i.tmpdir()))}process.addListener("exit",(function(){if(v)for(;_.length;)try{_[0]()}catch(e){}})),Object.defineProperty(e.exports,"tmpdir",{enumerable:!0,configurable:!1,get:function(){return j()}}),e.exports.dir=function(e,t){const r=N(e,t),i=r[0],a=r[1];b(i,(function(e,t){if(e)return a(e);n.mkdir(t,i.mode||448,(function(e){if(e)return a(e);a(null,t,D(t,i,!1))}))}))},e.exports.dirSync=function(e){const t=N(e)[0],r=k(t);return n.mkdirSync(r,t.mode||448),{name:r,removeCallback:D(r,t,!0)}},e.exports.file=function(e,t){const r=N(e,t),i=r[0],a=r[1];b(i,(function(e,t){if(e)return a(e);n.open(t,p,i.mode||384,(function(e,r){if(e)return a(e);if(i.discardDescriptor)return n.close(r,(function(e){return a(e,t,void 0,S(t,-1,i,!1))}));{const e=i.discardDescriptor||i.detachDescriptor;a(null,t,r,S(t,e?-1:r,i,!1))}}))}))},e.exports.fileSync=function(e){const t=N(e)[0],r=t.discardDescriptor||t.detachDescriptor,i=k(t);var a=n.openSync(i,p,t.mode||384);return t.discardDescriptor&&(n.closeSync(a),a=void 0),{name:i,fd:a,removeCallback:S(i,r?-1:a,t,!0)}},e.exports.tmpName=b,e.exports.tmpNameSync=k,e.exports.setGracefulCleanup=function(){v=!0}},13692:e=>{function t(e){if(!(this instanceof t))return new t(e);this.value=e}function r(e,t,r){var i=[],a=[],o=!0;return function e(s){var c=r?n(s):s,l={},u={node:c,node_:s,path:[].concat(i),parent:a.slice(-1)[0],key:i.slice(-1)[0],isRoot:0===i.length,level:i.length,circular:null,update:function(e){u.isRoot||(u.parent.node[u.key]=e),u.node=e},delete:function(){delete u.parent.node[u.key]},remove:function(){Array.isArray(u.parent.node)?u.parent.node.splice(u.key,1):delete u.parent.node[u.key]},before:function(e){l.before=e},after:function(e){l.after=e},pre:function(e){l.pre=e},post:function(e){l.post=e},stop:function(){o=!1}};if(!o)return u;if("object"==typeof c&&null!==c){u.isLeaf=0==Object.keys(c).length;for(var d=0;d<a.length;d++)if(a[d].node_===s){u.circular=a[d];break}}else u.isLeaf=!0;u.notLeaf=!u.isLeaf,u.notRoot=!u.isRoot;var p=t.call(u,u.node);if(void 0!==p&&u.update&&u.update(p),l.before&&l.before.call(u,u.node),"object"==typeof u.node&&null!==u.node&&!u.circular){a.push(u);var f=Object.keys(u.node);f.forEach((function(t,n){i.push(t),l.pre&&l.pre.call(u,u.node[t],t);var a=e(u.node[t]);r&&Object.hasOwnProperty.call(u.node,t)&&(u.node[t]=a.node),a.isLast=n==f.length-1,a.isFirst=0==n,l.post&&l.post.call(u,a),i.pop()})),a.pop()}return l.after&&l.after.call(u,u.node),u}(e).node}function n(e){var t;return"object"==typeof e&&null!==e?(t=Array.isArray(e)?[]:e instanceof Date?new Date(e):e instanceof Boolean?new Boolean(e):e instanceof Number?new Number(e):e instanceof String?new String(e):Object.create(Object.getPrototypeOf(e)),Object.keys(e).forEach((function(r){t[r]=e[r]})),t):e}e.exports=t,t.prototype.get=function(e){for(var t=this.value,r=0;r<e.length;r++){var n=e[r];if(!Object.hasOwnProperty.call(t,n)){t=void 0;break}t=t[n]}return t},t.prototype.set=function(e,t){for(var r=this.value,n=0;n<e.length-1;n++){var i=e[n];Object.hasOwnProperty.call(r,i)||(r[i]={}),r=r[i]}return r[e[n]]=t,t},t.prototype.map=function(e){return r(this.value,e,!0)},t.prototype.forEach=function(e){return this.value=r(this.value,e,!1),this.value},t.prototype.reduce=function(e,t){var r=1===arguments.length,n=r?this.value:t;return this.forEach((function(t){this.isRoot&&r||(n=e.call(this,n,t))})),n},t.prototype.deepEqual=function(e){if(1!==arguments.length)throw new Error("deepEqual requires exactly one object to compare against");var r=!0,n=e;return this.forEach((function(i){var a=function(){r=!1}.bind(this);if(!this.isRoot){if("object"!=typeof n)return a();n=n[this.key]}var o=n;this.post((function(){n=o}));var s=function(e){return Object.prototype.toString.call(e)};if(this.circular)t(e).get(this.circular.path)!==o&&a();else if(typeof o!=typeof i)a();else if(null===o||null===i||void 0===o||void 0===i)o!==i&&a();else if(o.__proto__!==i.__proto__)a();else if(o===i);else if("function"==typeof o)o instanceof RegExp?o.toString()!=i.toString()&&a():o!==i&&a();else if("object"==typeof o)if("[object Arguments]"===s(i)||"[object Arguments]"===s(o))s(o)!==s(i)&&a();else if(o instanceof Date||i instanceof Date)o instanceof Date&&i instanceof Date&&o.getTime()===i.getTime()||a();else{var c=Object.keys(o),l=Object.keys(i);if(c.length!==l.length)return a();for(var u=0;u<c.length;u++){var d=c[u];Object.hasOwnProperty.call(i,d)||a()}}})),r},t.prototype.paths=function(){var e=[];return this.forEach((function(t){e.push(this.path)})),e},t.prototype.nodes=function(){var e=[];return this.forEach((function(t){e.push(this.node)})),e},t.prototype.clone=function(){var e=[],t=[];return function r(i){for(var a=0;a<e.length;a++)if(e[a]===i)return t[a];if("object"==typeof i&&null!==i){var o=n(i);return e.push(i),t.push(o),Object.keys(i).forEach((function(e){o[e]=r(i[e])})),e.pop(),t.pop(),o}return i}(this.value)},Object.keys(t.prototype).forEach((function(e){t[e]=function(r){var n=[].slice.call(arguments,1),i=t(r);return i[e].apply(i,n)}}))},30513:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.toolNameMethod=t.joinNewMessage=t.joinOldMessage=t.Plugin=t.formatSet=t.formatType=t.toolNameSet=t.toolNameType=void 0;const i=n(r(71017)),a=n(r(57147)),o=r(32081),s=r(95840),c=r(10391),l=r(42034),u=r(83317),d=r(24182),p=r(550),f=r(51626),m=r(17999),g=r(3477),_=r(64158),h=r(60479),y=r(53073),v=r(94801),b=r(40139),k=r(5391),x=r(19503);var E,S;!function(e){e.COLLECT="collect",e.CHECK="check",e.CHECKONLINE="checkOnline",e.APICHANGECHECK="apiChangeCheck",e.DIFF="diff",e.LABELDETECTION="detection",e.COUNT="count"}(E=t.toolNameType||(t.toolNameType={})),t.toolNameSet=new Set(s.EnumUtils.enum2arr(E)),function(e){e.NULL="",e.JSON="json",e.EXCEL="excel",e.CHANGELOG="changelog"}(S=t.formatType||(t.formatType={})),t.formatSet=new Set(s.EnumUtils.enum2arr(S)),t.Plugin={pluginOptions:{name:"parser",version:"0.1.0",description:"Compare the parser the SDKS",commands:[{isRequiredOption:!0,options:[`-N,--tool-name <${[...t.toolNameSet]}>`,"tool name ","checkOnline"]},{isRequiredOption:!1,options:["-C,--collect-path <string>","collect api path","./api"]},{isRequiredOption:!1,options:["-F,--collect-file <string>","collect api file array",""]},{isRequiredOption:!1,options:["-L,--check-labels <string>","detection check labels",""]},{isRequiredOption:!1,options:["--isOH <string>","detection check labels",""]},{isRequiredOption:!1,options:["--path <string>","check api path, split with comma",""]},{isRequiredOption:!1,options:["--checker <string>","check api rule, split with comma","all"]},{isRequiredOption:!1,options:["--prId <string>","check api prId",""]},{isRequiredOption:!1,options:["--is-increment <string>","check api is increment, only check change","true"]},{isRequiredOption:!1,options:["--excel <string>","check api excel","false"]},{isRequiredOption:!1,options:["--old <string>","diff old sdk path","./api"]},{isRequiredOption:!1,options:["--new <string>","diff new sdk path","./api"]},{isRequiredOption:!1,options:["--old-version <string>","old sdk version","0"]},{isRequiredOption:!1,options:["--new-version <string>","new sdk version","0"]},{isRequiredOption:!1,options:["--output <string>","output file path","./"]},{isRequiredOption:!1,options:[`--format <${[...t.formatSet]}>`,"output file format","json"]},{isRequiredOption:!1,options:["--changelogUrl <string>","changelog url",""]},{isRequiredOption:!1,options:["--all <boolean>","is all sheet",""]}]},start:async function(e){const r=e.toolName,n=t.toolNameMethod.get(r);if(!n)return void l.LogUtil.i("CommandArgs","tool-name may use error name or don't have function,tool-name can use 'collect' or 'diff'");const i={toolName:r,collectPath:e.collectPath,collectFile:e.collectFile,checkLabels:e.checkLabels,isOH:e.isOH,path:e.path,checker:e.checker,prId:e.prId,isIncrement:e.isIncrement,old:e.old,new:e.new,oldVersion:e.oldVersion,newVersion:e.newVersion,output:e.output,format:e.format,changelogUrl:e.changelogUrl,excel:e.excel,all:e.all},a=n(i);!function(e,t,r){const n=t.format;let i=`${t.toolName}_${t.oldVersion}_${t.newVersion}.json`;if(!n)return;t.toolName===E.COUNT&&(i="api_kit_js.json");switch(n){case S.JSON:m.WriterHelper.JSONReporter(String(e[0]),t.output,i);break;case S.EXCEL:m.WriterHelper.ExcelReporter(e,t.output,`${t.toolName}.xlsx`,r,t);break;case S.CHANGELOG:m.WriterHelper.JSONReporter(String(e[0]),t.output,`${t.toolName}.json`)}}(a.data,i,a.callback)},stop:function(){l.LogUtil.i("commander","elapsed time: "+(Date.now()-D))}};let D=Date.now();function w(e,t,r,n){const i=t.addWorksheet(),a=new Set,o=k.FunctionUtils.readKitFile();i.name="JsApi",i.views=[{xSplit:1}],i.getRow(1).values=["模块名","类名","方法名","函数","类型","起始版本","废弃版本","syscap","错误码","是否为系统API","模型限制","权限","是否支持跨平台","是否支持卡片应用","是否为高阶API","装饰器","kit","文件路径","子系统","父节点类型","父节点API是否可选"];let s=2;e.forEach((e=>{const t=`${e.getHierarchicalRelations()},${e.getDefinedText()}`;a.has(t)||(i.getRow(s).values=[e.getPackageName(),e.getParentModuleName(),e.getApiName(),e.getDefinedText(),e.getApiType(),"-1"===e.getSince()?"":e.getSince(),"-1"===e.getDeprecatedVersion()?"":e.getDeprecatedVersion(),e.getSyscap(),"-1"===e.getErrorCodes().join()?"":e.getErrorCodes().join(),e.getApiLevel(),e.getModelLimitation(),e.getPermission(),e.getIsCrossPlatForm(),e.getIsForm(),e.getIsAutomicService(),e.getDecorators()?.join(),""===e.getKitInfo()?o.kitNameMap.get(e.getFilePath().replace(/\\/g,"/").replace("api/","")):e.getKitInfo(),e.getFilePath(),o.subsystemMap.get(e.getFilePath().replace(/\\/g,"/").replace("api/","")),e.getParentApiType(),e.getIsOptional()],s++,a.add(t))})),n?.all&&function(e,t){const r=t.addWorksheet(),n=new Set,i=k.FunctionUtils.readKitFile();r.name="JsApi定制版本",r.views=[{xSplit:1}],r.getRow(1).values=["模块名","类名","方法名","函数","类型","起始版本","废弃版本","syscap","错误码","是否为系统API","模型限制","权限","是否支持跨平台","是否支持卡片应用","是否为高阶API","装饰器","kit","文件路径","子系统","接口全路径"];let a=2;e.forEach((e=>{const t=`${e.getHierarchicalRelations()},${e.getDefinedText()}`;n.has(t)||(r.getRow(a).values=[e.getPackageName(),e.getParentModuleName(),e.getApiName(),e.getDefinedText(),e.getApiType(),"-1"===e.getSince()?"":e.getSince(),"-1"===e.getDeprecatedVersion()?"":e.getDeprecatedVersion(),e.getSyscap(),"-1"===e.getErrorCodes().join()?"":e.getErrorCodes().join(),e.getApiLevel(),e.getModelLimitation(),e.getPermission(),e.getIsCrossPlatForm(),e.getIsForm(),e.getIsAutomicService(),e.getDecorators()?.join(),""===e.getKitInfo()?i.kitNameMap.get(e.getFilePath().replace(/\\/g,"/").replace("api/","")):e.getKitInfo(),e.getFilePath(),i.subsystemMap.get(e.getFilePath().replace(/\\/g,"/").replace("api/","")),e.getHierarchicalRelations().replace(/\//g,"#").replace("api\\","")],a++,n.add(t))}))}(e,t)}function T(e,t){const r=t.addWorksheet();r.name="api数量",r.views=[{xSplit:1}],r.getRow(1).values=["子系统","kit","文件","api数量"],e.forEach(((e,t)=>{r.getRow(t+_.NumberConstant.LINE_IN_EXCEL).values=[e.getsubSystem(),e.getKitName(),e.getFilePath(),e.getApiNumber()]}))}function C(e,t,r,n){const i=new Set,a=k.FunctionUtils.readKitFile(),o=t.addWorksheet("api差异");o.views=[{xSplit:2}],o.getRow(1).values=["操作标记","差异项-旧版本","差异项-新版本","d.ts文件","归属子系统","kit","是否为系统API"],e.forEach(((e,t)=>{i.add(I(e));const r=e.getNewDtsName()?e.getNewDtsName():e.getOldDtsName();o.getRow(t+_.NumberConstant.LINE_IN_EXCEL).values=[f.diffTypeMap.get(e.getDiffType()),F(e),O(e),r.replace(/\\/g,"/"),a.subsystemMap.get(r.replace(/\\/g,"/").replace("api/","")),""===y.SyscapProcessorHelper.getSingleKitInfo(e)?a.kitNameMap.get(r.replace(/\\/g,"/").replace("api/","")):y.SyscapProcessorHelper.getSingleKitInfo(e),e.getIsSystemapi()]})),m.WriterHelper.MarkdownReporter.writeInMarkdown(e,r),n?.all&&function(e,t,r,n){const i=t.addWorksheet("api变更数量统计");i.views=[{xSplit:2}],i.getRow(1).values=["api名称","kit名称","归属子系统","是否是api","api类型","操作标记","变更类型","兼容性","变更次数","差异项-旧版本","差异项-新版本","兼容性列表","接口全路径","是否为系统API","是否为同名API"];let a=[];e.forEach((e=>{let t="";const i=new f.DiffNumberInfo;r.forEach((r=>{const a=r.getNewDtsName()?r.getNewDtsName():r.getOldDtsName(),o=""===y.SyscapProcessorHelper.getSingleKitInfo(r)?n.kitNameMap.get(a.replace(/\\/g,"/").replace("api/","")):y.SyscapProcessorHelper.getSingleKitInfo(r);e===I(r)&&(t=P(r),i.setAllDiffType(r.getDiffMessage()).setAllChangeType(f.apiChangeMap.get(r.getDiffType())).setOldDiffMessage(r.getOldDescription()).setNewDiffMessage(r.getNewDescription()).setAllCompatible(r.getIsCompatible()).setIsApi(!f.isNotApiSet.has(r.getApiType())).setKitName(o).setSubsystem(n.subsystemMap.get(a.replace(/\\/g,"/").replace("api/",""))).setApiName(r.getApiType()===x.ApiType.SOURCE_FILE?"SOURCEFILE":P(r)).setApiRelation(I(r).replace(/\,/g,"#").replace("api\\","")).setIsSystemapi(r.getIsSystemapi()).setApiType(r.getApiType()).setIsSameNameFunction(r.getIsSameNameFunction()))})),a.push(i)})),a=function(e,t){return t}(0,a),a.forEach(((e,t)=>{i.getRow(t+_.NumberConstant.LINE_IN_EXCEL).values=[e.getApiName(),e.getKitName(),e.getSubsystem(),e.getIsApi(),e.getApiType(),e.getAllDiffType().join(" #&# "),e.getAllChangeType().join(" #&# "),A(e),N(e),e.getOldDiffMessage().join(" #&# "),e.getNewDiffMessage().join(" #&# "),e.getAllCompatible().join(" #&# "),e.getApiRelation(),e.getIsSystemapi(),e.getIsSameNameFunction()]}))}(i,t,e,a)}function A(e){const t=new Set(e.getAllCompatible());let r=0,n=0;return 2===t.size?(r=1,n=1):t.has(!0)?r=1:t.has(!1)&&(n=1),`{\n "兼容性":${r},\n "非兼容性":${n}\n }`}function N(e){const t=new Set(e.getAllChangeType());let r=0,n=0,i=0,a=0,o=0,s=0;return t.has("API修改(原型修改)")&&s++,t.has("API修改(约束变化)")&&o++,(t.has("API修改(原型修改)")||t.has("API修改(约束变化)"))&&a++,t.has("API废弃")&&i++,t.has("API新增")&&r++,t.has("API删除")&&n++,`{\n "API新增": ${r},\n "API删除": ${n},\n "API废弃": ${i},\n "API修改": ${a},\n "API修改(原型修改)": ${s},\n "API修改(约束变化)": ${o}\n }`}function P(e){return""!==e.getNewApiName()?e.getNewApiName():e.getOldApiName()}function I(e){const t=e.getNewHierarchicalRelations();return t.length>0?t.join():e.getOldHierarchicalRelations().join()}function F(e){if(e.getDiffMessage()===f.diffTypeMap.get(f.ApiDiffType.ADD))return"NA";let t="";const r=e.getOldHierarchicalRelations(),n=e.getParentModuleName(r);return t="-1"!==e.getOldDescription()&&e.getOldDescription()?e.getOldDescription():"NA",e.getDiffType()===f.ApiDiffType.KIT_CHANGE?`${t}`:`类名:${n};\nAPI声明:${e.getOldApiDefinedText()}\n差异内容:${t}`}function O(e){if(e.getDiffMessage()===f.diffTypeMap.get(f.ApiDiffType.REDUCE))return"NA";let t="";const r=e.getNewHierarchicalRelations(),n=e.getParentModuleName(r);return t="-1"!==e.getNewDescription()&&e.getNewDescription()?e.getNewDescription():"NA",e.getDiffType()===f.ApiDiffType.KIT_CHANGE?`${t}`:`类名:${n};\nAPI声明:${e.getNewApiDefinedText()}\n差异内容:${t}`}t.joinOldMessage=F,t.joinNewMessage=O,t.toolNameMethod=new Map([[E.COLLECT,function(e){const t=i.default.resolve(c.FileUtils.getBaseDirName(),e.collectPath);let r,n="";""!==e.collectFile&&(n=i.default.resolve(c.FileUtils.getBaseDirName(),e.collectFile),d.parserParam.setSdkPath(n));try{r=c.FileUtils.isDirectory(t)?u.Parser.parseDir(t,n):u.Parser.parseFile(i.default.resolve(t,".."),t);const a=h.ApiStatisticsHelper.getApiStatisticsInfos(r);let o=[u.Parser.getParseResults(r)];if("excel"===e.format){const t=a.allApiStatisticsInfos;o=a.apiStatisticsInfos,t&&m.WriterHelper.ExcelReporter(t,e.output,`all_${e.toolName}.xlsx`,w)}return{data:o,callback:w}}catch(e){const t=e;return l.LogUtil.e("error collect",t.stack?t.stack:t.message),{data:[],callback:w}}}],[E.CHECK,function(e){try{let t=[];const r=i.default.resolve(c.FileUtils.getBaseDirName(),"../mdFiles.txt");a.default.existsSync(r)&&(t=b.CommonFunctions.getMdFiles(r));const n={filePathArr:t,fileRuleArr:["all"],output:"./result.json",prId:e.prId,isOutExcel:"true",isIncrement:Boolean("true"===e.isIncrement)};return g.LocalEntry.checkEntryLocal(n),{data:[]}}catch(e){const t=e;return l.LogUtil.e("error check",t.stack?t.stack:t.message),{data:[]}}}],[E.CHECKONLINE,function(e){e.format=S.NULL;try{const t={filePathArr:e.path.split(","),fileRuleArr:e.checker.split(","),output:e.output,prId:e.prId,isOutExcel:e.excel,isIncrement:Boolean("true"===e.isIncrement)};return g.LocalEntry.checkEntryLocal(t),{data:[]}}catch(e){const t=e;l.LogUtil.e("error check",t.stack?t.stack:t.message)}return{data:[]}}],[E.APICHANGECHECK,function(e){e.format=S.NULL;try{const t={filePathArr:[],fileRuleArr:e.checker.split(","),output:e.output,prId:e.prId,isOutExcel:e.excel,isIncrement:Boolean("true"===e.isIncrement)};return g.LocalEntry.apiChangeCheckEntryLocal(t),{data:[]}}catch(e){const t=e;l.LogUtil.e("error api change check",t.stack?t.stack:t.message)}return{data:[]}}],[E.DIFF,function(e){const t=i.default.resolve(c.FileUtils.getBaseDirName(),e.old),r=i.default.resolve(c.FileUtils.getBaseDirName(),e.new),n=a.default.statSync(t);let o=[];try{if(n.isDirectory()){const n=u.Parser.parseDir(r);u.Parser.cleanParserParamSDK();const i=u.Parser.parseDir(t);o=p.DiffHelper.diffSDK(i,n,e.all)}else{const n=u.Parser.parseFile(i.default.resolve(t,".."),t);u.Parser.cleanParserParamSDK();const a=u.Parser.parseFile(i.default.resolve(r,".."),r);o=p.DiffHelper.diffSDK(n,a,e.all)}let a=[];return a=e.format===S.JSON?[JSON.stringify(o,null,_.NumberConstant.INDENT_SPACE)]:o,{data:a,callback:C}}catch(e){const t=e;return l.LogUtil.e("error diff",t.stack?t.stack:t.message),{data:[],callback:C}}}],[E.LABELDETECTION,function(e){process.env.NEED_DETECTION="true",process.env.IS_OH=e.isOH,e.format=S.NULL;const t=i.default.resolve(c.FileUtils.getBaseDirName(),e.collectPath);let r,n="";""!==e.collectFile&&(n=i.default.resolve(c.FileUtils.getBaseDirName(),e.collectFile));let a=Buffer.from("");try{r=c.FileUtils.isDirectory(t)?u.Parser.parseDir(t,n):u.Parser.parseFile(i.default.resolve(t,".."),t);const s=u.Parser.getParseResults(r);m.WriterHelper.JSONReporter(s,i.default.dirname(e.output),"detection.json");let l="";l=`${i.default.resolve(c.FileUtils.getBaseDirName(),"./main.exe")} -N detection -L ${e.checkLabels} -P ${i.default.resolve(i.default.dirname(e.output),"detection.json")} -O ${i.default.resolve(e.output)}`,a=o.execSync(l,{timeout:12e4})}catch(e){const t=e;l.LogUtil.e("error collect",t.stack?t.stack:t.message)}finally{l.LogUtil.i("detection run over",a.toString())}return{data:[]}}],[E.COUNT,function(e){const t=i.default.resolve(c.FileUtils.getBaseDirName(),"../../api");let r,n="";""!==e.collectFile&&(n=i.default.resolve(c.FileUtils.getBaseDirName(),e.collectFile));try{r=c.FileUtils.isDirectory(t)?u.Parser.parseDir(t,n):u.Parser.parseFile(i.default.resolve(t,".."),t);const a=h.ApiStatisticsHelper.getApiStatisticsInfos(r).apiStatisticsInfos,o=v.ApiCountHelper.countApi(a);let s=[];return s=e.format===S.JSON?[JSON.stringify(o,null,_.NumberConstant.INDENT_SPACE)]:o,{data:s,callback:T}}catch(e){const t=e;return l.LogUtil.e("error count",t.stack?t.stack:t.message),{data:[],callback:T}}}]])},35846:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getToolConfiguration=void 0;const n=r(30513);t.getToolConfiguration=function(){return{plugins:[n.Plugin]}}},17999:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.WriterHelper=void 0;const i=n(r(35244)),a=n(r(71017)),o=n(r(57147)),s=r(42034),c=r(30513),l=r(51626),u=r(53073);!function(e){e.JSONReporter=function(e,t,r){const n=a.default.resolve(t,r);o.default.writeFileSync(n,e),s.LogUtil.i("JSONReporter",`report is in ${n}`)},e.ExcelReporter=async function(e,t,r,n,c){const l=new i.default.Workbook;"function"==typeof n&&n(e,l,t,c);const u=await l.xlsx.writeBuffer(),d=a.default.resolve(t,r);o.default.writeFileSync(d,u),s.LogUtil.i("ExcelReporter",`report is in ${d}`)};class t{static writeInMarkdown(e,r){t.getAllKitInfo(e).forEach((n=>{let i=[];e.forEach((e=>{u.SyscapProcessorHelper.getSingleKitInfo(e)===n&&i.push(e)})),0!==i.length&&t.sortDiffInfoByFile(i,n,r)}))}static getAllKitInfo(e){const t=new Set;return e.forEach((e=>{t.add(e.getOldKitInfo()),t.add(e.getNewKitInfo())})),t}static getSingleKitInfo(e){return""!==e.getNewKitInfo()?e.getNewKitInfo():e.getOldKitInfo()}static getFileNameInkit(e){const t=new Set;return e.forEach((e=>{""!==e.getNewDtsName()?t.add(e.getNewDtsName()):t.add(e.getOldDtsName())})),t}static getSingleFileName(e){return""!==e.getNewDtsName()?e.getNewDtsName():e.getOldDtsName()}static sortDiffInfoByFile(e,r,n){const i=t.getFileNameInkit(e),a=[];i.forEach((i=>{e.forEach((e=>{t.getSingleFileName(e)===i&&a.push(e)})),t.sortDiffInfoByStatus(a,r,n)}))}static sortDiffInfoByStatus(e,r,n){const i=[];for(const t of l.diffTypeMap.keys())e.forEach((e=>{e.getDiffType()===t&&i.push(e)}));t.exportDiffMd(r,i,n)}static exportDiffMd(e,r,n){let i="| 操作 | 旧版本 | 新版本 | d.ts文件 |\n| ---- | ------ | ------ | -------- |\n";for(let e=0;e<r.length;e++){let n=r[e];const a=n.getNewDtsName()?n.getNewDtsName():n.getOldDtsName();i+=`|${l.diffTypeMap.get(n.getDiffType())}|${t.formatDiffMessage(c.joinOldMessage(n))}|${t.formatDiffMessage(c.joinNewMessage(n))}|${a.replace(/\\/g,"/")}|\n`}const a=`${n}\\diff合集`;o.default.existsSync(a)||o.default.mkdirSync(a),o.default.writeFileSync(`${n}\\diff合集\\js-apidiff-${e}.md`,i)}static formatDiffMessage(e){return e.replace(/\r|\n/g,"<br>").replace(/\|/g,"\\|").replace(/\<(?!br>)/g,"\\<")}}e.MarkdownReporter=t}(t.WriterHelper||(t.WriterHelper={}))},84529:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=n(r(71017));t.default={NODE_ENV:"development",EVN_CONFIG:"dev",DIR_NAME:i.default.resolve(__dirname,"../.."),NEED_DETECTION:"",IS_OH:"",IS_INCREMENT_CHECK:void 0}},7251:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=n(r(84529)),a=n(r(39517)),o="production",s={development:i.default,production:a.default};Object.assign(process.env,s[o]),t.default=s[o]},39517:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=n(r(71017));t.default={NODE_ENV:"production",EVN_CONFIG:"prod",DIR_NAME:i.default.resolve(__dirname,".."),NEED_DETECTION:"",IS_OH:"",IS_INCREMENT_CHECK:void 0}},3477:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LocalEntry=void 0;const n=r(45842),i=r(48821),a=r(42034),o=r(40139),s=r(40139),c=r(55172),l=r(42372);class u{static checkEntryLocal(e){let t=s.apiCheckResult;try{i.Check.scanEntry(e.filePathArr,e.prId);const t=u.filterIncrementResult(s.compositiveResult,e.isIncrement);u.maskAlarm(t,e.fileRuleArr)}catch(e){a.LogUtil.e("API_CHECK_ERROR",e)}finally{o.GenerateFile.writeFile(s.apiCheckResult,e.output,{}),"true"===e.isOutExcel&&o.GenerateFile.writeExcelFile(s.apiCheckResult)}return t}static filterIncrementResult(e,t){return t&&0!==s.hierarchicalRelationsSet.size?e.filter((e=>!Boolean(process.env.IS_INCREMENT_CHECK)||u.hasHierarchicalRelations(e))):e}static hasHierarchicalRelations(e){return s.hierarchicalRelationsSet.has(e.hierarchicalRelations)}static maskAlarm(e,t){const r=1===t.length&&"all"===t[0],i=new Map(Object.entries({...c.DOC,...c.DEFINE,...c.CHANEGE}));let a=new Set;r?a=new Set([...i.values()]):t.forEach((e=>{const t=i.get(e);t&&a.add(t)}));new Set(e);u.filterAllResultInfo(e,i,a).forEach((e=>{const t=new n.ApiBaseInfo;t.setApiName(e.apiName).setApiType(e.apiType).setHierarchicalRelations(e.hierarchicalRelations).setParentModuleName(e.parentModuleName);const r=new n.ApiResultMessage;r.setFilePath(e.filePath).setLocation(e.location).setLevel(e.level).setType(e.type).setMessage(e.message).setMainBuggyCode(e.apiText).setMainBuggyLine(e.location).setExtendInfo(t),s.apiCheckResult.push(r)}))}static filterAllResultInfo(e,t,r){return e.filter((e=>{let n=e.message.replace(/API check error of \[.*\]: /g,"");if(/\d/g.test(n)&&(n=n.replace(/\d+/g,"1")),/Prohibited word in \[.*\]:{option}.The word allowed is \[.*\]\./g.test(n)&&(n=JSON.stringify(t.get("API_DEFINE_NAME_01")).replace(/\"/g,"")),/Prohibited word in \[.*\]:{ability} in the \[.*\] file\./g.test(n)&&(n=JSON.stringify(t.get("API_DEFINE_NAME_02")).replace(/\"/g,"")),/please confirm whether it needs to be corrected to a common word./g.test(n)&&(n=n.replace(/\{.*\}/g,"{XXXX}")),/tag does not exist. Please use a valid JSDoc tag./g.test(n)&&(n=n.replace(/\[.*\]/g,"[XXXX]")),/The event name should be named by small hump./g.test(n)&&(n=n.replace(/\[.*\]/g,"[XXXX]")),/This name \[.*\] should be named by/g.test(n)&&(n=n.replace(/\[.*\]/g,"[XXXX]")),r.has(n)){const r=u.filterApiCheckInfos(t,n);""!==r&&e.setType(r)}return r.has(n)}))}static filterApiCheckInfos(e,t){for(let[r,n]of e.entries())if(n===t)return r;return""}static apiChangeCheckEntryLocal(e){let t=s.apiCheckResult;try{l.ApiChangeCheck.checkApiChange(e.prId),u.maskAlarm(s.compositiveResult,e.fileRuleArr)}catch(e){a.LogUtil.e("API_CHECK_ERROR",e)}finally{o.GenerateFile.writeFile(s.apiCheckResult,e.output,{}),"true"===e.isOutExcel&&o.GenerateFile.writeExcelFile(s.apiCheckResult)}return t}}t.LocalEntry=u},48821:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Check=t.currentFilePath=void 0;const i=n(r(57147)),a=n(r(71017)),o=r(83317),s=r(19503),c=r(45842),l=r(40139),u=r(16110),d=r(50474),p=r(80350),f=r(8814),m=r(4528),g=r(32077),_=r(54068),h=r(49570),y=r(93501),v=r(63283),b=r(33444),k=r(42372),x=r(27104),E=r(2478),S=r(49018),D=r(88566);t.currentFilePath="";class w{static scanEntry(e,r){l.cleanApiCheckResult(),k.ApiChangeCheck.checkApiChange(r),e.forEach(((e,r)=>{if(t.currentFilePath=e,-1!==e.indexOf("build-tools"))return;console.log(`scaning file in no ${++r}!`);const n=w.parseAPICodeStyle(e),i=o.Parser.getAllBasicApi(n);w.checkNodeInfos(i);const s=n.get(a.default.basename(e));s&&v.CheckHump.checkAPIFileName(s),v.CheckHump.checkAllAPINameOfHump(i),_.WordsCheck.wordCheckResultsProcessing(i);const c=new b.EventMethodChecker(n),l=c.getAllEventMethod();c.checkEventMethod(l)}))}static getMdFiles(e){return i.default.readFileSync(e,"utf-8").split(/[(\r\n)\r\n]+/)}static parseAPICodeStyle(e){return o.Parser.parseFile(a.default.resolve(e,".."),e)}static checkNodeInfos(e){let r=[];w.getHasJsdocApiInfos(e,r),r.forEach((e=>{const r=e.getLastJsDocInfo(),n=e.getJsDocText().length;if("Method"!==e.getApiType()||"Struct"!==e.getParentApi()?.apiType)if(void 0===r||0===n){const n=new c.ErrorBaseInfo;n.setErrorID(c.ErrorID.NO_JSDOC_ID).setErrorLevel(c.ErrorLevel.MIDDLE).setErrorType(c.ErrorType.NO_JSDOC).setLogType(c.LogType.LOG_JSDOC).setErrorInfo(c.ErrorMessage.ERROR_NO_JSDOC);const i=l.CommonFunctions.getErrorInfo(e,r,t.currentFilePath,n);m.AddErrorLogs.addAPICheckErrorLogs(i,l.compositiveResult,l.compositiveLocalResult)}else{if("NA"===r.getKit()){const n=new c.ErrorBaseInfo;n.setErrorID(c.ErrorID.WRONG_SCENE_ID).setErrorLevel(c.ErrorLevel.MIDDLE).setErrorType(c.ErrorType.WRONG_SCENE).setLogType(c.LogType.LOG_JSDOC).setErrorInfo(l.CommonFunctions.createErrorInfo(c.ErrorMessage.ERROR_LOST_LABEL,["kit"]));const i=l.CommonFunctions.getErrorInfo(e,r,t.currentFilePath,n);m.AddErrorLogs.addAPICheckErrorLogs(i,l.compositiveResult,l.compositiveLocalResult)}if(!r.getFileTagContent()){new c.ApiCheckInfo;const n=new c.ErrorBaseInfo;n.setErrorID(c.ErrorID.WRONG_SCENE_ID).setErrorLevel(c.ErrorLevel.MIDDLE).setErrorType(c.ErrorType.WRONG_SCENE).setLogType(c.LogType.LOG_JSDOC).setErrorInfo(l.CommonFunctions.createErrorInfo(c.ErrorMessage.ERROR_LOST_LABEL,["file"]));const i=l.CommonFunctions.getErrorInfo(e,r,t.currentFilePath,n);m.AddErrorLogs.addAPICheckErrorLogs(i,l.compositiveResult,l.compositiveLocalResult)}const n=p.LegalityCheck.apiLegalityCheck(e,r),i=u.OrderCheck.orderCheck(e,r),a=y.ApiNamingCheck.namingCheck(e),o=E.ChineseCheck.checkChinese(r),s=D.CheckErrorCode.checkErrorCode(r),_=d.TagNameCheck.tagNameCheck(r),v=x.TagInheritCheck.tagInheritCheck(e),b=g.TagValueCheck.tagValueCheck(e,r),k=f.TagRepeatCheck.tagRepeatCheck(r),w=h.ForbiddenWordsCheck.forbiddenWordsCheck(e),T=S.AnonymousFunctionCheck.checkAnonymousFunction(e);if(!i.state){const n=new c.ErrorBaseInfo;n.setErrorID(c.ErrorID.WRONG_ORDER_ID).setErrorLevel(c.ErrorLevel.MIDDLE).setErrorType(c.ErrorType.WRONG_ORDER).setLogType(c.LogType.LOG_JSDOC).setErrorInfo(i.errorInfo);const a=l.CommonFunctions.getErrorInfo(e,r,t.currentFilePath,n);m.AddErrorLogs.addAPICheckErrorLogs(a,l.compositiveResult,l.compositiveLocalResult)}if(!_.state){const n=new c.ErrorBaseInfo;n.setErrorID(c.ErrorID.UNKNOW_DECORATOR_ID).setErrorLevel(c.ErrorLevel.MIDDLE).setErrorType(c.ErrorType.UNKNOW_DECORATOR).setLogType(c.LogType.LOG_JSDOC).setErrorInfo(_.errorInfo);const i=l.CommonFunctions.getErrorInfo(e,r,t.currentFilePath,n);m.AddErrorLogs.addAPICheckErrorLogs(i,l.compositiveResult,l.compositiveLocalResult)}if(!w.state){const n=new c.ErrorBaseInfo;n.setErrorID(c.ErrorID.FORBIDDEN_WORDS_ID).setErrorLevel(c.ErrorLevel.MIDDLE).setErrorType(c.ErrorType.FORBIDDEN_WORDS).setLogType(c.LogType.LOG_JSDOC).setErrorInfo(w.errorInfo);const i=l.CommonFunctions.getErrorInfo(e,r,t.currentFilePath,n);m.AddErrorLogs.addAPICheckErrorLogs(i,l.compositiveResult,l.compositiveLocalResult)}if(!a.state){const n=new c.ErrorBaseInfo;n.setErrorID(c.ErrorID.NAMING_ERRORS_ID).setErrorLevel(c.ErrorLevel.MIDDLE).setErrorType(c.ErrorType.NAMING_ERRORS).setLogType(c.LogType.LOG_JSDOC).setErrorInfo(a.errorInfo);const i=l.CommonFunctions.getErrorInfo(e,r,t.currentFilePath,n);m.AddErrorLogs.addAPICheckErrorLogs(i,l.compositiveResult,l.compositiveLocalResult)}if(!o.state){const n=new c.ErrorBaseInfo;n.setErrorID(c.ErrorID.JSDOC_HAS_CHINESE).setErrorLevel(c.ErrorLevel.MIDDLE).setErrorType(c.ErrorType.JSDOC_HAS_CHINESE).setLogType(c.LogType.LOG_JSDOC).setErrorInfo(o.errorInfo);const i=l.CommonFunctions.getErrorInfo(e,r,t.currentFilePath,n);m.AddErrorLogs.addAPICheckErrorLogs(i,l.compositiveResult,l.compositiveLocalResult)}if(!s.state){const n=new c.ErrorBaseInfo;n.setErrorID(c.ErrorID.ERROR_ERROR_CODE).setErrorLevel(c.ErrorLevel.MIDDLE).setErrorType(c.ErrorType.ERROR_ERROR_CODE).setLogType(c.LogType.LOG_JSDOC).setErrorInfo(s.errorInfo);const i=l.CommonFunctions.getErrorInfo(e,r,t.currentFilePath,n);m.AddErrorLogs.addAPICheckErrorLogs(i,l.compositiveResult,l.compositiveLocalResult)}if(v.forEach((n=>{if(!n.state){const i=new c.ErrorBaseInfo;i.setErrorID(c.ErrorID.WRONG_SCENE_ID).setErrorLevel(c.ErrorLevel.MIDDLE).setErrorType(c.ErrorType.WRONG_SCENE).setLogType(c.LogType.LOG_JSDOC).setErrorInfo(n.errorInfo);const a=l.CommonFunctions.getErrorInfo(e,r,t.currentFilePath,i);m.AddErrorLogs.addAPICheckErrorLogs(a,l.compositiveResult,l.compositiveLocalResult)}})),n.forEach((n=>{if(!1===n.state){const i=new c.ErrorBaseInfo;i.setErrorID(c.ErrorID.WRONG_SCENE_ID).setErrorLevel(c.ErrorLevel.MIDDLE).setErrorType(c.ErrorType.WRONG_SCENE).setLogType(c.LogType.LOG_JSDOC).setErrorInfo(n.errorInfo);const a=l.CommonFunctions.getErrorInfo(e,r,t.currentFilePath,i);m.AddErrorLogs.addAPICheckErrorLogs(a,l.compositiveResult,l.compositiveLocalResult)}})),b.forEach((n=>{if(!1===n.state){const i=new c.ErrorBaseInfo;i.setErrorID(c.ErrorID.WRONG_VALUE_ID).setErrorLevel(c.ErrorLevel.MIDDLE).setErrorType(c.ErrorType.WRONG_VALUE).setLogType(c.LogType.LOG_JSDOC).setErrorInfo(n.errorInfo);const a=l.CommonFunctions.getErrorInfo(e,r,t.currentFilePath,i);m.AddErrorLogs.addAPICheckErrorLogs(a,l.compositiveResult,l.compositiveLocalResult)}})),k.forEach((n=>{if(!1===n.state){const i=new c.ErrorBaseInfo;i.setErrorID(c.ErrorID.WRONG_SCENE_ID).setErrorLevel(c.ErrorLevel.MIDDLE).setErrorType(c.ErrorType.WRONG_SCENE).setLogType(c.LogType.LOG_JSDOC).setErrorInfo(n.errorInfo);const a=l.CommonFunctions.getErrorInfo(e,r,t.currentFilePath,i);m.AddErrorLogs.addAPICheckErrorLogs(a,l.compositiveResult,l.compositiveLocalResult)}})),!T.state){const n=new c.ErrorBaseInfo;n.setErrorID(c.ErrorID.WRONG_SCENE_ID).setErrorLevel(c.ErrorLevel.MIDDLE).setErrorType(c.ErrorType.WRONG_SCENE).setLogType(c.LogType.LOG_JSDOC).setErrorInfo(T.errorInfo);const i=l.CommonFunctions.getErrorInfo(e,r,t.currentFilePath,n);m.AddErrorLogs.addAPICheckErrorLogs(i,l.compositiveResult,l.compositiveLocalResult)}}}))}static getHasJsdocApiInfos(e,t){e.forEach((e=>{s.notJsDocApiTypes.has(e.getApiType())||t.push(e)}))}}t.Check=w},49018:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.AnonymousFunctionCheck=void 0;const i=n(r(55423)),a=r(45842),o=r(19503),s=r(40139);t.AnonymousFunctionCheck=class{static checkAnonymousFunction(e){const t={state:!0,errorInfo:""},r=e.getJsDocInfos();if(s.CommonFunctions.getSinceVersion(r[0].getSince())!==s.CommonFunctions.getCheckApiVersion())return t;let n=[i.default.SyntaxKind.FunctionType,i.default.SyntaxKind.TypeLiteral],c=!1,l=!1,u=!1;if(e.getApiType()===o.ApiType.METHOD){c=n.includes(e.returnValueType),l=!1;e.getParams().forEach((e=>{l=n.includes(e.getParamType())}))}else e.getApiType()===o.ApiType.PROPERTY&&(u=n.includes(e.typeKind));return(c||l||u)&&(t.state=!1,t.errorInfo=a.ErrorMessage.ERROR_ANONYMOUS_FUNCTION),t}}},42372:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ApiChangeCheck=void 0;const i=n(r(71017)),a=n(r(57147)),o=r(83317),s=r(550),c=r(10391),l=r(4528),u=r(40139),d=r(45842),p=r(51626);t.ApiChangeCheck=class{static checkApiChange(e){let t="";const r=i.default.resolve(c.FileUtils.getBaseDirName(),`../../../../Archive/patch_info/openharmony_interface_sdk-js_${e}`),n=i.default.resolve(c.FileUtils.getBaseDirName(),e);a.default.existsSync(r)?(process.env.IS_INCREMENT_CHECK="true",t=r):a.default.existsSync(n)?(process.env.IS_INCREMENT_CHECK="true",t=n):process.env.IS_INCREMENT_CHECK=void 0;const f=i.default.resolve(t,"./old"),m=i.default.resolve(t,"./new");if(!a.default.existsSync(f)||!a.default.existsSync(m))return;let g=[];if(a.default.statSync(f).isDirectory()){const e=o.Parser.parseDir(f),t=o.Parser.parseDir(m);g=s.DiffHelper.diffSDK(e,t,!1,!0)}else{const e=o.Parser.parseFile(i.default.resolve(f,".."),f),t=o.Parser.parseFile(i.default.resolve(m,".."),m);g=s.DiffHelper.diffSDK(e,t,!1,!0)}g.forEach((e=>{if(u.hierarchicalRelationsSet.add(e.oldHierarchicalRelations.join("|")).add(e.newHierarchicalRelations.join("|")),!1!==e.getIsCompatible())return;const t=d.incompatibleApiDiffTypes.get(e.getDiffType());if(e.getDiffType()===p.ApiDiffType.REDUCE){const r=i.default.basename(e.getOldDtsName());let n=new d.ApiCheckInfo;const a=e.getOldHierarchicalRelations(),o=a[a.length-1];n.setErrorID(d.ErrorID.API_CHANGE_ERRORS_ID).setErrorLevel(d.ErrorLevel.MIDDLE).setFilePath(r).setApiPostion(e.getOldPos()).setErrorType(d.ErrorType.API_CHANGE_ERRORS).setLogType(d.LogType.LOG_JSDOC).setSinceNumber(-1).setApiName(e.getOldApiName()).setApiType(e.getApiType()).setApiText(e.getOldApiDefinedText()).setErrorInfo(t).setHierarchicalRelations(e.getOldHierarchicalRelations().join("|")).setParentModuleName(o),l.AddErrorLogs.addAPICheckErrorLogs(n,u.compositiveResult,u.compositiveLocalResult)}else{const r=i.default.basename(e.getNewDtsName());let n=new d.ApiCheckInfo;const a=e.getNewHierarchicalRelations(),o=a[a.length-1];n.setErrorID(d.ErrorID.API_CHANGE_ERRORS_ID).setErrorLevel(d.ErrorLevel.MIDDLE).setFilePath(r).setApiPostion(e.getOldPos()).setErrorType(d.ErrorType.API_CHANGE_ERRORS).setLogType(d.LogType.LOG_JSDOC).setSinceNumber(-1).setApiName(e.getNewApiName()).setApiType(e.getApiType()).setApiText(e.getNewApiDefinedText()).setErrorInfo(t).setHierarchicalRelations(e.getNewHierarchicalRelations().join("|")).setParentModuleName(o),l.AddErrorLogs.addAPICheckErrorLogs(n,u.compositiveResult,u.compositiveLocalResult)}}))}}},2478:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChineseCheck=void 0;const n=r(45842),i=r(40139);t.ChineseCheck=class{static isChinese(e){return/[\u4e00-\u9fa5]/.test(e)}static checkChinese(e){const t={state:!0,errorInfo:""};this.isChinese(e.description)&&(t.state=!1,t.errorInfo=i.CommonFunctions.createErrorInfo(n.ErrorMessage.ERROR_HAS_CHINESE,[e.description]));const r=e.tags;return void 0===r||r.forEach((e=>{for(let r=0;r<e.tokenSource.length;r++)this.isChinese(e.tokenSource[r].source)&&(t.state=!1,t.errorInfo=i.CommonFunctions.createErrorInfo(n.ErrorMessage.ERROR_HAS_CHINESE,[e.tag]))})),t}}},88566:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CheckErrorCode=void 0;const n=r(45842);class i{static isArrayNotEmpty(e){return Array.isArray(e)&&e.length>0}static hasNumberInArray(e,t){return e.every((e=>t.includes(e)))}static checkErrorCode(e){const t={state:!0,errorInfo:""},r=e.errorCodes.filter((e=>e>=100&&e<1e3));return this.isArrayNotEmpty(r)&&(this.hasNumberInArray(r,this.errorCodeList)||(t.state=!1,t.errorInfo=n.ErrorMessage.ERROR_ERROR_CODE)),t}}t.CheckErrorCode=i,i.errorCodeList=[201,202,203,301,401,501,502,801,901]},63283:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CheckHump=void 0;const i=n(r(71017)),a=r(4528),o=r(64158),s=r(45842),c=r(19503),l=r(40139),u=r(40139),d=r(48821);class p{static checkLargeHump(e){return/^([A-Z][a-z0-9]*)*$/g.test(e)}static checkSmallHump(e){return/^[a-z]+[0-9]*([A-Z][a-z0-9]*)*$/g.test(e)}static checkAllUppercaseHump(e){return/^[A-Z]+[0-9]*([\_][A-Z0-9]+)*$/g.test(e)}static getApiInfosInFileMap(e,t){if(t===o.StringConstant.SELF)return[];return e.get(t).get(o.StringConstant.SELF)}static checkAllAPINameOfHump(e){e.forEach((e=>{c.notJsDocApiTypes.has(e.getApiType())||p.checkAPINameOfHump(e)}))}static checkAPINameOfHump(e){const t=e.getLastJsDocInfo(),r=e.getJsDocInfos().length>0?e.getJsDocInfos()[0].getSince():"";if(t){if("-1"!==t.getDeprecatedVersion())return;if(r!==String(l.CommonFunctions.getCheckApiVersion()))return}const n=e.getApiType(),o=e.getFilePath();let f=e.getApiName(),m="";if(e.getIsJoinType()&&(f=f.split("_")[0]),n===c.ApiType.ENUM_VALUE||n===c.ApiType.CONSTANT&&-1===o.indexOf(`component${i.default.sep}ets${i.default.sep}`)?p.checkAllUppercaseHump(f)||(m=l.CommonFunctions.createErrorInfo(s.ErrorMessage.ERROR_UPPERCASE_NAME,[f])):n===c.ApiType.INTERFACE||n===c.ApiType.CLASS||n===c.ApiType.TYPE_ALIAS||n===c.ApiType.ENUM?p.checkLargeHump(f)||(m=l.CommonFunctions.createErrorInfo(s.ErrorMessage.ERROR_LARGE_HUMP_NAME,[f])):n!==c.ApiType.PROPERTY&&n!==c.ApiType.METHOD&&n!==c.ApiType.PARAM&&n!==c.ApiType.NAMESPACE||p.checkSmallHump(f)||(m=l.CommonFunctions.createErrorInfo(s.ErrorMessage.ERROR_SMALL_HUMP_NAME,[f])),""!==m){const t=new s.ErrorBaseInfo;t.setErrorID(s.ErrorID.NAMING_ERRORS_ID).setErrorLevel(s.ErrorLevel.MIDDLE).setErrorType(s.ErrorType.NAMING_ERRORS).setLogType(s.LogType.LOG_JSDOC).setErrorInfo(m);const r=l.CommonFunctions.getErrorInfo(e,void 0,d.currentFilePath,t);a.AddErrorLogs.addAPICheckErrorLogs(r,u.compositiveResult,u.compositiveLocalResult)}}static checkAPIFileName(e){const t=e.get(o.StringConstant.SELF)[0];if(t.getApiType()!==c.ApiType.SOURCE_FILE)return;const r=t.getFilePath();if(-1!==r.indexOf(`component${i.default.sep}ets${i.default.sep}`))return;let n="",f="",m="NA";for(const t of e.keys()){p.getApiInfosInFileMap(e,t).forEach((e=>{if(!c.notJsDocApiTypes.has(e.getApiType())){const t=e.getJsDocInfos();m=t[0]?l.CommonFunctions.getSinceVersion(t[0].getSince()):m}n=e.getApiType()===c.ApiType.NAMESPACE?e.getApiName():n,f=e.getApiType()===c.ApiType.EXPORT_DEFAULT||e.getIsExport()?e.getApiName().replace(o.StringConstant.EXPORT_DEFAULT,""):f}))}const g=i.default.basename(r).replace(new RegExp(o.StringConstant.DTS_EXTENSION,"g"),"").replace(new RegExp(o.StringConstant.DETS_EXTENSION,"g"),"").split("."),_=g.length?g[g.length-1]:"";let h="";if(""===n||f!==n||p.checkSmallHump(_)?""!==n||f===n||p.checkLargeHump(_)||(h=s.ErrorMessage.ERROR_LARGE_HUMP_NAME_FILE):h=s.ErrorMessage.ERROR_SMALL_HUMP_NAME_FILE,""!==h&&m===String(l.CommonFunctions.getCheckApiVersion())){const e=new s.ErrorBaseInfo;e.setErrorID(s.ErrorID.NAMING_ERRORS_ID).setErrorLevel(s.ErrorLevel.MIDDLE).setErrorType(s.ErrorType.NAMING_ERRORS).setLogType(s.LogType.LOG_JSDOC).setErrorInfo(h);const r=l.CommonFunctions.getErrorInfo(t,void 0,d.currentFilePath,e);a.AddErrorLogs.addAPICheckErrorLogs(r,u.compositiveResult,u.compositiveLocalResult)}}}t.CheckHump=p},4528:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AddErrorLogs=void 0;const n=r(45842),i=r(40139);t.AddErrorLogs=class{static addAPICheckErrorLogs(e,t,r){const a=JSON.stringify(e.getApiPostion().line),o=`API check error of [${e.getErrorType()}]: ${e.getErrorInfo()}`,s=new n.ApiResultSimpleInfo;s.setID(e.getErrorID()).setLevel(e.getErrorLevel()).setLocation(a).setFilePath(e.getFilePath()).setMessage(o).setApiText(e.getApiText()).setApiName(e.getApiName()).setApiType(e.getApiType()).setHierarchicalRelations(e.getHierarchicalRelations()).setParentModuleName(e.getParentModuleName());const c=new n.ApiResultInfo;c.setErrorType(e.getErrorType()).setLocation(e.getFilePath().slice(e.getFilePath().indexOf("api"),e.getFilePath().length)+`(line: ${a})`).setApiType(e.getApiType()).setMessage(o).setVersion(e.getSinceNumber()).setLevel(e.getErrorLevel()).setApiName(e.getApiName()).setApiFullText(e.getApiText()).setBaseName(e.getFilePath().slice(e.getFilePath().lastIndexOf("\\")+1,e.getFilePath().length)).setHierarchicalRelations(e.getHierarchicalRelations()).setParentModuleName(e.getParentModuleName()).setDefectType("");let l=e.getErrorInfo()===i.CommonFunctions.createErrorInfo(n.ErrorMessage.ERROR_LOST_LABEL,["kit"]),u=e.getErrorInfo()===i.CommonFunctions.createErrorInfo(n.ErrorMessage.ERROR_LOST_LABEL,["file"]),d=[],p=[];t.forEach((t=>{const r=t.getMessage().replace(/API check error of \[.*\]: /g,""),a=t.getFilePath()+r;a===e.getFilePath()+i.CommonFunctions.createErrorInfo(n.ErrorMessage.ERROR_LOST_LABEL,["kit"])&&d.push(t.getFilePath()+t.getMessage()),a===e.getFilePath()+i.CommonFunctions.createErrorInfo(n.ErrorMessage.ERROR_LOST_LABEL,["file"])&&p.push(t.getFilePath()+t.getMessage())})),l&&0!==d.length||u&&0!==p.length||(t.push(s),r.push(c))}}},33444:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.EventMethodChecker=void 0;const i=n(r(55423)),a=r(64158),o=r(45842),s=r(19503),c=r(40139),l=r(83317),u=r(4528),d=r(40139),p=r(63283),f=r(42979),m=r(48821);t.EventMethodChecker=class{constructor(e){this.apiData=e}getAllEventMethod(){const e=l.Parser.getAllBasicApi(this.apiData);let t=[];m.Check.getHasJsdocApiInfos(e,t);const r=[];t.forEach((e=>{e.apiType===s.ApiType.METHOD&&e.getIsJoinType()&&r.push(e)}));return this.getEventMethodDataMap(r)}checkEventMethod(e){e.forEach((e=>{const t=e.onEvents.length>0?e.onEvents:[],r=t.length>0?t[0].jsDocInfos[0].since:"-1",n=e.offEvents.length>0?e.offEvents:[],a=n.length>0?n[0].jsDocInfos[0].since:"-1",s=0===e.onEvents.length&&0!==e.offEvents.length&&a===JSON.stringify(f.ApiCheckVersion),l=0!==e.onEvents.length&&0===e.offEvents.length&&r===JSON.stringify(f.ApiCheckVersion);if(s||l){const t=e.onEvents.concat(e.offEvents)[0],r=c.CommonFunctions.createErrorInfo(o.ErrorMessage.ERROR_EVENT_ON_AND_OFF_PAIR,[]),n=new o.ErrorBaseInfo;n.setErrorID(o.ErrorID.API_PAIR_ERRORS_ID).setErrorLevel(o.ErrorLevel.MIDDLE).setErrorType(o.ErrorType.API_PAIR_ERRORS).setLogType(o.LogType.LOG_JSDOC).setErrorInfo(r);const i=c.CommonFunctions.getErrorInfo(t,void 0,m.currentFilePath,n);u.AddErrorLogs.addAPICheckErrorLogs(i,d.compositiveResult,d.compositiveLocalResult)}let g=0,_=0;for(let t=0;t<e.offEvents.length;t++){const r=e.offEvents[t];if(r.getParams().length<2)continue;const n=this.collectEventCallback(r,g,_);g=n.callbackNumber,_=n.requiredCallbackNumber}if(e.offEvents.length>0&&a===JSON.stringify(f.ApiCheckVersion)&&(0!==g&&g===e.offEvents.length&&g===_||0===g&&0!==e.offEvents.length)){const t=e.offEvents[0],r=c.CommonFunctions.createErrorInfo(o.ErrorMessage.ERROR_EVENT_CALLBACK_OPTIONAL,[]),n=new o.ErrorBaseInfo;n.setErrorID(o.ErrorID.PARAMETER_ERRORS_ID).setErrorLevel(o.ErrorLevel.MIDDLE).setErrorType(o.ErrorType.PARAMETER_ERRORS).setLogType(o.LogType.LOG_JSDOC).setErrorInfo(r);const i=c.CommonFunctions.getErrorInfo(t,void 0,m.currentFilePath,n);u.AddErrorLogs.addAPICheckErrorLogs(i,d.compositiveResult,d.compositiveLocalResult)}const h=e.onEvents.concat(e.offEvents).concat(e.emitEvents).concat(e.onceEvents);for(let e=0;e<h.length;e++){const t=h[e];if(!this.checkVersionNeedCheck(t))continue;const r=t.getParams(),n=t.jsDocInfos[0].since;if(r.length<1&&n===JSON.stringify(f.ApiCheckVersion)){const e=c.CommonFunctions.createErrorInfo(o.ErrorMessage.ERROR_EVENT_WITHOUT_PARAMETER,[]),r=new o.ErrorBaseInfo;r.setErrorID(o.ErrorID.PARAMETER_ERRORS_ID).setErrorLevel(o.ErrorLevel.MIDDLE).setErrorType(o.ErrorType.PARAMETER_ERRORS).setLogType(o.LogType.LOG_JSDOC).setErrorInfo(e);const n=c.CommonFunctions.getErrorInfo(t,void 0,m.currentFilePath,r);u.AddErrorLogs.addAPICheckErrorLogs(n,d.compositiveResult,d.compositiveLocalResult);continue}const a=r.length?r[0]:void 0;if(void 0!==a&&n===JSON.stringify(f.ApiCheckVersion))if(a.getParamType()===i.default.SyntaxKind.LiteralType){const e=a.getType()[0].replace(/\'/g,"");if(""===e){const e=c.CommonFunctions.createErrorInfo(o.ErrorMessage.ERROR_EVENT_NAME_NULL,[a.getApiName()]),r=new o.ErrorBaseInfo;r.setErrorID(o.ErrorID.PARAMETER_ERRORS_ID).setErrorLevel(o.ErrorLevel.MIDDLE).setErrorType(o.ErrorType.PARAMETER_ERRORS).setLogType(o.LogType.LOG_JSDOC).setErrorInfo(e);const n=c.CommonFunctions.getErrorInfo(t,void 0,m.currentFilePath,r);u.AddErrorLogs.addAPICheckErrorLogs(n,d.compositiveResult,d.compositiveLocalResult)}else if(!p.CheckHump.checkSmallHump(e)){const r=c.CommonFunctions.createErrorInfo(o.ErrorMessage.ERROR_EVENT_NAME_SMALL_HUMP,[e]),n=new o.ErrorBaseInfo;n.setErrorID(o.ErrorID.PARAMETER_ERRORS_ID).setErrorLevel(o.ErrorLevel.MIDDLE).setErrorType(o.ErrorType.PARAMETER_ERRORS).setLogType(o.LogType.LOG_JSDOC).setErrorInfo(r);const i=c.CommonFunctions.getErrorInfo(t,void 0,m.currentFilePath,n);u.AddErrorLogs.addAPICheckErrorLogs(i,d.compositiveResult,d.compositiveLocalResult)}}else if(a.getParamType()!==i.default.SyntaxKind.StringKeyword){const e=c.CommonFunctions.createErrorInfo(o.ErrorMessage.ERROR_EVENT_NAME_STRING,[a.getApiName()]),r=new o.ErrorBaseInfo;r.setErrorID(o.ErrorID.PARAMETER_ERRORS_ID).setErrorLevel(o.ErrorLevel.MIDDLE).setErrorType(o.ErrorType.PARAMETER_ERRORS).setLogType(o.LogType.LOG_JSDOC).setErrorInfo(e);const n=c.CommonFunctions.getErrorInfo(t,void 0,m.currentFilePath,r);u.AddErrorLogs.addAPICheckErrorLogs(n,d.compositiveResult,d.compositiveLocalResult)}}}))}checkVersionNeedCheck(e){const t=c.CommonFunctions.getSinceVersion(e.getCurrentVersion());return parseInt(t)>=a.EventConstant.eventMethodCheckVersion}collectEventCallback(e,t,r){const n=e.getParams().slice(-1)[0];if(n.paramType){new Set([i.default.SyntaxKind.NumberKeyword,i.default.SyntaxKind.StringKeyword,i.default.SyntaxKind.BooleanKeyword,i.default.SyntaxKind.UndefinedKeyword,i.default.SyntaxKind.LiteralType]).has(n.paramType)||(t++,n.getIsRequired()&&r++)}return{callbackNumber:t,requiredCallbackNumber:r}}getEventMethodDataMap(e){let t=new Map;return e.forEach((e=>{const r=[...e.hierarchicalRelations];r.pop();const n=[...r,this.getEventName(e.apiName)].join("/");let i={onEvents:[],offEvents:[],emitEvents:[],onceEvents:[]};t.get(n)&&(i=t.get(n)),t.set(n,this.collectEventMethod(i,e))})),t}collectEventMethod(e,t){switch(this.getEventType(t.apiName)){case"on":e.onEvents.push(t);break;case"off":e.offEvents.push(t);break;case"emit":e.emitEvents.push(t);break;case"once":e.onceEvents.push(t)}return e}getEventName(e){return e.split(/\_/)[1]}getEventType(e){return e.split(/\_/)[0]}}},49570:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ForbiddenWordsCheck=void 0;const n=r(45842),i=r(40139),a=r(40139);t.ForbiddenWordsCheck=class{static forbiddenWordsCheck(e){const t=["this","unknown"],r={state:!0,errorInfo:""},o=e.getDefinedText(),s=e.getJsDocInfos(),c=i.CommonFunctions.getSinceVersion(s[0].getSince()),l=i.CommonFunctions.getCheckApiVersion(),u=/\s{2,}/g;let d=o.replace(/(\/\*|\*\/|\*)|\\n|\\r/g," ");return a.punctuationMarkSet.forEach((e=>{const t=new RegExp(e,"g");t.test(d)&&(d=d.replace(t," ").replace(u," "))})),d.split(/\s/g).forEach((a=>{c===l&&(t.includes(a)||"any"===a&&-1!==e.getFilePath().indexOf(".d.ets"))&&(r.state=!1,r.errorInfo=i.CommonFunctions.createErrorInfo(n.ErrorMessage.ILLEGAL_USE_ANY,[a]))})),r}}},93501:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ApiNamingCheck=void 0;const n=r(45842),i=r(40139),a=r(54068),o=r(79170),s=r(8910);class c{static namingCheck(e){const t={state:!0,errorInfo:""},r=e.getJsDocInfos(),n=i.CommonFunctions.getSinceVersion(r[0].getSince()),o=i.CommonFunctions.getCheckApiVersion(),s=e.getFilePath().toLowerCase(),l=/\s{2,}/g;let u=e.getDefinedText().replace(/(\/\*|\*\/|\*)|\n|\r/g," ");i.punctuationMarkSet.forEach((e=>{const t=new RegExp(e,"g");t.test(u)&&(u=u.replace(t," ").replace(l," "))}));let d=u.split(/\s/g),p=[];return d.forEach((e=>{a.WordsCheck.splitComplexWords(e,p)})),p.forEach((r=>{n===o&&(c.checkApiNamingWords(r,t),c.checkApiNamingScenario(s,t,e))})),t}static checkApiNamingWords(e,t){const r=c.getlowercaseNamingMap();for(const[a,o]of r){const r=e.indexOf(a);if(-1===r)continue;const s=o.ignore.map((e=>e.toLowerCase())),l=e.substring(r,r+a.length);if(0===s.length){t.state=!1,t.errorInfo=i.CommonFunctions.createErrorInfo(n.ErrorMessage.ERROR_NAMING,[e,l,o.suggestion]);break}!1===c.checkIgnoreWord(s,e)&&(t.state=!1,t.errorInfo=i.CommonFunctions.createErrorInfo(n.ErrorMessage.ERROR_NAMING,[e,l,o.suggestion]))}}static checkApiNamingScenario(e,t,r){const a=c.getlowercaseNamingScenarioMap();for(const[o,s]of a){-1===e.indexOf(o)||c.isInAllowedFiles(s.files,r.getFilePath())||(t.state=!1,t.errorInfo=i.CommonFunctions.createErrorInfo(n.ErrorMessage.ERROR_SCENARIO,[e,o,r.getFilePath()]))}}static getlowercaseNamingMap(){const e=new Map;for(const t of o){const r=t.badWord.toLowerCase(),n=t;e.set(r,n)}return e}static checkIgnoreWord(e,t){let r=!1;for(let n=0;n<e.length;n++)if(e[n]&&-1!==t.indexOf(e[n])){r=!0;break}return r}static getlowercaseNamingScenarioMap(){const e=new Map;for(const t of s){const r=t.word.toLowerCase(),n=t;e.set(r,n)}return e}static isInAllowedFiles(e,t){for(const r of e){const e=new RegExp(r);if(e.test(t),e.test(t))return!0}return!1}}t.ApiNamingCheck=c},27104:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TagInheritCheck=void 0;const n=r(45842),i=r(40139),a=r(19503);class o{static tagInheritCheck(e){const t=[],r=e.getLastJsDocInfo();if(void 0===r)return t;const n=r.tags,i=[];if(void 0===n)return t;n.forEach((e=>{i.push(e.tag)}));let s=e.getParentApi();return a.containerApiTypes.has(s.getApiType())&&o.checkParentJsdoc(s,i,t),t}static checkParentJsdoc(e,t,r){if(void 0===e||!a.containerApiTypes.has(e.getApiType()))return!0;const s=e,c=s.getLastJsDocInfo()?.tags,l={state:!0,errorInfo:""};if(void 0===c)return!0;let u="";const d=c.some((e=>(u=e.tag,i.inheritTagArr.includes(e.tag)&&!t.includes(e.tag)))),p=d?{state:!1,errorInfo:i.CommonFunctions.createErrorInfo(n.ErrorMessage.ERROR_INFO_INHERIT,[u.toLocaleLowerCase()])}:l,f=[];c.forEach((e=>{f.push(e.tag)}));const m=t.some((e=>(u=e,i.followTagArr.includes(e)&&!f.includes(e)))),g=m?{state:!1,errorInfo:i.CommonFunctions.createErrorInfo(n.ErrorMessage.ERROR_INFO_FOLLOW,[u])}:l;if(d||m)return r.push(...d?m?[g,p]:[p]:[g]),!1;const _=s.getParentApi();return o.checkParentJsdoc(_,t,r)}}t.TagInheritCheck=o},80350:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LegalityCheck=void 0;const n=r(19503),i=r(40139),a=r(45842),o=r(40139);class s{static apiLegalityCheck(e,t){const r=[];s.checkSystemapiAtomicservice(t,r);const c=e.getNode(),l=i.apiLegalityCheckTypeMap.get(c.kind),u=new Set(l),d=s.getIllegalTagsArray(l);let p="",f="";if(e.getApiType()!==n.ApiType.CLASS&&e.getApiType()!==n.ApiType.INTERFACE||(p=o.CommonFunctions.getExtendsApiValue(e),f=o.CommonFunctions.getImplementsApiValue(e)),""===p&&(u.delete("extends"),d.push("extends")),""===f&&(u.delete("implements"),d.push("implements")),e.getApiType()===n.ApiType.PROPERTY&&(e.getIsReadOnly()||(u.delete("readonly"),d.push("readonly"))),!Array.isArray(l))return r;const m=t.tags,g=[],_=[];if(void 0===m){const e={state:!1,errorInfo:o.CommonFunctions.createErrorInfo(a.ErrorMessage.ERROR_LOST_LABEL,["since"])+o.CommonFunctions.createErrorInfo(a.ErrorMessage.ERROR_LOST_LABEL,["syscap"])};return r.push(e),r}const h=[];if(m.forEach((e=>{h.push(e.tag)})),h.includes("deprecated"))return r;let y=0,v=e.getApiType()===n.ApiType.METHOD?e.getParams().length:0;return v=e.getApiType()===n.ApiType.TYPE_ALIAS?e.getParamInfos().length:v,m.forEach((i=>{g.push(i.tag),"throws"===i.tag&&_.push(i.name),y="param"===i.tag?y+1:y;const s="useinstead"===i.tag&&"-1"!==t.deprecatedVersion;if(u.delete("param"),u.has(i.tag)&&u.delete(i.tag),e.getApiType()!==n.ApiType.PROPERTY&&e.getApiType()!==n.ApiType.DECLARE_CONST||(u.delete("
constant
"),d.push("
constant
")),e.getApiType()!==n.ApiType.INTERFACE||"typedef"!==i.tag&&"interface"!==i.tag||(u.delete("typede (…)
[all...]
H
A
D
JS_API_CHECK.js
67
*/e=r.nmd(e),function(){var i,a="Expected a function",o="__lodash_hash_undefined__",s="__lodash_placeholder__",c=16,l=32,u=64,d=128,p=256,f=1/0,m=9007199254740991,g=NaN,_=4294967295,h=[["ary",d],["bind",1],["bindKey",2],["curry",8],["curryRight",c],["flip",512],["partial",l],["partialRight",u],["rearg",p]],y="[object Arguments]",v="[object Array]",b="[object Boolean]",k="[object Date]",x="[object Error]",E="[object Function]",S="[object GeneratorFunction]",D="[object Map]",w="[object Number]",T="[object Object]",C="[object Promise]",A="[object RegExp]",N="[object Set]",P="[object String]",I="[object Symbol]",F="[object WeakMap]",O="[object ArrayBuffer]",R="[object DataView]",M="[object Float32Array]",L="[object Float64Array]",j="[object Int8Array]",B="[object Int16Array]",z="[object Int32Array]",U="[object Uint8Array]",q="[object Uint8ClampedArray]",J="[object Uint16Array]",V="[object Uint32Array]",H=/\b__p \+= '';/g,K=/\b(__p \+=) '' \+/g,W=/(__e\(.*?\)|\b__t\)) \+\n'';/g,G=/&(?:amp|lt|gt|quot|#39);/g,$=/[&<>"']/g,Y=RegExp(G.source),X=RegExp($.source),Q=/<%-([\s\S]+?)%>/g,Z=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,re=/^\w*$/,ne=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ie=/[\\^$.*+?()[\]{}|]/g,ae=RegExp(ie.source),oe=/^\s+/,se=/\s/,ce=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,le=/\{\n\/\* \[wrapped with (.+)\] \*/,ue=/,? & /,de=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,pe=/[()=,{}\[\]\/\s]/,fe=/\\(\\)?/g,me=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ge=/\w*$/,_e=/^[-+]0x[0-9a-f]+$/i,he=/^0b[01]+$/i,ye=/^\[object .+?Constructor\]$/,ve=/^0o[0-7]+$/i,be=/^(?:0|[1-9]\d*)$/,ke=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xe=/($^)/,Ee=/['\n\r\u2028\u2029\\]/g,Se="\\ud800-\\udfff",De="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",we="\\u2700-\\u27bf",Te="a-z\\xdf-\\xf6\\xf8-\\xff",Ce="A-Z\\xc0-\\xd6\\xd8-\\xde",Ae="\\ufe0e\\ufe0f",Ne="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\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",Pe="['’]",Ie="["+Se+"]",Fe="["+Ne+"]",Oe="["+De+"]",Re="\\d+",Me="["+we+"]",Le="["+Te+"]",je="[^"+Se+Ne+Re+we+Te+Ce+"]",Be="\\ud83c[\\udffb-\\udfff]",ze="[^"+Se+"]",Ue="(?:\\ud83c[\\udde6-\\uddff]){2}",qe="[\\ud800-\\udbff][\\udc00-\\udfff]",Je="["+Ce+"]",Ve="\\u200d",He="(?:"+Le+"|"+je+")",Ke="(?:"+Je+"|"+je+")",We="(?:['’](?:d|ll|m|re|s|t|ve))?",Ge="(?:['’](?:D|LL|M|RE|S|T|VE))?",$e="(?:"+Oe+"|"+Be+")"+"?",Ye="["+Ae+"]?",Xe=Ye+$e+("(?:"+Ve+"(?:"+[ze,Ue,qe].join("|")+")"+Ye+$e+")*"),Qe="(?:"+[Me,Ue,qe].join("|")+")"+Xe,Ze="(?:"+[ze+Oe+"?",Oe,Ue,qe,Ie].join("|")+")",et=RegExp(Pe,"g"),tt=RegExp(Oe,"g"),rt=RegExp(Be+"(?="+Be+")|"+Ze+Xe,"g"),nt=RegExp([Je+"?"+Le+"+"+We+"(?="+[Fe,Je,"$"].join("|")+")",Ke+"+"+Ge+"(?="+[Fe,Je+He,"$"].join("|")+")",Je+"?"+He+"+"+We,Je+"+"+Ge,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Re,Qe].join("|"),"g"),it=RegExp("["+Ve+Se+De+Ae+"]"),at=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ot=["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"],st=-1,ct={};ct[M]=ct[L]=ct[j]=ct[B]=ct[z]=ct[U]=ct[q]=ct[J]=ct[V]=!0,ct[y]=ct[v]=ct[O]=ct[b]=ct[R]=ct[k]=ct[x]=ct[E]=ct[D]=ct[w]=ct[T]=ct[A]=ct[N]=ct[P]=ct[F]=!1;var lt={};lt[y]=lt[v]=lt[O]=lt[R]=lt[b]=lt[k]=lt[M]=lt[L]=lt[j]=lt[B]=lt[z]=lt[D]=lt[w]=lt[T]=lt[A]=lt[N]=lt[P]=lt[I]=lt[U]=lt[q]=lt[J]=lt[V]=!0,lt[x]=lt[E]=lt[F]=!1;var ut={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},dt=parseFloat,pt=parseInt,ft="object"==typeof global&&global&&global.Object===Object&&global,mt="object"==typeof self&&self&&self.Object===Object&&self,gt=ft||mt||Function("return this")(),_t=t&&!t.nodeType&&t,ht=_t&&e&&!e.nodeType&&e,yt=ht&&ht.exports===_t,vt=yt&&ft.process,bt=function(){try{var e=ht&&ht.require&&ht.require("util").types;return e||vt&&vt.binding&&vt.binding("util")}catch(e){}}(),kt=bt&&bt.isArrayBuffer,xt=bt&&bt.isDate,Et=bt&&bt.isMap,St=bt&&bt.isRegExp,Dt=bt&&bt.isSet,wt=bt&&bt.isTypedArray;function Tt(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function Ct(e,t,r,n){for(var i=-1,a=null==e?0:e.length;++i<a;){var o=e[i];t(n,o,r(o),e)}return n}function At(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}function Nt(e,t){for(var r=null==e?0:e.length;r--&&!1!==t(e[r],r,e););return e}function Pt(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(!t(e[r],r,e))return!1;return!0}function It(e,t){for(var r=-1,n=null==e?0:e.length,i=0,a=[];++r<n;){var o=e[r];t(o,r,e)&&(a[i++]=o)}return a}function Ft(e,t){return!!(null==e?0:e.length)&&Jt(e,t,0)>-1}function Ot(e,t,r){for(var n=-1,i=null==e?0:e.length;++n<i;)if(r(t,e[n]))return!0;return!1}function Rt(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}function Mt(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}function Lt(e,t,r,n){var i=-1,a=null==e?0:e.length;for(n&&a&&(r=e[++i]);++i<a;)r=t(r,e[i],i,e);return r}function jt(e,t,r,n){var i=null==e?0:e.length;for(n&&i&&(r=e[--i]);i--;)r=t(r,e[i],i,e);return r}function Bt(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}var zt=Wt("length");function Ut(e,t,r){var n;return r(e,(function(e,r,i){if(t(e,r,i))return n=r,!1})),n}function qt(e,t,r,n){for(var i=e.length,a=r+(n?1:-1);n?a--:++a<i;)if(t(e[a],a,e))return a;return-1}function Jt(e,t,r){return t==t?function(e,t,r){var n=r-1,i=e.length;for(;++n<i;)if(e[n]===t)return n;return-1}(e,t,r):qt(e,Ht,r)}function Vt(e,t,r,n){for(var i=r-1,a=e.length;++i<a;)if(n(e[i],t))return i;return-1}function Ht(e){return e!=e}function Kt(e,t){var r=null==e?0:e.length;return r?Yt(e,t)/r:g}function Wt(e){return function(t){return null==t?i:t[e]}}function Gt(e){return function(t){return null==e?i:e[t]}}function $t(e,t,r,n,i){return i(e,(function(e,i,a){r=n?(n=!1,e):t(r,e,i,a)})),r}function Yt(e,t){for(var r,n=-1,a=e.length;++n<a;){var o=t(e[n]);o!==i&&(r=r===i?o:r+o)}return r}function Xt(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}function Qt(e){return e?e.slice(0,gr(e)+1).replace(oe,""):e}function Zt(e){return function(t){return e(t)}}function er(e,t){return Rt(t,(function(t){return e[t]}))}function tr(e,t){return e.has(t)}function rr(e,t){for(var r=-1,n=e.length;++r<n&&Jt(t,e[r],0)>-1;);return r}function nr(e,t){for(var r=e.length;r--&&Jt(t,e[r],0)>-1;);return r}var ir=Gt({À:"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"}),ar=Gt({"&":"&","<":"<",">":">",'"':""","'":"'"});function or(e){return"\\"+ut[e]}function sr(e){return it.test(e)}function cr(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}function lr(e,t){return function(r){return e(t(r))}}function ur(e,t){for(var r=-1,n=e.length,i=0,a=[];++r<n;){var o=e[r];o!==t&&o!==s||(e[r]=s,a[i++]=r)}return a}function dr(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}function pr(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=[e,e]})),r}function fr(e){return sr(e)?function(e){var t=rt.lastIndex=0;for(;rt.test(e);)++t;return t}(e):zt(e)}function mr(e){return sr(e)?function(e){return e.match(rt)||[]}(e):function(e){return e.split("")}(e)}function gr(e){for(var t=e.length;t--&&se.test(e.charAt(t)););return t}var _r=Gt({"&":"&","<":"<",">":">",""":'"',"'":"'"});var hr=function e(t){var r,n=(t=null==t?gt:hr.defaults(gt.Object(),t,hr.pick(gt,ot))).Array,se=t.Date,Se=t.Error,De=t.Function,we=t.Math,Te=t.Object,Ce=t.RegExp,Ae=t.String,Ne=t.TypeError,Pe=n.prototype,Ie=De.prototype,Fe=Te.prototype,Oe=t["__core-js_shared__"],Re=Ie.toString,Me=Fe.hasOwnProperty,Le=0,je=(r=/[^.]+$/.exec(Oe&&Oe.keys&&Oe.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",Be=Fe.toString,ze=Re.call(Te),Ue=gt._,qe=Ce("^"+Re.call(Me).replace(ie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Je=yt?t.Buffer:i,Ve=t.Symbol,He=t.Uint8Array,Ke=Je?Je.allocUnsafe:i,We=lr(Te.getPrototypeOf,Te),Ge=Te.create,$e=Fe.propertyIsEnumerable,Ye=Pe.splice,Xe=Ve?Ve.isConcatSpreadable:i,Qe=Ve?Ve.iterator:i,Ze=Ve?Ve.toStringTag:i,rt=function(){try{var e=pa(Te,"defineProperty");return e({},"",{}),e}catch(e){}}(),it=t.clearTimeout!==gt.clearTimeout&&t.clearTimeout,ut=se&&se.now!==gt.Date.now&&se.now,ft=t.setTimeout!==gt.setTimeout&&t.setTimeout,mt=we.ceil,_t=we.floor,ht=Te.getOwnPropertySymbols,vt=Je?Je.isBuffer:i,bt=t.isFinite,zt=Pe.join,Gt=lr(Te.keys,Te),yr=we.max,vr=we.min,br=se.now,kr=t.parseInt,xr=we.random,Er=Pe.reverse,Sr=pa(t,"DataView"),Dr=pa(t,"Map"),wr=pa(t,"Promise"),Tr=pa(t,"Set"),Cr=pa(t,"WeakMap"),Ar=pa(Te,"create"),Nr=Cr&&new Cr,Pr={},Ir=ja(Sr),Fr=ja(Dr),Or=ja(wr),Rr=ja(Tr),Mr=ja(Cr),Lr=Ve?Ve.prototype:i,jr=Lr?Lr.valueOf:i,Br=Lr?Lr.toString:i;function zr(e){if(rs(e)&&!Ho(e)&&!(e instanceof Vr)){if(e instanceof Jr)return e;if(Me.call(e,"__wrapped__"))return Ba(e)}return new Jr(e)}var Ur=function(){function e(){}return function(t){if(!ts(t))return{};if(Ge)return Ge(t);e.prototype=t;var r=new e;return e.prototype=i,r}}();function qr(){}function Jr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}function Vr(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=_,this.__views__=[]}function Hr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Kr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Wr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Gr(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new Wr;++t<r;)this.add(e[t])}function $r(e){var t=this.__data__=new Kr(e);this.size=t.size}function Yr(e,t){var r=Ho(e),n=!r&&Vo(e),i=!r&&!n&&$o(e),a=!r&&!n&&!i&&us(e),o=r||n||i||a,s=o?Xt(e.length,Ae):[],c=s.length;for(var l in e)!t&&!Me.call(e,l)||o&&("length"==l||i&&("offset"==l||"parent"==l)||a&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||va(l,c))||s.push(l);return s}function Xr(e){var t=e.length;return t?e[$n(0,t-1)]:i}function Qr(e,t){return Ra(Ni(e),cn(t,0,e.length))}function Zr(e){return Ra(Ni(e))}function en(e,t,r){(r!==i&&!Uo(e[t],r)||r===i&&!(t in e))&&on(e,t,r)}function tn(e,t,r){var n=e[t];Me.call(e,t)&&Uo(n,r)&&(r!==i||t in e)||on(e,t,r)}function rn(e,t){for(var r=e.length;r--;)if(Uo(e[r][0],t))return r;return-1}function nn(e,t,r,n){return fn(e,(function(e,i,a){t(n,e,r(e),a)})),n}function an(e,t){return e&&Pi(t,Is(t),e)}function on(e,t,r){"__proto__"==t&&rt?rt(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function sn(e,t){for(var r=-1,a=t.length,o=n(a),s=null==e;++r<a;)o[r]=s?i:Ts(e,t[r]);return o}function cn(e,t,r){return e==e&&(r!==i&&(e=e<=r?e:r),t!==i&&(e=e>=t?e:t)),e}function ln(e,t,r,n,a,o){var s,c=1&t,l=2&t,u=4&t;if(r&&(s=a?r(e,n,a,o):r(e)),s!==i)return s;if(!ts(e))return e;var d=Ho(e);if(d){if(s=function(e){var t=e.length,r=new e.constructor(t);t&&"string"==typeof e[0]&&Me.call(e,"index")&&(r.index=e.index,r.input=e.input);return r}(e),!c)return Ni(e,s)}else{var p=ga(e),f=p==E||p==S;if($o(e))return Si(e,c);if(p==T||p==y||f&&!a){if(s=l||f?{}:ha(e),!c)return l?function(e,t){return Pi(e,ma(e),t)}(e,function(e,t){return e&&Pi(t,Fs(t),e)}(s,e)):function(e,t){return Pi(e,fa(e),t)}(e,an(s,e))}else{if(!lt[p])return a?e:{};s=function(e,t,r){var n=e.constructor;switch(t){case O:return Di(e);case b:case k:return new n(+e);case R:return function(e,t){var r=t?Di(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}(e,r);case M:case L:case j:case B:case z:case U:case q:case J:case V:return wi(e,r);case D:return new n;case w:case P:return new n(e);case A:return function(e){var t=new e.constructor(e.source,ge.exec(e));return t.lastIndex=e.lastIndex,t}(e);case N:return new n;case I:return i=e,jr?Te(jr.call(i)):{}}var i}(e,p,c)}}o||(o=new $r);var m=o.get(e);if(m)return m;o.set(e,s),ss(e)?e.forEach((function(n){s.add(ln(n,t,r,n,e,o))})):ns(e)&&e.forEach((function(n,i){s.set(i,ln(n,t,r,i,e,o))}));var g=d?i:(u?l?aa:ia:l?Fs:Is)(e);return At(g||e,(function(n,i){g&&(n=e[i=n]),tn(s,i,ln(n,t,r,i,e,o))})),s}function un(e,t,r){var n=r.length;if(null==e)return!n;for(e=Te(e);n--;){var a=r[n],o=t[a],s=e[a];if(s===i&&!(a in e)||!o(s))return!1}return!0}function dn(e,t,r){if("function"!=typeof e)throw new Ne(a);return Pa((function(){e.apply(i,r)}),t)}function pn(e,t,r,n){var i=-1,a=Ft,o=!0,s=e.length,c=[],l=t.length;if(!s)return c;r&&(t=Rt(t,Zt(r))),n?(a=Ot,o=!1):t.length>=200&&(a=tr,o=!1,t=new Gr(t));e:for(;++i<s;){var u=e[i],d=null==r?u:r(u);if(u=n||0!==u?u:0,o&&d==d){for(var p=l;p--;)if(t[p]===d)continue e;c.push(u)}else a(t,d,n)||c.push(u)}return c}zr.templateSettings={escape:Q,evaluate:Z,interpolate:ee,variable:"",imports:{_:zr}},zr.prototype=qr.prototype,zr.prototype.constructor=zr,Jr.prototype=Ur(qr.prototype),Jr.prototype.constructor=Jr,Vr.prototype=Ur(qr.prototype),Vr.prototype.constructor=Vr,Hr.prototype.clear=function(){this.__data__=Ar?Ar(null):{},this.size=0},Hr.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Hr.prototype.get=function(e){var t=this.__data__;if(Ar){var r=t[e];return r===o?i:r}return Me.call(t,e)?t[e]:i},Hr.prototype.has=function(e){var t=this.__data__;return Ar?t[e]!==i:Me.call(t,e)},Hr.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Ar&&t===i?o:t,this},Kr.prototype.clear=function(){this.__data__=[],this.size=0},Kr.prototype.delete=function(e){var t=this.__data__,r=rn(t,e);return!(r<0)&&(r==t.length-1?t.pop():Ye.call(t,r,1),--this.size,!0)},Kr.prototype.get=function(e){var t=this.__data__,r=rn(t,e);return r<0?i:t[r][1]},Kr.prototype.has=function(e){return rn(this.__data__,e)>-1},Kr.prototype.set=function(e,t){var r=this.__data__,n=rn(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},Wr.prototype.clear=function(){this.size=0,this.__data__={hash:new Hr,map:new(Dr||Kr),string:new Hr}},Wr.prototype.delete=function(e){var t=ua(this,e).delete(e);return this.size-=t?1:0,t},Wr.prototype.get=function(e){return ua(this,e).get(e)},Wr.prototype.has=function(e){return ua(this,e).has(e)},Wr.prototype.set=function(e,t){var r=ua(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},Gr.prototype.add=Gr.prototype.push=function(e){return this.__data__.set(e,o),this},Gr.prototype.has=function(e){return this.__data__.has(e)},$r.prototype.clear=function(){this.__data__=new Kr,this.size=0},$r.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},$r.prototype.get=function(e){return this.__data__.get(e)},$r.prototype.has=function(e){return this.__data__.has(e)},$r.prototype.set=function(e,t){var r=this.__data__;if(r instanceof Kr){var n=r.__data__;if(!Dr||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Wr(n)}return r.set(e,t),this.size=r.size,this};var fn=Oi(kn),mn=Oi(xn,!0);function gn(e,t){var r=!0;return fn(e,(function(e,n,i){return r=!!t(e,n,i)})),r}function _n(e,t,r){for(var n=-1,a=e.length;++n<a;){var o=e[n],s=t(o);if(null!=s&&(c===i?s==s&&!ls(s):r(s,c)))var c=s,l=o}return l}function hn(e,t){var r=[];return fn(e,(function(e,n,i){t(e,n,i)&&r.push(e)})),r}function yn(e,t,r,n,i){var a=-1,o=e.length;for(r||(r=ya),i||(i=[]);++a<o;){var s=e[a];t>0&&r(s)?t>1?yn(s,t-1,r,n,i):Mt(i,s):n||(i[i.length]=s)}return i}var vn=Ri(),bn=Ri(!0);function kn(e,t){return e&&vn(e,t,Is)}function xn(e,t){return e&&bn(e,t,Is)}function En(e,t){return It(t,(function(t){return Qo(e[t])}))}function Sn(e,t){for(var r=0,n=(t=bi(t,e)).length;null!=e&&r<n;)e=e[La(t[r++])];return r&&r==n?e:i}function Dn(e,t,r){var n=t(e);return Ho(e)?n:Mt(n,r(e))}function wn(e){return null==e?e===i?"[object Undefined]":"[object Null]":Ze&&Ze in Te(e)?function(e){var t=Me.call(e,Ze),r=e[Ze];try{e[Ze]=i;var n=!0}catch(e){}var a=Be.call(e);n&&(t?e[Ze]=r:delete e[Ze]);return a}(e):function(e){return Be.call(e)}(e)}function Tn(e,t){return e>t}function Cn(e,t){return null!=e&&Me.call(e,t)}function An(e,t){return null!=e&&t in Te(e)}function Nn(e,t,r){for(var a=r?Ot:Ft,o=e[0].length,s=e.length,c=s,l=n(s),u=1/0,d=[];c--;){var p=e[c];c&&t&&(p=Rt(p,Zt(t))),u=vr(p.length,u),l[c]=!r&&(t||o>=120&&p.length>=120)?new Gr(c&&p):i}p=e[0];var f=-1,m=l[0];e:for(;++f<o&&d.length<u;){var g=p[f],_=t?t(g):g;if(g=r||0!==g?g:0,!(m?tr(m,_):a(d,_,r))){for(c=s;--c;){var h=l[c];if(!(h?tr(h,_):a(e[c],_,r)))continue e}m&&m.push(_),d.push(g)}}return d}function Pn(e,t,r){var n=null==(e=Ca(e,t=bi(t,e)))?e:e[La(Ya(t))];return null==n?i:Tt(n,e,r)}function In(e){return rs(e)&&wn(e)==y}function Fn(e,t,r,n,a){return e===t||(null==e||null==t||!rs(e)&&!rs(t)?e!=e&&t!=t:function(e,t,r,n,a,o){var s=Ho(e),c=Ho(t),l=s?v:ga(e),u=c?v:ga(t),d=(l=l==y?T:l)==T,p=(u=u==y?T:u)==T,f=l==u;if(f&&$o(e)){if(!$o(t))return!1;s=!0,d=!1}if(f&&!d)return o||(o=new $r),s||us(e)?ra(e,t,r,n,a,o):function(e,t,r,n,i,a,o){switch(r){case R:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case O:return!(e.byteLength!=t.byteLength||!a(new He(e),new He(t)));case b:case k:case w:return Uo(+e,+t);case x:return e.name==t.name&&e.message==t.message;case A:case P:return e==t+"";case D:var s=cr;case N:var c=1&n;if(s||(s=dr),e.size!=t.size&&!c)return!1;var l=o.get(e);if(l)return l==t;n|=2,o.set(e,t);var u=ra(s(e),s(t),n,i,a,o);return o.delete(e),u;case I:if(jr)return jr.call(e)==jr.call(t)}return!1}(e,t,l,r,n,a,o);if(!(1&r)){var m=d&&Me.call(e,"__wrapped__"),g=p&&Me.call(t,"__wrapped__");if(m||g){var _=m?e.value():e,h=g?t.value():t;return o||(o=new $r),a(_,h,r,n,o)}}if(!f)return!1;return o||(o=new $r),function(e,t,r,n,a,o){var s=1&r,c=ia(e),l=c.length,u=ia(t),d=u.length;if(l!=d&&!s)return!1;var p=l;for(;p--;){var f=c[p];if(!(s?f in t:Me.call(t,f)))return!1}var m=o.get(e),g=o.get(t);if(m&&g)return m==t&&g==e;var _=!0;o.set(e,t),o.set(t,e);var h=s;for(;++p<l;){var y=e[f=c[p]],v=t[f];if(n)var b=s?n(v,y,f,t,e,o):n(y,v,f,e,t,o);if(!(b===i?y===v||a(y,v,r,n,o):b)){_=!1;break}h||(h="constructor"==f)}if(_&&!h){var k=e.constructor,x=t.constructor;k==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof k&&k instanceof k&&"function"==typeof x&&x instanceof x||(_=!1)}return o.delete(e),o.delete(t),_}(e,t,r,n,a,o)}(e,t,r,n,Fn,a))}function On(e,t,r,n){var a=r.length,o=a,s=!n;if(null==e)return!o;for(e=Te(e);a--;){var c=r[a];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<o;){var l=(c=r[a])[0],u=e[l],d=c[1];if(s&&c[2]){if(u===i&&!(l in e))return!1}else{var p=new $r;if(n)var f=n(u,d,l,e,t,p);if(!(f===i?Fn(d,u,3,n,p):f))return!1}}return!0}function Rn(e){return!(!ts(e)||(t=e,je&&je in t))&&(Qo(e)?qe:ye).test(ja(e));var t}function Mn(e){return"function"==typeof e?e:null==e?ic:"object"==typeof e?Ho(e)?qn(e[0],e[1]):Un(e):fc(e)}function Ln(e){if(!Sa(e))return Gt(e);var t=[];for(var r in Te(e))Me.call(e,r)&&"constructor"!=r&&t.push(r);return t}function jn(e){if(!ts(e))return function(e){var t=[];if(null!=e)for(var r in Te(e))t.push(r);return t}(e);var t=Sa(e),r=[];for(var n in e)("constructor"!=n||!t&&Me.call(e,n))&&r.push(n);return r}function Bn(e,t){return e<t}function zn(e,t){var r=-1,i=Wo(e)?n(e.length):[];return fn(e,(function(e,n,a){i[++r]=t(e,n,a)})),i}function Un(e){var t=da(e);return 1==t.length&&t[0][2]?wa(t[0][0],t[0][1]):function(r){return r===e||On(r,e,t)}}function qn(e,t){return ka(e)&&Da(t)?wa(La(e),t):function(r){var n=Ts(r,e);return n===i&&n===t?Cs(r,e):Fn(t,n,3)}}function Jn(e,t,r,n,a){e!==t&&vn(t,(function(o,s){if(a||(a=new $r),ts(o))!function(e,t,r,n,a,o,s){var c=Aa(e,r),l=Aa(t,r),u=s.get(l);if(u)return void en(e,r,u);var d=o?o(c,l,r+"",e,t,s):i,p=d===i;if(p){var f=Ho(l),m=!f&&$o(l),g=!f&&!m&&us(l);d=l,f||m||g?Ho(c)?d=c:Go(c)?d=Ni(c):m?(p=!1,d=Si(l,!0)):g?(p=!1,d=wi(l,!0)):d=[]:as(l)||Vo(l)?(d=c,Vo(c)?d=ys(c):ts(c)&&!Qo(c)||(d=ha(l))):p=!1}p&&(s.set(l,d),a(d,l,n,o,s),s.delete(l));en(e,r,d)}(e,t,s,r,Jn,n,a);else{var c=n?n(Aa(e,s),o,s+"",e,t,a):i;c===i&&(c=o),en(e,s,c)}}),Fs)}function Vn(e,t){var r=e.length;if(r)return va(t+=t<0?r:0,r)?e[t]:i}function Hn(e,t,r){t=t.length?Rt(t,(function(e){return Ho(e)?function(t){return Sn(t,1===e.length?e[0]:e)}:e})):[ic];var n=-1;t=Rt(t,Zt(la()));var i=zn(e,(function(e,r,i){var a=Rt(t,(function(t){return t(e)}));return{criteria:a,index:++n,value:e}}));return function(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e}(i,(function(e,t){return function(e,t,r){var n=-1,i=e.criteria,a=t.criteria,o=i.length,s=r.length;for(;++n<o;){var c=Ti(i[n],a[n]);if(c)return n>=s?c:c*("desc"==r[n]?-1:1)}return e.index-t.index}(e,t,r)}))}function Kn(e,t,r){for(var n=-1,i=t.length,a={};++n<i;){var o=t[n],s=Sn(e,o);r(s,o)&&ei(a,bi(o,e),s)}return a}function Wn(e,t,r,n){var i=n?Vt:Jt,a=-1,o=t.length,s=e;for(e===t&&(t=Ni(t)),r&&(s=Rt(e,Zt(r)));++a<o;)for(var c=0,l=t[a],u=r?r(l):l;(c=i(s,u,c,n))>-1;)s!==e&&Ye.call(s,c,1),Ye.call(e,c,1);return e}function Gn(e,t){for(var r=e?t.length:0,n=r-1;r--;){var i=t[r];if(r==n||i!==a){var a=i;va(i)?Ye.call(e,i,1):pi(e,i)}}return e}function $n(e,t){return e+_t(xr()*(t-e+1))}function Yn(e,t){var r="";if(!e||t<1||t>m)return r;do{t%2&&(r+=e),(t=_t(t/2))&&(e+=e)}while(t);return r}function Xn(e,t){return Ia(Ta(e,t,ic),e+"")}function Qn(e){return Xr(Us(e))}function Zn(e,t){var r=Us(e);return Ra(r,cn(t,0,r.length))}function ei(e,t,r,n){if(!ts(e))return e;for(var a=-1,o=(t=bi(t,e)).length,s=o-1,c=e;null!=c&&++a<o;){var l=La(t[a]),u=r;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(a!=s){var d=c[l];(u=n?n(d,l,c):i)===i&&(u=ts(d)?d:va(t[a+1])?[]:{})}tn(c,l,u),c=c[l]}return e}var ti=Nr?function(e,t){return Nr.set(e,t),e}:ic,ri=rt?function(e,t){return rt(e,"toString",{configurable:!0,enumerable:!1,value:tc(t),writable:!0})}:ic;function ni(e){return Ra(Us(e))}function ii(e,t,r){var i=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(r=r>a?a:r)<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;for(var o=n(a);++i<a;)o[i]=e[i+t];return o}function ai(e,t){var r;return fn(e,(function(e,n,i){return!(r=t(e,n,i))})),!!r}function oi(e,t,r){var n=0,i=null==e?n:e.length;if("number"==typeof t&&t==t&&i<=2147483647){for(;n<i;){var a=n+i>>>1,o=e[a];null!==o&&!ls(o)&&(r?o<=t:o<t)?n=a+1:i=a}return i}return si(e,t,ic,r)}function si(e,t,r,n){var a=0,o=null==e?0:e.length;if(0===o)return 0;for(var s=(t=r(t))!=t,c=null===t,l=ls(t),u=t===i;a<o;){var d=_t((a+o)/2),p=r(e[d]),f=p!==i,m=null===p,g=p==p,_=ls(p);if(s)var h=n||g;else h=u?g&&(n||f):c?g&&f&&(n||!m):l?g&&f&&!m&&(n||!_):!m&&!_&&(n?p<=t:p<t);h?a=d+1:o=d}return vr(o,4294967294)}function ci(e,t){for(var r=-1,n=e.length,i=0,a=[];++r<n;){var o=e[r],s=t?t(o):o;if(!r||!Uo(s,c)){var c=s;a[i++]=0===o?0:o}}return a}function li(e){return"number"==typeof e?e:ls(e)?g:+e}function ui(e){if("string"==typeof e)return e;if(Ho(e))return Rt(e,ui)+"";if(ls(e))return Br?Br.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function di(e,t,r){var n=-1,i=Ft,a=e.length,o=!0,s=[],c=s;if(r)o=!1,i=Ot;else if(a>=200){var l=t?null:Yi(e);if(l)return dr(l);o=!1,i=tr,c=new Gr}else c=t?[]:s;e:for(;++n<a;){var u=e[n],d=t?t(u):u;if(u=r||0!==u?u:0,o&&d==d){for(var p=c.length;p--;)if(c[p]===d)continue e;t&&c.push(d),s.push(u)}else i(c,d,r)||(c!==s&&c.push(d),s.push(u))}return s}function pi(e,t){return null==(e=Ca(e,t=bi(t,e)))||delete e[La(Ya(t))]}function fi(e,t,r,n){return ei(e,t,r(Sn(e,t)),n)}function mi(e,t,r,n){for(var i=e.length,a=n?i:-1;(n?a--:++a<i)&&t(e[a],a,e););return r?ii(e,n?0:a,n?a+1:i):ii(e,n?a+1:0,n?i:a)}function gi(e,t){var r=e;return r instanceof Vr&&(r=r.value()),Lt(t,(function(e,t){return t.func.apply(t.thisArg,Mt([e],t.args))}),r)}function _i(e,t,r){var i=e.length;if(i<2)return i?di(e[0]):[];for(var a=-1,o=n(i);++a<i;)for(var s=e[a],c=-1;++c<i;)c!=a&&(o[a]=pn(o[a]||s,e[c],t,r));return di(yn(o,1),t,r)}function hi(e,t,r){for(var n=-1,a=e.length,o=t.length,s={};++n<a;){var c=n<o?t[n]:i;r(s,e[n],c)}return s}function yi(e){return Go(e)?e:[]}function vi(e){return"function"==typeof e?e:ic}function bi(e,t){return Ho(e)?e:ka(e,t)?[e]:Ma(vs(e))}var ki=Xn;function xi(e,t,r){var n=e.length;return r=r===i?n:r,!t&&r>=n?e:ii(e,t,r)}var Ei=it||function(e){return gt.clearTimeout(e)};function Si(e,t){if(t)return e.slice();var r=e.length,n=Ke?Ke(r):new e.constructor(r);return e.copy(n),n}function Di(e){var t=new e.constructor(e.byteLength);return new He(t).set(new He(e)),t}function wi(e,t){var r=t?Di(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function Ti(e,t){if(e!==t){var r=e!==i,n=null===e,a=e==e,o=ls(e),s=t!==i,c=null===t,l=t==t,u=ls(t);if(!c&&!u&&!o&&e>t||o&&s&&l&&!c&&!u||n&&s&&l||!r&&l||!a)return 1;if(!n&&!o&&!u&&e<t||u&&r&&a&&!n&&!o||c&&r&&a||!s&&a||!l)return-1}return 0}function Ci(e,t,r,i){for(var a=-1,o=e.length,s=r.length,c=-1,l=t.length,u=yr(o-s,0),d=n(l+u),p=!i;++c<l;)d[c]=t[c];for(;++a<s;)(p||a<o)&&(d[r[a]]=e[a]);for(;u--;)d[c++]=e[a++];return d}function Ai(e,t,r,i){for(var a=-1,o=e.length,s=-1,c=r.length,l=-1,u=t.length,d=yr(o-c,0),p=n(d+u),f=!i;++a<d;)p[a]=e[a];for(var m=a;++l<u;)p[m+l]=t[l];for(;++s<c;)(f||a<o)&&(p[m+r[s]]=e[a++]);return p}function Ni(e,t){var r=-1,i=e.length;for(t||(t=n(i));++r<i;)t[r]=e[r];return t}function Pi(e,t,r,n){var a=!r;r||(r={});for(var o=-1,s=t.length;++o<s;){var c=t[o],l=n?n(r[c],e[c],c,r,e):i;l===i&&(l=e[c]),a?on(r,c,l):tn(r,c,l)}return r}function Ii(e,t){return function(r,n){var i=Ho(r)?Ct:nn,a=t?t():{};return i(r,e,la(n,2),a)}}function Fi(e){return Xn((function(t,r){var n=-1,a=r.length,o=a>1?r[a-1]:i,s=a>2?r[2]:i;for(o=e.length>3&&"function"==typeof o?(a--,o):i,s&&ba(r[0],r[1],s)&&(o=a<3?i:o,a=1),t=Te(t);++n<a;){var c=r[n];c&&e(t,c,n,o)}return t}))}function Oi(e,t){return function(r,n){if(null==r)return r;if(!Wo(r))return e(r,n);for(var i=r.length,a=t?i:-1,o=Te(r);(t?a--:++a<i)&&!1!==n(o[a],a,o););return r}}function Ri(e){return function(t,r,n){for(var i=-1,a=Te(t),o=n(t),s=o.length;s--;){var c=o[e?s:++i];if(!1===r(a[c],c,a))break}return t}}function Mi(e){return function(t){var r=sr(t=vs(t))?mr(t):i,n=r?r[0]:t.charAt(0),a=r?xi(r,1).join(""):t.slice(1);return n[e]()+a}}function Li(e){return function(t){return Lt(Qs(Vs(t).replace(et,"")),e,"")}}function ji(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 r=Ur(e.prototype),n=e.apply(r,t);return ts(n)?n:r}}function Bi(e){return function(t,r,n){var a=Te(t);if(!Wo(t)){var o=la(r,3);t=Is(t),r=function(e){return o(a[e],e,a)}}var s=e(t,r,n);return s>-1?a[o?t[s]:s]:i}}function zi(e){return na((function(t){var r=t.length,n=r,o=Jr.prototype.thru;for(e&&t.reverse();n--;){var s=t[n];if("function"!=typeof s)throw new Ne(a);if(o&&!c&&"wrapper"==sa(s))var c=new Jr([],!0)}for(n=c?n:r;++n<r;){var l=sa(s=t[n]),u="wrapper"==l?oa(s):i;c=u&&xa(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?c[sa(u[0])].apply(c,u[3]):1==s.length&&xa(s)?c[l]():c.thru(s)}return function(){var e=arguments,n=e[0];if(c&&1==e.length&&Ho(n))return c.plant(n).value();for(var i=0,a=r?t[i].apply(this,e):n;++i<r;)a=t[i].call(this,a);return a}}))}function Ui(e,t,r,a,o,s,c,l,u,p){var f=t&d,m=1&t,g=2&t,_=24&t,h=512&t,y=g?i:ji(e);return function d(){for(var v=arguments.length,b=n(v),k=v;k--;)b[k]=arguments[k];if(_)var x=ca(d),E=function(e,t){for(var r=e.length,n=0;r--;)e[r]===t&&++n;return n}(b,x);if(a&&(b=Ci(b,a,o,_)),s&&(b=Ai(b,s,c,_)),v-=E,_&&v<p){var S=ur(b,x);return Gi(e,t,Ui,d.placeholder,r,b,S,l,u,p-v)}var D=m?r:this,w=g?D[e]:e;return v=b.length,l?b=function(e,t){var r=e.length,n=vr(t.length,r),a=Ni(e);for(;n--;){var o=t[n];e[n]=va(o,r)?a[o]:i}return e}(b,l):h&&v>1&&b.reverse(),f&&u<v&&(b.length=u),this&&this!==gt&&this instanceof d&&(w=y||ji(w)),w.apply(D,b)}}function qi(e,t){return function(r,n){return function(e,t,r,n){return kn(e,(function(e,i,a){t(n,r(e),i,a)})),n}(r,e,t(n),{})}}function Ji(e,t){return function(r,n){var a;if(r===i&&n===i)return t;if(r!==i&&(a=r),n!==i){if(a===i)return n;"string"==typeof r||"string"==typeof n?(r=ui(r),n=ui(n)):(r=li(r),n=li(n)),a=e(r,n)}return a}}function Vi(e){return na((function(t){return t=Rt(t,Zt(la())),Xn((function(r){var n=this;return e(t,(function(e){return Tt(e,n,r)}))}))}))}function Hi(e,t){var r=(t=t===i?" ":ui(t)).length;if(r<2)return r?Yn(t,e):t;var n=Yn(t,mt(e/fr(t)));return sr(t)?xi(mr(n),0,e).join(""):n.slice(0,e)}function Ki(e){return function(t,r,a){return a&&"number"!=typeof a&&ba(t,r,a)&&(r=a=i),t=ms(t),r===i?(r=t,t=0):r=ms(r),function(e,t,r,i){for(var a=-1,o=yr(mt((t-e)/(r||1)),0),s=n(o);o--;)s[i?o:++a]=e,e+=r;return s}(t,r,a=a===i?t<r?1:-1:ms(a),e)}}function Wi(e){return function(t,r){return"string"==typeof t&&"string"==typeof r||(t=hs(t),r=hs(r)),e(t,r)}}function Gi(e,t,r,n,a,o,s,c,d,p){var f=8&t;t|=f?l:u,4&(t&=~(f?u:l))||(t&=-4);var m=[e,t,a,f?o:i,f?s:i,f?i:o,f?i:s,c,d,p],g=r.apply(i,m);return xa(e)&&Na(g,m),g.placeholder=n,Fa(g,e,t)}function $i(e){var t=we[e];return function(e,r){if(e=hs(e),(r=null==r?0:vr(gs(r),292))&&bt(e)){var n=(vs(e)+"e").split("e");return+((n=(vs(t(n[0]+"e"+(+n[1]+r)))+"e").split("e"))[0]+"e"+(+n[1]-r))}return t(e)}}var Yi=Tr&&1/dr(new Tr([,-0]))[1]==f?function(e){return new Tr(e)}:lc;function Xi(e){return function(t){var r=ga(t);return r==D?cr(t):r==N?pr(t):function(e,t){return Rt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Qi(e,t,r,o,f,m,g,_){var h=2&t;if(!h&&"function"!=typeof e)throw new Ne(a);var y=o?o.length:0;if(y||(t&=-97,o=f=i),g=g===i?g:yr(gs(g),0),_=_===i?_:gs(_),y-=f?f.length:0,t&u){var v=o,b=f;o=f=i}var k=h?i:oa(e),x=[e,t,r,o,f,v,b,m,g,_];if(k&&function(e,t){var r=e[1],n=t[1],i=r|n,a=i<131,o=n==d&&8==r||n==d&&r==p&&e[7].length<=t[8]||384==n&&t[7].length<=t[8]&&8==r;if(!a&&!o)return e;1&n&&(e[2]=t[2],i|=1&r?0:4);var c=t[3];if(c){var l=e[3];e[3]=l?Ci(l,c,t[4]):c,e[4]=l?ur(e[3],s):t[4]}(c=t[5])&&(l=e[5],e[5]=l?Ai(l,c,t[6]):c,e[6]=l?ur(e[5],s):t[6]);(c=t[7])&&(e[7]=c);n&d&&(e[8]=null==e[8]?t[8]:vr(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=i}(x,k),e=x[0],t=x[1],r=x[2],o=x[3],f=x[4],!(_=x[9]=x[9]===i?h?0:e.length:yr(x[9]-y,0))&&24&t&&(t&=-25),t&&1!=t)E=8==t||t==c?function(e,t,r){var a=ji(e);return function o(){for(var s=arguments.length,c=n(s),l=s,u=ca(o);l--;)c[l]=arguments[l];var d=s<3&&c[0]!==u&&c[s-1]!==u?[]:ur(c,u);return(s-=d.length)<r?Gi(e,t,Ui,o.placeholder,i,c,d,i,i,r-s):Tt(this&&this!==gt&&this instanceof o?a:e,this,c)}}(e,t,_):t!=l&&33!=t||f.length?Ui.apply(i,x):function(e,t,r,i){var a=1&t,o=ji(e);return function t(){for(var s=-1,c=arguments.length,l=-1,u=i.length,d=n(u+c),p=this&&this!==gt&&this instanceof t?o:e;++l<u;)d[l]=i[l];for(;c--;)d[l++]=arguments[++s];return Tt(p,a?r:this,d)}}(e,t,r,o);else var E=function(e,t,r){var n=1&t,i=ji(e);return function t(){return(this&&this!==gt&&this instanceof t?i:e).apply(n?r:this,arguments)}}(e,t,r);return Fa((k?ti:Na)(E,x),e,t)}function Zi(e,t,r,n){return e===i||Uo(e,Fe[r])&&!Me.call(n,r)?t:e}function ea(e,t,r,n,a,o){return ts(e)&&ts(t)&&(o.set(t,e),Jn(e,t,i,ea,o),o.delete(t)),e}function ta(e){return as(e)?i:e}function ra(e,t,r,n,a,o){var s=1&r,c=e.length,l=t.length;if(c!=l&&!(s&&l>c))return!1;var u=o.get(e),d=o.get(t);if(u&&d)return u==t&&d==e;var p=-1,f=!0,m=2&r?new Gr:i;for(o.set(e,t),o.set(t,e);++p<c;){var g=e[p],_=t[p];if(n)var h=s?n(_,g,p,t,e,o):n(g,_,p,e,t,o);if(h!==i){if(h)continue;f=!1;break}if(m){if(!Bt(t,(function(e,t){if(!tr(m,t)&&(g===e||a(g,e,r,n,o)))return m.push(t)}))){f=!1;break}}else if(g!==_&&!a(g,_,r,n,o)){f=!1;break}}return o.delete(e),o.delete(t),f}function na(e){return Ia(Ta(e,i,Ha),e+"")}function ia(e){return Dn(e,Is,fa)}function aa(e){return Dn(e,Fs,ma)}var oa=Nr?function(e){return Nr.get(e)}:lc;function sa(e){for(var t=e.name+"",r=Pr[t],n=Me.call(Pr,t)?r.length:0;n--;){var i=r[n],a=i.func;if(null==a||a==e)return i.name}return t}function ca(e){return(Me.call(zr,"placeholder")?zr:e).placeholder}function la(){var e=zr.iteratee||ac;return e=e===ac?Mn:e,arguments.length?e(arguments[0],arguments[1]):e}function ua(e,t){var r,n,i=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?i["string"==typeof t?"string":"hash"]:i.map}function da(e){for(var t=Is(e),r=t.length;r--;){var n=t[r],i=e[n];t[r]=[n,i,Da(i)]}return t}function pa(e,t){var r=function(e,t){return null==e?i:e[t]}(e,t);return Rn(r)?r:i}var fa=ht?function(e){return null==e?[]:(e=Te(e),It(ht(e),(function(t){return $e.call(e,t)})))}:_c,ma=ht?function(e){for(var t=[];e;)Mt(t,fa(e)),e=We(e);return t}:_c,ga=wn;function _a(e,t,r){for(var n=-1,i=(t=bi(t,e)).length,a=!1;++n<i;){var o=La(t[n]);if(!(a=null!=e&&r(e,o)))break;e=e[o]}return a||++n!=i?a:!!(i=null==e?0:e.length)&&es(i)&&va(o,i)&&(Ho(e)||Vo(e))}function ha(e){return"function"!=typeof e.constructor||Sa(e)?{}:Ur(We(e))}function ya(e){return Ho(e)||Vo(e)||!!(Xe&&e&&e[Xe])}function va(e,t){var r=typeof e;return!!(t=null==t?m:t)&&("number"==r||"symbol"!=r&&be.test(e))&&e>-1&&e%1==0&&e<t}function ba(e,t,r){if(!ts(r))return!1;var n=typeof t;return!!("number"==n?Wo(r)&&va(t,r.length):"string"==n&&t in r)&&Uo(r[t],e)}function ka(e,t){if(Ho(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!ls(e))||(re.test(e)||!te.test(e)||null!=t&&e in Te(t))}function xa(e){var t=sa(e),r=zr[t];if("function"!=typeof r||!(t in Vr.prototype))return!1;if(e===r)return!0;var n=oa(r);return!!n&&e===n[0]}(Sr&&ga(new Sr(new ArrayBuffer(1)))!=R||Dr&&ga(new Dr)!=D||wr&&ga(wr.resolve())!=C||Tr&&ga(new Tr)!=N||Cr&&ga(new Cr)!=F)&&(ga=function(e){var t=wn(e),r=t==T?e.constructor:i,n=r?ja(r):"";if(n)switch(n){case Ir:return R;case Fr:return D;case Or:return C;case Rr:return N;case Mr:return F}return t});var Ea=Oe?Qo:hc;function Sa(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Fe)}function Da(e){return e==e&&!ts(e)}function wa(e,t){return function(r){return null!=r&&(r[e]===t&&(t!==i||e in Te(r)))}}function Ta(e,t,r){return t=yr(t===i?e.length-1:t,0),function(){for(var i=arguments,a=-1,o=yr(i.length-t,0),s=n(o);++a<o;)s[a]=i[t+a];a=-1;for(var c=n(t+1);++a<t;)c[a]=i[a];return c[t]=r(s),Tt(e,this,c)}}function Ca(e,t){return t.length<2?e:Sn(e,ii(t,0,-1))}function Aa(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Na=Oa(ti),Pa=ft||function(e,t){return gt.setTimeout(e,t)},Ia=Oa(ri);function Fa(e,t,r){var n=t+"";return Ia(e,function(e,t){var r=t.length;if(!r)return e;var n=r-1;return t[n]=(r>1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(ce,"{\n/* [wrapped with "+t+"] */\n")}(n,function(e,t){return At(h,(function(r){var n="_."+r[0];t&r[1]&&!Ft(e,n)&&e.push(n)})),e.sort()}(function(e){var t=e.match(le);return t?t[1].split(ue):[]}(n),r)))}function Oa(e){var t=0,r=0;return function(){var n=br(),a=16-(n-r);if(r=n,a>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(i,arguments)}}function Ra(e,t){var r=-1,n=e.length,a=n-1;for(t=t===i?n:t;++r<t;){var o=$n(r,a),s=e[o];e[o]=e[r],e[r]=s}return e.length=t,e}var Ma=function(e){var t=Ro(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(ne,(function(e,r,n,i){t.push(n?i.replace(fe,"$1"):r||e)})),t}));function La(e){if("string"==typeof e||ls(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function ja(e){if(null!=e){try{return Re.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Ba(e){if(e instanceof Vr)return e.clone();var t=new Jr(e.__wrapped__,e.__chain__);return t.__actions__=Ni(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var za=Xn((function(e,t){return Go(e)?pn(e,yn(t,1,Go,!0)):[]})),Ua=Xn((function(e,t){var r=Ya(t);return Go(r)&&(r=i),Go(e)?pn(e,yn(t,1,Go,!0),la(r,2)):[]})),qa=Xn((function(e,t){var r=Ya(t);return Go(r)&&(r=i),Go(e)?pn(e,yn(t,1,Go,!0),i,r):[]}));function Ja(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=null==r?0:gs(r);return i<0&&(i=yr(n+i,0)),qt(e,la(t,3),i)}function Va(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var a=n-1;return r!==i&&(a=gs(r),a=r<0?yr(n+a,0):vr(a,n-1)),qt(e,la(t,3),a,!0)}function Ha(e){return(null==e?0:e.length)?yn(e,1):[]}function Ka(e){return e&&e.length?e[0]:i}var Wa=Xn((function(e){var t=Rt(e,yi);return t.length&&t[0]===e[0]?Nn(t):[]})),Ga=Xn((function(e){var t=Ya(e),r=Rt(e,yi);return t===Ya(r)?t=i:r.pop(),r.length&&r[0]===e[0]?Nn(r,la(t,2)):[]})),$a=Xn((function(e){var t=Ya(e),r=Rt(e,yi);return(t="function"==typeof t?t:i)&&r.pop(),r.length&&r[0]===e[0]?Nn(r,i,t):[]}));function Ya(e){var t=null==e?0:e.length;return t?e[t-1]:i}var Xa=Xn(Qa);function Qa(e,t){return e&&e.length&&t&&t.length?Wn(e,t):e}var Za=na((function(e,t){var r=null==e?0:e.length,n=sn(e,t);return Gn(e,Rt(t,(function(e){return va(e,r)?+e:e})).sort(Ti)),n}));function eo(e){return null==e?e:Er.call(e)}var to=Xn((function(e){return di(yn(e,1,Go,!0))})),ro=Xn((function(e){var t=Ya(e);return Go(t)&&(t=i),di(yn(e,1,Go,!0),la(t,2))})),no=Xn((function(e){var t=Ya(e);return t="function"==typeof t?t:i,di(yn(e,1,Go,!0),i,t)}));function io(e){if(!e||!e.length)return[];var t=0;return e=It(e,(function(e){if(Go(e))return t=yr(e.length,t),!0})),Xt(t,(function(t){return Rt(e,Wt(t))}))}function ao(e,t){if(!e||!e.length)return[];var r=io(e);return null==t?r:Rt(r,(function(e){return Tt(t,i,e)}))}var oo=Xn((function(e,t){return Go(e)?pn(e,t):[]})),so=Xn((function(e){return _i(It(e,Go))})),co=Xn((function(e){var t=Ya(e);return Go(t)&&(t=i),_i(It(e,Go),la(t,2))})),lo=Xn((function(e){var t=Ya(e);return t="function"==typeof t?t:i,_i(It(e,Go),i,t)})),uo=Xn(io);var po=Xn((function(e){var t=e.length,r=t>1?e[t-1]:i;return r="function"==typeof r?(e.pop(),r):i,ao(e,r)}));function fo(e){var t=zr(e);return t.__chain__=!0,t}function mo(e,t){return t(e)}var go=na((function(e){var t=e.length,r=t?e[0]:0,n=this.__wrapped__,a=function(t){return sn(t,e)};return!(t>1||this.__actions__.length)&&n instanceof Vr&&va(r)?((n=n.slice(r,+r+(t?1:0))).__actions__.push({func:mo,args:[a],thisArg:i}),new Jr(n,this.__chain__).thru((function(e){return t&&!e.length&&e.push(i),e}))):this.thru(a)}));var _o=Ii((function(e,t,r){Me.call(e,r)?++e[r]:on(e,r,1)}));var ho=Bi(Ja),yo=Bi(Va);function vo(e,t){return(Ho(e)?At:fn)(e,la(t,3))}function bo(e,t){return(Ho(e)?Nt:mn)(e,la(t,3))}var ko=Ii((function(e,t,r){Me.call(e,r)?e[r].push(t):on(e,r,[t])}));var xo=Xn((function(e,t,r){var i=-1,a="function"==typeof t,o=Wo(e)?n(e.length):[];return fn(e,(function(e){o[++i]=a?Tt(t,e,r):Pn(e,t,r)})),o})),Eo=Ii((function(e,t,r){on(e,r,t)}));function So(e,t){return(Ho(e)?Rt:zn)(e,la(t,3))}var Do=Ii((function(e,t,r){e[r?0:1].push(t)}),(function(){return[[],[]]}));var wo=Xn((function(e,t){if(null==e)return[];var r=t.length;return r>1&&ba(e,t[0],t[1])?t=[]:r>2&&ba(t[0],t[1],t[2])&&(t=[t[0]]),Hn(e,yn(t,1),[])})),To=ut||function(){return gt.Date.now()};function Co(e,t,r){return t=r?i:t,t=e&&null==t?e.length:t,Qi(e,d,i,i,i,i,t)}function Ao(e,t){var r;if("function"!=typeof t)throw new Ne(a);return e=gs(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=i),r}}var No=Xn((function(e,t,r){var n=1;if(r.length){var i=ur(r,ca(No));n|=l}return Qi(e,n,t,r,i)})),Po=Xn((function(e,t,r){var n=3;if(r.length){var i=ur(r,ca(Po));n|=l}return Qi(t,n,e,r,i)}));function Io(e,t,r){var n,o,s,c,l,u,d=0,p=!1,f=!1,m=!0;if("function"!=typeof e)throw new Ne(a);function g(t){var r=n,a=o;return n=o=i,d=t,c=e.apply(a,r)}function _(e){var r=e-u;return u===i||r>=t||r<0||f&&e-d>=s}function h(){var e=To();if(_(e))return y(e);l=Pa(h,function(e){var r=t-(e-u);return f?vr(r,s-(e-d)):r}(e))}function y(e){return l=i,m&&n?g(e):(n=o=i,c)}function v(){var e=To(),r=_(e);if(n=arguments,o=this,u=e,r){if(l===i)return function(e){return d=e,l=Pa(h,t),p?g(e):c}(u);if(f)return Ei(l),l=Pa(h,t),g(u)}return l===i&&(l=Pa(h,t)),c}return t=hs(t)||0,ts(r)&&(p=!!r.leading,s=(f="maxWait"in r)?yr(hs(r.maxWait)||0,t):s,m="trailing"in r?!!r.trailing:m),v.cancel=function(){l!==i&&Ei(l),d=0,n=u=o=l=i},v.flush=function(){return l===i?c:y(To())},v}var Fo=Xn((function(e,t){return dn(e,1,t)})),Oo=Xn((function(e,t,r){return dn(e,hs(t)||0,r)}));function Ro(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ne(a);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var o=e.apply(this,n);return r.cache=a.set(i,o)||a,o};return r.cache=new(Ro.Cache||Wr),r}function Mo(e){if("function"!=typeof e)throw new Ne(a);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)}}Ro.Cache=Wr;var Lo=ki((function(e,t){var r=(t=1==t.length&&Ho(t[0])?Rt(t[0],Zt(la())):Rt(yn(t,1),Zt(la()))).length;return Xn((function(n){for(var i=-1,a=vr(n.length,r);++i<a;)n[i]=t[i].call(this,n[i]);return Tt(e,this,n)}))})),jo=Xn((function(e,t){var r=ur(t,ca(jo));return Qi(e,l,i,t,r)})),Bo=Xn((function(e,t){var r=ur(t,ca(Bo));return Qi(e,u,i,t,r)})),zo=na((function(e,t){return Qi(e,p,i,i,i,t)}));function Uo(e,t){return e===t||e!=e&&t!=t}var qo=Wi(Tn),Jo=Wi((function(e,t){return e>=t})),Vo=In(function(){return arguments}())?In:function(e){return rs(e)&&Me.call(e,"callee")&&!$e.call(e,"callee")},Ho=n.isArray,Ko=kt?Zt(kt):function(e){return rs(e)&&wn(e)==O};function Wo(e){return null!=e&&es(e.length)&&!Qo(e)}function Go(e){return rs(e)&&Wo(e)}var $o=vt||hc,Yo=xt?Zt(xt):function(e){return rs(e)&&wn(e)==k};function Xo(e){if(!rs(e))return!1;var t=wn(e);return t==x||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!as(e)}function Qo(e){if(!ts(e))return!1;var t=wn(e);return t==E||t==S||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Zo(e){return"number"==typeof e&&e==gs(e)}function es(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=m}function ts(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function rs(e){return null!=e&&"object"==typeof e}var ns=Et?Zt(Et):function(e){return rs(e)&&ga(e)==D};function is(e){return"number"==typeof e||rs(e)&&wn(e)==w}function as(e){if(!rs(e)||wn(e)!=T)return!1;var t=We(e);if(null===t)return!0;var r=Me.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Re.call(r)==ze}var os=St?Zt(St):function(e){return rs(e)&&wn(e)==A};var ss=Dt?Zt(Dt):function(e){return rs(e)&&ga(e)==N};function cs(e){return"string"==typeof e||!Ho(e)&&rs(e)&&wn(e)==P}function ls(e){return"symbol"==typeof e||rs(e)&&wn(e)==I}var us=wt?Zt(wt):function(e){return rs(e)&&es(e.length)&&!!ct[wn(e)]};var ds=Wi(Bn),ps=Wi((function(e,t){return e<=t}));function fs(e){if(!e)return[];if(Wo(e))return cs(e)?mr(e):Ni(e);if(Qe&&e[Qe])return function(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}(e[Qe]());var t=ga(e);return(t==D?cr:t==N?dr:Us)(e)}function ms(e){return e?(e=hs(e))===f||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function gs(e){var t=ms(e),r=t%1;return t==t?r?t-r:t:0}function _s(e){return e?cn(gs(e),0,_):0}function hs(e){if("number"==typeof e)return e;if(ls(e))return g;if(ts(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ts(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Qt(e);var r=he.test(e);return r||ve.test(e)?pt(e.slice(2),r?2:8):_e.test(e)?g:+e}function ys(e){return Pi(e,Fs(e))}function vs(e){return null==e?"":ui(e)}var bs=Fi((function(e,t){if(Sa(t)||Wo(t))Pi(t,Is(t),e);else for(var r in t)Me.call(t,r)&&tn(e,r,t[r])})),ks=Fi((function(e,t){Pi(t,Fs(t),e)})),xs=Fi((function(e,t,r,n){Pi(t,Fs(t),e,n)})),Es=Fi((function(e,t,r,n){Pi(t,Is(t),e,n)})),Ss=na(sn);var Ds=Xn((function(e,t){e=Te(e);var r=-1,n=t.length,a=n>2?t[2]:i;for(a&&ba(t[0],t[1],a)&&(n=1);++r<n;)for(var o=t[r],s=Fs(o),c=-1,l=s.length;++c<l;){var u=s[c],d=e[u];(d===i||Uo(d,Fe[u])&&!Me.call(e,u))&&(e[u]=o[u])}return e})),ws=Xn((function(e){return e.push(i,ea),Tt(Rs,i,e)}));function Ts(e,t,r){var n=null==e?i:Sn(e,t);return n===i?r:n}function Cs(e,t){return null!=e&&_a(e,t,An)}var As=qi((function(e,t,r){null!=t&&"function"!=typeof t.toString&&(t=Be.call(t)),e[t]=r}),tc(ic)),Ns=qi((function(e,t,r){null!=t&&"function"!=typeof t.toString&&(t=Be.call(t)),Me.call(e,t)?e[t].push(r):e[t]=[r]}),la),Ps=Xn(Pn);function Is(e){return Wo(e)?Yr(e):Ln(e)}function Fs(e){return Wo(e)?Yr(e,!0):jn(e)}var Os=Fi((function(e,t,r){Jn(e,t,r)})),Rs=Fi((function(e,t,r,n){Jn(e,t,r,n)})),Ms=na((function(e,t){var r={};if(null==e)return r;var n=!1;t=Rt(t,(function(t){return t=bi(t,e),n||(n=t.length>1),t})),Pi(e,aa(e),r),n&&(r=ln(r,7,ta));for(var i=t.length;i--;)pi(r,t[i]);return r}));var Ls=na((function(e,t){return null==e?{}:function(e,t){return Kn(e,t,(function(t,r){return Cs(e,r)}))}(e,t)}));function js(e,t){if(null==e)return{};var r=Rt(aa(e),(function(e){return[e]}));return t=la(t),Kn(e,r,(function(e,r){return t(e,r[0])}))}var Bs=Xi(Is),zs=Xi(Fs);function Us(e){return null==e?[]:er(e,Is(e))}var qs=Li((function(e,t,r){return t=t.toLowerCase(),e+(r?Js(t):t)}));function Js(e){return Xs(vs(e).toLowerCase())}function Vs(e){return(e=vs(e))&&e.replace(ke,ir).replace(tt,"")}var Hs=Li((function(e,t,r){return e+(r?"-":"")+t.toLowerCase()})),Ks=Li((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()})),Ws=Mi("toLowerCase");var Gs=Li((function(e,t,r){return e+(r?"_":"")+t.toLowerCase()}));var $s=Li((function(e,t,r){return e+(r?" ":"")+Xs(t)}));var Ys=Li((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),Xs=Mi("toUpperCase");function Qs(e,t,r){return e=vs(e),(t=r?i:t)===i?function(e){return at.test(e)}(e)?function(e){return e.match(nt)||[]}(e):function(e){return e.match(de)||[]}(e):e.match(t)||[]}var Zs=Xn((function(e,t){try{return Tt(e,i,t)}catch(e){return Xo(e)?e:new Se(e)}})),ec=na((function(e,t){return At(t,(function(t){t=La(t),on(e,t,No(e[t],e))})),e}));function tc(e){return function(){return e}}var rc=zi(),nc=zi(!0);function ic(e){return e}function ac(e){return Mn("function"==typeof e?e:ln(e,1))}var oc=Xn((function(e,t){return function(r){return Pn(r,e,t)}})),sc=Xn((function(e,t){return function(r){return Pn(e,r,t)}}));function cc(e,t,r){var n=Is(t),i=En(t,n);null!=r||ts(t)&&(i.length||!n.length)||(r=t,t=e,e=this,i=En(t,Is(t)));var a=!(ts(r)&&"chain"in r&&!r.chain),o=Qo(e);return At(i,(function(r){var n=t[r];e[r]=n,o&&(e.prototype[r]=function(){var t=this.__chain__;if(a||t){var r=e(this.__wrapped__);return(r.__actions__=Ni(this.__actions__)).push({func:n,args:arguments,thisArg:e}),r.__chain__=t,r}return n.apply(e,Mt([this.value()],arguments))})})),e}function lc(){}var uc=Vi(Rt),dc=Vi(Pt),pc=Vi(Bt);function fc(e){return ka(e)?Wt(La(e)):function(e){return function(t){return Sn(t,e)}}(e)}var mc=Ki(),gc=Ki(!0);function _c(){return[]}function hc(){return!1}var yc=Ji((function(e,t){return e+t}),0),vc=$i("ceil"),bc=Ji((function(e,t){return e/t}),1),kc=$i("floor");var xc,Ec=Ji((function(e,t){return e*t}),1),Sc=$i("round"),Dc=Ji((function(e,t){return e-t}),0);return zr.after=function(e,t){if("function"!=typeof t)throw new Ne(a);return e=gs(e),function(){if(--e<1)return t.apply(this,arguments)}},zr.ary=Co,zr.assign=bs,zr.assignIn=ks,zr.assignInWith=xs,zr.assignWith=Es,zr.at=Ss,zr.before=Ao,zr.bind=No,zr.bindAll=ec,zr.bindKey=Po,zr.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ho(e)?e:[e]},zr.chain=fo,zr.chunk=function(e,t,r){t=(r?ba(e,t,r):t===i)?1:yr(gs(t),0);var a=null==e?0:e.length;if(!a||t<1)return[];for(var o=0,s=0,c=n(mt(a/t));o<a;)c[s++]=ii(e,o,o+=t);return c},zr.compact=function(e){for(var t=-1,r=null==e?0:e.length,n=0,i=[];++t<r;){var a=e[t];a&&(i[n++]=a)}return i},zr.concat=function(){var e=arguments.length;if(!e)return[];for(var t=n(e-1),r=arguments[0],i=e;i--;)t[i-1]=arguments[i];return Mt(Ho(r)?Ni(r):[r],yn(t,1))},zr.cond=function(e){var t=null==e?0:e.length,r=la();return e=t?Rt(e,(function(e){if("function"!=typeof e[1])throw new Ne(a);return[r(e[0]),e[1]]})):[],Xn((function(r){for(var n=-1;++n<t;){var i=e[n];if(Tt(i[0],this,r))return Tt(i[1],this,r)}}))},zr.conforms=function(e){return function(e){var t=Is(e);return function(r){return un(r,e,t)}}(ln(e,1))},zr.
constant
=tc,zr.countBy=_o,zr.create=function(e,t){var r=Ur(e);return null==t?r:an(r,t)},zr.curry=function e(t,r,n){var a=Qi(t,8,i,i,i,i,i,r=n?i:r);return a.placeholder=e.placeholder,a},zr.curryRight=function e(t,r,n){var a=Qi(t,c,i,i,i,i,i,r=n?i:r);return a.placeholder=e.placeholder,a},zr.debounce=Io,zr.defaults=Ds,zr.defaultsDeep=ws,zr.defer=Fo,zr.delay=Oo,zr.difference=za,zr.differenceBy=Ua,zr.differenceWith=qa,zr.drop=function(e,t,r){var n=null==e?0:e.length;return n?ii(e,(t=r||t===i?1:gs(t))<0?0:t,n):[]},zr.dropRight=function(e,t,r){var n=null==e?0:e.length;return n?ii(e,0,(t=n-(t=r||t===i?1:gs(t)))<0?0:t):[]},zr.dropRightWhile=function(e,t){return e&&e.length?mi(e,la(t,3),!0,!0):[]},zr.dropWhile=function(e,t){return e&&e.length?mi(e,la(t,3),!0):[]},zr.fill=function(e,t,r,n){var a=null==e?0:e.length;return a?(r&&"number"!=typeof r&&ba(e,t,r)&&(r=0,n=a),function(e,t,r,n){var a=e.length;for((r=gs(r))<0&&(r=-r>a?0:a+r),(n=n===i||n>a?a:gs(n))<0&&(n+=a),n=r>n?0:_s(n);r<n;)e[r++]=t;return e}(e,t,r,n)):[]},zr.filter=function(e,t){return(Ho(e)?It:hn)(e,la(t,3))},zr.flatMap=function(e,t){return yn(So(e,t),1)},zr.flatMapDeep=function(e,t){return yn(So(e,t),f)},zr.flatMapDepth=function(e,t,r){return r=r===i?1:gs(r),yn(So(e,t),r)},zr.flatten=Ha,zr.flattenDeep=function(e){return(null==e?0:e.length)?yn(e,f):[]},zr.flattenDepth=function(e,t){return(null==e?0:e.length)?yn(e,t=t===i?1:gs(t)):[]},zr.flip=function(e){return Qi(e,512)},zr.flow=rc,zr.flowRight=nc,zr.fromPairs=function(e){for(var t=-1,r=null==e?0:e.length,n={};++t<r;){var i=e[t];n[i[0]]=i[1]}return n},zr.functions=function(e){return null==e?[]:En(e,Is(e))},zr.functionsIn=function(e){return null==e?[]:En(e,Fs(e))},zr.groupBy=ko,zr.initial=function(e){return(null==e?0:e.length)?ii(e,0,-1):[]},zr.intersection=Wa,zr.intersectionBy=Ga,zr.intersectionWith=$a,zr.invert=As,zr.invertBy=Ns,zr.invokeMap=xo,zr.iteratee=ac,zr.keyBy=Eo,zr.keys=Is,zr.keysIn=Fs,zr.map=So,zr.mapKeys=function(e,t){var r={};return t=la(t,3),kn(e,(function(e,n,i){on(r,t(e,n,i),e)})),r},zr.mapValues=function(e,t){var r={};return t=la(t,3),kn(e,(function(e,n,i){on(r,n,t(e,n,i))})),r},zr.matches=function(e){return Un(ln(e,1))},zr.matchesProperty=function(e,t){return qn(e,ln(t,1))},zr.memoize=Ro,zr.merge=Os,zr.mergeWith=Rs,zr.method=oc,zr.methodOf=sc,zr.mixin=cc,zr.negate=Mo,zr.nthArg=function(e){return e=gs(e),Xn((function(t){return Vn(t,e)}))},zr.omit=Ms,zr.omitBy=function(e,t){return js(e,Mo(la(t)))},zr.once=function(e){return Ao(2,e)},zr.orderBy=function(e,t,r,n){return null==e?[]:(Ho(t)||(t=null==t?[]:[t]),Ho(r=n?i:r)||(r=null==r?[]:[r]),Hn(e,t,r))},zr.over=uc,zr.overArgs=Lo,zr.overEvery=dc,zr.overSome=pc,zr.partial=jo,zr.partialRight=Bo,zr.partition=Do,zr.pick=Ls,zr.pickBy=js,zr.property=fc,zr.propertyOf=function(e){return function(t){return null==e?i:Sn(e,t)}},zr.pull=Xa,zr.pullAll=Qa,zr.pullAllBy=function(e,t,r){return e&&e.length&&t&&t.length?Wn(e,t,la(r,2)):e},zr.pullAllWith=function(e,t,r){return e&&e.length&&t&&t.length?Wn(e,t,i,r):e},zr.pullAt=Za,zr.range=mc,zr.rangeRight=gc,zr.rearg=zo,zr.reject=function(e,t){return(Ho(e)?It:hn)(e,Mo(la(t,3)))},zr.remove=function(e,t){var r=[];if(!e||!e.length)return r;var n=-1,i=[],a=e.length;for(t=la(t,3);++n<a;){var o=e[n];t(o,n,e)&&(r.push(o),i.push(n))}return Gn(e,i),r},zr.rest=function(e,t){if("function"!=typeof e)throw new Ne(a);return Xn(e,t=t===i?t:gs(t))},zr.reverse=eo,zr.sampleSize=function(e,t,r){return t=(r?ba(e,t,r):t===i)?1:gs(t),(Ho(e)?Qr:Zn)(e,t)},zr.set=function(e,t,r){return null==e?e:ei(e,t,r)},zr.setWith=function(e,t,r,n){return n="function"==typeof n?n:i,null==e?e:ei(e,t,r,n)},zr.shuffle=function(e){return(Ho(e)?Zr:ni)(e)},zr.slice=function(e,t,r){var n=null==e?0:e.length;return n?(r&&"number"!=typeof r&&ba(e,t,r)?(t=0,r=n):(t=null==t?0:gs(t),r=r===i?n:gs(r)),ii(e,t,r)):[]},zr.sortBy=wo,zr.sortedUniq=function(e){return e&&e.length?ci(e):[]},zr.sortedUniqBy=function(e,t){return e&&e.length?ci(e,la(t,2)):[]},zr.split=function(e,t,r){return r&&"number"!=typeof r&&ba(e,t,r)&&(t=r=i),(r=r===i?_:r>>>0)?(e=vs(e))&&("string"==typeof t||null!=t&&!os(t))&&!(t=ui(t))&&sr(e)?xi(mr(e),0,r):e.split(t,r):[]},zr.spread=function(e,t){if("function"!=typeof e)throw new Ne(a);return t=null==t?0:yr(gs(t),0),Xn((function(r){var n=r[t],i=xi(r,0,t);return n&&Mt(i,n),Tt(e,this,i)}))},zr.tail=function(e){var t=null==e?0:e.length;return t?ii(e,1,t):[]},zr.take=function(e,t,r){return e&&e.length?ii(e,0,(t=r||t===i?1:gs(t))<0?0:t):[]},zr.takeRight=function(e,t,r){var n=null==e?0:e.length;return n?ii(e,(t=n-(t=r||t===i?1:gs(t)))<0?0:t,n):[]},zr.takeRightWhile=function(e,t){return e&&e.length?mi(e,la(t,3),!1,!0):[]},zr.takeWhile=function(e,t){return e&&e.length?mi(e,la(t,3)):[]},zr.tap=function(e,t){return t(e),e},zr.throttle=function(e,t,r){var n=!0,i=!0;if("function"!=typeof e)throw new Ne(a);return ts(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),Io(e,t,{leading:n,maxWait:t,trailing:i})},zr.thru=mo,zr.toArray=fs,zr.toPairs=Bs,zr.toPairsIn=zs,zr.toPath=function(e){return Ho(e)?Rt(e,La):ls(e)?[e]:Ni(Ma(vs(e)))},zr.toPlainObject=ys,zr.transform=function(e,t,r){var n=Ho(e),i=n||$o(e)||us(e);if(t=la(t,4),null==r){var a=e&&e.constructor;r=i?n?new a:[]:ts(e)&&Qo(a)?Ur(We(e)):{}}return(i?At:kn)(e,(function(e,n,i){return t(r,e,n,i)})),r},zr.unary=function(e){return Co(e,1)},zr.union=to,zr.unionBy=ro,zr.unionWith=no,zr.uniq=function(e){return e&&e.length?di(e):[]},zr.uniqBy=function(e,t){return e&&e.length?di(e,la(t,2)):[]},zr.uniqWith=function(e,t){return t="function"==typeof t?t:i,e&&e.length?di(e,i,t):[]},zr.unset=function(e,t){return null==e||pi(e,t)},zr.unzip=io,zr.unzipWith=ao,zr.update=function(e,t,r){return null==e?e:fi(e,t,vi(r))},zr.updateWith=function(e,t,r,n){return n="function"==typeof n?n:i,null==e?e:fi(e,t,vi(r),n)},zr.values=Us,zr.valuesIn=function(e){return null==e?[]:er(e,Fs(e))},zr.without=oo,zr.words=Qs,zr.wrap=function(e,t){return jo(vi(t),e)},zr.xor=so,zr.xorBy=co,zr.xorWith=lo,zr.zip=uo,zr.zipObject=function(e,t){return hi(e||[],t||[],tn)},zr.zipObjectDeep=function(e,t){return hi(e||[],t||[],ei)},zr.zipWith=po,zr.entries=Bs,zr.entriesIn=zs,zr.extend=ks,zr.extendWith=xs,cc(zr,zr),zr.add=yc,zr.attempt=Zs,zr.camelCase=qs,zr.capitalize=Js,zr.ceil=vc,zr.clamp=function(e,t,r){return r===i&&(r=t,t=i),r!==i&&(r=(r=hs(r))==r?r:0),t!==i&&(t=(t=hs(t))==t?t:0),cn(hs(e),t,r)},zr.clone=function(e){return ln(e,4)},zr.cloneDeep=function(e){return ln(e,5)},zr.cloneDeepWith=function(e,t){return ln(e,5,t="function"==typeof t?t:i)},zr.cloneWith=function(e,t){return ln(e,4,t="function"==typeof t?t:i)},zr.conformsTo=function(e,t){return null==t||un(e,t,Is(t))},zr.deburr=Vs,zr.defaultTo=function(e,t){return null==e||e!=e?t:e},zr.divide=bc,zr.endsWith=function(e,t,r){e=vs(e),t=ui(t);var n=e.length,a=r=r===i?n:cn(gs(r),0,n);return(r-=t.length)>=0&&e.slice(r,a)==t},zr.eq=Uo,zr.escape=function(e){return(e=vs(e))&&X.test(e)?e.replace($,ar):e},zr.escapeRegExp=function(e){return(e=vs(e))&&ae.test(e)?e.replace(ie,"\\$&"):e},zr.every=function(e,t,r){var n=Ho(e)?Pt:gn;return r&&ba(e,t,r)&&(t=i),n(e,la(t,3))},zr.find=ho,zr.findIndex=Ja,zr.findKey=function(e,t){return Ut(e,la(t,3),kn)},zr.findLast=yo,zr.findLastIndex=Va,zr.findLastKey=function(e,t){return Ut(e,la(t,3),xn)},zr.floor=kc,zr.forEach=vo,zr.forEachRight=bo,zr.forIn=function(e,t){return null==e?e:vn(e,la(t,3),Fs)},zr.forInRight=function(e,t){return null==e?e:bn(e,la(t,3),Fs)},zr.forOwn=function(e,t){return e&&kn(e,la(t,3))},zr.forOwnRight=function(e,t){return e&&xn(e,la(t,3))},zr.get=Ts,zr.gt=qo,zr.gte=Jo,zr.has=function(e,t){return null!=e&&_a(e,t,Cn)},zr.hasIn=Cs,zr.head=Ka,zr.identity=ic,zr.includes=function(e,t,r,n){e=Wo(e)?e:Us(e),r=r&&!n?gs(r):0;var i=e.length;return r<0&&(r=yr(i+r,0)),cs(e)?r<=i&&e.indexOf(t,r)>-1:!!i&&Jt(e,t,r)>-1},zr.indexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=null==r?0:gs(r);return i<0&&(i=yr(n+i,0)),Jt(e,t,i)},zr.inRange=function(e,t,r){return t=ms(t),r===i?(r=t,t=0):r=ms(r),function(e,t,r){return e>=vr(t,r)&&e<yr(t,r)}(e=hs(e),t,r)},zr.invoke=Ps,zr.isArguments=Vo,zr.isArray=Ho,zr.isArrayBuffer=Ko,zr.isArrayLike=Wo,zr.isArrayLikeObject=Go,zr.isBoolean=function(e){return!0===e||!1===e||rs(e)&&wn(e)==b},zr.isBuffer=$o,zr.isDate=Yo,zr.isElement=function(e){return rs(e)&&1===e.nodeType&&!as(e)},zr.isEmpty=function(e){if(null==e)return!0;if(Wo(e)&&(Ho(e)||"string"==typeof e||"function"==typeof e.splice||$o(e)||us(e)||Vo(e)))return!e.length;var t=ga(e);if(t==D||t==N)return!e.size;if(Sa(e))return!Ln(e).length;for(var r in e)if(Me.call(e,r))return!1;return!0},zr.isEqual=function(e,t){return Fn(e,t)},zr.isEqualWith=function(e,t,r){var n=(r="function"==typeof r?r:i)?r(e,t):i;return n===i?Fn(e,t,i,r):!!n},zr.isError=Xo,zr.isFinite=function(e){return"number"==typeof e&&bt(e)},zr.isFunction=Qo,zr.isInteger=Zo,zr.isLength=es,zr.isMap=ns,zr.isMatch=function(e,t){return e===t||On(e,t,da(t))},zr.isMatchWith=function(e,t,r){return r="function"==typeof r?r:i,On(e,t,da(t),r)},zr.isNaN=function(e){return is(e)&&e!=+e},zr.isNative=function(e){if(Ea(e))throw new Se("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Rn(e)},zr.isNil=function(e){return null==e},zr.isNull=function(e){return null===e},zr.isNumber=is,zr.isObject=ts,zr.isObjectLike=rs,zr.isPlainObject=as,zr.isRegExp=os,zr.isSafeInteger=function(e){return Zo(e)&&e>=-9007199254740991&&e<=m},zr.isSet=ss,zr.isString=cs,zr.isSymbol=ls,zr.isTypedArray=us,zr.isUndefined=function(e){return e===i},zr.isWeakMap=function(e){return rs(e)&&ga(e)==F},zr.isWeakSet=function(e){return rs(e)&&"[object WeakSet]"==wn(e)},zr.join=function(e,t){return null==e?"":zt.call(e,t)},zr.kebabCase=Hs,zr.last=Ya,zr.lastIndexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var a=n;return r!==i&&(a=(a=gs(r))<0?yr(n+a,0):vr(a,n-1)),t==t?function(e,t,r){for(var n=r+1;n--;)if(e[n]===t)return n;return n}(e,t,a):qt(e,Ht,a,!0)},zr.lowerCase=Ks,zr.lowerFirst=Ws,zr.lt=ds,zr.lte=ps,zr.max=function(e){return e&&e.length?_n(e,ic,Tn):i},zr.maxBy=function(e,t){return e&&e.length?_n(e,la(t,2),Tn):i},zr.mean=function(e){return Kt(e,ic)},zr.meanBy=function(e,t){return Kt(e,la(t,2))},zr.min=function(e){return e&&e.length?_n(e,ic,Bn):i},zr.minBy=function(e,t){return e&&e.length?_n(e,la(t,2),Bn):i},zr.stubArray=_c,zr.stubFalse=hc,zr.stubObject=function(){return{}},zr.stubString=function(){return""},zr.stubTrue=function(){return!0},zr.multiply=Ec,zr.nth=function(e,t){return e&&e.length?Vn(e,gs(t)):i},zr.noConflict=function(){return gt._===this&&(gt._=Ue),this},zr.noop=lc,zr.now=To,zr.pad=function(e,t,r){e=vs(e);var n=(t=gs(t))?fr(e):0;if(!t||n>=t)return e;var i=(t-n)/2;return Hi(_t(i),r)+e+Hi(mt(i),r)},zr.padEnd=function(e,t,r){e=vs(e);var n=(t=gs(t))?fr(e):0;return t&&n<t?e+Hi(t-n,r):e},zr.padStart=function(e,t,r){e=vs(e);var n=(t=gs(t))?fr(e):0;return t&&n<t?Hi(t-n,r)+e:e},zr.parseInt=function(e,t,r){return r||null==t?t=0:t&&(t=+t),kr(vs(e).replace(oe,""),t||0)},zr.random=function(e,t,r){if(r&&"boolean"!=typeof r&&ba(e,t,r)&&(t=r=i),r===i&&("boolean"==typeof t?(r=t,t=i):"boolean"==typeof e&&(r=e,e=i)),e===i&&t===i?(e=0,t=1):(e=ms(e),t===i?(t=e,e=0):t=ms(t)),e>t){var n=e;e=t,t=n}if(r||e%1||t%1){var a=xr();return vr(e+a*(t-e+dt("1e-"+((a+"").length-1))),t)}return $n(e,t)},zr.reduce=function(e,t,r){var n=Ho(e)?Lt:$t,i=arguments.length<3;return n(e,la(t,4),r,i,fn)},zr.reduceRight=function(e,t,r){var n=Ho(e)?jt:$t,i=arguments.length<3;return n(e,la(t,4),r,i,mn)},zr.repeat=function(e,t,r){return t=(r?ba(e,t,r):t===i)?1:gs(t),Yn(vs(e),t)},zr.replace=function(){var e=arguments,t=vs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},zr.result=function(e,t,r){var n=-1,a=(t=bi(t,e)).length;for(a||(a=1,e=i);++n<a;){var o=null==e?i:e[La(t[n])];o===i&&(n=a,o=r),e=Qo(o)?o.call(e):o}return e},zr.round=Sc,zr.runInContext=e,zr.sample=function(e){return(Ho(e)?Xr:Qn)(e)},zr.size=function(e){if(null==e)return 0;if(Wo(e))return cs(e)?fr(e):e.length;var t=ga(e);return t==D||t==N?e.size:Ln(e).length},zr.snakeCase=Gs,zr.some=function(e,t,r){var n=Ho(e)?Bt:ai;return r&&ba(e,t,r)&&(t=i),n(e,la(t,3))},zr.sortedIndex=function(e,t){return oi(e,t)},zr.sortedIndexBy=function(e,t,r){return si(e,t,la(r,2))},zr.sortedIndexOf=function(e,t){var r=null==e?0:e.length;if(r){var n=oi(e,t);if(n<r&&Uo(e[n],t))return n}return-1},zr.sortedLastIndex=function(e,t){return oi(e,t,!0)},zr.sortedLastIndexBy=function(e,t,r){return si(e,t,la(r,2),!0)},zr.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var r=oi(e,t,!0)-1;if(Uo(e[r],t))return r}return-1},zr.startCase=$s,zr.startsWith=function(e,t,r){return e=vs(e),r=null==r?0:cn(gs(r),0,e.length),t=ui(t),e.slice(r,r+t.length)==t},zr.subtract=Dc,zr.sum=function(e){return e&&e.length?Yt(e,ic):0},zr.sumBy=function(e,t){return e&&e.length?Yt(e,la(t,2)):0},zr.template=function(e,t,r){var n=zr.templateSettings;r&&ba(e,t,r)&&(t=i),e=vs(e),t=xs({},t,n,Zi);var a,o,s=xs({},t.imports,n.imports,Zi),c=Is(s),l=er(s,c),u=0,d=t.interpolate||xe,p="__p += '",f=Ce((t.escape||xe).source+"|"+d.source+"|"+(d===ee?me:xe).source+"|"+(t.evaluate||xe).source+"|$","g"),m="//# sourceURL="+(Me.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++st+"]")+"\n";e.replace(f,(function(t,r,n,i,s,c){return n||(n=i),p+=e.slice(u,c).replace(Ee,or),r&&(a=!0,p+="' +\n__e("+r+") +\n'"),s&&(o=!0,p+="';\n"+s+";\n__p += '"),n&&(p+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),u=c+t.length,t})),p+="';\n";var g=Me.call(t,"variable")&&t.variable;if(g){if(pe.test(g))throw new Se("Invalid `variable` option passed into `_.template`")}else p="with (obj) {\n"+p+"\n}\n";p=(o?p.replace(H,""):p).replace(K,"$1").replace(W,"$1;"),p="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var _=Zs((function(){return De(c,m+"return "+p).apply(i,l)}));if(_.source=p,Xo(_))throw _;return _},zr.times=function(e,t){if((e=gs(e))<1||e>m)return[];var r=_,n=vr(e,_);t=la(t),e-=_;for(var i=Xt(n,t);++r<e;)t(r);return i},zr.toFinite=ms,zr.toInteger=gs,zr.toLength=_s,zr.toLower=function(e){return vs(e).toLowerCase()},zr.toNumber=hs,zr.toSafeInteger=function(e){return e?cn(gs(e),-9007199254740991,m):0===e?e:0},zr.toString=vs,zr.toUpper=function(e){return vs(e).toUpperCase()},zr.trim=function(e,t,r){if((e=vs(e))&&(r||t===i))return Qt(e);if(!e||!(t=ui(t)))return e;var n=mr(e),a=mr(t);return xi(n,rr(n,a),nr(n,a)+1).join("")},zr.trimEnd=function(e,t,r){if((e=vs(e))&&(r||t===i))return e.slice(0,gr(e)+1);if(!e||!(t=ui(t)))return e;var n=mr(e);return xi(n,0,nr(n,mr(t))+1).join("")},zr.trimStart=function(e,t,r){if((e=vs(e))&&(r||t===i))return e.replace(oe,"");if(!e||!(t=ui(t)))return e;var n=mr(e);return xi(n,rr(n,mr(t))).join("")},zr.truncate=function(e,t){var r=30,n="...";if(ts(t)){var a="separator"in t?t.separator:a;r="length"in t?gs(t.length):r,n="omission"in t?ui(t.omission):n}var o=(e=vs(e)).length;if(sr(e)){var s=mr(e);o=s.length}if(r>=o)return e;var c=r-fr(n);if(c<1)return n;var l=s?xi(s,0,c).join(""):e.slice(0,c);if(a===i)return l+n;if(s&&(c+=l.length-c),os(a)){if(e.slice(c).search(a)){var u,d=l;for(a.global||(a=Ce(a.source,vs(ge.exec(a))+"g")),a.lastIndex=0;u=a.exec(d);)var p=u.index;l=l.slice(0,p===i?c:p)}}else if(e.indexOf(ui(a),c)!=c){var f=l.lastIndexOf(a);f>-1&&(l=l.slice(0,f))}return l+n},zr.unescape=function(e){return(e=vs(e))&&Y.test(e)?e.replace(G,_r):e},zr.uniqueId=function(e){var t=++Le;return vs(e)+t},zr.upperCase=Ys,zr.upperFirst=Xs,zr.each=vo,zr.eachRight=bo,zr.first=Ka,cc(zr,(xc={},kn(zr,(function(e,t){Me.call(zr.prototype,t)||(xc[t]=e)})),xc),{chain:!1}),zr.VERSION="4.17.21",At(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){zr[e].placeholder=zr})),At(["drop","take"],(function(e,t){Vr.prototype[e]=function(r){r=r===i?1:yr(gs(r),0);var n=this.__filtered__&&!t?new Vr(this):this.clone();return n.__filtered__?n.__takeCount__=vr(r,n.__takeCount__):n.__views__.push({size:vr(r,_),type:e+(n.__dir__<0?"Right":"")}),n},Vr.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),At(["filter","map","takeWhile"],(function(e,t){var r=t+1,n=1==r||3==r;Vr.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:la(e,3),type:r}),t.__filtered__=t.__filtered__||n,t}})),At(["head","last"],(function(e,t){var r="take"+(t?"Right":"");Vr.prototype[e]=function(){return this[r](1).value()[0]}})),At(["initial","tail"],(function(e,t){var r="drop"+(t?"":"Right");Vr.prototype[e]=function(){return this.__filtered__?new Vr(this):this[r](1)}})),Vr.prototype.compact=function(){return this.filter(ic)},Vr.prototype.find=function(e){return this.filter(e).head()},Vr.prototype.findLast=function(e){return this.reverse().find(e)},Vr.prototype.invokeMap=Xn((function(e,t){return"function"==typeof e?new Vr(this):this.map((function(r){return Pn(r,e,t)}))})),Vr.prototype.reject=function(e){return this.filter(Mo(la(e)))},Vr.prototype.slice=function(e,t){e=gs(e);var r=this;return r.__filtered__&&(e>0||t<0)?new Vr(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==i&&(r=(t=gs(t))<0?r.dropRight(-t):r.take(t-e)),r)},Vr.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Vr.prototype.toArray=function(){return this.take(_)},kn(Vr.prototype,(function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),n=/^(?:head|last)$/.test(t),a=zr[n?"take"+("last"==t?"Right":""):t],o=n||/^find/.test(t);a&&(zr.prototype[t]=function(){var t=this.__wrapped__,s=n?[1]:arguments,c=t instanceof Vr,l=s[0],u=c||Ho(t),d=function(e){var t=a.apply(zr,Mt([e],s));return n&&p?t[0]:t};u&&r&&"function"==typeof l&&1!=l.length&&(c=u=!1);var p=this.__chain__,f=!!this.__actions__.length,m=o&&!p,g=c&&!f;if(!o&&u){t=g?t:new Vr(this);var _=e.apply(t,s);return _.__actions__.push({func:mo,args:[d],thisArg:i}),new Jr(_,p)}return m&&g?e.apply(this,s):(_=this.thru(d),m?n?_.value()[0]:_.value():_)})})),At(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Pe[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);zr.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var i=this.value();return t.apply(Ho(i)?i:[],e)}return this[r]((function(r){return t.apply(Ho(r)?r:[],e)}))}})),kn(Vr.prototype,(function(e,t){var r=zr[t];if(r){var n=r.name+"";Me.call(Pr,n)||(Pr[n]=[]),Pr[n].push({name:t,func:r})}})),Pr[Ui(i,2).name]=[{name:"wrapper",func:i}],Vr.prototype.clone=function(){var e=new Vr(this.__wrapped__);return e.__actions__=Ni(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ni(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ni(this.__views__),e},Vr.prototype.reverse=function(){if(this.__filtered__){var e=new Vr(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Vr.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,r=Ho(e),n=t<0,i=r?e.length:0,a=function(e,t,r){var n=-1,i=r.length;for(;++n<i;){var a=r[n],o=a.size;switch(a.type){case"drop":e+=o;break;case"dropRight":t-=o;break;case"take":t=vr(t,e+o);break;case"takeRight":e=yr(e,t-o)}}return{start:e,end:t}}(0,i,this.__views__),o=a.start,s=a.end,c=s-o,l=n?s:o-1,u=this.__iteratees__,d=u.length,p=0,f=vr(c,this.__takeCount__);if(!r||!n&&i==c&&f==c)return gi(e,this.__actions__);var m=[];e:for(;c--&&p<f;){for(var g=-1,_=e[l+=t];++g<d;){var h=u[g],y=h.iteratee,v=h.type,b=y(_);if(2==v)_=b;else if(!b){if(1==v)continue e;break e}}m[p++]=_}return m},zr.prototype.at=go,zr.prototype.chain=function(){return fo(this)},zr.prototype.commit=function(){return new Jr(this.value(),this.__chain__)},zr.prototype.next=function(){this.__values__===i&&(this.__values__=fs(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?i:this.__values__[this.__index__++]}},zr.prototype.plant=function(e){for(var t,r=this;r instanceof qr;){var n=Ba(r);n.__index__=0,n.__values__=i,t?a.__wrapped__=n:t=n;var a=n;r=r.__wrapped__}return a.__wrapped__=e,t},zr.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Vr){var t=e;return this.__actions__.length&&(t=new Vr(this)),(t=t.reverse()).__actions__.push({func:mo,args:[eo],thisArg:i}),new Jr(t,this.__chain__)}return this.thru(eo)},zr.prototype.toJSON=zr.prototype.valueOf=zr.prototype.value=function(){return gi(this.__wrapped__,this.__actions__)},zr.prototype.first=zr.prototype.head,Qe&&(zr.prototype[Qe]=function(){return this}),zr}();gt._=hr,(n=function(){return hr}.call(t,r,t,e))===i||(e.exports=n)}.call(this)},94027:(e,t,r)=>{e.exports=p,p.Minimatch=f;var n=function(){try{return r(16928)}catch(e){}}()||{sep:"/"};p.sep=n.sep;var i=p.GLOBSTAR=f.GLOBSTAR={},a=r(68928),o={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},s="[^/]",c=s+"*?",l="().*{}+?[]^$\\!".split("").reduce((function(e,t){return e[t]=!0,e}),{});var u=/\/+/;function d(e,t){t=t||{};var r={};return Object.keys(e).forEach((function(t){r[t]=e[t]})),Object.keys(t).forEach((function(e){r[e]=t[e]})),r}function p(e,t,r){return g(t),r||(r={}),!(!r.nocomment&&"#"===t.charAt(0))&&new f(t,r).match(e)}function f(e,t){if(!(this instanceof f))return new f(e,t);g(e),t||(t={}),e=e.trim(),t.allowWindowsEscape||"/"===n.sep||(e=e.split(n.sep).join("/")),this.options=t,this.set=[],this.pattern=e,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.make()}function m(e,t){return t||(t=this instanceof f?this.options:{}),e=void 0===e?this.pattern:e,g(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:a(e)}p.filter=function(e,t){return t=t||{},function(r,n,i){return p(r,e,t)}},p.defaults=function(e){if(!e||"object"!=typeof e||!Object.keys(e).length)return p;var t=p,r=function(r,n,i){return t(r,n,d(e,i))};return(r.Minimatch=function(r,n){return new t.Minimatch(r,d(e,n))}).defaults=function(r){return t.defaults(d(e,r)).Minimatch},r.filter=function(r,n){return t.filter(r,d(e,n))},r.defaults=function(r){return t.defaults(d(e,r))},r.makeRe=function(r,n){return t.makeRe(r,d(e,n))},r.braceExpand=function(r,n){return t.braceExpand(r,d(e,n))},r.match=function(r,n,i){return t.match(r,n,d(e,i))},r},f.defaults=function(e){return p.defaults(e).Minimatch},f.prototype.debug=function(){},f.prototype.make=function(){var e=this.pattern,t=this.options;if(!t.nocomment&&"#"===e.charAt(0))return void(this.comment=!0);if(!e)return void(this.empty=!0);this.parseNegate();var r=this.globSet=this.braceExpand();t.debug&&(this.debug=function(){console.error.apply(console,arguments)});this.debug(this.pattern,r),r=this.globParts=r.map((function(e){return e.split(u)})),this.debug(this.pattern,r),r=r.map((function(e,t,r){return e.map(this.parse,this)}),this),this.debug(this.pattern,r),r=r.filter((function(e){return-1===e.indexOf(!1)})),this.debug(this.pattern,r),this.set=r},f.prototype.parseNegate=function(){var e=this.pattern,t=!1,r=this.options,n=0;if(r.nonegate)return;for(var i=0,a=e.length;i<a&&"!"===e.charAt(i);i++)t=!t,n++;n&&(this.pattern=e.substr(n));this.negate=t},p.braceExpand=function(e,t){return m(e,t)},f.prototype.braceExpand=m;var g=function(e){if("string"!=typeof e)throw new TypeError("invalid pattern");if(e.length>65536)throw new TypeError("pattern is too long")};f.prototype.parse=function(e,t){g(e);var r=this.options;if("**"===e){if(!r.noglobstar)return i;e="*"}if(""===e)return"";var n,a="",u=!!r.nocase,d=!1,p=[],f=[],m=!1,h=-1,y=-1,v="."===e.charAt(0)?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",b=this;function k(){if(n){switch(n){case"*":a+=c,u=!0;break;case"?":a+=s,u=!0;break;default:a+="\\"+n}b.debug("clearStateChar %j %j",n,a),n=!1}}for(var x,E=0,S=e.length;E<S&&(x=e.charAt(E));E++)if(this.debug("%s\t%s %s %j",e,E,a,x),d&&l[x])a+="\\"+x,d=!1;else switch(x){case"/":return!1;case"\\":k(),d=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",e,E,a,x),m){this.debug(" in class"),"!"===x&&E===y+1&&(x="^"),a+=x;continue}b.debug("call clearStateChar %j",n),k(),n=x,r.noext&&k();continue;case"(":if(m){a+="(";continue}if(!n){a+="\\(";continue}p.push({type:n,start:E-1,reStart:a.length,open:o[n].open,close:o[n].close}),a+="!"===n?"(?:(?!(?:":"(?:",this.debug("plType %j %j",n,a),n=!1;continue;case")":if(m||!p.length){a+="\\)";continue}k(),u=!0;var D=p.pop();a+=D.close,"!"===D.type&&f.push(D),D.reEnd=a.length;continue;case"|":if(m||!p.length||d){a+="\\|",d=!1;continue}k(),a+="|";continue;case"[":if(k(),m){a+="\\"+x;continue}m=!0,y=E,h=a.length,a+=x;continue;case"]":if(E===y+1||!m){a+="\\"+x,d=!1;continue}var w=e.substring(y+1,E);try{RegExp("["+w+"]")}catch(e){var T=this.parse(w,_);a=a.substr(0,h)+"\\["+T[0]+"\\]",u=u||T[1],m=!1;continue}u=!0,m=!1,a+=x;continue;default:k(),d?d=!1:!l[x]||"^"===x&&m||(a+="\\"),a+=x}m&&(w=e.substr(y+1),T=this.parse(w,_),a=a.substr(0,h)+"\\["+T[0],u=u||T[1]);for(D=p.pop();D;D=p.pop()){var C=a.slice(D.reStart+D.open.length);this.debug("setting tail",a,D),C=C.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(e,t,r){return r||(r="\\"),t+t+r+"|"})),this.debug("tail=%j\n %s",C,C,D,a);var A="*"===D.type?c:"?"===D.type?s:"\\"+D.type;u=!0,a=a.slice(0,D.reStart)+A+"\\("+C}k(),d&&(a+="\\\\");var N=!1;switch(a.charAt(0)){case"[":case".":case"(":N=!0}for(var P=f.length-1;P>-1;P--){var I=f[P],F=a.slice(0,I.reStart),O=a.slice(I.reStart,I.reEnd-8),R=a.slice(I.reEnd-8,I.reEnd),M=a.slice(I.reEnd);R+=M;var L=F.split("(").length-1,j=M;for(E=0;E<L;E++)j=j.replace(/\)[+*?]?/,"");var B="";""===(M=j)&&t!==_&&(B="$"),a=F+O+M+B+R}""!==a&&u&&(a="(?=.)"+a);N&&(a=v+a);if(t===_)return[a,u];if(!u)return function(e){return e.replace(/\\(.)/g,"$1")}(e);var z=r.nocase?"i":"";try{var U=new RegExp("^"+a+"$",z)}catch(e){return new RegExp("$.")}return U._glob=e,U._src=a,U};var _={};p.makeRe=function(e,t){return new f(e,t||{}).makeRe()},f.prototype.makeRe=function(){if(this.regexp||!1===this.regexp)return this.regexp;var e=this.set;if(!e.length)return this.regexp=!1,this.regexp;var t=this.options,r=t.noglobstar?c:t.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",n=t.nocase?"i":"",a=e.map((function(e){return e.map((function(e){return e===i?r:"string"==typeof e?function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(e):e._src})).join("\\/")})).join("|");a="^(?:"+a+")$",this.negate&&(a="^(?!"+a+").*$");try{this.regexp=new RegExp(a,n)}catch(e){this.regexp=!1}return this.regexp},p.match=function(e,t,r){var n=new f(t,r=r||{});return e=e.filter((function(e){return n.match(e)})),n.options.nonull&&!e.length&&e.push(t),e},f.prototype.match=function(e,t){if(void 0===t&&(t=this.partial),this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return""===e;if("/"===e&&t)return!0;var r=this.options;"/"!==n.sep&&(e=e.split(n.sep).join("/")),e=e.split(u),this.debug(this.pattern,"split",e);var i,a,o=this.set;for(this.debug(this.pattern,"set",o),a=e.length-1;a>=0&&!(i=e[a]);a--);for(a=0;a<o.length;a++){var s=o[a],c=e;if(r.matchBase&&1===s.length&&(c=[i]),this.matchOne(c,s,t))return!!r.flipNegate||!this.negate}return!r.flipNegate&&this.negate},f.prototype.matchOne=function(e,t,r){var n=this.options;this.debug("matchOne",{this:this,file:e,pattern:t}),this.debug("matchOne",e.length,t.length);for(var a=0,o=0,s=e.length,c=t.length;a<s&&o<c;a++,o++){this.debug("matchOne loop");var l,u=t[o],d=e[a];if(this.debug(t,u,d),!1===u)return!1;if(u===i){this.debug("GLOBSTAR",[t,u,d]);var p=a,f=o+1;if(f===c){for(this.debug("** at the end");a<s;a++)if("."===e[a]||".."===e[a]||!n.dot&&"."===e[a].charAt(0))return!1;return!0}for(;p<s;){var m=e[p];if(this.debug("\nglobstar while",e,p,t,f,m),this.matchOne(e.slice(p),t.slice(f),r))return this.debug("globstar found match!",p,s,m),!0;if("."===m||".."===m||!n.dot&&"."===m.charAt(0)){this.debug("dot detected!",e,p,t,f);break}this.debug("globstar swallow a segment, and continue"),p++}return!(!r||(this.debug("\n>>> no match, partial?",e,p,t,f),p!==s))}if("string"==typeof u?(l=d===u,this.debug("string match",u,d,l)):(l=d.match(u),this.debug("pattern match",u,d,l)),!l)return!1}if(a===s&&o===c)return!0;if(a===s)return r;if(o===c)return a===s-1&&""===e[a];throw new Error("wtf?")}},43480:(e,t,r)=>{var n=r(16928),i=r(79896),a=parseInt("0777",8);function o(e,t,r,s){"function"==typeof t?(r=t,t={}):t&&"object"==typeof t||(t={mode:t});var c=t.mode,l=t.fs||i;void 0===c&&(c=a),s||(s=null);var u=r||function(){};e=n.resolve(e),l.mkdir(e,c,(function(r){if(!r)return u(null,s=s||e);if("ENOENT"===r.code){if(n.dirname(e)===e)return u(r);o(n.dirname(e),t,(function(r,n){r?u(r,n):o(e,t,u,n)}))}else l.stat(e,(function(e,t){e||!t.isDirectory()?u(r,s):u(null,s)}))}))}e.exports=o.mkdirp=o.mkdirP=o,o.sync=function e(t,r,o){r&&"object"==typeof r||(r={mode:r});var s=r.mode,c=r.fs||i;void 0===s&&(s=a),o||(o=null),t=n.resolve(t);try{c.mkdirSync(t,s),o=o||t}catch(i){if("ENOENT"===i.code)o=e(n.dirname(t),r,o),e(t,r,o);else{var l;try{l=c.statSync(t)}catch(e){throw i}if(!l.isDirectory())throw i}}return o}},14100:e=>{
82
const n=r(79896),i=r(70857),a=r(16928),o=r(76982),s={fs:n.constants,os:i.constants},c="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",l=/XXXXXX/,u=3,d=(s.O_CREAT||s.fs.O_CREAT)|(s.O_EXCL||s.fs.O_EXCL)|(s.O_RDWR||s.fs.O_RDWR),p="win32"===i.platform(),f=s.EBADF||s.os.errno.EBADF,m=s.ENOENT||s.os.errno.ENOENT,g=[],_=n.rmdirSync.bind(n);let h=!1;function y(e,t){return n.rm(e,{recursive:!0},t)}function v(e){return n.rmSync(e,{recursive:!0})}function b(e,t){const r=A(e,t),i=r[0],a=r[1];try{P(i)}catch(e){return a(e)}let o=i.tries;!function e(){try{const t=N(i);n.stat(t,(function(r){if(!r)return o-- >0?e():a(new Error("Could not get a unique tmp filename, max tries reached "+t));a(null,t)}))}catch(e){a(e)}}()}function k(e){const t=A(e)[0];P(t);let r=t.tries;do{const e=N(t);try{n.statSync(e)}catch(t){return e}}while(r-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function x(e,t){const r=function(e){if(e&&!O(e))return t(e);t()};0<=e[0]?n.close(e[0],(function(){n.unlink(e[1],r)})):n.unlink(e[1],r)}function E(e){let t=null;try{0<=e[0]&&n.closeSync(e[0])}catch(e){if(!(r=e,R(r,-f,"EBADF")||O(e)))throw e}finally{try{n.unlinkSync(e[1])}catch(e){O(e)||(t=e)}}var r;if(null!==t)throw t}function S(e,t,r,n){const i=w(E,[t,e],n),a=w(x,[t,e],n,i);return r.keep||g.unshift(i),n?i:a}function D(e,t,r){const i=t.unsafeCleanup?y:n.rmdir.bind(n),a=w(t.unsafeCleanup?v:_,e,r),o=w(i,e,r,a);return t.keep||g.unshift(a),r?a:o}function w(e,t,r,n){let i=!1;return function a(o){if(!i){const s=n||a,c=g.indexOf(s);return c>=0&&g.splice(c,1),i=!0,r||e===_||e===v?e(t):e(t,o||function(){})}}}function T(e){let t=[],r=null;try{r=o.randomBytes(e)}catch(t){r=o.pseudoRandomBytes(e)}for(var n=0;n<e;n++)t.push(c[r[n]%c.length]);return t.join("")}function C(e){return void 0===e}function A(e,t){if("function"==typeof e)return[{},e];if(C(e))return[{},t];const r={};for(const t of Object.getOwnPropertyNames(e))r[t]=e[t];return[r,t]}function N(e){const t=e.tmpdir;if(!C(e.name))return a.join(t,e.dir,e.name);if(!C(e.template))return a.join(t,e.dir,e.template).replace(l,T(6));const r=[e.prefix?e.prefix:"tmp","-",process.pid,"-",T(12),e.postfix?"-"+e.postfix:""].join("");return a.join(t,e.dir,r)}function P(e){e.tmpdir=M(e);const t=e.tmpdir;if(C(e.name)||F(e.name,"name",t),C(e.dir)||F(e.dir,"dir",t),!C(e.template)&&(F(e.template,"template",t),!e.template.match(l)))throw new Error(`Invalid template, found "${e.template}".`);if(!C(e.tries)&&isNaN(e.tries)||e.tries<0)throw new Error(`Invalid tries, found "${e.tries}".`);var r;e.tries=C(e.name)?e.tries||u:1,e.keep=!!e.keep,e.detachDescriptor=!!e.detachDescriptor,e.discardDescriptor=!!e.discardDescriptor,e.unsafeCleanup=!!e.unsafeCleanup,e.dir=C(e.dir)?"":a.relative(t,I(e.dir,t)),e.template=C(e.template)?void 0:a.relative(t,I(e.template,t)),e.template=null===(r=e.template)||C(r)||!r.trim()?void 0:a.relative(e.dir,e.template),e.name=C(e.name)?void 0:e.name,e.prefix=C(e.prefix)?"":e.prefix,e.postfix=C(e.postfix)?"":e.postfix}function I(e,t){return e.startsWith(t)?a.resolve(e):a.resolve(a.join(t,e))}function F(e,t,r){if("name"===t){if(a.isAbsolute(e))throw new Error(`${t} option must not contain an absolute path, found "${e}".`);let r=a.basename(e);if(".."===r||"."===r||r!==e)throw new Error(`${t} option must not contain a path, found "${e}".`)}else{if(a.isAbsolute(e)&&!e.startsWith(r))throw new Error(`${t} option must be relative to "${r}", found "${e}".`);let n=I(e,r);if(!n.startsWith(r))throw new Error(`${t} option must be relative to "${r}", found "${n}".`)}}function O(e){return R(e,-m,"ENOENT")}function R(e,t,r){return p?e.code===r:e.code===r&&e.errno===t}function M(e){return a.resolve(e&&e.tmpdir||i.tmpdir())}process.addListener("exit",(function(){if(h)for(;g.length;)try{g[0]()}catch(e){}})),Object.defineProperty(e.exports,"tmpdir",{enumerable:!0,configurable:!1,get:function(){return M()}}),e.exports.dir=function(e,t){const r=A(e,t),i=r[0],a=r[1];b(i,(function(e,t){if(e)return a(e);n.mkdir(t,i.mode||448,(function(e){if(e)return a(e);a(null,t,D(t,i,!1))}))}))},e.exports.dirSync=function(e){const t=A(e)[0],r=k(t);return n.mkdirSync(r,t.mode||448),{name:r,removeCallback:D(r,t,!0)}},e.exports.file=function(e,t){const r=A(e,t),i=r[0],a=r[1];b(i,(function(e,t){if(e)return a(e);n.open(t,d,i.mode||384,(function(e,r){if(e)return a(e);if(i.discardDescriptor)return n.close(r,(function(e){return a(e,t,void 0,S(t,-1,i,!1))}));{const e=i.discardDescriptor||i.detachDescriptor;a(null,t,r,S(t,e?-1:r,i,!1))}}))}))},e.exports.fileSync=function(e){const t=A(e)[0],r=t.discardDescriptor||t.detachDescriptor,i=k(t);var a=n.openSync(i,d,t.mode||384);return t.discardDescriptor&&(n.closeSync(a),a=void 0),{name:i,fd:a,removeCallback:S(i,r?-1:a,t,!0)}},e.exports.tmpName=b,e.exports.tmpNameSync=k,e.exports.setGracefulCleanup=function(){h=!0}},36623:e=>{function t(e){if(!(this instanceof t))return new t(e);this.value=e}function r(e,t,r){var i=[],a=[],o=!0;return function e(s){var c=r?n(s):s,l={},u={node:c,node_:s,path:[].concat(i),parent:a.slice(-1)[0],key:i.slice(-1)[0],isRoot:0===i.length,level:i.length,circular:null,update:function(e){u.isRoot||(u.parent.node[u.key]=e),u.node=e},delete:function(){delete u.parent.node[u.key]},remove:function(){Array.isArray(u.parent.node)?u.parent.node.splice(u.key,1):delete u.parent.node[u.key]},before:function(e){l.before=e},after:function(e){l.after=e},pre:function(e){l.pre=e},post:function(e){l.post=e},stop:function(){o=!1}};if(!o)return u;if("object"==typeof c&&null!==c){u.isLeaf=0==Object.keys(c).length;for(var d=0;d<a.length;d++)if(a[d].node_===s){u.circular=a[d];break}}else u.isLeaf=!0;u.notLeaf=!u.isLeaf,u.notRoot=!u.isRoot;var p=t.call(u,u.node);if(void 0!==p&&u.update&&u.update(p),l.before&&l.before.call(u,u.node),"object"==typeof u.node&&null!==u.node&&!u.circular){a.push(u);var f=Object.keys(u.node);f.forEach((function(t,n){i.push(t),l.pre&&l.pre.call(u,u.node[t],t);var a=e(u.node[t]);r&&Object.hasOwnProperty.call(u.node,t)&&(u.node[t]=a.node),a.isLast=n==f.length-1,a.isFirst=0==n,l.post&&l.post.call(u,a),i.pop()})),a.pop()}return l.after&&l.after.call(u,u.node),u}(e).node}function n(e){var t;return"object"==typeof e&&null!==e?(t=Array.isArray(e)?[]:e instanceof Date?new Date(e):e instanceof Boolean?new Boolean(e):e instanceof Number?new Number(e):e instanceof String?new String(e):Object.create(Object.getPrototypeOf(e)),Object.keys(e).forEach((function(r){t[r]=e[r]})),t):e}e.exports=t,t.prototype.get=function(e){for(var t=this.value,r=0;r<e.length;r++){var n=e[r];if(!Object.hasOwnProperty.call(t,n)){t=void 0;break}t=t[n]}return t},t.prototype.set=function(e,t){for(var r=this.value,n=0;n<e.length-1;n++){var i=e[n];Object.hasOwnProperty.call(r,i)||(r[i]={}),r=r[i]}return r[e[n]]=t,t},t.prototype.map=function(e){return r(this.value,e,!0)},t.prototype.forEach=function(e){return this.value=r(this.value,e,!1),this.value},t.prototype.reduce=function(e,t){var r=1===arguments.length,n=r?this.value:t;return this.forEach((function(t){this.isRoot&&r||(n=e.call(this,n,t))})),n},t.prototype.deepEqual=function(e){if(1!==arguments.length)throw new Error("deepEqual requires exactly one object to compare against");var r=!0,n=e;return this.forEach((function(i){var a=function(){r=!1}.bind(this);if(!this.isRoot){if("object"!=typeof n)return a();n=n[this.key]}var o=n;this.post((function(){n=o}));var s=function(e){return Object.prototype.toString.call(e)};if(this.circular)t(e).get(this.circular.path)!==o&&a();else if(typeof o!=typeof i)a();else if(null===o||null===i||void 0===o||void 0===i)o!==i&&a();else if(o.__proto__!==i.__proto__)a();else if(o===i);else if("function"==typeof o)o instanceof RegExp?o.toString()!=i.toString()&&a():o!==i&&a();else if("object"==typeof o)if("[object Arguments]"===s(i)||"[object Arguments]"===s(o))s(o)!==s(i)&&a();else if(o instanceof Date||i instanceof Date)o instanceof Date&&i instanceof Date&&o.getTime()===i.getTime()||a();else{var c=Object.keys(o),l=Object.keys(i);if(c.length!==l.length)return a();for(var u=0;u<c.length;u++){var d=c[u];Object.hasOwnProperty.call(i,d)||a()}}})),r},t.prototype.paths=function(){var e=[];return this.forEach((function(t){e.push(this.path)})),e},t.prototype.nodes=function(){var e=[];return this.forEach((function(t){e.push(this.node)})),e},t.prototype.clone=function(){var e=[],t=[];return function r(i){for(var a=0;a<e.length;a++)if(e[a]===i)return t[a];if("object"==typeof i&&null!==i){var o=n(i);return e.push(i),t.push(o),Object.keys(i).forEach((function(e){o[e]=r(i[e])})),e.pop(),t.pop(),o}return i}(this.value)},Object.keys(t.prototype).forEach((function(e){t[e]=function(r){var n=[].slice.call(arguments,1),i=t(r);return i[e].apply(i,n)}}))},77926:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.toolNameMethod=t.joinNewMessage=t.joinOldMessage=t.Plugin=t.formatSet=t.formatType=t.toolNameSet=t.toolNameType=void 0;const i=n(r(16928)),a=n(r(79896)),o=r(35317),s=r(27944),c=r(40745),l=r(4e3),u=r(30871),d=r(17858),p=r(26499),f=r(40149),m=r(20043),g=r(40744),_=r(8136),h=r(12587),y=r(87191),v=r(22127),b=r(93333),k=r(80879),x=r(44791);var E,S;!function(e){e.COLLECT="collect",e.CHECK="check",e.CHECKONLINE="checkOnline",e.APICHANGECHECK="apiChangeCheck",e.DIFF="diff",e.LABELDETECTION="detection",e.COUNT="count"}(E=t.toolNameType||(t.toolNameType={})),t.toolNameSet=new Set(s.EnumUtils.enum2arr(E)),function(e){e.NULL="",e.JSON="json",e.EXCEL="excel",e.CHANGELOG="changelog"}(S=t.formatType||(t.formatType={})),t.formatSet=new Set(s.EnumUtils.enum2arr(S)),t.Plugin={pluginOptions:{name:"parser",version:"0.1.0",description:"Compare the parser the SDKS",commands:[{isRequiredOption:!0,options:[`-N,--tool-name <${[...t.toolNameSet]}>`,"tool name ","checkOnline"]},{isRequiredOption:!1,options:["-C,--collect-path <string>","collect api path","./api"]},{isRequiredOption:!1,options:["-F,--collect-file <string>","collect api file array",""]},{isRequiredOption:!1,options:["-L,--check-labels <string>","detection check labels",""]},{isRequiredOption:!1,options:["--isOH <string>","detection check labels",""]},{isRequiredOption:!1,options:["--path <string>","check api path, split with comma",""]},{isRequiredOption:!1,options:["--checker <string>","check api rule, split with comma","all"]},{isRequiredOption:!1,options:["--prId <string>","check api prId",""]},{isRequiredOption:!1,options:["--excel <string>","check api excel","false"]},{isRequiredOption:!1,options:["--old <string>","diff old sdk path","./api"]},{isRequiredOption:!1,options:["--new <string>","diff new sdk path","./api"]},{isRequiredOption:!1,options:["--old-version <string>","old sdk version","0"]},{isRequiredOption:!1,options:["--new-version <string>","new sdk version","0"]},{isRequiredOption:!1,options:["--output <string>","output file path","./"]},{isRequiredOption:!1,options:[`--format <${[...t.formatSet]}>`,"output file format","json"]},{isRequiredOption:!1,options:["--changelogUrl <string>","changelog url",""]},{isRequiredOption:!1,options:["--all <boolean>","is all sheet",""]}]},start:async function(e){const r=e.toolName,n=t.toolNameMethod.get(r);if(!n)return void l.LogUtil.i("CommandArgs","tool-name may use error name or don't have function,tool-name can use 'collect' or 'diff'");const i={toolName:r,collectPath:e.collectPath,collectFile:e.collectFile,checkLabels:e.checkLabels,isOH:e.isOH,path:e.path,checker:e.checker,prId:e.prId,old:e.old,new:e.new,oldVersion:e.oldVersion,newVersion:e.newVersion,output:e.output,format:e.format,changelogUrl:e.changelogUrl,excel:e.excel,all:e.all},a=n(i);!function(e,t,r){const n=t.format;let i=`${t.toolName}_${t.oldVersion}_${t.newVersion}.json`;if(!n)return;t.toolName===E.COUNT&&(i="api_kit_js.json");switch(n){case S.JSON:m.WriterHelper.JSONReporter(String(e[0]),t.output,i);break;case S.EXCEL:m.WriterHelper.ExcelReporter(e,t.output,`${t.toolName}.xlsx`,r,t);break;case S.CHANGELOG:m.WriterHelper.JSONReporter(String(e[0]),t.output,`${t.toolName}.json`)}}(a.data,i,a.callback)},stop:function(){l.LogUtil.i("commander","elapsed time: "+(Date.now()-D))}};let D=Date.now();function w(e,t,r,n){const i=t.addWorksheet(),a=new Set,o=k.FunctionUtils.readKitFile();i.name="JsApi",i.views=[{xSplit:1}],i.getRow(1).values=["模块名","类名","方法名","函数","类型","起始版本","废弃版本","syscap","错误码","是否为系统API","模型限制","权限","是否支持跨平台","是否支持卡片应用","是否为高阶API","装饰器","kit","文件路径","子系统","父节点类型","父节点API是否可选"];let s=2;e.forEach((e=>{const t=`${e.getHierarchicalRelations()},${e.getDefinedText()}`;a.has(t)||(i.getRow(s).values=[e.getPackageName(),e.getParentModuleName(),e.getApiName(),e.getDefinedText(),e.getApiType(),"-1"===e.getSince()?"":e.getSince(),"-1"===e.getDeprecatedVersion()?"":e.getDeprecatedVersion(),e.getSyscap(),"-1"===e.getErrorCodes().join()?"":e.getErrorCodes().join(),e.getApiLevel(),e.getModelLimitation(),e.getPermission(),e.getIsCrossPlatForm(),e.getIsForm(),e.getIsAutomicService(),e.getDecorators()?.join(),""===e.getKitInfo()?o.kitNameMap.get(e.getFilePath().replace(/\\/g,"/").replace("api/","")):e.getKitInfo(),e.getFilePath(),o.subsystemMap.get(e.getFilePath().replace(/\\/g,"/").replace("api/","")),e.getParentApiType(),e.getIsOptional()],s++,a.add(t))})),n?.all&&function(e,t){const r=t.addWorksheet(),n=new Set,i=k.FunctionUtils.readKitFile();r.name="JsApi定制版本",r.views=[{xSplit:1}],r.getRow(1).values=["模块名","类名","方法名","函数","类型","起始版本","废弃版本","syscap","错误码","是否为系统API","模型限制","权限","是否支持跨平台","是否支持卡片应用","是否为高阶API","装饰器","kit","文件路径","子系统","接口全路径"];let a=2;e.forEach((e=>{const t=`${e.getHierarchicalRelations()},${e.getDefinedText()}`;n.has(t)||(r.getRow(a).values=[e.getPackageName(),e.getParentModuleName(),e.getApiName(),e.getDefinedText(),e.getApiType(),"-1"===e.getSince()?"":e.getSince(),"-1"===e.getDeprecatedVersion()?"":e.getDeprecatedVersion(),e.getSyscap(),"-1"===e.getErrorCodes().join()?"":e.getErrorCodes().join(),e.getApiLevel(),e.getModelLimitation(),e.getPermission(),e.getIsCrossPlatForm(),e.getIsForm(),e.getIsAutomicService(),e.getDecorators()?.join(),""===e.getKitInfo()?i.kitNameMap.get(e.getFilePath().replace(/\\/g,"/").replace("api/","")):e.getKitInfo(),e.getFilePath(),i.subsystemMap.get(e.getFilePath().replace(/\\/g,"/").replace("api/","")),e.getHierarchicalRelations().replace(/\//g,"#").replace("api\\","")],a++,n.add(t))}))}(e,t)}function T(e,t){const r=t.addWorksheet();r.name="api数量",r.views=[{xSplit:1}],r.getRow(1).values=["子系统","kit","文件","api数量"],e.forEach(((e,t)=>{r.getRow(t+_.NumberConstant.LINE_IN_EXCEL).values=[e.getsubSystem(),e.getKitName(),e.getFilePath(),e.getApiNumber()]}))}function C(e,t,r,n){const i=new Set,a=k.FunctionUtils.readKitFile(),o=t.addWorksheet("api差异");o.views=[{xSplit:2}],o.getRow(1).values=["操作标记","差异项-旧版本","差异项-新版本","d.ts文件","归属子系统","kit","是否为系统API"],e.forEach(((e,t)=>{i.add(I(e));const r=e.getNewDtsName()?e.getNewDtsName():e.getOldDtsName();o.getRow(t+_.NumberConstant.LINE_IN_EXCEL).values=[f.diffTypeMap.get(e.getDiffType()),F(e),O(e),r.replace(/\\/g,"/"),a.subsystemMap.get(r.replace(/\\/g,"/").replace("api/","")),""===y.SyscapProcessorHelper.getSingleKitInfo(e)?a.kitNameMap.get(r.replace(/\\/g,"/").replace("api/","")):y.SyscapProcessorHelper.getSingleKitInfo(e),e.getIsSystemapi()]})),m.WriterHelper.MarkdownReporter.writeInMarkdown(e,r),n?.all&&function(e,t,r,n){const i=t.addWorksheet("api变更数量统计");i.views=[{xSplit:2}],i.getRow(1).values=["api名称","kit名称","归属子系统","是否是api","api类型","操作标记","变更类型","兼容性","变更次数","差异项-旧版本","差异项-新版本","兼容性列表","接口全路径","是否为系统API","是否为同名API"];let a=[];e.forEach((e=>{let t="";const i=new f.DiffNumberInfo;r.forEach((r=>{const a=r.getNewDtsName()?r.getNewDtsName():r.getOldDtsName(),o=""===y.SyscapProcessorHelper.getSingleKitInfo(r)?n.kitNameMap.get(a.replace(/\\/g,"/").replace("api/","")):y.SyscapProcessorHelper.getSingleKitInfo(r);e===I(r)&&(t=P(r),i.setAllDiffType(r.getDiffMessage()).setAllChangeType(f.apiChangeMap.get(r.getDiffType())).setOldDiffMessage(r.getOldDescription()).setNewDiffMessage(r.getNewDescription()).setAllCompatible(r.getIsCompatible()).setIsApi(!f.isNotApiSet.has(r.getApiType())).setKitName(o).setSubsystem(n.subsystemMap.get(a.replace(/\\/g,"/").replace("api/",""))).setApiName(r.getApiType()===x.ApiType.SOURCE_FILE?"SOURCEFILE":P(r)).setApiRelation(I(r).replace(/\,/g,"#").replace("api\\","")).setIsSystemapi(r.getIsSystemapi()).setApiType(r.getApiType()).setIsSameNameFunction(r.getIsSameNameFunction()))})),a.push(i)})),a=function(e,t){return t}(0,a),a.forEach(((e,t)=>{i.getRow(t+_.NumberConstant.LINE_IN_EXCEL).values=[e.getApiName(),e.getKitName(),e.getSubsystem(),e.getIsApi(),e.getApiType(),e.getAllDiffType().join(" #&# "),e.getAllChangeType().join(" #&# "),A(e),N(e),e.getOldDiffMessage().join(" #&# "),e.getNewDiffMessage().join(" #&# "),e.getAllCompatible().join(" #&# "),e.getApiRelation(),e.getIsSystemapi(),e.getIsSameNameFunction()]}))}(i,t,e,a)}function A(e){const t=new Set(e.getAllCompatible());let r=0,n=0;return 2===t.size?(r=1,n=1):t.has(!0)?r=1:t.has(!1)&&(n=1),`{\n "兼容性":${r},\n "非兼容性":${n}\n }`}function N(e){const t=new Set(e.getAllChangeType());let r=0,n=0,i=0,a=0,o=0,s=0;return t.has("API修改(原型修改)")&&s++,t.has("API修改(约束变化)")&&o++,(t.has("API修改(原型修改)")||t.has("API修改(约束变化)"))&&a++,t.has("API废弃")&&i++,t.has("API新增")&&r++,t.has("API删除")&&n++,`{\n "API新增": ${r},\n "API删除": ${n},\n "API废弃": ${i},\n "API修改": ${a},\n "API修改(原型修改)": ${s},\n "API修改(约束变化)": ${o}\n }`}function P(e){return""!==e.getNewApiName()?e.getNewApiName():e.getOldApiName()}function I(e){const t=e.getNewHierarchicalRelations();return t.length>0?t.join():e.getOldHierarchicalRelations().join()}function F(e){if(e.getDiffMessage()===f.diffTypeMap.get(f.ApiDiffType.ADD))return"NA";let t="";const r=e.getOldHierarchicalRelations(),n=e.getParentModuleName(r);return t="-1"!==e.getOldDescription()&&e.getOldDescription()?e.getOldDescription():"NA",e.getDiffType()===f.ApiDiffType.KIT_CHANGE?`${t}`:`类名:${n};\nAPI声明:${e.getOldApiDefinedText()}\n差异内容:${t}`}function O(e){if(e.getDiffMessage()===f.diffTypeMap.get(f.ApiDiffType.REDUCE))return"NA";let t="";const r=e.getNewHierarchicalRelations(),n=e.getParentModuleName(r);return t="-1"!==e.getNewDescription()&&e.getNewDescription()?e.getNewDescription():"NA",e.getDiffType()===f.ApiDiffType.KIT_CHANGE?`${t}`:`类名:${n};\nAPI声明:${e.getNewApiDefinedText()}\n差异内容:${t}`}t.joinOldMessage=F,t.joinNewMessage=O,t.toolNameMethod=new Map([[E.COLLECT,function(e){const t=i.default.resolve(c.FileUtils.getBaseDirName(),e.collectPath);let r,n="";""!==e.collectFile&&(n=i.default.resolve(c.FileUtils.getBaseDirName(),e.collectFile),d.parserParam.setSdkPath(n));try{r=c.FileUtils.isDirectory(t)?u.Parser.parseDir(t,n):u.Parser.parseFile(i.default.resolve(t,".."),t);const a=h.ApiStatisticsHelper.getApiStatisticsInfos(r);let o=[u.Parser.getParseResults(r)];if("excel"===e.format){const t=a.allApiStatisticsInfos;o=a.apiStatisticsInfos,t&&m.WriterHelper.ExcelReporter(t,e.output,`all_${e.toolName}.xlsx`,w)}return{data:o,callback:w}}catch(e){const t=e;return l.LogUtil.e("error collect",t.stack?t.stack:t.message),{data:[],callback:w}}}],[E.CHECK,function(){try{let e=[];const t=i.default.resolve(c.FileUtils.getBaseDirName(),"../mdFiles.txt");return a.default.existsSync(t)&&(e=b.CommonFunctions.getMdFiles(t)),g.LocalEntry.checkEntryLocal(e,["all"],"./result.json","","true"),{data:[]}}catch(e){const t=e;return l.LogUtil.e("error check",t.stack?t.stack:t.message),{data:[]}}}],[E.CHECKONLINE,function(e){e.format=S.NULL;try{return g.LocalEntry.checkEntryLocal(e.path.split(","),e.checker.split(","),e.output,e.prId,e.excel),{data:[]}}catch(e){const t=e;l.LogUtil.e("error check",t.stack?t.stack:t.message)}return{data:[]}}],[E.APICHANGECHECK,function(e){e.format=S.NULL;try{return g.LocalEntry.apiChangeCheckEntryLocal(e.prId,e.checker.split(","),e.output,e.excel),{data:[]}}catch(e){const t=e;l.LogUtil.e("error api change check",t.stack?t.stack:t.message)}return{data:[]}}],[E.DIFF,function(e){const t=i.default.resolve(c.FileUtils.getBaseDirName(),e.old),r=i.default.resolve(c.FileUtils.getBaseDirName(),e.new),n=a.default.statSync(t);let o=[];try{if(n.isDirectory()){const n=u.Parser.parseDir(t),i=u.Parser.parseDir(r);o=p.DiffHelper.diffSDK(n,i,e.all)}else{const n=u.Parser.parseFile(i.default.resolve(t,".."),t);u.Parser.cleanParserParamSDK();const a=u.Parser.parseFile(i.default.resolve(r,".."),r);o=p.DiffHelper.diffSDK(n,a,e.all)}let a=[];return a=e.format===S.JSON?[JSON.stringify(o,null,_.NumberConstant.INDENT_SPACE)]:o,{data:a,callback:C}}catch(e){const t=e;return l.LogUtil.e("error diff",t.stack?t.stack:t.message),{data:[],callback:C}}}],[E.LABELDETECTION,function(e){process.env.NEED_DETECTION="true",process.env.IS_OH=e.isOH,e.format=S.NULL;const t=i.default.resolve(c.FileUtils.getBaseDirName(),e.collectPath);let r,n="";""!==e.collectFile&&(n=i.default.resolve(c.FileUtils.getBaseDirName(),e.collectFile));let a=Buffer.from("");try{r=c.FileUtils.isDirectory(t)?u.Parser.parseDir(t,n):u.Parser.parseFile(i.default.resolve(t,".."),t);const s=u.Parser.getParseResults(r);m.WriterHelper.JSONReporter(s,i.default.dirname(e.output),"detection.json");let l="";l=`${i.default.resolve(c.FileUtils.getBaseDirName(),"./main.exe")} -N detection -L ${e.checkLabels} -P ${i.default.resolve(i.default.dirname(e.output),"detection.json")} -O ${i.default.resolve(e.output)}`,a=o.execSync(l,{timeout:12e4})}catch(e){const t=e;l.LogUtil.e("error collect",t.stack?t.stack:t.message)}finally{l.LogUtil.i("detection run over",a.toString())}return{data:[]}}],[E.COUNT,function(e){const t=i.default.resolve(c.FileUtils.getBaseDirName(),"../../api");let r,n="";""!==e.collectFile&&(n=i.default.resolve(c.FileUtils.getBaseDirName(),e.collectFile));try{r=c.FileUtils.isDirectory(t)?u.Parser.parseDir(t,n):u.Parser.parseFile(i.default.resolve(t,".."),t);const a=h.ApiStatisticsHelper.getApiStatisticsInfos(r).apiStatisticsInfos,o=v.ApiCountHelper.countApi(a);let s=[];return s=e.format===S.JSON?[JSON.stringify(o,null,_.NumberConstant.INDENT_SPACE)]:o,{data:s,callback:T}}catch(e){const t=e;return l.LogUtil.e("error count",t.stack?t.stack:t.message),{data:[],callback:T}}}]])},11162:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getToolConfiguration=void 0;const n=r(77926);t.getToolConfiguration=function(){return{plugins:[n.Plugin]}}},20043:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.WriterHelper=void 0;const i=n(r(6752)),a=n(r(16928)),o=n(r(79896)),s=r(4e3),c=r(77926),l=r(40149),u=r(87191);!function(e){e.JSONReporter=function(e,t,r){const n=a.default.resolve(t,r);o.default.writeFileSync(n,e),s.LogUtil.i("JSONReporter",`report is in ${n}`)},e.ExcelReporter=async function(e,t,r,n,c){const l=new i.default.Workbook;"function"==typeof n&&n(e,l,t,c);const u=await l.xlsx.writeBuffer(),d=a.default.resolve(t,r);o.default.writeFileSync(d,u),s.LogUtil.i("ExcelReporter",`report is in ${d}`)};class t{static writeInMarkdown(e,r){t.getAllKitInfo(e).forEach((n=>{let i=[];e.forEach((e=>{u.SyscapProcessorHelper.getSingleKitInfo(e)===n&&i.push(e)})),0!==i.length&&t.sortDiffInfoByFile(i,n,r)}))}static getAllKitInfo(e){const t=new Set;return e.forEach((e=>{t.add(e.getOldKitInfo()),t.add(e.getNewKitInfo())})),t}static getSingleKitInfo(e){return""!==e.getNewKitInfo()?e.getNewKitInfo():e.getOldKitInfo()}static getFileNameInkit(e){const t=new Set;return e.forEach((e=>{""!==e.getNewDtsName()?t.add(e.getNewDtsName()):t.add(e.getOldDtsName())})),t}static getSingleFileName(e){return""!==e.getNewDtsName()?e.getNewDtsName():e.getOldDtsName()}static sortDiffInfoByFile(e,r,n){const i=t.getFileNameInkit(e),a=[];i.forEach((i=>{e.forEach((e=>{t.getSingleFileName(e)===i&&a.push(e)})),t.sortDiffInfoByStatus(a,r,n)}))}static sortDiffInfoByStatus(e,r,n){const i=[];for(const t of l.diffTypeMap.keys())e.forEach((e=>{e.getDiffType()===t&&i.push(e)}));t.exportDiffMd(r,i,n)}static exportDiffMd(e,r,n){let i="| 操作 | 旧版本 | 新版本 | d.ts文件 |\n| ---- | ------ | ------ | -------- |\n";for(let e=0;e<r.length;e++){let n=r[e];const a=n.getNewDtsName()?n.getNewDtsName():n.getOldDtsName();i+=`|${l.diffTypeMap.get(n.getDiffType())}|${t.formatDiffMessage(c.joinOldMessage(n))}|${t.formatDiffMessage(c.joinNewMessage(n))}|${a.replace(/\\/g,"/")}|\n`}const a=`${n}\\diff合集`;o.default.existsSync(a)||o.default.mkdirSync(a),o.default.writeFileSync(`${n}\\diff合集\\js-apidiff-${e}.md`,i)}static formatDiffMessage(e){return e.replace(/\r|\n/g,"<br>").replace(/\|/g,"\\|").replace(/\<(?!br>)/g,"\\<")}}e.MarkdownReporter=t}(t.WriterHelper||(t.WriterHelper={}))},88189:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=n(r(16928));t.default={NODE_ENV:"development",EVN_CONFIG:"dev",DIR_NAME:i.default.resolve(__dirname,"../.."),NEED_DETECTION:"",IS_OH:""}},59620:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=n(r(88189)),a=n(r(88463)),o="production",s={development:i.default,production:a.default};Object.assign(process.env,s[o]),t.default=s[o]},88463:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=n(r(16928));t.default={NODE_ENV:"production",EVN_CONFIG:"prod",DIR_NAME:i.default.resolve(__dirname,".."),NEED_DETECTION:"",IS_OH:""}},40744:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LocalEntry=void 0;const n=r(77002),i=r(13930),a=r(4e3),o=r(93333),s=r(93333),c=r(61574),l=r(26150);class u{static checkEntryLocal(e,t,r,n,c){let l=s.apiCheckResult;try{i.Check.scanEntry(e,n,!1),u.maskAlarm(s.compositiveResult,t)}catch(e){a.LogUtil.e("API_CHECK_ERROR",e)}finally{o.GenerateFile.writeFile(s.apiCheckResult,r,{}),"true"===c&&o.GenerateFile.writeExcelFile(s.apiCheckResult)}return l}static maskAlarm(e,t){const r=1===t.length&&"all"===t[0],i=new Map(Object.entries({...c.DOC,...c.DEFINE,...c.CHANEGE}));let a=new Set;r?a=new Set([...i.values()]):t.forEach((e=>{const t=i.get(e);t&&a.add(t)}));new Set(e);u.filterAllResultInfo(e,i,a).forEach((e=>{const t=new n.ApiBaseInfo;t.setApiName(e.apiName).setApiType(e.apiType).setHierarchicalRelations(e.hierarchicalRelations).setParentModuleName(e.parentModuleName);const r=new n.ApiResultMessage;r.setFilePath(e.filePath).setLocation(e.location).setLevel(e.level).setType(e.type).setMessage(e.message).setMainBuggyCode(e.apiText).setMainBuggyLine(e.location).setExtendInfo(t),s.apiCheckResult.push(r)}))}static filterAllResultInfo(e,t,r){return e.filter((e=>{let n=e.message.replace(/API check error of \[.*\]: /g,"");if(/\d/g.test(n)&&(n=n.replace(/\d+/g,"1")),/Prohibited word in \[.*\]:{option}.The word allowed is \[.*\]\./g.test(n)&&(n=JSON.stringify(t.get("API_DEFINE_NAME_01")).replace(/\"/g,"")),/Prohibited word in \[.*\]:{ability} in the \[.*\] file\./g.test(n)&&(n=JSON.stringify(t.get("API_DEFINE_NAME_02")).replace(/\"/g,"")),/please confirm whether it needs to be corrected to a common word./g.test(n)&&(n=n.replace(/\{.*\}/g,"{XXXX}")),/tag does not exist. Please use a valid JSDoc tag./g.test(n)&&(n=n.replace(/\[.*\]/g,"[XXXX]")),/The event name should be named by small hump./g.test(n)&&(n=n.replace(/\[.*\]/g,"[XXXX]")),/This name \[.*\] should be named by/g.test(n)&&(n=n.replace(/\[.*\]/g,"[XXXX]")),r.has(n)){const r=u.filterApiCheckInfos(t,n);""!==r&&e.setType(r)}return r.has(n)}))}static filterApiCheckInfos(e,t){for(let[r,n]of e.entries())if(n===t)return r;return""}static apiChangeCheckEntryLocal(e,t,r,n){let i=s.apiCheckResult;try{l.ApiChangeCheck.checkApiChange(e),u.maskAlarm(s.compositiveResult,t)}catch(e){a.LogUtil.e("API_CHECK_ERROR",e)}finally{o.GenerateFile.writeFile(s.apiCheckResult,r,{}),"true"===n&&o.GenerateFile.writeExcelFile(s.apiCheckResult)}return i}}t.LocalEntry=u},13930:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Check=t.currentFilePath=void 0;const i=n(r(79896)),a=n(r(16928)),o=r(30871),s=r(44791),c=r(77002),l=r(93333),u=r(95721),d=r(6300),p=r(18e3),f=r(36944),m=r(31575),g=r(28912),_=r(56795),h=r(95769),y=r(23978),v=r(58010),b=r(37798),k=r(26150),x=r(53438),E=r(11449),S=r(9706),D=r(73086);t.currentFilePath="";class w{static scanEntry(e,r,n){l.cleanCompositiveResult(),k.ApiChangeCheck.checkApiChange(r),e.forEach(((e,r)=>{if(t.currentFilePath=e,-1!==e.indexOf("build-tools")&&!n)return;console.log(`scaning file in no ${++r}!`);const i=w.parseAPICodeStyle(e),s=o.Parser.getAllBasicApi(i);w.checkNodeInfos(s);const c=i.get(a.default.basename(e));c&&v.CheckHump.checkAPIFileName(c),v.CheckHump.checkAllAPINameOfHump(s),_.WordsCheck.wordCheckResultsProcessing(s);const l=new b.EventMethodChecker(i),u=l.getAllEventMethod();l.checkEventMethod(u)}))}static getMdFiles(e){return i.default.readFileSync(e,"utf-8").split(/[(\r\n)\r\n]+/)}static parseAPICodeStyle(e){return o.Parser.parseFile(a.default.resolve(e,".."),e)}static checkNodeInfos(e){let r=[];w.getHasJsdocApiInfos(e,r),r.forEach((e=>{const r=e.getLastJsDocInfo(),n=e.getJsDocText().length;if("Method"!==e.getApiType()||"Struct"!==e.getParentApi()?.apiType)if(void 0===r||0===n){const n=new c.ErrorBaseInfo;n.setErrorID(c.ErrorID.NO_JSDOC_ID).setErrorLevel(c.ErrorLevel.MIDDLE).setErrorType(c.ErrorType.NO_JSDOC).setLogType(c.LogType.LOG_JSDOC).setErrorInfo(c.ErrorMessage.ERROR_NO_JSDOC);const i=l.CommonFunctions.getErrorInfo(e,r,t.currentFilePath,n);m.AddErrorLogs.addAPICheckErrorLogs(i,l.compositiveResult,l.compositiveLocalResult)}else{if("NA"===r.getKit()){const n=new c.ErrorBaseInfo;n.setErrorID(c.ErrorID.WRONG_SCENE_ID).setErrorLevel(c.ErrorLevel.MIDDLE).setErrorType(c.ErrorType.WRONG_SCENE).setLogType(c.LogType.LOG_JSDOC).setErrorInfo(l.CommonFunctions.createErrorInfo(c.ErrorMessage.ERROR_LOST_LABEL,["kit"]));const i=l.CommonFunctions.getErrorInfo(e,r,t.currentFilePath,n);m.AddErrorLogs.addAPICheckErrorLogs(i,l.compositiveResult,l.compositiveLocalResult)}if(!r.getFileTagContent()){new c.ApiCheckInfo;const n=new c.ErrorBaseInfo;n.setErrorID(c.ErrorID.WRONG_SCENE_ID).setErrorLevel(c.ErrorLevel.MIDDLE).setErrorType(c.ErrorType.WRONG_SCENE).setLogType(c.LogType.LOG_JSDOC).setErrorInfo(l.CommonFunctions.createErrorInfo(c.ErrorMessage.ERROR_LOST_LABEL,["file"]));const i=l.CommonFunctions.getErrorInfo(e,r,t.currentFilePath,n);m.AddErrorLogs.addAPICheckErrorLogs(i,l.compositiveResult,l.compositiveLocalResult)}const n=p.LegalityCheck.apiLegalityCheck(e,r),i=u.OrderCheck.orderCheck(e,r),a=y.ApiNamingCheck.namingCheck(e),o=E.ChineseCheck.checkChinese(r),s=D.CheckErrorCode.checkErrorCode(r),_=d.TagNameCheck.tagNameCheck(r),v=x.TagInheritCheck.tagInheritCheck(e),b=g.TagValueCheck.tagValueCheck(e,r),k=f.TagRepeatCheck.tagRepeatCheck(r),w=h.ForbiddenWordsCheck.forbiddenWordsCheck(e),T=S.AnonymousFunctionCheck.checkAnonymousFunction(e);if(!i.state){const n=new c.ErrorBaseInfo;n.setErrorID(c.ErrorID.WRONG_ORDER_ID).setErrorLevel(c.ErrorLevel.MIDDLE).setErrorType(c.ErrorType.WRONG_ORDER).setLogType(c.LogType.LOG_JSDOC).setErrorInfo(i.errorInfo);const a=l.CommonFunctions.getErrorInfo(e,r,t.currentFilePath,n);m.AddErrorLogs.addAPICheckErrorLogs(a,l.compositiveResult,l.compositiveLocalResult)}if(!_.state){const n=new c.ErrorBaseInfo;n.setErrorID(c.ErrorID.UNKNOW_DECORATOR_ID).setErrorLevel(c.ErrorLevel.MIDDLE).setErrorType(c.ErrorType.UNKNOW_DECORATOR).setLogType(c.LogType.LOG_JSDOC).setErrorInfo(_.errorInfo);const i=l.CommonFunctions.getErrorInfo(e,r,t.currentFilePath,n);m.AddErrorLogs.addAPICheckErrorLogs(i,l.compositiveResult,l.compositiveLocalResult)}if(!w.state){const n=new c.ErrorBaseInfo;n.setErrorID(c.ErrorID.FORBIDDEN_WORDS_ID).setErrorLevel(c.ErrorLevel.MIDDLE).setErrorType(c.ErrorType.FORBIDDEN_WORDS).setLogType(c.LogType.LOG_JSDOC).setErrorInfo(w.errorInfo);const i=l.CommonFunctions.getErrorInfo(e,r,t.currentFilePath,n);m.AddErrorLogs.addAPICheckErrorLogs(i,l.compositiveResult,l.compositiveLocalResult)}if(!a.state){const n=new c.ErrorBaseInfo;n.setErrorID(c.ErrorID.NAMING_ERRORS_ID).setErrorLevel(c.ErrorLevel.MIDDLE).setErrorType(c.ErrorType.NAMING_ERRORS).setLogType(c.LogType.LOG_JSDOC).setErrorInfo(a.errorInfo);const i=l.CommonFunctions.getErrorInfo(e,r,t.currentFilePath,n);m.AddErrorLogs.addAPICheckErrorLogs(i,l.compositiveResult,l.compositiveLocalResult)}if(!o.state){const n=new c.ErrorBaseInfo;n.setErrorID(c.ErrorID.JSDOC_HAS_CHINESE).setErrorLevel(c.ErrorLevel.MIDDLE).setErrorType(c.ErrorType.JSDOC_HAS_CHINESE).setLogType(c.LogType.LOG_JSDOC).setErrorInfo(o.errorInfo);const i=l.CommonFunctions.getErrorInfo(e,r,t.currentFilePath,n);m.AddErrorLogs.addAPICheckErrorLogs(i,l.compositiveResult,l.compositiveLocalResult)}if(!s.state){const n=new c.ErrorBaseInfo;n.setErrorID(c.ErrorID.ERROR_ERROR_CODE).setErrorLevel(c.ErrorLevel.MIDDLE).setErrorType(c.ErrorType.ERROR_ERROR_CODE).setLogType(c.LogType.LOG_JSDOC).setErrorInfo(s.errorInfo);const i=l.CommonFunctions.getErrorInfo(e,r,t.currentFilePath,n);m.AddErrorLogs.addAPICheckErrorLogs(i,l.compositiveResult,l.compositiveLocalResult)}if(v.forEach((n=>{if(!n.state){const i=new c.ErrorBaseInfo;i.setErrorID(c.ErrorID.WRONG_SCENE_ID).setErrorLevel(c.ErrorLevel.MIDDLE).setErrorType(c.ErrorType.WRONG_SCENE).setLogType(c.LogType.LOG_JSDOC).setErrorInfo(n.errorInfo);const a=l.CommonFunctions.getErrorInfo(e,r,t.currentFilePath,i);m.AddErrorLogs.addAPICheckErrorLogs(a,l.compositiveResult,l.compositiveLocalResult)}})),n.forEach((n=>{if(!1===n.state){const i=new c.ErrorBaseInfo;i.setErrorID(c.ErrorID.WRONG_SCENE_ID).setErrorLevel(c.ErrorLevel.MIDDLE).setErrorType(c.ErrorType.WRONG_SCENE).setLogType(c.LogType.LOG_JSDOC).setErrorInfo(n.errorInfo);const a=l.CommonFunctions.getErrorInfo(e,r,t.currentFilePath,i);m.AddErrorLogs.addAPICheckErrorLogs(a,l.compositiveResult,l.compositiveLocalResult)}})),b.forEach((n=>{if(!1===n.state){const i=new c.ErrorBaseInfo;i.setErrorID(c.ErrorID.WRONG_VALUE_ID).setErrorLevel(c.ErrorLevel.MIDDLE).setErrorType(c.ErrorType.WRONG_VALUE).setLogType(c.LogType.LOG_JSDOC).setErrorInfo(n.errorInfo);const a=l.CommonFunctions.getErrorInfo(e,r,t.currentFilePath,i);m.AddErrorLogs.addAPICheckErrorLogs(a,l.compositiveResult,l.compositiveLocalResult)}})),k.forEach((n=>{if(!1===n.state){const i=new c.ErrorBaseInfo;i.setErrorID(c.ErrorID.WRONG_SCENE_ID).setErrorLevel(c.ErrorLevel.MIDDLE).setErrorType(c.ErrorType.WRONG_SCENE).setLogType(c.LogType.LOG_JSDOC).setErrorInfo(n.errorInfo);const a=l.CommonFunctions.getErrorInfo(e,r,t.currentFilePath,i);m.AddErrorLogs.addAPICheckErrorLogs(a,l.compositiveResult,l.compositiveLocalResult)}})),!T.state){const n=new c.ErrorBaseInfo;n.setErrorID(c.ErrorID.WRONG_SCENE_ID).setErrorLevel(c.ErrorLevel.MIDDLE).setErrorType(c.ErrorType.WRONG_SCENE).setLogType(c.LogType.LOG_JSDOC).setErrorInfo(T.errorInfo);const i=l.CommonFunctions.getErrorInfo(e,r,t.currentFilePath,n);m.AddErrorLogs.addAPICheckErrorLogs(i,l.compositiveResult,l.compositiveLocalResult)}}}))}static getHasJsdocApiInfos(e,t){e.forEach((e=>{s.notJsDocApiTypes.has(e.getApiType())||t.push(e)}))}}t.Check=w},9706:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.AnonymousFunctionCheck=void 0;const i=n(r(58843)),a=r(77002),o=r(44791),s=r(93333);t.AnonymousFunctionCheck=class{static checkAnonymousFunction(e){const t={state:!0,errorInfo:""},r=e.getJsDocInfos();if(s.CommonFunctions.getSinceVersion(r[0].getSince())!==s.CommonFunctions.getCheckApiVersion())return t;let n=[i.default.SyntaxKind.FunctionType,i.default.SyntaxKind.TypeLiteral],c=!1,l=!1,u=!1;if(e.getApiType()===o.ApiType.METHOD){c=n.includes(e.returnValueType),l=!1;e.getParams().forEach((e=>{l=n.includes(e.getParamType())}))}else e.getApiType()===o.ApiType.PROPERTY&&(u=n.includes(e.typeKind));return(c||l||u)&&(t.state=!1,t.errorInfo=a.ErrorMessage.ERROR_ANONYMOUS_FUNCTION),t}}},26150:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ApiChangeCheck=void 0;const i=n(r(16928)),a=n(r(79896)),o=r(30871),s=r(26499),c=r(40745),l=r(31575),u=r(93333),d=r(77002),p=r(40149);t.ApiChangeCheck=class{static checkApiChange(e){let t="";const r=i.default.resolve(c.FileUtils.getBaseDirName(),`../../../../Archive/patch_info/openharmony_interface_sdk-js_${e}`),n=i.default.resolve(c.FileUtils.getBaseDirName(),e);a.default.existsSync(r)?t=r:a.default.existsSync(n)&&(t=n);const f=i.default.resolve(t,"./old"),m=i.default.resolve(t,"./new");if(!a.default.existsSync(f)||!a.default.existsSync(m))return;let g=[];if(a.default.statSync(f).isDirectory()){const e=o.Parser.parseDir(f),t=o.Parser.parseDir(m);g=s.DiffHelper.diffSDK(e,t,!1,!0)}else{const e=o.Parser.parseFile(i.default.resolve(f,".."),f),t=o.Parser.parseFile(i.default.resolve(m,".."),m);g=s.DiffHelper.diffSDK(e,t,!1,!0)}g.forEach((e=>{if(!1!==e.getIsCompatible())return;const t=d.incompatibleApiDiffTypes.get(e.getDiffType());if(e.getDiffType()===p.ApiDiffType.REDUCE){const r=i.default.basename(e.getOldDtsName());let n=new d.ApiCheckInfo;const a=e.getOldHierarchicalRelations(),o=a[a.length-1];n.setErrorID(d.ErrorID.API_CHANGE_ERRORS_ID).setErrorLevel(d.ErrorLevel.MIDDLE).setFilePath(r).setApiPostion(e.getOldPos()).setErrorType(d.ErrorType.API_CHANGE_ERRORS).setLogType(d.LogType.LOG_JSDOC).setSinceNumber(-1).setApiName(e.getOldApiName()).setApiType(e.getApiType()).setApiText(e.getOldApiDefinedText()).setErrorInfo(t).setHierarchicalRelations(e.getOldHierarchicalRelations().join("|")).setParentModuleName(o),l.AddErrorLogs.addAPICheckErrorLogs(n,u.compositiveResult,u.compositiveLocalResult)}else{const r=i.default.basename(e.getNewDtsName());let n=new d.ApiCheckInfo;const a=e.getNewHierarchicalRelations(),o=a[a.length-1];n.setErrorID(d.ErrorID.API_CHANGE_ERRORS_ID).setErrorLevel(d.ErrorLevel.MIDDLE).setFilePath(r).setApiPostion(e.getOldPos()).setErrorType(d.ErrorType.API_CHANGE_ERRORS).setLogType(d.LogType.LOG_JSDOC).setSinceNumber(-1).setApiName(e.getNewApiName()).setApiType(e.getApiType()).setApiText(e.getNewApiDefinedText()).setErrorInfo(t).setHierarchicalRelations(e.getNewHierarchicalRelations().join("|")).setParentModuleName(o),l.AddErrorLogs.addAPICheckErrorLogs(n,u.compositiveResult,u.compositiveLocalResult)}}))}}},11449:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChineseCheck=void 0;const n=r(77002),i=r(93333);t.ChineseCheck=class{static isChinese(e){return/[\u4e00-\u9fa5]/.test(e)}static checkChinese(e){const t={state:!0,errorInfo:""};this.isChinese(e.description)&&(t.state=!1,t.errorInfo=i.CommonFunctions.createErrorInfo(n.ErrorMessage.ERROR_HAS_CHINESE,[e.description]));const r=e.tags;return void 0===r||r.forEach((e=>{for(let r=0;r<e.tokenSource.length;r++)this.isChinese(e.tokenSource[r].source)&&(t.state=!1,t.errorInfo=i.CommonFunctions.createErrorInfo(n.ErrorMessage.ERROR_HAS_CHINESE,[e.tag]))})),t}}},73086:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CheckErrorCode=void 0;const n=r(77002);class i{static isArrayNotEmpty(e){return Array.isArray(e)&&e.length>0}static hasNumberInArray(e,t){return e.every((e=>t.includes(e)))}static checkErrorCode(e){const t={state:!0,errorInfo:""},r=e.errorCodes.filter((e=>e>=100&&e<1e3));return this.isArrayNotEmpty(r)&&(this.hasNumberInArray(r,this.errorCodeList)||(t.state=!1,t.errorInfo=n.ErrorMessage.ERROR_ERROR_CODE)),t}}t.CheckErrorCode=i,i.errorCodeList=[201,202,203,301,401,501,502,801,901]},58010:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CheckHump=void 0;const i=n(r(16928)),a=r(31575),o=r(8136),s=r(77002),c=r(44791),l=r(93333),u=r(93333),d=r(13930);class p{static checkLargeHump(e){return/^([A-Z][a-z0-9]*)*$/g.test(e)}static checkSmallHump(e){return/^[a-z]+[0-9]*([A-Z][a-z0-9]*)*$/g.test(e)}static checkAllUppercaseHump(e){return/^[A-Z]+[0-9]*([\_][A-Z0-9]+)*$/g.test(e)}static getApiInfosInFileMap(e,t){if(t===o.StringConstant.SELF)return[];return e.get(t).get(o.StringConstant.SELF)}static checkAllAPINameOfHump(e){e.forEach((e=>{c.notJsDocApiTypes.has(e.getApiType())||p.checkAPINameOfHump(e)}))}static checkAPINameOfHump(e){const t=e.getLastJsDocInfo(),r=e.getJsDocInfos().length>0?e.getJsDocInfos()[0].getSince():"";if(t){if("-1"!==t.getDeprecatedVersion())return;if(r!==String(l.CommonFunctions.getCheckApiVersion()))return}const n=e.getApiType(),o=e.getFilePath();let f=e.getApiName(),m="";if(e.getIsJoinType()&&(f=f.split("_")[0]),n===c.ApiType.ENUM_VALUE||n===c.ApiType.CONSTANT&&-1===o.indexOf(`component${i.default.sep}ets${i.default.sep}`)?p.checkAllUppercaseHump(f)||(m=l.CommonFunctions.createErrorInfo(s.ErrorMessage.ERROR_UPPERCASE_NAME,[f])):n===c.ApiType.INTERFACE||n===c.ApiType.CLASS||n===c.ApiType.TYPE_ALIAS||n===c.ApiType.ENUM?p.checkLargeHump(f)||(m=l.CommonFunctions.createErrorInfo(s.ErrorMessage.ERROR_LARGE_HUMP_NAME,[f])):n!==c.ApiType.PROPERTY&&n!==c.ApiType.METHOD&&n!==c.ApiType.PARAM&&n!==c.ApiType.NAMESPACE||p.checkSmallHump(f)||(m=l.CommonFunctions.createErrorInfo(s.ErrorMessage.ERROR_SMALL_HUMP_NAME,[f])),""!==m){const t=new s.ErrorBaseInfo;t.setErrorID(s.ErrorID.NAMING_ERRORS_ID).setErrorLevel(s.ErrorLevel.MIDDLE).setErrorType(s.ErrorType.NAMING_ERRORS).setLogType(s.LogType.LOG_JSDOC).setErrorInfo(m);const r=l.CommonFunctions.getErrorInfo(e,void 0,d.currentFilePath,t);a.AddErrorLogs.addAPICheckErrorLogs(r,u.compositiveResult,u.compositiveLocalResult)}}static checkAPIFileName(e){const t=e.get(o.StringConstant.SELF)[0];if(t.getApiType()!==c.ApiType.SOURCE_FILE)return;const r=t.getFilePath();if(-1!==r.indexOf(`component${i.default.sep}ets${i.default.sep}`))return;let n="",f="",m="NA";for(const t of e.keys()){p.getApiInfosInFileMap(e,t).forEach((e=>{if(!c.notJsDocApiTypes.has(e.getApiType())){const t=e.getJsDocInfos();m=t[0]?l.CommonFunctions.getSinceVersion(t[0].getSince()):m}n=e.getApiType()===c.ApiType.NAMESPACE?e.getApiName():n,f=e.getApiType()===c.ApiType.EXPORT_DEFAULT||e.getIsExport()?e.getApiName().replace(o.StringConstant.EXPORT_DEFAULT,""):f}))}const g=i.default.basename(r).replace(new RegExp(o.StringConstant.DTS_EXTENSION,"g"),"").replace(new RegExp(o.StringConstant.DETS_EXTENSION,"g"),"").split("."),_=g.length?g[g.length-1]:"";let h="";if(""===n||f!==n||p.checkSmallHump(_)?""!==n||f===n||p.checkLargeHump(_)||(h=s.ErrorMessage.ERROR_LARGE_HUMP_NAME_FILE):h=s.ErrorMessage.ERROR_SMALL_HUMP_NAME_FILE,""!==h&&m===String(l.CommonFunctions.getCheckApiVersion())){const e=new s.ErrorBaseInfo;e.setErrorID(s.ErrorID.NAMING_ERRORS_ID).setErrorLevel(s.ErrorLevel.MIDDLE).setErrorType(s.ErrorType.NAMING_ERRORS).setLogType(s.LogType.LOG_JSDOC).setErrorInfo(h);const r=l.CommonFunctions.getErrorInfo(t,void 0,d.currentFilePath,e);a.AddErrorLogs.addAPICheckErrorLogs(r,u.compositiveResult,u.compositiveLocalResult)}}}t.CheckHump=p},31575:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AddErrorLogs=void 0;const n=r(77002),i=r(93333);t.AddErrorLogs=class{static addAPICheckErrorLogs(e,t,r){const a=JSON.stringify(e.getApiPostion().line),o=`API check error of [${e.getErrorType()}]: ${e.getErrorInfo()}`,s=new n.ApiResultSimpleInfo;s.setID(e.getErrorID()).setLevel(e.getErrorLevel()).setLocation(a).setFilePath(e.getFilePath()).setMessage(o).setApiText(e.getApiText()).setApiName(e.getApiName()).setApiType(e.getApiType()).setHierarchicalRelations(e.getHierarchicalRelations()).setParentModuleName(e.getParentModuleName());const c=new n.ApiResultInfo;c.setErrorType(e.getErrorType()).setLocation(e.getFilePath().slice(e.getFilePath().indexOf("api"),e.getFilePath().length)+`(line: ${a})`).setApiType(e.getApiType()).setMessage(o).setVersion(e.getSinceNumber()).setLevel(e.getErrorLevel()).setApiName(e.getApiName()).setApiFullText(e.getApiText()).setBaseName(e.getFilePath().slice(e.getFilePath().lastIndexOf("\\")+1,e.getFilePath().length)).setHierarchicalRelations(e.getHierarchicalRelations()).setParentModuleName(e.getParentModuleName()).setDefectType("");let l=e.getErrorInfo()===i.CommonFunctions.createErrorInfo(n.ErrorMessage.ERROR_LOST_LABEL,["kit"]),u=e.getErrorInfo()===i.CommonFunctions.createErrorInfo(n.ErrorMessage.ERROR_LOST_LABEL,["file"]),d=[],p=[];t.forEach((t=>{const r=t.getMessage().replace(/API check error of \[.*\]: /g,""),a=t.getFilePath()+r;a===e.getFilePath()+i.CommonFunctions.createErrorInfo(n.ErrorMessage.ERROR_LOST_LABEL,["kit"])&&d.push(t.getFilePath()+t.getMessage()),a===e.getFilePath()+i.CommonFunctions.createErrorInfo(n.ErrorMessage.ERROR_LOST_LABEL,["file"])&&p.push(t.getFilePath()+t.getMessage())})),l&&0!==d.length||u&&0!==p.length||(t.push(s),r.push(c))}}},37798:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.EventMethodChecker=void 0;const i=n(r(58843)),a=r(8136),o=r(77002),s=r(44791),c=r(93333),l=r(30871),u=r(31575),d=r(93333),p=r(58010),f=r(98768),m=r(13930);t.EventMethodChecker=class{constructor(e){this.apiData=e}getAllEventMethod(){const e=l.Parser.getAllBasicApi(this.apiData);let t=[];m.Check.getHasJsdocApiInfos(e,t);const r=[];t.forEach((e=>{e.apiType===s.ApiType.METHOD&&e.getIsJoinType()&&r.push(e)}));return this.getEventMethodDataMap(r)}checkEventMethod(e){e.forEach((e=>{const t=e.onEvents.length>0?e.onEvents:[],r=t.length>0?t[0].jsDocInfos[0].since:"-1",n=e.offEvents.length>0?e.offEvents:[],a=n.length>0?n[0].jsDocInfos[0].since:"-1",s=0===e.onEvents.length&&0!==e.offEvents.length&&a===JSON.stringify(f.ApiCheckVersion),l=0!==e.onEvents.length&&0===e.offEvents.length&&r===JSON.stringify(f.ApiCheckVersion);if(s||l){const t=e.onEvents.concat(e.offEvents)[0],r=c.CommonFunctions.createErrorInfo(o.ErrorMessage.ERROR_EVENT_ON_AND_OFF_PAIR,[]),n=new o.ErrorBaseInfo;n.setErrorID(o.ErrorID.API_PAIR_ERRORS_ID).setErrorLevel(o.ErrorLevel.MIDDLE).setErrorType(o.ErrorType.API_PAIR_ERRORS).setLogType(o.LogType.LOG_JSDOC).setErrorInfo(r);const i=c.CommonFunctions.getErrorInfo(t,void 0,m.currentFilePath,n);u.AddErrorLogs.addAPICheckErrorLogs(i,d.compositiveResult,d.compositiveLocalResult)}let g=0,_=0;for(let t=0;t<e.offEvents.length;t++){const r=e.offEvents[t];if(r.getParams().length<2)continue;const n=this.collectEventCallback(r,g,_);g=n.callbackNumber,_=n.requiredCallbackNumber}if(e.offEvents.length>0&&a===JSON.stringify(f.ApiCheckVersion)&&(0!==g&&g===e.offEvents.length&&g===_||0===g&&0!==e.offEvents.length)){const t=e.offEvents[0],r=c.CommonFunctions.createErrorInfo(o.ErrorMessage.ERROR_EVENT_CALLBACK_OPTIONAL,[]),n=new o.ErrorBaseInfo;n.setErrorID(o.ErrorID.PARAMETER_ERRORS_ID).setErrorLevel(o.ErrorLevel.MIDDLE).setErrorType(o.ErrorType.PARAMETER_ERRORS).setLogType(o.LogType.LOG_JSDOC).setErrorInfo(r);const i=c.CommonFunctions.getErrorInfo(t,void 0,m.currentFilePath,n);u.AddErrorLogs.addAPICheckErrorLogs(i,d.compositiveResult,d.compositiveLocalResult)}const h=e.onEvents.concat(e.offEvents).concat(e.emitEvents).concat(e.onceEvents);for(let e=0;e<h.length;e++){const t=h[e];if(!this.checkVersionNeedCheck(t))continue;const r=t.getParams(),n=t.jsDocInfos[0].since;if(r.length<1&&n===JSON.stringify(f.ApiCheckVersion)){const e=c.CommonFunctions.createErrorInfo(o.ErrorMessage.ERROR_EVENT_WITHOUT_PARAMETER,[]),r=new o.ErrorBaseInfo;r.setErrorID(o.ErrorID.PARAMETER_ERRORS_ID).setErrorLevel(o.ErrorLevel.MIDDLE).setErrorType(o.ErrorType.PARAMETER_ERRORS).setLogType(o.LogType.LOG_JSDOC).setErrorInfo(e);const n=c.CommonFunctions.getErrorInfo(t,void 0,m.currentFilePath,r);u.AddErrorLogs.addAPICheckErrorLogs(n,d.compositiveResult,d.compositiveLocalResult);continue}const a=r.length?r[0]:void 0;if(void 0!==a&&n===JSON.stringify(f.ApiCheckVersion))if(a.getParamType()===i.default.SyntaxKind.LiteralType){const e=a.getType()[0].replace(/\'/g,"");if(""===e){const e=c.CommonFunctions.createErrorInfo(o.ErrorMessage.ERROR_EVENT_NAME_NULL,[a.getApiName()]),r=new o.ErrorBaseInfo;r.setErrorID(o.ErrorID.PARAMETER_ERRORS_ID).setErrorLevel(o.ErrorLevel.MIDDLE).setErrorType(o.ErrorType.PARAMETER_ERRORS).setLogType(o.LogType.LOG_JSDOC).setErrorInfo(e);const n=c.CommonFunctions.getErrorInfo(t,void 0,m.currentFilePath,r);u.AddErrorLogs.addAPICheckErrorLogs(n,d.compositiveResult,d.compositiveLocalResult)}else if(!p.CheckHump.checkSmallHump(e)){const r=c.CommonFunctions.createErrorInfo(o.ErrorMessage.ERROR_EVENT_NAME_SMALL_HUMP,[e]),n=new o.ErrorBaseInfo;n.setErrorID(o.ErrorID.PARAMETER_ERRORS_ID).setErrorLevel(o.ErrorLevel.MIDDLE).setErrorType(o.ErrorType.PARAMETER_ERRORS).setLogType(o.LogType.LOG_JSDOC).setErrorInfo(r);const i=c.CommonFunctions.getErrorInfo(t,void 0,m.currentFilePath,n);u.AddErrorLogs.addAPICheckErrorLogs(i,d.compositiveResult,d.compositiveLocalResult)}}else if(a.getParamType()!==i.default.SyntaxKind.StringKeyword){const e=c.CommonFunctions.createErrorInfo(o.ErrorMessage.ERROR_EVENT_NAME_STRING,[a.getApiName()]),r=new o.ErrorBaseInfo;r.setErrorID(o.ErrorID.PARAMETER_ERRORS_ID).setErrorLevel(o.ErrorLevel.MIDDLE).setErrorType(o.ErrorType.PARAMETER_ERRORS).setLogType(o.LogType.LOG_JSDOC).setErrorInfo(e);const n=c.CommonFunctions.getErrorInfo(t,void 0,m.currentFilePath,r);u.AddErrorLogs.addAPICheckErrorLogs(n,d.compositiveResult,d.compositiveLocalResult)}}}))}checkVersionNeedCheck(e){const t=c.CommonFunctions.getSinceVersion(e.getCurrentVersion());return parseInt(t)>=a.EventConstant.eventMethodCheckVersion}collectEventCallback(e,t,r){const n=e.getParams().slice(-1)[0];if(n.paramType){new Set([i.default.SyntaxKind.NumberKeyword,i.default.SyntaxKind.StringKeyword,i.default.SyntaxKind.BooleanKeyword,i.default.SyntaxKind.UndefinedKeyword,i.default.SyntaxKind.LiteralType]).has(n.paramType)||(t++,n.getIsRequired()&&r++)}return{callbackNumber:t,requiredCallbackNumber:r}}getEventMethodDataMap(e){let t=new Map;return e.forEach((e=>{const r=[...e.hierarchicalRelations];r.pop();const n=[...r,this.getEventName(e.apiName)].join("/");let i={onEvents:[],offEvents:[],emitEvents:[],onceEvents:[]};t.get(n)&&(i=t.get(n)),t.set(n,this.collectEventMethod(i,e))})),t}collectEventMethod(e,t){switch(this.getEventType(t.apiName)){case"on":e.onEvents.push(t);break;case"off":e.offEvents.push(t);break;case"emit":e.emitEvents.push(t);break;case"once":e.onceEvents.push(t)}return e}getEventName(e){return e.split(/\_/)[1]}getEventType(e){return e.split(/\_/)[0]}}},95769:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ForbiddenWordsCheck=void 0;const n=r(77002),i=r(93333),a=r(93333);t.ForbiddenWordsCheck=class{static forbiddenWordsCheck(e){const t=["this","unknown"],r={state:!0,errorInfo:""},o=e.getDefinedText(),s=e.getJsDocInfos(),c=i.CommonFunctions.getSinceVersion(s[0].getSince()),l=i.CommonFunctions.getCheckApiVersion(),u=/\s{2,}/g;let d=o.replace(/(\/\*|\*\/|\*)|\\n|\\r/g," ");return a.punctuationMarkSet.forEach((e=>{const t=new RegExp(e,"g");t.test(d)&&(d=d.replace(t," ").replace(u," "))})),d.split(/\s/g).forEach((a=>{c===l&&(t.includes(a)||"any"===a&&-1!==e.getFilePath().indexOf(".d.ets"))&&(r.state=!1,r.errorInfo=i.CommonFunctions.createErrorInfo(n.ErrorMessage.ILLEGAL_USE_ANY,[a]))})),r}}},23978:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ApiNamingCheck=void 0;const n=r(77002),i=r(93333),a=r(56795),o=r(93460),s=r(289);class c{static namingCheck(e){const t={state:!0,errorInfo:""},r=e.getJsDocInfos(),n=i.CommonFunctions.getSinceVersion(r[0].getSince()),o=i.CommonFunctions.getCheckApiVersion(),s=e.getFilePath().toLowerCase(),l=/\s{2,}/g;let u=e.getDefinedText().replace(/(\/\*|\*\/|\*)|\n|\r/g," ");i.punctuationMarkSet.forEach((e=>{const t=new RegExp(e,"g");t.test(u)&&(u=u.replace(t," ").replace(l," "))}));let d=u.split(/\s/g),p=[];return d.forEach((e=>{a.WordsCheck.splitComplexWords(e,p)})),p.forEach((r=>{n===o&&(c.checkApiNamingWords(r,t),c.checkApiNamingScenario(s,t,e))})),t}static checkApiNamingWords(e,t){const r=c.getlowercaseNamingMap();for(const[a,o]of r){const r=e.indexOf(a);if(-1===r)continue;const s=o.ignore.map((e=>e.toLowerCase())),l=e.substring(r,r+a.length);if(0===s.length){t.state=!1,t.errorInfo=i.CommonFunctions.createErrorInfo(n.ErrorMessage.ERROR_NAMING,[e,l,o.suggestion]);break}!1===c.checkIgnoreWord(s,e)&&(t.state=!1,t.errorInfo=i.CommonFunctions.createErrorInfo(n.ErrorMessage.ERROR_NAMING,[e,l,o.suggestion]))}}static checkApiNamingScenario(e,t,r){const a=c.getlowercaseNamingScenarioMap();for(const[o,s]of a){-1===e.indexOf(o)||c.isInAllowedFiles(s.files,r.getFilePath())||(t.state=!1,t.errorInfo=i.CommonFunctions.createErrorInfo(n.ErrorMessage.ERROR_SCENARIO,[e,o,r.getFilePath()]))}}static getlowercaseNamingMap(){const e=new Map;for(const t of o){const r=t.badWord.toLowerCase(),n=t;e.set(r,n)}return e}static checkIgnoreWord(e,t){let r=!1;for(let n=0;n<e.length;n++)if(e[n]&&-1!==t.indexOf(e[n])){r=!0;break}return r}static getlowercaseNamingScenarioMap(){const e=new Map;for(const t of s){const r=t.word.toLowerCase(),n=t;e.set(r,n)}return e}static isInAllowedFiles(e,t){for(const r of e){const e=new RegExp(r);if(e.test(t),e.test(t))return!0}return!1}}t.ApiNamingCheck=c},53438:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TagInheritCheck=void 0;const n=r(77002),i=r(93333),a=r(44791);class o{static tagInheritCheck(e){const t=[],r=e.getLastJsDocInfo();if(void 0===r)return t;const n=r.tags,i=[];if(void 0===n)return t;n.forEach((e=>{i.push(e.tag)}));let s=e.getParentApi();return a.containerApiTypes.has(s.getApiType())&&o.checkParentJsdoc(s,i,t),t}static checkParentJsdoc(e,t,r){if(void 0===e||!a.containerApiTypes.has(e.getApiType()))return!0;const s=e,c=s.getLastJsDocInfo()?.tags,l={state:!0,errorInfo:""};if(void 0===c)return!0;let u="";const d=c.some((e=>(u=e.tag,i.inheritTagArr.includes(e.tag)&&!t.includes(e.tag)))),p=d?{state:!1,errorInfo:i.CommonFunctions.createErrorInfo(n.ErrorMessage.ERROR_INFO_INHERIT,[u.toLocaleLowerCase()])}:l,f=[];c.forEach((e=>{f.push(e.tag)}));const m=t.some((e=>(u=e,i.followTagArr.includes(e)&&!f.includes(e)))),g=m?{state:!1,errorInfo:i.CommonFunctions.createErrorInfo(n.ErrorMessage.ERROR_INFO_FOLLOW,[u])}:l;if(d||m)return r.push(...d?m?[g,p]:[p]:[g]),!1;const _=s.getParentApi();return o.checkParentJsdoc(_,t,r)}}t.TagInheritCheck=o},18e3:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LegalityCheck=void 0;const n=r(44791),i=r(93333),a=r(77002),o=r(93333);class s{static apiLegalityCheck(e,t){const r=[];s.checkSystemapiAtomicservice(t,r);const c=e.getNode(),l=i.apiLegalityCheckTypeMap.get(c.kind),u=new Set(l),d=s.getIllegalTagsArray(l);let p="",f="";if(e.getApiType()!==n.ApiType.CLASS&&e.getApiType()!==n.ApiType.INTERFACE||(p=o.CommonFunctions.getExtendsApiValue(e),f=o.CommonFunctions.getImplementsApiValue(e)),""===p&&(u.delete("extends"),d.push("extends")),""===f&&(u.delete("implements"),d.push("implements")),e.getApiType()===n.ApiType.PROPERTY&&(e.getIsReadOnly()||(u.delete("readonly"),d.push("readonly"))),!Array.isArray(l))return r;const m=t.tags,g=[],_=[];if(void 0===m){const e={state:!1,errorInfo:o.CommonFunctions.createErrorInfo(a.ErrorMessage.ERROR_LOST_LABEL,["since"])+o.CommonFunctions.createErrorInfo(a.ErrorMessage.ERROR_LOST_LABEL,["syscap"])};return r.push(e),r}const h=[];if(m.forEach((e=>{h.push(e.tag)})),h.includes("deprecated"))return r;let y=0,v=e.getApiType()===n.ApiType.METHOD?e.getParams().length:0;return v=e.getApiType()===n.ApiType.TYPE_ALIAS?e.getParamInfos().length:v,m.forEach((i=>{g.push(i.tag),"throws"===i.tag&&_.push(i.name),y="param"===i.tag?y+1:y;const s="useinstead"===i.tag&&"-1"!==t.deprecatedVersion;if(u.delete("param"),u.has(i.tag)&&u.delete(i.tag),e.getApiType()!==n.ApiType.PROPERTY&&e.getApiType()!==n.ApiType.DECLARE_CONST||(u.delete("
constant
"),d.push("
constant
")),e.getApiType()!==n.ApiType.INTERFACE||"typedef"!==i.tag&&"interface"!==i.tag||(u.delete("typede (…)
[all...]
/interface/sdk-js/build-tools/dts_parser/build_package/
H
A
D
JS_API_COUNT.js
59
*/e=r.nmd(e),function(){var i,a="Expected a function",o="__lodash_hash_undefined__",s="__lodash_placeholder__",c=16,l=32,u=64,d=128,p=256,f=1/0,m=9007199254740991,g=NaN,_=4294967295,h=[["ary",d],["bind",1],["bindKey",2],["curry",8],["curryRight",c],["flip",512],["partial",l],["partialRight",u],["rearg",p]],y="[object Arguments]",v="[object Array]",b="[object Boolean]",k="[object Date]",x="[object Error]",S="[object Function]",w="[object GeneratorFunction]",D="[object Map]",E="[object Number]",T="[object Object]",C="[object Promise]",A="[object RegExp]",N="[object Set]",P="[object String]",I="[object Symbol]",F="[object WeakMap]",O="[object ArrayBuffer]",R="[object DataView]",M="[object Float32Array]",L="[object Float64Array]",j="[object Int8Array]",B="[object Int16Array]",z="[object Int32Array]",U="[object Uint8Array]",q="[object Uint8ClampedArray]",J="[object Uint16Array]",V="[object Uint32Array]",H=/\b__p \+= '';/g,K=/\b(__p \+=) '' \+/g,W=/(__e\(.*?\)|\b__t\)) \+\n'';/g,G=/&(?:amp|lt|gt|quot|#39);/g,$=/[&<>"']/g,Y=RegExp(G.source),X=RegExp($.source),Q=/<%-([\s\S]+?)%>/g,Z=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,re=/^\w*$/,ne=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ie=/[\\^$.*+?()[\]{}|]/g,ae=RegExp(ie.source),oe=/^\s+/,se=/\s/,ce=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,le=/\{\n\/\* \[wrapped with (.+)\] \*/,ue=/,? & /,de=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,pe=/[()=,{}\[\]\/\s]/,fe=/\\(\\)?/g,me=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ge=/\w*$/,_e=/^[-+]0x[0-9a-f]+$/i,he=/^0b[01]+$/i,ye=/^\[object .+?Constructor\]$/,ve=/^0o[0-7]+$/i,be=/^(?:0|[1-9]\d*)$/,ke=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xe=/($^)/,Se=/['\n\r\u2028\u2029\\]/g,we="\\ud800-\\udfff",De="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ee="\\u2700-\\u27bf",Te="a-z\\xdf-\\xf6\\xf8-\\xff",Ce="A-Z\\xc0-\\xd6\\xd8-\\xde",Ae="\\ufe0e\\ufe0f",Ne="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\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",Pe="['’]",Ie="["+we+"]",Fe="["+Ne+"]",Oe="["+De+"]",Re="\\d+",Me="["+Ee+"]",Le="["+Te+"]",je="[^"+we+Ne+Re+Ee+Te+Ce+"]",Be="\\ud83c[\\udffb-\\udfff]",ze="[^"+we+"]",Ue="(?:\\ud83c[\\udde6-\\uddff]){2}",qe="[\\ud800-\\udbff][\\udc00-\\udfff]",Je="["+Ce+"]",Ve="\\u200d",He="(?:"+Le+"|"+je+")",Ke="(?:"+Je+"|"+je+")",We="(?:['’](?:d|ll|m|re|s|t|ve))?",Ge="(?:['’](?:D|LL|M|RE|S|T|VE))?",$e="(?:"+Oe+"|"+Be+")"+"?",Ye="["+Ae+"]?",Xe=Ye+$e+("(?:"+Ve+"(?:"+[ze,Ue,qe].join("|")+")"+Ye+$e+")*"),Qe="(?:"+[Me,Ue,qe].join("|")+")"+Xe,Ze="(?:"+[ze+Oe+"?",Oe,Ue,qe,Ie].join("|")+")",et=RegExp(Pe,"g"),tt=RegExp(Oe,"g"),rt=RegExp(Be+"(?="+Be+")|"+Ze+Xe,"g"),nt=RegExp([Je+"?"+Le+"+"+We+"(?="+[Fe,Je,"$"].join("|")+")",Ke+"+"+Ge+"(?="+[Fe,Je+He,"$"].join("|")+")",Je+"?"+He+"+"+We,Je+"+"+Ge,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Re,Qe].join("|"),"g"),it=RegExp("["+Ve+we+De+Ae+"]"),at=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ot=["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"],st=-1,ct={};ct[M]=ct[L]=ct[j]=ct[B]=ct[z]=ct[U]=ct[q]=ct[J]=ct[V]=!0,ct[y]=ct[v]=ct[O]=ct[b]=ct[R]=ct[k]=ct[x]=ct[S]=ct[D]=ct[E]=ct[T]=ct[A]=ct[N]=ct[P]=ct[F]=!1;var lt={};lt[y]=lt[v]=lt[O]=lt[R]=lt[b]=lt[k]=lt[M]=lt[L]=lt[j]=lt[B]=lt[z]=lt[D]=lt[E]=lt[T]=lt[A]=lt[N]=lt[P]=lt[I]=lt[U]=lt[q]=lt[J]=lt[V]=!0,lt[x]=lt[S]=lt[F]=!1;var ut={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},dt=parseFloat,pt=parseInt,ft="object"==typeof global&&global&&global.Object===Object&&global,mt="object"==typeof self&&self&&self.Object===Object&&self,gt=ft||mt||Function("return this")(),_t=t&&!t.nodeType&&t,ht=_t&&e&&!e.nodeType&&e,yt=ht&&ht.exports===_t,vt=yt&&ft.process,bt=function(){try{var e=ht&&ht.require&&ht.require("util").types;return e||vt&&vt.binding&&vt.binding("util")}catch(e){}}(),kt=bt&&bt.isArrayBuffer,xt=bt&&bt.isDate,St=bt&&bt.isMap,wt=bt&&bt.isRegExp,Dt=bt&&bt.isSet,Et=bt&&bt.isTypedArray;function Tt(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function Ct(e,t,r,n){for(var i=-1,a=null==e?0:e.length;++i<a;){var o=e[i];t(n,o,r(o),e)}return n}function At(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}function Nt(e,t){for(var r=null==e?0:e.length;r--&&!1!==t(e[r],r,e););return e}function Pt(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(!t(e[r],r,e))return!1;return!0}function It(e,t){for(var r=-1,n=null==e?0:e.length,i=0,a=[];++r<n;){var o=e[r];t(o,r,e)&&(a[i++]=o)}return a}function Ft(e,t){return!!(null==e?0:e.length)&&Jt(e,t,0)>-1}function Ot(e,t,r){for(var n=-1,i=null==e?0:e.length;++n<i;)if(r(t,e[n]))return!0;return!1}function Rt(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}function Mt(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}function Lt(e,t,r,n){var i=-1,a=null==e?0:e.length;for(n&&a&&(r=e[++i]);++i<a;)r=t(r,e[i],i,e);return r}function jt(e,t,r,n){var i=null==e?0:e.length;for(n&&i&&(r=e[--i]);i--;)r=t(r,e[i],i,e);return r}function Bt(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}var zt=Wt("length");function Ut(e,t,r){var n;return r(e,(function(e,r,i){if(t(e,r,i))return n=r,!1})),n}function qt(e,t,r,n){for(var i=e.length,a=r+(n?1:-1);n?a--:++a<i;)if(t(e[a],a,e))return a;return-1}function Jt(e,t,r){return t==t?function(e,t,r){var n=r-1,i=e.length;for(;++n<i;)if(e[n]===t)return n;return-1}(e,t,r):qt(e,Ht,r)}function Vt(e,t,r,n){for(var i=r-1,a=e.length;++i<a;)if(n(e[i],t))return i;return-1}function Ht(e){return e!=e}function Kt(e,t){var r=null==e?0:e.length;return r?Yt(e,t)/r:g}function Wt(e){return function(t){return null==t?i:t[e]}}function Gt(e){return function(t){return null==e?i:e[t]}}function $t(e,t,r,n,i){return i(e,(function(e,i,a){r=n?(n=!1,e):t(r,e,i,a)})),r}function Yt(e,t){for(var r,n=-1,a=e.length;++n<a;){var o=t(e[n]);o!==i&&(r=r===i?o:r+o)}return r}function Xt(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}function Qt(e){return e?e.slice(0,gr(e)+1).replace(oe,""):e}function Zt(e){return function(t){return e(t)}}function er(e,t){return Rt(t,(function(t){return e[t]}))}function tr(e,t){return e.has(t)}function rr(e,t){for(var r=-1,n=e.length;++r<n&&Jt(t,e[r],0)>-1;);return r}function nr(e,t){for(var r=e.length;r--&&Jt(t,e[r],0)>-1;);return r}var ir=Gt({À:"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"}),ar=Gt({"&":"&","<":"<",">":">",'"':""","'":"'"});function or(e){return"\\"+ut[e]}function sr(e){return it.test(e)}function cr(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}function lr(e,t){return function(r){return e(t(r))}}function ur(e,t){for(var r=-1,n=e.length,i=0,a=[];++r<n;){var o=e[r];o!==t&&o!==s||(e[r]=s,a[i++]=r)}return a}function dr(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}function pr(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=[e,e]})),r}function fr(e){return sr(e)?function(e){var t=rt.lastIndex=0;for(;rt.test(e);)++t;return t}(e):zt(e)}function mr(e){return sr(e)?function(e){return e.match(rt)||[]}(e):function(e){return e.split("")}(e)}function gr(e){for(var t=e.length;t--&&se.test(e.charAt(t)););return t}var _r=Gt({"&":"&","<":"<",">":">",""":'"',"'":"'"});var hr=function e(t){var r,n=(t=null==t?gt:hr.defaults(gt.Object(),t,hr.pick(gt,ot))).Array,se=t.Date,we=t.Error,De=t.Function,Ee=t.Math,Te=t.Object,Ce=t.RegExp,Ae=t.String,Ne=t.TypeError,Pe=n.prototype,Ie=De.prototype,Fe=Te.prototype,Oe=t["__core-js_shared__"],Re=Ie.toString,Me=Fe.hasOwnProperty,Le=0,je=(r=/[^.]+$/.exec(Oe&&Oe.keys&&Oe.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",Be=Fe.toString,ze=Re.call(Te),Ue=gt._,qe=Ce("^"+Re.call(Me).replace(ie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Je=yt?t.Buffer:i,Ve=t.Symbol,He=t.Uint8Array,Ke=Je?Je.allocUnsafe:i,We=lr(Te.getPrototypeOf,Te),Ge=Te.create,$e=Fe.propertyIsEnumerable,Ye=Pe.splice,Xe=Ve?Ve.isConcatSpreadable:i,Qe=Ve?Ve.iterator:i,Ze=Ve?Ve.toStringTag:i,rt=function(){try{var e=pa(Te,"defineProperty");return e({},"",{}),e}catch(e){}}(),it=t.clearTimeout!==gt.clearTimeout&&t.clearTimeout,ut=se&&se.now!==gt.Date.now&&se.now,ft=t.setTimeout!==gt.setTimeout&&t.setTimeout,mt=Ee.ceil,_t=Ee.floor,ht=Te.getOwnPropertySymbols,vt=Je?Je.isBuffer:i,bt=t.isFinite,zt=Pe.join,Gt=lr(Te.keys,Te),yr=Ee.max,vr=Ee.min,br=se.now,kr=t.parseInt,xr=Ee.random,Sr=Pe.reverse,wr=pa(t,"DataView"),Dr=pa(t,"Map"),Er=pa(t,"Promise"),Tr=pa(t,"Set"),Cr=pa(t,"WeakMap"),Ar=pa(Te,"create"),Nr=Cr&&new Cr,Pr={},Ir=ja(wr),Fr=ja(Dr),Or=ja(Er),Rr=ja(Tr),Mr=ja(Cr),Lr=Ve?Ve.prototype:i,jr=Lr?Lr.valueOf:i,Br=Lr?Lr.toString:i;function zr(e){if(rs(e)&&!Ho(e)&&!(e instanceof Vr)){if(e instanceof Jr)return e;if(Me.call(e,"__wrapped__"))return Ba(e)}return new Jr(e)}var Ur=function(){function e(){}return function(t){if(!ts(t))return{};if(Ge)return Ge(t);e.prototype=t;var r=new e;return e.prototype=i,r}}();function qr(){}function Jr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}function Vr(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=_,this.__views__=[]}function Hr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Kr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Wr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Gr(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new Wr;++t<r;)this.add(e[t])}function $r(e){var t=this.__data__=new Kr(e);this.size=t.size}function Yr(e,t){var r=Ho(e),n=!r&&Vo(e),i=!r&&!n&&$o(e),a=!r&&!n&&!i&&us(e),o=r||n||i||a,s=o?Xt(e.length,Ae):[],c=s.length;for(var l in e)!t&&!Me.call(e,l)||o&&("length"==l||i&&("offset"==l||"parent"==l)||a&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||va(l,c))||s.push(l);return s}function Xr(e){var t=e.length;return t?e[$n(0,t-1)]:i}function Qr(e,t){return Ra(Ni(e),cn(t,0,e.length))}function Zr(e){return Ra(Ni(e))}function en(e,t,r){(r!==i&&!Uo(e[t],r)||r===i&&!(t in e))&&on(e,t,r)}function tn(e,t,r){var n=e[t];Me.call(e,t)&&Uo(n,r)&&(r!==i||t in e)||on(e,t,r)}function rn(e,t){for(var r=e.length;r--;)if(Uo(e[r][0],t))return r;return-1}function nn(e,t,r,n){return fn(e,(function(e,i,a){t(n,e,r(e),a)})),n}function an(e,t){return e&&Pi(t,Is(t),e)}function on(e,t,r){"__proto__"==t&&rt?rt(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function sn(e,t){for(var r=-1,a=t.length,o=n(a),s=null==e;++r<a;)o[r]=s?i:Ts(e,t[r]);return o}function cn(e,t,r){return e==e&&(r!==i&&(e=e<=r?e:r),t!==i&&(e=e>=t?e:t)),e}function ln(e,t,r,n,a,o){var s,c=1&t,l=2&t,u=4&t;if(r&&(s=a?r(e,n,a,o):r(e)),s!==i)return s;if(!ts(e))return e;var d=Ho(e);if(d){if(s=function(e){var t=e.length,r=new e.constructor(t);t&&"string"==typeof e[0]&&Me.call(e,"index")&&(r.index=e.index,r.input=e.input);return r}(e),!c)return Ni(e,s)}else{var p=ga(e),f=p==S||p==w;if($o(e))return wi(e,c);if(p==T||p==y||f&&!a){if(s=l||f?{}:ha(e),!c)return l?function(e,t){return Pi(e,ma(e),t)}(e,function(e,t){return e&&Pi(t,Fs(t),e)}(s,e)):function(e,t){return Pi(e,fa(e),t)}(e,an(s,e))}else{if(!lt[p])return a?e:{};s=function(e,t,r){var n=e.constructor;switch(t){case O:return Di(e);case b:case k:return new n(+e);case R:return function(e,t){var r=t?Di(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}(e,r);case M:case L:case j:case B:case z:case U:case q:case J:case V:return Ei(e,r);case D:return new n;case E:case P:return new n(e);case A:return function(e){var t=new e.constructor(e.source,ge.exec(e));return t.lastIndex=e.lastIndex,t}(e);case N:return new n;case I:return i=e,jr?Te(jr.call(i)):{}}var i}(e,p,c)}}o||(o=new $r);var m=o.get(e);if(m)return m;o.set(e,s),ss(e)?e.forEach((function(n){s.add(ln(n,t,r,n,e,o))})):ns(e)&&e.forEach((function(n,i){s.set(i,ln(n,t,r,i,e,o))}));var g=d?i:(u?l?aa:ia:l?Fs:Is)(e);return At(g||e,(function(n,i){g&&(n=e[i=n]),tn(s,i,ln(n,t,r,i,e,o))})),s}function un(e,t,r){var n=r.length;if(null==e)return!n;for(e=Te(e);n--;){var a=r[n],o=t[a],s=e[a];if(s===i&&!(a in e)||!o(s))return!1}return!0}function dn(e,t,r){if("function"!=typeof e)throw new Ne(a);return Pa((function(){e.apply(i,r)}),t)}function pn(e,t,r,n){var i=-1,a=Ft,o=!0,s=e.length,c=[],l=t.length;if(!s)return c;r&&(t=Rt(t,Zt(r))),n?(a=Ot,o=!1):t.length>=200&&(a=tr,o=!1,t=new Gr(t));e:for(;++i<s;){var u=e[i],d=null==r?u:r(u);if(u=n||0!==u?u:0,o&&d==d){for(var p=l;p--;)if(t[p]===d)continue e;c.push(u)}else a(t,d,n)||c.push(u)}return c}zr.templateSettings={escape:Q,evaluate:Z,interpolate:ee,variable:"",imports:{_:zr}},zr.prototype=qr.prototype,zr.prototype.constructor=zr,Jr.prototype=Ur(qr.prototype),Jr.prototype.constructor=Jr,Vr.prototype=Ur(qr.prototype),Vr.prototype.constructor=Vr,Hr.prototype.clear=function(){this.__data__=Ar?Ar(null):{},this.size=0},Hr.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Hr.prototype.get=function(e){var t=this.__data__;if(Ar){var r=t[e];return r===o?i:r}return Me.call(t,e)?t[e]:i},Hr.prototype.has=function(e){var t=this.__data__;return Ar?t[e]!==i:Me.call(t,e)},Hr.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Ar&&t===i?o:t,this},Kr.prototype.clear=function(){this.__data__=[],this.size=0},Kr.prototype.delete=function(e){var t=this.__data__,r=rn(t,e);return!(r<0)&&(r==t.length-1?t.pop():Ye.call(t,r,1),--this.size,!0)},Kr.prototype.get=function(e){var t=this.__data__,r=rn(t,e);return r<0?i:t[r][1]},Kr.prototype.has=function(e){return rn(this.__data__,e)>-1},Kr.prototype.set=function(e,t){var r=this.__data__,n=rn(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},Wr.prototype.clear=function(){this.size=0,this.__data__={hash:new Hr,map:new(Dr||Kr),string:new Hr}},Wr.prototype.delete=function(e){var t=ua(this,e).delete(e);return this.size-=t?1:0,t},Wr.prototype.get=function(e){return ua(this,e).get(e)},Wr.prototype.has=function(e){return ua(this,e).has(e)},Wr.prototype.set=function(e,t){var r=ua(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},Gr.prototype.add=Gr.prototype.push=function(e){return this.__data__.set(e,o),this},Gr.prototype.has=function(e){return this.__data__.has(e)},$r.prototype.clear=function(){this.__data__=new Kr,this.size=0},$r.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},$r.prototype.get=function(e){return this.__data__.get(e)},$r.prototype.has=function(e){return this.__data__.has(e)},$r.prototype.set=function(e,t){var r=this.__data__;if(r instanceof Kr){var n=r.__data__;if(!Dr||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Wr(n)}return r.set(e,t),this.size=r.size,this};var fn=Oi(kn),mn=Oi(xn,!0);function gn(e,t){var r=!0;return fn(e,(function(e,n,i){return r=!!t(e,n,i)})),r}function _n(e,t,r){for(var n=-1,a=e.length;++n<a;){var o=e[n],s=t(o);if(null!=s&&(c===i?s==s&&!ls(s):r(s,c)))var c=s,l=o}return l}function hn(e,t){var r=[];return fn(e,(function(e,n,i){t(e,n,i)&&r.push(e)})),r}function yn(e,t,r,n,i){var a=-1,o=e.length;for(r||(r=ya),i||(i=[]);++a<o;){var s=e[a];t>0&&r(s)?t>1?yn(s,t-1,r,n,i):Mt(i,s):n||(i[i.length]=s)}return i}var vn=Ri(),bn=Ri(!0);function kn(e,t){return e&&vn(e,t,Is)}function xn(e,t){return e&&bn(e,t,Is)}function Sn(e,t){return It(t,(function(t){return Qo(e[t])}))}function wn(e,t){for(var r=0,n=(t=bi(t,e)).length;null!=e&&r<n;)e=e[La(t[r++])];return r&&r==n?e:i}function Dn(e,t,r){var n=t(e);return Ho(e)?n:Mt(n,r(e))}function En(e){return null==e?e===i?"[object Undefined]":"[object Null]":Ze&&Ze in Te(e)?function(e){var t=Me.call(e,Ze),r=e[Ze];try{e[Ze]=i;var n=!0}catch(e){}var a=Be.call(e);n&&(t?e[Ze]=r:delete e[Ze]);return a}(e):function(e){return Be.call(e)}(e)}function Tn(e,t){return e>t}function Cn(e,t){return null!=e&&Me.call(e,t)}function An(e,t){return null!=e&&t in Te(e)}function Nn(e,t,r){for(var a=r?Ot:Ft,o=e[0].length,s=e.length,c=s,l=n(s),u=1/0,d=[];c--;){var p=e[c];c&&t&&(p=Rt(p,Zt(t))),u=vr(p.length,u),l[c]=!r&&(t||o>=120&&p.length>=120)?new Gr(c&&p):i}p=e[0];var f=-1,m=l[0];e:for(;++f<o&&d.length<u;){var g=p[f],_=t?t(g):g;if(g=r||0!==g?g:0,!(m?tr(m,_):a(d,_,r))){for(c=s;--c;){var h=l[c];if(!(h?tr(h,_):a(e[c],_,r)))continue e}m&&m.push(_),d.push(g)}}return d}function Pn(e,t,r){var n=null==(e=Ca(e,t=bi(t,e)))?e:e[La(Ya(t))];return null==n?i:Tt(n,e,r)}function In(e){return rs(e)&&En(e)==y}function Fn(e,t,r,n,a){return e===t||(null==e||null==t||!rs(e)&&!rs(t)?e!=e&&t!=t:function(e,t,r,n,a,o){var s=Ho(e),c=Ho(t),l=s?v:ga(e),u=c?v:ga(t),d=(l=l==y?T:l)==T,p=(u=u==y?T:u)==T,f=l==u;if(f&&$o(e)){if(!$o(t))return!1;s=!0,d=!1}if(f&&!d)return o||(o=new $r),s||us(e)?ra(e,t,r,n,a,o):function(e,t,r,n,i,a,o){switch(r){case R:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case O:return!(e.byteLength!=t.byteLength||!a(new He(e),new He(t)));case b:case k:case E:return Uo(+e,+t);case x:return e.name==t.name&&e.message==t.message;case A:case P:return e==t+"";case D:var s=cr;case N:var c=1&n;if(s||(s=dr),e.size!=t.size&&!c)return!1;var l=o.get(e);if(l)return l==t;n|=2,o.set(e,t);var u=ra(s(e),s(t),n,i,a,o);return o.delete(e),u;case I:if(jr)return jr.call(e)==jr.call(t)}return!1}(e,t,l,r,n,a,o);if(!(1&r)){var m=d&&Me.call(e,"__wrapped__"),g=p&&Me.call(t,"__wrapped__");if(m||g){var _=m?e.value():e,h=g?t.value():t;return o||(o=new $r),a(_,h,r,n,o)}}if(!f)return!1;return o||(o=new $r),function(e,t,r,n,a,o){var s=1&r,c=ia(e),l=c.length,u=ia(t),d=u.length;if(l!=d&&!s)return!1;var p=l;for(;p--;){var f=c[p];if(!(s?f in t:Me.call(t,f)))return!1}var m=o.get(e),g=o.get(t);if(m&&g)return m==t&&g==e;var _=!0;o.set(e,t),o.set(t,e);var h=s;for(;++p<l;){var y=e[f=c[p]],v=t[f];if(n)var b=s?n(v,y,f,t,e,o):n(y,v,f,e,t,o);if(!(b===i?y===v||a(y,v,r,n,o):b)){_=!1;break}h||(h="constructor"==f)}if(_&&!h){var k=e.constructor,x=t.constructor;k==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof k&&k instanceof k&&"function"==typeof x&&x instanceof x||(_=!1)}return o.delete(e),o.delete(t),_}(e,t,r,n,a,o)}(e,t,r,n,Fn,a))}function On(e,t,r,n){var a=r.length,o=a,s=!n;if(null==e)return!o;for(e=Te(e);a--;){var c=r[a];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<o;){var l=(c=r[a])[0],u=e[l],d=c[1];if(s&&c[2]){if(u===i&&!(l in e))return!1}else{var p=new $r;if(n)var f=n(u,d,l,e,t,p);if(!(f===i?Fn(d,u,3,n,p):f))return!1}}return!0}function Rn(e){return!(!ts(e)||(t=e,je&&je in t))&&(Qo(e)?qe:ye).test(ja(e));var t}function Mn(e){return"function"==typeof e?e:null==e?ic:"object"==typeof e?Ho(e)?qn(e[0],e[1]):Un(e):fc(e)}function Ln(e){if(!wa(e))return Gt(e);var t=[];for(var r in Te(e))Me.call(e,r)&&"constructor"!=r&&t.push(r);return t}function jn(e){if(!ts(e))return function(e){var t=[];if(null!=e)for(var r in Te(e))t.push(r);return t}(e);var t=wa(e),r=[];for(var n in e)("constructor"!=n||!t&&Me.call(e,n))&&r.push(n);return r}function Bn(e,t){return e<t}function zn(e,t){var r=-1,i=Wo(e)?n(e.length):[];return fn(e,(function(e,n,a){i[++r]=t(e,n,a)})),i}function Un(e){var t=da(e);return 1==t.length&&t[0][2]?Ea(t[0][0],t[0][1]):function(r){return r===e||On(r,e,t)}}function qn(e,t){return ka(e)&&Da(t)?Ea(La(e),t):function(r){var n=Ts(r,e);return n===i&&n===t?Cs(r,e):Fn(t,n,3)}}function Jn(e,t,r,n,a){e!==t&&vn(t,(function(o,s){if(a||(a=new $r),ts(o))!function(e,t,r,n,a,o,s){var c=Aa(e,r),l=Aa(t,r),u=s.get(l);if(u)return void en(e,r,u);var d=o?o(c,l,r+"",e,t,s):i,p=d===i;if(p){var f=Ho(l),m=!f&&$o(l),g=!f&&!m&&us(l);d=l,f||m||g?Ho(c)?d=c:Go(c)?d=Ni(c):m?(p=!1,d=wi(l,!0)):g?(p=!1,d=Ei(l,!0)):d=[]:as(l)||Vo(l)?(d=c,Vo(c)?d=ys(c):ts(c)&&!Qo(c)||(d=ha(l))):p=!1}p&&(s.set(l,d),a(d,l,n,o,s),s.delete(l));en(e,r,d)}(e,t,s,r,Jn,n,a);else{var c=n?n(Aa(e,s),o,s+"",e,t,a):i;c===i&&(c=o),en(e,s,c)}}),Fs)}function Vn(e,t){var r=e.length;if(r)return va(t+=t<0?r:0,r)?e[t]:i}function Hn(e,t,r){t=t.length?Rt(t,(function(e){return Ho(e)?function(t){return wn(t,1===e.length?e[0]:e)}:e})):[ic];var n=-1;t=Rt(t,Zt(la()));var i=zn(e,(function(e,r,i){var a=Rt(t,(function(t){return t(e)}));return{criteria:a,index:++n,value:e}}));return function(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e}(i,(function(e,t){return function(e,t,r){var n=-1,i=e.criteria,a=t.criteria,o=i.length,s=r.length;for(;++n<o;){var c=Ti(i[n],a[n]);if(c)return n>=s?c:c*("desc"==r[n]?-1:1)}return e.index-t.index}(e,t,r)}))}function Kn(e,t,r){for(var n=-1,i=t.length,a={};++n<i;){var o=t[n],s=wn(e,o);r(s,o)&&ei(a,bi(o,e),s)}return a}function Wn(e,t,r,n){var i=n?Vt:Jt,a=-1,o=t.length,s=e;for(e===t&&(t=Ni(t)),r&&(s=Rt(e,Zt(r)));++a<o;)for(var c=0,l=t[a],u=r?r(l):l;(c=i(s,u,c,n))>-1;)s!==e&&Ye.call(s,c,1),Ye.call(e,c,1);return e}function Gn(e,t){for(var r=e?t.length:0,n=r-1;r--;){var i=t[r];if(r==n||i!==a){var a=i;va(i)?Ye.call(e,i,1):pi(e,i)}}return e}function $n(e,t){return e+_t(xr()*(t-e+1))}function Yn(e,t){var r="";if(!e||t<1||t>m)return r;do{t%2&&(r+=e),(t=_t(t/2))&&(e+=e)}while(t);return r}function Xn(e,t){return Ia(Ta(e,t,ic),e+"")}function Qn(e){return Xr(Us(e))}function Zn(e,t){var r=Us(e);return Ra(r,cn(t,0,r.length))}function ei(e,t,r,n){if(!ts(e))return e;for(var a=-1,o=(t=bi(t,e)).length,s=o-1,c=e;null!=c&&++a<o;){var l=La(t[a]),u=r;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(a!=s){var d=c[l];(u=n?n(d,l,c):i)===i&&(u=ts(d)?d:va(t[a+1])?[]:{})}tn(c,l,u),c=c[l]}return e}var ti=Nr?function(e,t){return Nr.set(e,t),e}:ic,ri=rt?function(e,t){return rt(e,"toString",{configurable:!0,enumerable:!1,value:tc(t),writable:!0})}:ic;function ni(e){return Ra(Us(e))}function ii(e,t,r){var i=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(r=r>a?a:r)<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;for(var o=n(a);++i<a;)o[i]=e[i+t];return o}function ai(e,t){var r;return fn(e,(function(e,n,i){return!(r=t(e,n,i))})),!!r}function oi(e,t,r){var n=0,i=null==e?n:e.length;if("number"==typeof t&&t==t&&i<=2147483647){for(;n<i;){var a=n+i>>>1,o=e[a];null!==o&&!ls(o)&&(r?o<=t:o<t)?n=a+1:i=a}return i}return si(e,t,ic,r)}function si(e,t,r,n){var a=0,o=null==e?0:e.length;if(0===o)return 0;for(var s=(t=r(t))!=t,c=null===t,l=ls(t),u=t===i;a<o;){var d=_t((a+o)/2),p=r(e[d]),f=p!==i,m=null===p,g=p==p,_=ls(p);if(s)var h=n||g;else h=u?g&&(n||f):c?g&&f&&(n||!m):l?g&&f&&!m&&(n||!_):!m&&!_&&(n?p<=t:p<t);h?a=d+1:o=d}return vr(o,4294967294)}function ci(e,t){for(var r=-1,n=e.length,i=0,a=[];++r<n;){var o=e[r],s=t?t(o):o;if(!r||!Uo(s,c)){var c=s;a[i++]=0===o?0:o}}return a}function li(e){return"number"==typeof e?e:ls(e)?g:+e}function ui(e){if("string"==typeof e)return e;if(Ho(e))return Rt(e,ui)+"";if(ls(e))return Br?Br.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function di(e,t,r){var n=-1,i=Ft,a=e.length,o=!0,s=[],c=s;if(r)o=!1,i=Ot;else if(a>=200){var l=t?null:Yi(e);if(l)return dr(l);o=!1,i=tr,c=new Gr}else c=t?[]:s;e:for(;++n<a;){var u=e[n],d=t?t(u):u;if(u=r||0!==u?u:0,o&&d==d){for(var p=c.length;p--;)if(c[p]===d)continue e;t&&c.push(d),s.push(u)}else i(c,d,r)||(c!==s&&c.push(d),s.push(u))}return s}function pi(e,t){return null==(e=Ca(e,t=bi(t,e)))||delete e[La(Ya(t))]}function fi(e,t,r,n){return ei(e,t,r(wn(e,t)),n)}function mi(e,t,r,n){for(var i=e.length,a=n?i:-1;(n?a--:++a<i)&&t(e[a],a,e););return r?ii(e,n?0:a,n?a+1:i):ii(e,n?a+1:0,n?i:a)}function gi(e,t){var r=e;return r instanceof Vr&&(r=r.value()),Lt(t,(function(e,t){return t.func.apply(t.thisArg,Mt([e],t.args))}),r)}function _i(e,t,r){var i=e.length;if(i<2)return i?di(e[0]):[];for(var a=-1,o=n(i);++a<i;)for(var s=e[a],c=-1;++c<i;)c!=a&&(o[a]=pn(o[a]||s,e[c],t,r));return di(yn(o,1),t,r)}function hi(e,t,r){for(var n=-1,a=e.length,o=t.length,s={};++n<a;){var c=n<o?t[n]:i;r(s,e[n],c)}return s}function yi(e){return Go(e)?e:[]}function vi(e){return"function"==typeof e?e:ic}function bi(e,t){return Ho(e)?e:ka(e,t)?[e]:Ma(vs(e))}var ki=Xn;function xi(e,t,r){var n=e.length;return r=r===i?n:r,!t&&r>=n?e:ii(e,t,r)}var Si=it||function(e){return gt.clearTimeout(e)};function wi(e,t){if(t)return e.slice();var r=e.length,n=Ke?Ke(r):new e.constructor(r);return e.copy(n),n}function Di(e){var t=new e.constructor(e.byteLength);return new He(t).set(new He(e)),t}function Ei(e,t){var r=t?Di(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function Ti(e,t){if(e!==t){var r=e!==i,n=null===e,a=e==e,o=ls(e),s=t!==i,c=null===t,l=t==t,u=ls(t);if(!c&&!u&&!o&&e>t||o&&s&&l&&!c&&!u||n&&s&&l||!r&&l||!a)return 1;if(!n&&!o&&!u&&e<t||u&&r&&a&&!n&&!o||c&&r&&a||!s&&a||!l)return-1}return 0}function Ci(e,t,r,i){for(var a=-1,o=e.length,s=r.length,c=-1,l=t.length,u=yr(o-s,0),d=n(l+u),p=!i;++c<l;)d[c]=t[c];for(;++a<s;)(p||a<o)&&(d[r[a]]=e[a]);for(;u--;)d[c++]=e[a++];return d}function Ai(e,t,r,i){for(var a=-1,o=e.length,s=-1,c=r.length,l=-1,u=t.length,d=yr(o-c,0),p=n(d+u),f=!i;++a<d;)p[a]=e[a];for(var m=a;++l<u;)p[m+l]=t[l];for(;++s<c;)(f||a<o)&&(p[m+r[s]]=e[a++]);return p}function Ni(e,t){var r=-1,i=e.length;for(t||(t=n(i));++r<i;)t[r]=e[r];return t}function Pi(e,t,r,n){var a=!r;r||(r={});for(var o=-1,s=t.length;++o<s;){var c=t[o],l=n?n(r[c],e[c],c,r,e):i;l===i&&(l=e[c]),a?on(r,c,l):tn(r,c,l)}return r}function Ii(e,t){return function(r,n){var i=Ho(r)?Ct:nn,a=t?t():{};return i(r,e,la(n,2),a)}}function Fi(e){return Xn((function(t,r){var n=-1,a=r.length,o=a>1?r[a-1]:i,s=a>2?r[2]:i;for(o=e.length>3&&"function"==typeof o?(a--,o):i,s&&ba(r[0],r[1],s)&&(o=a<3?i:o,a=1),t=Te(t);++n<a;){var c=r[n];c&&e(t,c,n,o)}return t}))}function Oi(e,t){return function(r,n){if(null==r)return r;if(!Wo(r))return e(r,n);for(var i=r.length,a=t?i:-1,o=Te(r);(t?a--:++a<i)&&!1!==n(o[a],a,o););return r}}function Ri(e){return function(t,r,n){for(var i=-1,a=Te(t),o=n(t),s=o.length;s--;){var c=o[e?s:++i];if(!1===r(a[c],c,a))break}return t}}function Mi(e){return function(t){var r=sr(t=vs(t))?mr(t):i,n=r?r[0]:t.charAt(0),a=r?xi(r,1).join(""):t.slice(1);return n[e]()+a}}function Li(e){return function(t){return Lt(Qs(Vs(t).replace(et,"")),e,"")}}function ji(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 r=Ur(e.prototype),n=e.apply(r,t);return ts(n)?n:r}}function Bi(e){return function(t,r,n){var a=Te(t);if(!Wo(t)){var o=la(r,3);t=Is(t),r=function(e){return o(a[e],e,a)}}var s=e(t,r,n);return s>-1?a[o?t[s]:s]:i}}function zi(e){return na((function(t){var r=t.length,n=r,o=Jr.prototype.thru;for(e&&t.reverse();n--;){var s=t[n];if("function"!=typeof s)throw new Ne(a);if(o&&!c&&"wrapper"==sa(s))var c=new Jr([],!0)}for(n=c?n:r;++n<r;){var l=sa(s=t[n]),u="wrapper"==l?oa(s):i;c=u&&xa(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?c[sa(u[0])].apply(c,u[3]):1==s.length&&xa(s)?c[l]():c.thru(s)}return function(){var e=arguments,n=e[0];if(c&&1==e.length&&Ho(n))return c.plant(n).value();for(var i=0,a=r?t[i].apply(this,e):n;++i<r;)a=t[i].call(this,a);return a}}))}function Ui(e,t,r,a,o,s,c,l,u,p){var f=t&d,m=1&t,g=2&t,_=24&t,h=512&t,y=g?i:ji(e);return function d(){for(var v=arguments.length,b=n(v),k=v;k--;)b[k]=arguments[k];if(_)var x=ca(d),S=function(e,t){for(var r=e.length,n=0;r--;)e[r]===t&&++n;return n}(b,x);if(a&&(b=Ci(b,a,o,_)),s&&(b=Ai(b,s,c,_)),v-=S,_&&v<p){var w=ur(b,x);return Gi(e,t,Ui,d.placeholder,r,b,w,l,u,p-v)}var D=m?r:this,E=g?D[e]:e;return v=b.length,l?b=function(e,t){var r=e.length,n=vr(t.length,r),a=Ni(e);for(;n--;){var o=t[n];e[n]=va(o,r)?a[o]:i}return e}(b,l):h&&v>1&&b.reverse(),f&&u<v&&(b.length=u),this&&this!==gt&&this instanceof d&&(E=y||ji(E)),E.apply(D,b)}}function qi(e,t){return function(r,n){return function(e,t,r,n){return kn(e,(function(e,i,a){t(n,r(e),i,a)})),n}(r,e,t(n),{})}}function Ji(e,t){return function(r,n){var a;if(r===i&&n===i)return t;if(r!==i&&(a=r),n!==i){if(a===i)return n;"string"==typeof r||"string"==typeof n?(r=ui(r),n=ui(n)):(r=li(r),n=li(n)),a=e(r,n)}return a}}function Vi(e){return na((function(t){return t=Rt(t,Zt(la())),Xn((function(r){var n=this;return e(t,(function(e){return Tt(e,n,r)}))}))}))}function Hi(e,t){var r=(t=t===i?" ":ui(t)).length;if(r<2)return r?Yn(t,e):t;var n=Yn(t,mt(e/fr(t)));return sr(t)?xi(mr(n),0,e).join(""):n.slice(0,e)}function Ki(e){return function(t,r,a){return a&&"number"!=typeof a&&ba(t,r,a)&&(r=a=i),t=ms(t),r===i?(r=t,t=0):r=ms(r),function(e,t,r,i){for(var a=-1,o=yr(mt((t-e)/(r||1)),0),s=n(o);o--;)s[i?o:++a]=e,e+=r;return s}(t,r,a=a===i?t<r?1:-1:ms(a),e)}}function Wi(e){return function(t,r){return"string"==typeof t&&"string"==typeof r||(t=hs(t),r=hs(r)),e(t,r)}}function Gi(e,t,r,n,a,o,s,c,d,p){var f=8&t;t|=f?l:u,4&(t&=~(f?u:l))||(t&=-4);var m=[e,t,a,f?o:i,f?s:i,f?i:o,f?i:s,c,d,p],g=r.apply(i,m);return xa(e)&&Na(g,m),g.placeholder=n,Fa(g,e,t)}function $i(e){var t=Ee[e];return function(e,r){if(e=hs(e),(r=null==r?0:vr(gs(r),292))&&bt(e)){var n=(vs(e)+"e").split("e");return+((n=(vs(t(n[0]+"e"+(+n[1]+r)))+"e").split("e"))[0]+"e"+(+n[1]-r))}return t(e)}}var Yi=Tr&&1/dr(new Tr([,-0]))[1]==f?function(e){return new Tr(e)}:lc;function Xi(e){return function(t){var r=ga(t);return r==D?cr(t):r==N?pr(t):function(e,t){return Rt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Qi(e,t,r,o,f,m,g,_){var h=2&t;if(!h&&"function"!=typeof e)throw new Ne(a);var y=o?o.length:0;if(y||(t&=-97,o=f=i),g=g===i?g:yr(gs(g),0),_=_===i?_:gs(_),y-=f?f.length:0,t&u){var v=o,b=f;o=f=i}var k=h?i:oa(e),x=[e,t,r,o,f,v,b,m,g,_];if(k&&function(e,t){var r=e[1],n=t[1],i=r|n,a=i<131,o=n==d&&8==r||n==d&&r==p&&e[7].length<=t[8]||384==n&&t[7].length<=t[8]&&8==r;if(!a&&!o)return e;1&n&&(e[2]=t[2],i|=1&r?0:4);var c=t[3];if(c){var l=e[3];e[3]=l?Ci(l,c,t[4]):c,e[4]=l?ur(e[3],s):t[4]}(c=t[5])&&(l=e[5],e[5]=l?Ai(l,c,t[6]):c,e[6]=l?ur(e[5],s):t[6]);(c=t[7])&&(e[7]=c);n&d&&(e[8]=null==e[8]?t[8]:vr(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=i}(x,k),e=x[0],t=x[1],r=x[2],o=x[3],f=x[4],!(_=x[9]=x[9]===i?h?0:e.length:yr(x[9]-y,0))&&24&t&&(t&=-25),t&&1!=t)S=8==t||t==c?function(e,t,r){var a=ji(e);return function o(){for(var s=arguments.length,c=n(s),l=s,u=ca(o);l--;)c[l]=arguments[l];var d=s<3&&c[0]!==u&&c[s-1]!==u?[]:ur(c,u);return(s-=d.length)<r?Gi(e,t,Ui,o.placeholder,i,c,d,i,i,r-s):Tt(this&&this!==gt&&this instanceof o?a:e,this,c)}}(e,t,_):t!=l&&33!=t||f.length?Ui.apply(i,x):function(e,t,r,i){var a=1&t,o=ji(e);return function t(){for(var s=-1,c=arguments.length,l=-1,u=i.length,d=n(u+c),p=this&&this!==gt&&this instanceof t?o:e;++l<u;)d[l]=i[l];for(;c--;)d[l++]=arguments[++s];return Tt(p,a?r:this,d)}}(e,t,r,o);else var S=function(e,t,r){var n=1&t,i=ji(e);return function t(){return(this&&this!==gt&&this instanceof t?i:e).apply(n?r:this,arguments)}}(e,t,r);return Fa((k?ti:Na)(S,x),e,t)}function Zi(e,t,r,n){return e===i||Uo(e,Fe[r])&&!Me.call(n,r)?t:e}function ea(e,t,r,n,a,o){return ts(e)&&ts(t)&&(o.set(t,e),Jn(e,t,i,ea,o),o.delete(t)),e}function ta(e){return as(e)?i:e}function ra(e,t,r,n,a,o){var s=1&r,c=e.length,l=t.length;if(c!=l&&!(s&&l>c))return!1;var u=o.get(e),d=o.get(t);if(u&&d)return u==t&&d==e;var p=-1,f=!0,m=2&r?new Gr:i;for(o.set(e,t),o.set(t,e);++p<c;){var g=e[p],_=t[p];if(n)var h=s?n(_,g,p,t,e,o):n(g,_,p,e,t,o);if(h!==i){if(h)continue;f=!1;break}if(m){if(!Bt(t,(function(e,t){if(!tr(m,t)&&(g===e||a(g,e,r,n,o)))return m.push(t)}))){f=!1;break}}else if(g!==_&&!a(g,_,r,n,o)){f=!1;break}}return o.delete(e),o.delete(t),f}function na(e){return Ia(Ta(e,i,Ha),e+"")}function ia(e){return Dn(e,Is,fa)}function aa(e){return Dn(e,Fs,ma)}var oa=Nr?function(e){return Nr.get(e)}:lc;function sa(e){for(var t=e.name+"",r=Pr[t],n=Me.call(Pr,t)?r.length:0;n--;){var i=r[n],a=i.func;if(null==a||a==e)return i.name}return t}function ca(e){return(Me.call(zr,"placeholder")?zr:e).placeholder}function la(){var e=zr.iteratee||ac;return e=e===ac?Mn:e,arguments.length?e(arguments[0],arguments[1]):e}function ua(e,t){var r,n,i=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?i["string"==typeof t?"string":"hash"]:i.map}function da(e){for(var t=Is(e),r=t.length;r--;){var n=t[r],i=e[n];t[r]=[n,i,Da(i)]}return t}function pa(e,t){var r=function(e,t){return null==e?i:e[t]}(e,t);return Rn(r)?r:i}var fa=ht?function(e){return null==e?[]:(e=Te(e),It(ht(e),(function(t){return $e.call(e,t)})))}:_c,ma=ht?function(e){for(var t=[];e;)Mt(t,fa(e)),e=We(e);return t}:_c,ga=En;function _a(e,t,r){for(var n=-1,i=(t=bi(t,e)).length,a=!1;++n<i;){var o=La(t[n]);if(!(a=null!=e&&r(e,o)))break;e=e[o]}return a||++n!=i?a:!!(i=null==e?0:e.length)&&es(i)&&va(o,i)&&(Ho(e)||Vo(e))}function ha(e){return"function"!=typeof e.constructor||wa(e)?{}:Ur(We(e))}function ya(e){return Ho(e)||Vo(e)||!!(Xe&&e&&e[Xe])}function va(e,t){var r=typeof e;return!!(t=null==t?m:t)&&("number"==r||"symbol"!=r&&be.test(e))&&e>-1&&e%1==0&&e<t}function ba(e,t,r){if(!ts(r))return!1;var n=typeof t;return!!("number"==n?Wo(r)&&va(t,r.length):"string"==n&&t in r)&&Uo(r[t],e)}function ka(e,t){if(Ho(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!ls(e))||(re.test(e)||!te.test(e)||null!=t&&e in Te(t))}function xa(e){var t=sa(e),r=zr[t];if("function"!=typeof r||!(t in Vr.prototype))return!1;if(e===r)return!0;var n=oa(r);return!!n&&e===n[0]}(wr&&ga(new wr(new ArrayBuffer(1)))!=R||Dr&&ga(new Dr)!=D||Er&&ga(Er.resolve())!=C||Tr&&ga(new Tr)!=N||Cr&&ga(new Cr)!=F)&&(ga=function(e){var t=En(e),r=t==T?e.constructor:i,n=r?ja(r):"";if(n)switch(n){case Ir:return R;case Fr:return D;case Or:return C;case Rr:return N;case Mr:return F}return t});var Sa=Oe?Qo:hc;function wa(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Fe)}function Da(e){return e==e&&!ts(e)}function Ea(e,t){return function(r){return null!=r&&(r[e]===t&&(t!==i||e in Te(r)))}}function Ta(e,t,r){return t=yr(t===i?e.length-1:t,0),function(){for(var i=arguments,a=-1,o=yr(i.length-t,0),s=n(o);++a<o;)s[a]=i[t+a];a=-1;for(var c=n(t+1);++a<t;)c[a]=i[a];return c[t]=r(s),Tt(e,this,c)}}function Ca(e,t){return t.length<2?e:wn(e,ii(t,0,-1))}function Aa(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Na=Oa(ti),Pa=ft||function(e,t){return gt.setTimeout(e,t)},Ia=Oa(ri);function Fa(e,t,r){var n=t+"";return Ia(e,function(e,t){var r=t.length;if(!r)return e;var n=r-1;return t[n]=(r>1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(ce,"{\n/* [wrapped with "+t+"] */\n")}(n,function(e,t){return At(h,(function(r){var n="_."+r[0];t&r[1]&&!Ft(e,n)&&e.push(n)})),e.sort()}(function(e){var t=e.match(le);return t?t[1].split(ue):[]}(n),r)))}function Oa(e){var t=0,r=0;return function(){var n=br(),a=16-(n-r);if(r=n,a>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(i,arguments)}}function Ra(e,t){var r=-1,n=e.length,a=n-1;for(t=t===i?n:t;++r<t;){var o=$n(r,a),s=e[o];e[o]=e[r],e[r]=s}return e.length=t,e}var Ma=function(e){var t=Ro(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(ne,(function(e,r,n,i){t.push(n?i.replace(fe,"$1"):r||e)})),t}));function La(e){if("string"==typeof e||ls(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function ja(e){if(null!=e){try{return Re.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Ba(e){if(e instanceof Vr)return e.clone();var t=new Jr(e.__wrapped__,e.__chain__);return t.__actions__=Ni(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var za=Xn((function(e,t){return Go(e)?pn(e,yn(t,1,Go,!0)):[]})),Ua=Xn((function(e,t){var r=Ya(t);return Go(r)&&(r=i),Go(e)?pn(e,yn(t,1,Go,!0),la(r,2)):[]})),qa=Xn((function(e,t){var r=Ya(t);return Go(r)&&(r=i),Go(e)?pn(e,yn(t,1,Go,!0),i,r):[]}));function Ja(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=null==r?0:gs(r);return i<0&&(i=yr(n+i,0)),qt(e,la(t,3),i)}function Va(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var a=n-1;return r!==i&&(a=gs(r),a=r<0?yr(n+a,0):vr(a,n-1)),qt(e,la(t,3),a,!0)}function Ha(e){return(null==e?0:e.length)?yn(e,1):[]}function Ka(e){return e&&e.length?e[0]:i}var Wa=Xn((function(e){var t=Rt(e,yi);return t.length&&t[0]===e[0]?Nn(t):[]})),Ga=Xn((function(e){var t=Ya(e),r=Rt(e,yi);return t===Ya(r)?t=i:r.pop(),r.length&&r[0]===e[0]?Nn(r,la(t,2)):[]})),$a=Xn((function(e){var t=Ya(e),r=Rt(e,yi);return(t="function"==typeof t?t:i)&&r.pop(),r.length&&r[0]===e[0]?Nn(r,i,t):[]}));function Ya(e){var t=null==e?0:e.length;return t?e[t-1]:i}var Xa=Xn(Qa);function Qa(e,t){return e&&e.length&&t&&t.length?Wn(e,t):e}var Za=na((function(e,t){var r=null==e?0:e.length,n=sn(e,t);return Gn(e,Rt(t,(function(e){return va(e,r)?+e:e})).sort(Ti)),n}));function eo(e){return null==e?e:Sr.call(e)}var to=Xn((function(e){return di(yn(e,1,Go,!0))})),ro=Xn((function(e){var t=Ya(e);return Go(t)&&(t=i),di(yn(e,1,Go,!0),la(t,2))})),no=Xn((function(e){var t=Ya(e);return t="function"==typeof t?t:i,di(yn(e,1,Go,!0),i,t)}));function io(e){if(!e||!e.length)return[];var t=0;return e=It(e,(function(e){if(Go(e))return t=yr(e.length,t),!0})),Xt(t,(function(t){return Rt(e,Wt(t))}))}function ao(e,t){if(!e||!e.length)return[];var r=io(e);return null==t?r:Rt(r,(function(e){return Tt(t,i,e)}))}var oo=Xn((function(e,t){return Go(e)?pn(e,t):[]})),so=Xn((function(e){return _i(It(e,Go))})),co=Xn((function(e){var t=Ya(e);return Go(t)&&(t=i),_i(It(e,Go),la(t,2))})),lo=Xn((function(e){var t=Ya(e);return t="function"==typeof t?t:i,_i(It(e,Go),i,t)})),uo=Xn(io);var po=Xn((function(e){var t=e.length,r=t>1?e[t-1]:i;return r="function"==typeof r?(e.pop(),r):i,ao(e,r)}));function fo(e){var t=zr(e);return t.__chain__=!0,t}function mo(e,t){return t(e)}var go=na((function(e){var t=e.length,r=t?e[0]:0,n=this.__wrapped__,a=function(t){return sn(t,e)};return!(t>1||this.__actions__.length)&&n instanceof Vr&&va(r)?((n=n.slice(r,+r+(t?1:0))).__actions__.push({func:mo,args:[a],thisArg:i}),new Jr(n,this.__chain__).thru((function(e){return t&&!e.length&&e.push(i),e}))):this.thru(a)}));var _o=Ii((function(e,t,r){Me.call(e,r)?++e[r]:on(e,r,1)}));var ho=Bi(Ja),yo=Bi(Va);function vo(e,t){return(Ho(e)?At:fn)(e,la(t,3))}function bo(e,t){return(Ho(e)?Nt:mn)(e,la(t,3))}var ko=Ii((function(e,t,r){Me.call(e,r)?e[r].push(t):on(e,r,[t])}));var xo=Xn((function(e,t,r){var i=-1,a="function"==typeof t,o=Wo(e)?n(e.length):[];return fn(e,(function(e){o[++i]=a?Tt(t,e,r):Pn(e,t,r)})),o})),So=Ii((function(e,t,r){on(e,r,t)}));function wo(e,t){return(Ho(e)?Rt:zn)(e,la(t,3))}var Do=Ii((function(e,t,r){e[r?0:1].push(t)}),(function(){return[[],[]]}));var Eo=Xn((function(e,t){if(null==e)return[];var r=t.length;return r>1&&ba(e,t[0],t[1])?t=[]:r>2&&ba(t[0],t[1],t[2])&&(t=[t[0]]),Hn(e,yn(t,1),[])})),To=ut||function(){return gt.Date.now()};function Co(e,t,r){return t=r?i:t,t=e&&null==t?e.length:t,Qi(e,d,i,i,i,i,t)}function Ao(e,t){var r;if("function"!=typeof t)throw new Ne(a);return e=gs(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=i),r}}var No=Xn((function(e,t,r){var n=1;if(r.length){var i=ur(r,ca(No));n|=l}return Qi(e,n,t,r,i)})),Po=Xn((function(e,t,r){var n=3;if(r.length){var i=ur(r,ca(Po));n|=l}return Qi(t,n,e,r,i)}));function Io(e,t,r){var n,o,s,c,l,u,d=0,p=!1,f=!1,m=!0;if("function"!=typeof e)throw new Ne(a);function g(t){var r=n,a=o;return n=o=i,d=t,c=e.apply(a,r)}function _(e){var r=e-u;return u===i||r>=t||r<0||f&&e-d>=s}function h(){var e=To();if(_(e))return y(e);l=Pa(h,function(e){var r=t-(e-u);return f?vr(r,s-(e-d)):r}(e))}function y(e){return l=i,m&&n?g(e):(n=o=i,c)}function v(){var e=To(),r=_(e);if(n=arguments,o=this,u=e,r){if(l===i)return function(e){return d=e,l=Pa(h,t),p?g(e):c}(u);if(f)return Si(l),l=Pa(h,t),g(u)}return l===i&&(l=Pa(h,t)),c}return t=hs(t)||0,ts(r)&&(p=!!r.leading,s=(f="maxWait"in r)?yr(hs(r.maxWait)||0,t):s,m="trailing"in r?!!r.trailing:m),v.cancel=function(){l!==i&&Si(l),d=0,n=u=o=l=i},v.flush=function(){return l===i?c:y(To())},v}var Fo=Xn((function(e,t){return dn(e,1,t)})),Oo=Xn((function(e,t,r){return dn(e,hs(t)||0,r)}));function Ro(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ne(a);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var o=e.apply(this,n);return r.cache=a.set(i,o)||a,o};return r.cache=new(Ro.Cache||Wr),r}function Mo(e){if("function"!=typeof e)throw new Ne(a);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)}}Ro.Cache=Wr;var Lo=ki((function(e,t){var r=(t=1==t.length&&Ho(t[0])?Rt(t[0],Zt(la())):Rt(yn(t,1),Zt(la()))).length;return Xn((function(n){for(var i=-1,a=vr(n.length,r);++i<a;)n[i]=t[i].call(this,n[i]);return Tt(e,this,n)}))})),jo=Xn((function(e,t){var r=ur(t,ca(jo));return Qi(e,l,i,t,r)})),Bo=Xn((function(e,t){var r=ur(t,ca(Bo));return Qi(e,u,i,t,r)})),zo=na((function(e,t){return Qi(e,p,i,i,i,t)}));function Uo(e,t){return e===t||e!=e&&t!=t}var qo=Wi(Tn),Jo=Wi((function(e,t){return e>=t})),Vo=In(function(){return arguments}())?In:function(e){return rs(e)&&Me.call(e,"callee")&&!$e.call(e,"callee")},Ho=n.isArray,Ko=kt?Zt(kt):function(e){return rs(e)&&En(e)==O};function Wo(e){return null!=e&&es(e.length)&&!Qo(e)}function Go(e){return rs(e)&&Wo(e)}var $o=vt||hc,Yo=xt?Zt(xt):function(e){return rs(e)&&En(e)==k};function Xo(e){if(!rs(e))return!1;var t=En(e);return t==x||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!as(e)}function Qo(e){if(!ts(e))return!1;var t=En(e);return t==S||t==w||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Zo(e){return"number"==typeof e&&e==gs(e)}function es(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=m}function ts(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function rs(e){return null!=e&&"object"==typeof e}var ns=St?Zt(St):function(e){return rs(e)&&ga(e)==D};function is(e){return"number"==typeof e||rs(e)&&En(e)==E}function as(e){if(!rs(e)||En(e)!=T)return!1;var t=We(e);if(null===t)return!0;var r=Me.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Re.call(r)==ze}var os=wt?Zt(wt):function(e){return rs(e)&&En(e)==A};var ss=Dt?Zt(Dt):function(e){return rs(e)&&ga(e)==N};function cs(e){return"string"==typeof e||!Ho(e)&&rs(e)&&En(e)==P}function ls(e){return"symbol"==typeof e||rs(e)&&En(e)==I}var us=Et?Zt(Et):function(e){return rs(e)&&es(e.length)&&!!ct[En(e)]};var ds=Wi(Bn),ps=Wi((function(e,t){return e<=t}));function fs(e){if(!e)return[];if(Wo(e))return cs(e)?mr(e):Ni(e);if(Qe&&e[Qe])return function(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}(e[Qe]());var t=ga(e);return(t==D?cr:t==N?dr:Us)(e)}function ms(e){return e?(e=hs(e))===f||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function gs(e){var t=ms(e),r=t%1;return t==t?r?t-r:t:0}function _s(e){return e?cn(gs(e),0,_):0}function hs(e){if("number"==typeof e)return e;if(ls(e))return g;if(ts(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ts(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Qt(e);var r=he.test(e);return r||ve.test(e)?pt(e.slice(2),r?2:8):_e.test(e)?g:+e}function ys(e){return Pi(e,Fs(e))}function vs(e){return null==e?"":ui(e)}var bs=Fi((function(e,t){if(wa(t)||Wo(t))Pi(t,Is(t),e);else for(var r in t)Me.call(t,r)&&tn(e,r,t[r])})),ks=Fi((function(e,t){Pi(t,Fs(t),e)})),xs=Fi((function(e,t,r,n){Pi(t,Fs(t),e,n)})),Ss=Fi((function(e,t,r,n){Pi(t,Is(t),e,n)})),ws=na(sn);var Ds=Xn((function(e,t){e=Te(e);var r=-1,n=t.length,a=n>2?t[2]:i;for(a&&ba(t[0],t[1],a)&&(n=1);++r<n;)for(var o=t[r],s=Fs(o),c=-1,l=s.length;++c<l;){var u=s[c],d=e[u];(d===i||Uo(d,Fe[u])&&!Me.call(e,u))&&(e[u]=o[u])}return e})),Es=Xn((function(e){return e.push(i,ea),Tt(Rs,i,e)}));function Ts(e,t,r){var n=null==e?i:wn(e,t);return n===i?r:n}function Cs(e,t){return null!=e&&_a(e,t,An)}var As=qi((function(e,t,r){null!=t&&"function"!=typeof t.toString&&(t=Be.call(t)),e[t]=r}),tc(ic)),Ns=qi((function(e,t,r){null!=t&&"function"!=typeof t.toString&&(t=Be.call(t)),Me.call(e,t)?e[t].push(r):e[t]=[r]}),la),Ps=Xn(Pn);function Is(e){return Wo(e)?Yr(e):Ln(e)}function Fs(e){return Wo(e)?Yr(e,!0):jn(e)}var Os=Fi((function(e,t,r){Jn(e,t,r)})),Rs=Fi((function(e,t,r,n){Jn(e,t,r,n)})),Ms=na((function(e,t){var r={};if(null==e)return r;var n=!1;t=Rt(t,(function(t){return t=bi(t,e),n||(n=t.length>1),t})),Pi(e,aa(e),r),n&&(r=ln(r,7,ta));for(var i=t.length;i--;)pi(r,t[i]);return r}));var Ls=na((function(e,t){return null==e?{}:function(e,t){return Kn(e,t,(function(t,r){return Cs(e,r)}))}(e,t)}));function js(e,t){if(null==e)return{};var r=Rt(aa(e),(function(e){return[e]}));return t=la(t),Kn(e,r,(function(e,r){return t(e,r[0])}))}var Bs=Xi(Is),zs=Xi(Fs);function Us(e){return null==e?[]:er(e,Is(e))}var qs=Li((function(e,t,r){return t=t.toLowerCase(),e+(r?Js(t):t)}));function Js(e){return Xs(vs(e).toLowerCase())}function Vs(e){return(e=vs(e))&&e.replace(ke,ir).replace(tt,"")}var Hs=Li((function(e,t,r){return e+(r?"-":"")+t.toLowerCase()})),Ks=Li((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()})),Ws=Mi("toLowerCase");var Gs=Li((function(e,t,r){return e+(r?"_":"")+t.toLowerCase()}));var $s=Li((function(e,t,r){return e+(r?" ":"")+Xs(t)}));var Ys=Li((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),Xs=Mi("toUpperCase");function Qs(e,t,r){return e=vs(e),(t=r?i:t)===i?function(e){return at.test(e)}(e)?function(e){return e.match(nt)||[]}(e):function(e){return e.match(de)||[]}(e):e.match(t)||[]}var Zs=Xn((function(e,t){try{return Tt(e,i,t)}catch(e){return Xo(e)?e:new we(e)}})),ec=na((function(e,t){return At(t,(function(t){t=La(t),on(e,t,No(e[t],e))})),e}));function tc(e){return function(){return e}}var rc=zi(),nc=zi(!0);function ic(e){return e}function ac(e){return Mn("function"==typeof e?e:ln(e,1))}var oc=Xn((function(e,t){return function(r){return Pn(r,e,t)}})),sc=Xn((function(e,t){return function(r){return Pn(e,r,t)}}));function cc(e,t,r){var n=Is(t),i=Sn(t,n);null!=r||ts(t)&&(i.length||!n.length)||(r=t,t=e,e=this,i=Sn(t,Is(t)));var a=!(ts(r)&&"chain"in r&&!r.chain),o=Qo(e);return At(i,(function(r){var n=t[r];e[r]=n,o&&(e.prototype[r]=function(){var t=this.__chain__;if(a||t){var r=e(this.__wrapped__);return(r.__actions__=Ni(this.__actions__)).push({func:n,args:arguments,thisArg:e}),r.__chain__=t,r}return n.apply(e,Mt([this.value()],arguments))})})),e}function lc(){}var uc=Vi(Rt),dc=Vi(Pt),pc=Vi(Bt);function fc(e){return ka(e)?Wt(La(e)):function(e){return function(t){return wn(t,e)}}(e)}var mc=Ki(),gc=Ki(!0);function _c(){return[]}function hc(){return!1}var yc=Ji((function(e,t){return e+t}),0),vc=$i("ceil"),bc=Ji((function(e,t){return e/t}),1),kc=$i("floor");var xc,Sc=Ji((function(e,t){return e*t}),1),wc=$i("round"),Dc=Ji((function(e,t){return e-t}),0);return zr.after=function(e,t){if("function"!=typeof t)throw new Ne(a);return e=gs(e),function(){if(--e<1)return t.apply(this,arguments)}},zr.ary=Co,zr.assign=bs,zr.assignIn=ks,zr.assignInWith=xs,zr.assignWith=Ss,zr.at=ws,zr.before=Ao,zr.bind=No,zr.bindAll=ec,zr.bindKey=Po,zr.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ho(e)?e:[e]},zr.chain=fo,zr.chunk=function(e,t,r){t=(r?ba(e,t,r):t===i)?1:yr(gs(t),0);var a=null==e?0:e.length;if(!a||t<1)return[];for(var o=0,s=0,c=n(mt(a/t));o<a;)c[s++]=ii(e,o,o+=t);return c},zr.compact=function(e){for(var t=-1,r=null==e?0:e.length,n=0,i=[];++t<r;){var a=e[t];a&&(i[n++]=a)}return i},zr.concat=function(){var e=arguments.length;if(!e)return[];for(var t=n(e-1),r=arguments[0],i=e;i--;)t[i-1]=arguments[i];return Mt(Ho(r)?Ni(r):[r],yn(t,1))},zr.cond=function(e){var t=null==e?0:e.length,r=la();return e=t?Rt(e,(function(e){if("function"!=typeof e[1])throw new Ne(a);return[r(e[0]),e[1]]})):[],Xn((function(r){for(var n=-1;++n<t;){var i=e[n];if(Tt(i[0],this,r))return Tt(i[1],this,r)}}))},zr.conforms=function(e){return function(e){var t=Is(e);return function(r){return un(r,e,t)}}(ln(e,1))},zr.
constant
=tc,zr.countBy=_o,zr.create=function(e,t){var r=Ur(e);return null==t?r:an(r,t)},zr.curry=function e(t,r,n){var a=Qi(t,8,i,i,i,i,i,r=n?i:r);return a.placeholder=e.placeholder,a},zr.curryRight=function e(t,r,n){var a=Qi(t,c,i,i,i,i,i,r=n?i:r);return a.placeholder=e.placeholder,a},zr.debounce=Io,zr.defaults=Ds,zr.defaultsDeep=Es,zr.defer=Fo,zr.delay=Oo,zr.difference=za,zr.differenceBy=Ua,zr.differenceWith=qa,zr.drop=function(e,t,r){var n=null==e?0:e.length;return n?ii(e,(t=r||t===i?1:gs(t))<0?0:t,n):[]},zr.dropRight=function(e,t,r){var n=null==e?0:e.length;return n?ii(e,0,(t=n-(t=r||t===i?1:gs(t)))<0?0:t):[]},zr.dropRightWhile=function(e,t){return e&&e.length?mi(e,la(t,3),!0,!0):[]},zr.dropWhile=function(e,t){return e&&e.length?mi(e,la(t,3),!0):[]},zr.fill=function(e,t,r,n){var a=null==e?0:e.length;return a?(r&&"number"!=typeof r&&ba(e,t,r)&&(r=0,n=a),function(e,t,r,n){var a=e.length;for((r=gs(r))<0&&(r=-r>a?0:a+r),(n=n===i||n>a?a:gs(n))<0&&(n+=a),n=r>n?0:_s(n);r<n;)e[r++]=t;return e}(e,t,r,n)):[]},zr.filter=function(e,t){return(Ho(e)?It:hn)(e,la(t,3))},zr.flatMap=function(e,t){return yn(wo(e,t),1)},zr.flatMapDeep=function(e,t){return yn(wo(e,t),f)},zr.flatMapDepth=function(e,t,r){return r=r===i?1:gs(r),yn(wo(e,t),r)},zr.flatten=Ha,zr.flattenDeep=function(e){return(null==e?0:e.length)?yn(e,f):[]},zr.flattenDepth=function(e,t){return(null==e?0:e.length)?yn(e,t=t===i?1:gs(t)):[]},zr.flip=function(e){return Qi(e,512)},zr.flow=rc,zr.flowRight=nc,zr.fromPairs=function(e){for(var t=-1,r=null==e?0:e.length,n={};++t<r;){var i=e[t];n[i[0]]=i[1]}return n},zr.functions=function(e){return null==e?[]:Sn(e,Is(e))},zr.functionsIn=function(e){return null==e?[]:Sn(e,Fs(e))},zr.groupBy=ko,zr.initial=function(e){return(null==e?0:e.length)?ii(e,0,-1):[]},zr.intersection=Wa,zr.intersectionBy=Ga,zr.intersectionWith=$a,zr.invert=As,zr.invertBy=Ns,zr.invokeMap=xo,zr.iteratee=ac,zr.keyBy=So,zr.keys=Is,zr.keysIn=Fs,zr.map=wo,zr.mapKeys=function(e,t){var r={};return t=la(t,3),kn(e,(function(e,n,i){on(r,t(e,n,i),e)})),r},zr.mapValues=function(e,t){var r={};return t=la(t,3),kn(e,(function(e,n,i){on(r,n,t(e,n,i))})),r},zr.matches=function(e){return Un(ln(e,1))},zr.matchesProperty=function(e,t){return qn(e,ln(t,1))},zr.memoize=Ro,zr.merge=Os,zr.mergeWith=Rs,zr.method=oc,zr.methodOf=sc,zr.mixin=cc,zr.negate=Mo,zr.nthArg=function(e){return e=gs(e),Xn((function(t){return Vn(t,e)}))},zr.omit=Ms,zr.omitBy=function(e,t){return js(e,Mo(la(t)))},zr.once=function(e){return Ao(2,e)},zr.orderBy=function(e,t,r,n){return null==e?[]:(Ho(t)||(t=null==t?[]:[t]),Ho(r=n?i:r)||(r=null==r?[]:[r]),Hn(e,t,r))},zr.over=uc,zr.overArgs=Lo,zr.overEvery=dc,zr.overSome=pc,zr.partial=jo,zr.partialRight=Bo,zr.partition=Do,zr.pick=Ls,zr.pickBy=js,zr.property=fc,zr.propertyOf=function(e){return function(t){return null==e?i:wn(e,t)}},zr.pull=Xa,zr.pullAll=Qa,zr.pullAllBy=function(e,t,r){return e&&e.length&&t&&t.length?Wn(e,t,la(r,2)):e},zr.pullAllWith=function(e,t,r){return e&&e.length&&t&&t.length?Wn(e,t,i,r):e},zr.pullAt=Za,zr.range=mc,zr.rangeRight=gc,zr.rearg=zo,zr.reject=function(e,t){return(Ho(e)?It:hn)(e,Mo(la(t,3)))},zr.remove=function(e,t){var r=[];if(!e||!e.length)return r;var n=-1,i=[],a=e.length;for(t=la(t,3);++n<a;){var o=e[n];t(o,n,e)&&(r.push(o),i.push(n))}return Gn(e,i),r},zr.rest=function(e,t){if("function"!=typeof e)throw new Ne(a);return Xn(e,t=t===i?t:gs(t))},zr.reverse=eo,zr.sampleSize=function(e,t,r){return t=(r?ba(e,t,r):t===i)?1:gs(t),(Ho(e)?Qr:Zn)(e,t)},zr.set=function(e,t,r){return null==e?e:ei(e,t,r)},zr.setWith=function(e,t,r,n){return n="function"==typeof n?n:i,null==e?e:ei(e,t,r,n)},zr.shuffle=function(e){return(Ho(e)?Zr:ni)(e)},zr.slice=function(e,t,r){var n=null==e?0:e.length;return n?(r&&"number"!=typeof r&&ba(e,t,r)?(t=0,r=n):(t=null==t?0:gs(t),r=r===i?n:gs(r)),ii(e,t,r)):[]},zr.sortBy=Eo,zr.sortedUniq=function(e){return e&&e.length?ci(e):[]},zr.sortedUniqBy=function(e,t){return e&&e.length?ci(e,la(t,2)):[]},zr.split=function(e,t,r){return r&&"number"!=typeof r&&ba(e,t,r)&&(t=r=i),(r=r===i?_:r>>>0)?(e=vs(e))&&("string"==typeof t||null!=t&&!os(t))&&!(t=ui(t))&&sr(e)?xi(mr(e),0,r):e.split(t,r):[]},zr.spread=function(e,t){if("function"!=typeof e)throw new Ne(a);return t=null==t?0:yr(gs(t),0),Xn((function(r){var n=r[t],i=xi(r,0,t);return n&&Mt(i,n),Tt(e,this,i)}))},zr.tail=function(e){var t=null==e?0:e.length;return t?ii(e,1,t):[]},zr.take=function(e,t,r){return e&&e.length?ii(e,0,(t=r||t===i?1:gs(t))<0?0:t):[]},zr.takeRight=function(e,t,r){var n=null==e?0:e.length;return n?ii(e,(t=n-(t=r||t===i?1:gs(t)))<0?0:t,n):[]},zr.takeRightWhile=function(e,t){return e&&e.length?mi(e,la(t,3),!1,!0):[]},zr.takeWhile=function(e,t){return e&&e.length?mi(e,la(t,3)):[]},zr.tap=function(e,t){return t(e),e},zr.throttle=function(e,t,r){var n=!0,i=!0;if("function"!=typeof e)throw new Ne(a);return ts(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),Io(e,t,{leading:n,maxWait:t,trailing:i})},zr.thru=mo,zr.toArray=fs,zr.toPairs=Bs,zr.toPairsIn=zs,zr.toPath=function(e){return Ho(e)?Rt(e,La):ls(e)?[e]:Ni(Ma(vs(e)))},zr.toPlainObject=ys,zr.transform=function(e,t,r){var n=Ho(e),i=n||$o(e)||us(e);if(t=la(t,4),null==r){var a=e&&e.constructor;r=i?n?new a:[]:ts(e)&&Qo(a)?Ur(We(e)):{}}return(i?At:kn)(e,(function(e,n,i){return t(r,e,n,i)})),r},zr.unary=function(e){return Co(e,1)},zr.union=to,zr.unionBy=ro,zr.unionWith=no,zr.uniq=function(e){return e&&e.length?di(e):[]},zr.uniqBy=function(e,t){return e&&e.length?di(e,la(t,2)):[]},zr.uniqWith=function(e,t){return t="function"==typeof t?t:i,e&&e.length?di(e,i,t):[]},zr.unset=function(e,t){return null==e||pi(e,t)},zr.unzip=io,zr.unzipWith=ao,zr.update=function(e,t,r){return null==e?e:fi(e,t,vi(r))},zr.updateWith=function(e,t,r,n){return n="function"==typeof n?n:i,null==e?e:fi(e,t,vi(r),n)},zr.values=Us,zr.valuesIn=function(e){return null==e?[]:er(e,Fs(e))},zr.without=oo,zr.words=Qs,zr.wrap=function(e,t){return jo(vi(t),e)},zr.xor=so,zr.xorBy=co,zr.xorWith=lo,zr.zip=uo,zr.zipObject=function(e,t){return hi(e||[],t||[],tn)},zr.zipObjectDeep=function(e,t){return hi(e||[],t||[],ei)},zr.zipWith=po,zr.entries=Bs,zr.entriesIn=zs,zr.extend=ks,zr.extendWith=xs,cc(zr,zr),zr.add=yc,zr.attempt=Zs,zr.camelCase=qs,zr.capitalize=Js,zr.ceil=vc,zr.clamp=function(e,t,r){return r===i&&(r=t,t=i),r!==i&&(r=(r=hs(r))==r?r:0),t!==i&&(t=(t=hs(t))==t?t:0),cn(hs(e),t,r)},zr.clone=function(e){return ln(e,4)},zr.cloneDeep=function(e){return ln(e,5)},zr.cloneDeepWith=function(e,t){return ln(e,5,t="function"==typeof t?t:i)},zr.cloneWith=function(e,t){return ln(e,4,t="function"==typeof t?t:i)},zr.conformsTo=function(e,t){return null==t||un(e,t,Is(t))},zr.deburr=Vs,zr.defaultTo=function(e,t){return null==e||e!=e?t:e},zr.divide=bc,zr.endsWith=function(e,t,r){e=vs(e),t=ui(t);var n=e.length,a=r=r===i?n:cn(gs(r),0,n);return(r-=t.length)>=0&&e.slice(r,a)==t},zr.eq=Uo,zr.escape=function(e){return(e=vs(e))&&X.test(e)?e.replace($,ar):e},zr.escapeRegExp=function(e){return(e=vs(e))&&ae.test(e)?e.replace(ie,"\\$&"):e},zr.every=function(e,t,r){var n=Ho(e)?Pt:gn;return r&&ba(e,t,r)&&(t=i),n(e,la(t,3))},zr.find=ho,zr.findIndex=Ja,zr.findKey=function(e,t){return Ut(e,la(t,3),kn)},zr.findLast=yo,zr.findLastIndex=Va,zr.findLastKey=function(e,t){return Ut(e,la(t,3),xn)},zr.floor=kc,zr.forEach=vo,zr.forEachRight=bo,zr.forIn=function(e,t){return null==e?e:vn(e,la(t,3),Fs)},zr.forInRight=function(e,t){return null==e?e:bn(e,la(t,3),Fs)},zr.forOwn=function(e,t){return e&&kn(e,la(t,3))},zr.forOwnRight=function(e,t){return e&&xn(e,la(t,3))},zr.get=Ts,zr.gt=qo,zr.gte=Jo,zr.has=function(e,t){return null!=e&&_a(e,t,Cn)},zr.hasIn=Cs,zr.head=Ka,zr.identity=ic,zr.includes=function(e,t,r,n){e=Wo(e)?e:Us(e),r=r&&!n?gs(r):0;var i=e.length;return r<0&&(r=yr(i+r,0)),cs(e)?r<=i&&e.indexOf(t,r)>-1:!!i&&Jt(e,t,r)>-1},zr.indexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=null==r?0:gs(r);return i<0&&(i=yr(n+i,0)),Jt(e,t,i)},zr.inRange=function(e,t,r){return t=ms(t),r===i?(r=t,t=0):r=ms(r),function(e,t,r){return e>=vr(t,r)&&e<yr(t,r)}(e=hs(e),t,r)},zr.invoke=Ps,zr.isArguments=Vo,zr.isArray=Ho,zr.isArrayBuffer=Ko,zr.isArrayLike=Wo,zr.isArrayLikeObject=Go,zr.isBoolean=function(e){return!0===e||!1===e||rs(e)&&En(e)==b},zr.isBuffer=$o,zr.isDate=Yo,zr.isElement=function(e){return rs(e)&&1===e.nodeType&&!as(e)},zr.isEmpty=function(e){if(null==e)return!0;if(Wo(e)&&(Ho(e)||"string"==typeof e||"function"==typeof e.splice||$o(e)||us(e)||Vo(e)))return!e.length;var t=ga(e);if(t==D||t==N)return!e.size;if(wa(e))return!Ln(e).length;for(var r in e)if(Me.call(e,r))return!1;return!0},zr.isEqual=function(e,t){return Fn(e,t)},zr.isEqualWith=function(e,t,r){var n=(r="function"==typeof r?r:i)?r(e,t):i;return n===i?Fn(e,t,i,r):!!n},zr.isError=Xo,zr.isFinite=function(e){return"number"==typeof e&&bt(e)},zr.isFunction=Qo,zr.isInteger=Zo,zr.isLength=es,zr.isMap=ns,zr.isMatch=function(e,t){return e===t||On(e,t,da(t))},zr.isMatchWith=function(e,t,r){return r="function"==typeof r?r:i,On(e,t,da(t),r)},zr.isNaN=function(e){return is(e)&&e!=+e},zr.isNative=function(e){if(Sa(e))throw new we("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Rn(e)},zr.isNil=function(e){return null==e},zr.isNull=function(e){return null===e},zr.isNumber=is,zr.isObject=ts,zr.isObjectLike=rs,zr.isPlainObject=as,zr.isRegExp=os,zr.isSafeInteger=function(e){return Zo(e)&&e>=-9007199254740991&&e<=m},zr.isSet=ss,zr.isString=cs,zr.isSymbol=ls,zr.isTypedArray=us,zr.isUndefined=function(e){return e===i},zr.isWeakMap=function(e){return rs(e)&&ga(e)==F},zr.isWeakSet=function(e){return rs(e)&&"[object WeakSet]"==En(e)},zr.join=function(e,t){return null==e?"":zt.call(e,t)},zr.kebabCase=Hs,zr.last=Ya,zr.lastIndexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var a=n;return r!==i&&(a=(a=gs(r))<0?yr(n+a,0):vr(a,n-1)),t==t?function(e,t,r){for(var n=r+1;n--;)if(e[n]===t)return n;return n}(e,t,a):qt(e,Ht,a,!0)},zr.lowerCase=Ks,zr.lowerFirst=Ws,zr.lt=ds,zr.lte=ps,zr.max=function(e){return e&&e.length?_n(e,ic,Tn):i},zr.maxBy=function(e,t){return e&&e.length?_n(e,la(t,2),Tn):i},zr.mean=function(e){return Kt(e,ic)},zr.meanBy=function(e,t){return Kt(e,la(t,2))},zr.min=function(e){return e&&e.length?_n(e,ic,Bn):i},zr.minBy=function(e,t){return e&&e.length?_n(e,la(t,2),Bn):i},zr.stubArray=_c,zr.stubFalse=hc,zr.stubObject=function(){return{}},zr.stubString=function(){return""},zr.stubTrue=function(){return!0},zr.multiply=Sc,zr.nth=function(e,t){return e&&e.length?Vn(e,gs(t)):i},zr.noConflict=function(){return gt._===this&&(gt._=Ue),this},zr.noop=lc,zr.now=To,zr.pad=function(e,t,r){e=vs(e);var n=(t=gs(t))?fr(e):0;if(!t||n>=t)return e;var i=(t-n)/2;return Hi(_t(i),r)+e+Hi(mt(i),r)},zr.padEnd=function(e,t,r){e=vs(e);var n=(t=gs(t))?fr(e):0;return t&&n<t?e+Hi(t-n,r):e},zr.padStart=function(e,t,r){e=vs(e);var n=(t=gs(t))?fr(e):0;return t&&n<t?Hi(t-n,r)+e:e},zr.parseInt=function(e,t,r){return r||null==t?t=0:t&&(t=+t),kr(vs(e).replace(oe,""),t||0)},zr.random=function(e,t,r){if(r&&"boolean"!=typeof r&&ba(e,t,r)&&(t=r=i),r===i&&("boolean"==typeof t?(r=t,t=i):"boolean"==typeof e&&(r=e,e=i)),e===i&&t===i?(e=0,t=1):(e=ms(e),t===i?(t=e,e=0):t=ms(t)),e>t){var n=e;e=t,t=n}if(r||e%1||t%1){var a=xr();return vr(e+a*(t-e+dt("1e-"+((a+"").length-1))),t)}return $n(e,t)},zr.reduce=function(e,t,r){var n=Ho(e)?Lt:$t,i=arguments.length<3;return n(e,la(t,4),r,i,fn)},zr.reduceRight=function(e,t,r){var n=Ho(e)?jt:$t,i=arguments.length<3;return n(e,la(t,4),r,i,mn)},zr.repeat=function(e,t,r){return t=(r?ba(e,t,r):t===i)?1:gs(t),Yn(vs(e),t)},zr.replace=function(){var e=arguments,t=vs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},zr.result=function(e,t,r){var n=-1,a=(t=bi(t,e)).length;for(a||(a=1,e=i);++n<a;){var o=null==e?i:e[La(t[n])];o===i&&(n=a,o=r),e=Qo(o)?o.call(e):o}return e},zr.round=wc,zr.runInContext=e,zr.sample=function(e){return(Ho(e)?Xr:Qn)(e)},zr.size=function(e){if(null==e)return 0;if(Wo(e))return cs(e)?fr(e):e.length;var t=ga(e);return t==D||t==N?e.size:Ln(e).length},zr.snakeCase=Gs,zr.some=function(e,t,r){var n=Ho(e)?Bt:ai;return r&&ba(e,t,r)&&(t=i),n(e,la(t,3))},zr.sortedIndex=function(e,t){return oi(e,t)},zr.sortedIndexBy=function(e,t,r){return si(e,t,la(r,2))},zr.sortedIndexOf=function(e,t){var r=null==e?0:e.length;if(r){var n=oi(e,t);if(n<r&&Uo(e[n],t))return n}return-1},zr.sortedLastIndex=function(e,t){return oi(e,t,!0)},zr.sortedLastIndexBy=function(e,t,r){return si(e,t,la(r,2),!0)},zr.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var r=oi(e,t,!0)-1;if(Uo(e[r],t))return r}return-1},zr.startCase=$s,zr.startsWith=function(e,t,r){return e=vs(e),r=null==r?0:cn(gs(r),0,e.length),t=ui(t),e.slice(r,r+t.length)==t},zr.subtract=Dc,zr.sum=function(e){return e&&e.length?Yt(e,ic):0},zr.sumBy=function(e,t){return e&&e.length?Yt(e,la(t,2)):0},zr.template=function(e,t,r){var n=zr.templateSettings;r&&ba(e,t,r)&&(t=i),e=vs(e),t=xs({},t,n,Zi);var a,o,s=xs({},t.imports,n.imports,Zi),c=Is(s),l=er(s,c),u=0,d=t.interpolate||xe,p="__p += '",f=Ce((t.escape||xe).source+"|"+d.source+"|"+(d===ee?me:xe).source+"|"+(t.evaluate||xe).source+"|$","g"),m="//# sourceURL="+(Me.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++st+"]")+"\n";e.replace(f,(function(t,r,n,i,s,c){return n||(n=i),p+=e.slice(u,c).replace(Se,or),r&&(a=!0,p+="' +\n__e("+r+") +\n'"),s&&(o=!0,p+="';\n"+s+";\n__p += '"),n&&(p+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),u=c+t.length,t})),p+="';\n";var g=Me.call(t,"variable")&&t.variable;if(g){if(pe.test(g))throw new we("Invalid `variable` option passed into `_.template`")}else p="with (obj) {\n"+p+"\n}\n";p=(o?p.replace(H,""):p).replace(K,"$1").replace(W,"$1;"),p="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var _=Zs((function(){return De(c,m+"return "+p).apply(i,l)}));if(_.source=p,Xo(_))throw _;return _},zr.times=function(e,t){if((e=gs(e))<1||e>m)return[];var r=_,n=vr(e,_);t=la(t),e-=_;for(var i=Xt(n,t);++r<e;)t(r);return i},zr.toFinite=ms,zr.toInteger=gs,zr.toLength=_s,zr.toLower=function(e){return vs(e).toLowerCase()},zr.toNumber=hs,zr.toSafeInteger=function(e){return e?cn(gs(e),-9007199254740991,m):0===e?e:0},zr.toString=vs,zr.toUpper=function(e){return vs(e).toUpperCase()},zr.trim=function(e,t,r){if((e=vs(e))&&(r||t===i))return Qt(e);if(!e||!(t=ui(t)))return e;var n=mr(e),a=mr(t);return xi(n,rr(n,a),nr(n,a)+1).join("")},zr.trimEnd=function(e,t,r){if((e=vs(e))&&(r||t===i))return e.slice(0,gr(e)+1);if(!e||!(t=ui(t)))return e;var n=mr(e);return xi(n,0,nr(n,mr(t))+1).join("")},zr.trimStart=function(e,t,r){if((e=vs(e))&&(r||t===i))return e.replace(oe,"");if(!e||!(t=ui(t)))return e;var n=mr(e);return xi(n,rr(n,mr(t))).join("")},zr.truncate=function(e,t){var r=30,n="...";if(ts(t)){var a="separator"in t?t.separator:a;r="length"in t?gs(t.length):r,n="omission"in t?ui(t.omission):n}var o=(e=vs(e)).length;if(sr(e)){var s=mr(e);o=s.length}if(r>=o)return e;var c=r-fr(n);if(c<1)return n;var l=s?xi(s,0,c).join(""):e.slice(0,c);if(a===i)return l+n;if(s&&(c+=l.length-c),os(a)){if(e.slice(c).search(a)){var u,d=l;for(a.global||(a=Ce(a.source,vs(ge.exec(a))+"g")),a.lastIndex=0;u=a.exec(d);)var p=u.index;l=l.slice(0,p===i?c:p)}}else if(e.indexOf(ui(a),c)!=c){var f=l.lastIndexOf(a);f>-1&&(l=l.slice(0,f))}return l+n},zr.unescape=function(e){return(e=vs(e))&&Y.test(e)?e.replace(G,_r):e},zr.uniqueId=function(e){var t=++Le;return vs(e)+t},zr.upperCase=Ys,zr.upperFirst=Xs,zr.each=vo,zr.eachRight=bo,zr.first=Ka,cc(zr,(xc={},kn(zr,(function(e,t){Me.call(zr.prototype,t)||(xc[t]=e)})),xc),{chain:!1}),zr.VERSION="4.17.21",At(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){zr[e].placeholder=zr})),At(["drop","take"],(function(e,t){Vr.prototype[e]=function(r){r=r===i?1:yr(gs(r),0);var n=this.__filtered__&&!t?new Vr(this):this.clone();return n.__filtered__?n.__takeCount__=vr(r,n.__takeCount__):n.__views__.push({size:vr(r,_),type:e+(n.__dir__<0?"Right":"")}),n},Vr.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),At(["filter","map","takeWhile"],(function(e,t){var r=t+1,n=1==r||3==r;Vr.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:la(e,3),type:r}),t.__filtered__=t.__filtered__||n,t}})),At(["head","last"],(function(e,t){var r="take"+(t?"Right":"");Vr.prototype[e]=function(){return this[r](1).value()[0]}})),At(["initial","tail"],(function(e,t){var r="drop"+(t?"":"Right");Vr.prototype[e]=function(){return this.__filtered__?new Vr(this):this[r](1)}})),Vr.prototype.compact=function(){return this.filter(ic)},Vr.prototype.find=function(e){return this.filter(e).head()},Vr.prototype.findLast=function(e){return this.reverse().find(e)},Vr.prototype.invokeMap=Xn((function(e,t){return"function"==typeof e?new Vr(this):this.map((function(r){return Pn(r,e,t)}))})),Vr.prototype.reject=function(e){return this.filter(Mo(la(e)))},Vr.prototype.slice=function(e,t){e=gs(e);var r=this;return r.__filtered__&&(e>0||t<0)?new Vr(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==i&&(r=(t=gs(t))<0?r.dropRight(-t):r.take(t-e)),r)},Vr.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Vr.prototype.toArray=function(){return this.take(_)},kn(Vr.prototype,(function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),n=/^(?:head|last)$/.test(t),a=zr[n?"take"+("last"==t?"Right":""):t],o=n||/^find/.test(t);a&&(zr.prototype[t]=function(){var t=this.__wrapped__,s=n?[1]:arguments,c=t instanceof Vr,l=s[0],u=c||Ho(t),d=function(e){var t=a.apply(zr,Mt([e],s));return n&&p?t[0]:t};u&&r&&"function"==typeof l&&1!=l.length&&(c=u=!1);var p=this.__chain__,f=!!this.__actions__.length,m=o&&!p,g=c&&!f;if(!o&&u){t=g?t:new Vr(this);var _=e.apply(t,s);return _.__actions__.push({func:mo,args:[d],thisArg:i}),new Jr(_,p)}return m&&g?e.apply(this,s):(_=this.thru(d),m?n?_.value()[0]:_.value():_)})})),At(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Pe[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);zr.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var i=this.value();return t.apply(Ho(i)?i:[],e)}return this[r]((function(r){return t.apply(Ho(r)?r:[],e)}))}})),kn(Vr.prototype,(function(e,t){var r=zr[t];if(r){var n=r.name+"";Me.call(Pr,n)||(Pr[n]=[]),Pr[n].push({name:t,func:r})}})),Pr[Ui(i,2).name]=[{name:"wrapper",func:i}],Vr.prototype.clone=function(){var e=new Vr(this.__wrapped__);return e.__actions__=Ni(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ni(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ni(this.__views__),e},Vr.prototype.reverse=function(){if(this.__filtered__){var e=new Vr(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Vr.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,r=Ho(e),n=t<0,i=r?e.length:0,a=function(e,t,r){var n=-1,i=r.length;for(;++n<i;){var a=r[n],o=a.size;switch(a.type){case"drop":e+=o;break;case"dropRight":t-=o;break;case"take":t=vr(t,e+o);break;case"takeRight":e=yr(e,t-o)}}return{start:e,end:t}}(0,i,this.__views__),o=a.start,s=a.end,c=s-o,l=n?s:o-1,u=this.__iteratees__,d=u.length,p=0,f=vr(c,this.__takeCount__);if(!r||!n&&i==c&&f==c)return gi(e,this.__actions__);var m=[];e:for(;c--&&p<f;){for(var g=-1,_=e[l+=t];++g<d;){var h=u[g],y=h.iteratee,v=h.type,b=y(_);if(2==v)_=b;else if(!b){if(1==v)continue e;break e}}m[p++]=_}return m},zr.prototype.at=go,zr.prototype.chain=function(){return fo(this)},zr.prototype.commit=function(){return new Jr(this.value(),this.__chain__)},zr.prototype.next=function(){this.__values__===i&&(this.__values__=fs(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?i:this.__values__[this.__index__++]}},zr.prototype.plant=function(e){for(var t,r=this;r instanceof qr;){var n=Ba(r);n.__index__=0,n.__values__=i,t?a.__wrapped__=n:t=n;var a=n;r=r.__wrapped__}return a.__wrapped__=e,t},zr.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Vr){var t=e;return this.__actions__.length&&(t=new Vr(this)),(t=t.reverse()).__actions__.push({func:mo,args:[eo],thisArg:i}),new Jr(t,this.__chain__)}return this.thru(eo)},zr.prototype.toJSON=zr.prototype.valueOf=zr.prototype.value=function(){return gi(this.__wrapped__,this.__actions__)},zr.prototype.first=zr.prototype.head,Qe&&(zr.prototype[Qe]=function(){return this}),zr}();gt._=hr,(n=function(){return hr}.call(t,r,t,e))===i||(e.exports=n)}.call(this)},94027:(e,t,r)=>{e.exports=p,p.Minimatch=f;var n=function(){try{return r(16928)}catch(e){}}()||{sep:"/"};p.sep=n.sep;var i=p.GLOBSTAR=f.GLOBSTAR={},a=r(68928),o={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},s="[^/]",c=s+"*?",l="().*{}+?[]^$\\!".split("").reduce((function(e,t){return e[t]=!0,e}),{});var u=/\/+/;function d(e,t){t=t||{};var r={};return Object.keys(e).forEach((function(t){r[t]=e[t]})),Object.keys(t).forEach((function(e){r[e]=t[e]})),r}function p(e,t,r){return g(t),r||(r={}),!(!r.nocomment&&"#"===t.charAt(0))&&new f(t,r).match(e)}function f(e,t){if(!(this instanceof f))return new f(e,t);g(e),t||(t={}),e=e.trim(),t.allowWindowsEscape||"/"===n.sep||(e=e.split(n.sep).join("/")),this.options=t,this.set=[],this.pattern=e,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.make()}function m(e,t){return t||(t=this instanceof f?this.options:{}),e=void 0===e?this.pattern:e,g(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:a(e)}p.filter=function(e,t){return t=t||{},function(r,n,i){return p(r,e,t)}},p.defaults=function(e){if(!e||"object"!=typeof e||!Object.keys(e).length)return p;var t=p,r=function(r,n,i){return t(r,n,d(e,i))};return(r.Minimatch=function(r,n){return new t.Minimatch(r,d(e,n))}).defaults=function(r){return t.defaults(d(e,r)).Minimatch},r.filter=function(r,n){return t.filter(r,d(e,n))},r.defaults=function(r){return t.defaults(d(e,r))},r.makeRe=function(r,n){return t.makeRe(r,d(e,n))},r.braceExpand=function(r,n){return t.braceExpand(r,d(e,n))},r.match=function(r,n,i){return t.match(r,n,d(e,i))},r},f.defaults=function(e){return p.defaults(e).Minimatch},f.prototype.debug=function(){},f.prototype.make=function(){var e=this.pattern,t=this.options;if(!t.nocomment&&"#"===e.charAt(0))return void(this.comment=!0);if(!e)return void(this.empty=!0);this.parseNegate();var r=this.globSet=this.braceExpand();t.debug&&(this.debug=function(){console.error.apply(console,arguments)});this.debug(this.pattern,r),r=this.globParts=r.map((function(e){return e.split(u)})),this.debug(this.pattern,r),r=r.map((function(e,t,r){return e.map(this.parse,this)}),this),this.debug(this.pattern,r),r=r.filter((function(e){return-1===e.indexOf(!1)})),this.debug(this.pattern,r),this.set=r},f.prototype.parseNegate=function(){var e=this.pattern,t=!1,r=this.options,n=0;if(r.nonegate)return;for(var i=0,a=e.length;i<a&&"!"===e.charAt(i);i++)t=!t,n++;n&&(this.pattern=e.substr(n));this.negate=t},p.braceExpand=function(e,t){return m(e,t)},f.prototype.braceExpand=m;var g=function(e){if("string"!=typeof e)throw new TypeError("invalid pattern");if(e.length>65536)throw new TypeError("pattern is too long")};f.prototype.parse=function(e,t){g(e);var r=this.options;if("**"===e){if(!r.noglobstar)return i;e="*"}if(""===e)return"";var n,a="",u=!!r.nocase,d=!1,p=[],f=[],m=!1,h=-1,y=-1,v="."===e.charAt(0)?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",b=this;function k(){if(n){switch(n){case"*":a+=c,u=!0;break;case"?":a+=s,u=!0;break;default:a+="\\"+n}b.debug("clearStateChar %j %j",n,a),n=!1}}for(var x,S=0,w=e.length;S<w&&(x=e.charAt(S));S++)if(this.debug("%s\t%s %s %j",e,S,a,x),d&&l[x])a+="\\"+x,d=!1;else switch(x){case"/":return!1;case"\\":k(),d=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",e,S,a,x),m){this.debug(" in class"),"!"===x&&S===y+1&&(x="^"),a+=x;continue}b.debug("call clearStateChar %j",n),k(),n=x,r.noext&&k();continue;case"(":if(m){a+="(";continue}if(!n){a+="\\(";continue}p.push({type:n,start:S-1,reStart:a.length,open:o[n].open,close:o[n].close}),a+="!"===n?"(?:(?!(?:":"(?:",this.debug("plType %j %j",n,a),n=!1;continue;case")":if(m||!p.length){a+="\\)";continue}k(),u=!0;var D=p.pop();a+=D.close,"!"===D.type&&f.push(D),D.reEnd=a.length;continue;case"|":if(m||!p.length||d){a+="\\|",d=!1;continue}k(),a+="|";continue;case"[":if(k(),m){a+="\\"+x;continue}m=!0,y=S,h=a.length,a+=x;continue;case"]":if(S===y+1||!m){a+="\\"+x,d=!1;continue}var E=e.substring(y+1,S);try{RegExp("["+E+"]")}catch(e){var T=this.parse(E,_);a=a.substr(0,h)+"\\["+T[0]+"\\]",u=u||T[1],m=!1;continue}u=!0,m=!1,a+=x;continue;default:k(),d?d=!1:!l[x]||"^"===x&&m||(a+="\\"),a+=x}m&&(E=e.substr(y+1),T=this.parse(E,_),a=a.substr(0,h)+"\\["+T[0],u=u||T[1]);for(D=p.pop();D;D=p.pop()){var C=a.slice(D.reStart+D.open.length);this.debug("setting tail",a,D),C=C.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(e,t,r){return r||(r="\\"),t+t+r+"|"})),this.debug("tail=%j\n %s",C,C,D,a);var A="*"===D.type?c:"?"===D.type?s:"\\"+D.type;u=!0,a=a.slice(0,D.reStart)+A+"\\("+C}k(),d&&(a+="\\\\");var N=!1;switch(a.charAt(0)){case"[":case".":case"(":N=!0}for(var P=f.length-1;P>-1;P--){var I=f[P],F=a.slice(0,I.reStart),O=a.slice(I.reStart,I.reEnd-8),R=a.slice(I.reEnd-8,I.reEnd),M=a.slice(I.reEnd);R+=M;var L=F.split("(").length-1,j=M;for(S=0;S<L;S++)j=j.replace(/\)[+*?]?/,"");var B="";""===(M=j)&&t!==_&&(B="$"),a=F+O+M+B+R}""!==a&&u&&(a="(?=.)"+a);N&&(a=v+a);if(t===_)return[a,u];if(!u)return function(e){return e.replace(/\\(.)/g,"$1")}(e);var z=r.nocase?"i":"";try{var U=new RegExp("^"+a+"$",z)}catch(e){return new RegExp("$.")}return U._glob=e,U._src=a,U};var _={};p.makeRe=function(e,t){return new f(e,t||{}).makeRe()},f.prototype.makeRe=function(){if(this.regexp||!1===this.regexp)return this.regexp;var e=this.set;if(!e.length)return this.regexp=!1,this.regexp;var t=this.options,r=t.noglobstar?c:t.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",n=t.nocase?"i":"",a=e.map((function(e){return e.map((function(e){return e===i?r:"string"==typeof e?function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(e):e._src})).join("\\/")})).join("|");a="^(?:"+a+")$",this.negate&&(a="^(?!"+a+").*$");try{this.regexp=new RegExp(a,n)}catch(e){this.regexp=!1}return this.regexp},p.match=function(e,t,r){var n=new f(t,r=r||{});return e=e.filter((function(e){return n.match(e)})),n.options.nonull&&!e.length&&e.push(t),e},f.prototype.match=function(e,t){if(void 0===t&&(t=this.partial),this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return""===e;if("/"===e&&t)return!0;var r=this.options;"/"!==n.sep&&(e=e.split(n.sep).join("/")),e=e.split(u),this.debug(this.pattern,"split",e);var i,a,o=this.set;for(this.debug(this.pattern,"set",o),a=e.length-1;a>=0&&!(i=e[a]);a--);for(a=0;a<o.length;a++){var s=o[a],c=e;if(r.matchBase&&1===s.length&&(c=[i]),this.matchOne(c,s,t))return!!r.flipNegate||!this.negate}return!r.flipNegate&&this.negate},f.prototype.matchOne=function(e,t,r){var n=this.options;this.debug("matchOne",{this:this,file:e,pattern:t}),this.debug("matchOne",e.length,t.length);for(var a=0,o=0,s=e.length,c=t.length;a<s&&o<c;a++,o++){this.debug("matchOne loop");var l,u=t[o],d=e[a];if(this.debug(t,u,d),!1===u)return!1;if(u===i){this.debug("GLOBSTAR",[t,u,d]);var p=a,f=o+1;if(f===c){for(this.debug("** at the end");a<s;a++)if("."===e[a]||".."===e[a]||!n.dot&&"."===e[a].charAt(0))return!1;return!0}for(;p<s;){var m=e[p];if(this.debug("\nglobstar while",e,p,t,f,m),this.matchOne(e.slice(p),t.slice(f),r))return this.debug("globstar found match!",p,s,m),!0;if("."===m||".."===m||!n.dot&&"."===m.charAt(0)){this.debug("dot detected!",e,p,t,f);break}this.debug("globstar swallow a segment, and continue"),p++}return!(!r||(this.debug("\n>>> no match, partial?",e,p,t,f),p!==s))}if("string"==typeof u?(l=d===u,this.debug("string match",u,d,l)):(l=d.match(u),this.debug("pattern match",u,d,l)),!l)return!1}if(a===s&&o===c)return!0;if(a===s)return r;if(o===c)return a===s-1&&""===e[a];throw new Error("wtf?")}},43480:(e,t,r)=>{var n=r(16928),i=r(79896),a=parseInt("0777",8);function o(e,t,r,s){"function"==typeof t?(r=t,t={}):t&&"object"==typeof t||(t={mode:t});var c=t.mode,l=t.fs||i;void 0===c&&(c=a),s||(s=null);var u=r||function(){};e=n.resolve(e),l.mkdir(e,c,(function(r){if(!r)return u(null,s=s||e);if("ENOENT"===r.code){if(n.dirname(e)===e)return u(r);o(n.dirname(e),t,(function(r,n){r?u(r,n):o(e,t,u,n)}))}else l.stat(e,(function(e,t){e||!t.isDirectory()?u(r,s):u(null,s)}))}))}e.exports=o.mkdirp=o.mkdirP=o,o.sync=function e(t,r,o){r&&"object"==typeof r||(r={mode:r});var s=r.mode,c=r.fs||i;void 0===s&&(s=a),o||(o=null),t=n.resolve(t);try{c.mkdirSync(t,s),o=o||t}catch(i){if("ENOENT"===i.code)o=e(n.dirname(t),r,o),e(t,r,o);else{var l;try{l=c.statSync(t)}catch(e){throw i}if(!l.isDirectory())throw i}}return o}},14100:e=>{
[all...]
Completed in 121 milliseconds