1
2
3
|
/*! For license information please see 7459.5951a9e57f5d71a1f6b8.js.LICENSE.txt */
(self.webpackChunkapp=self.webpackChunkapp||[]).push([[7459],{4981:function(e,t,n){var r=n(57402),o=n(893),a=n(41600),u=n(52329),i=n(53359),s=n(27607);e.exports=function(e,t,n,_){var l=-1,c=o,f=!0,d=e.length,p=[],m=t.length;if(!d)return p;n&&(t=u(t,i(n))),_?(c=a,f=!1):t.length>=200&&(c=s,f=!1,t=new r(t));e:for(;++l<d;){var h=e[l],g=null==n?h:n(h);if(h=_||0!==h?h:0,f&&g==g){for(var y=m;y--;)if(t[y]===g)continue e;p.push(h)}else c(t,g,_)||p.push(h)}return p}},11492:function(e,t,n){var r=n(91127);e.exports=function(e,t){var n=[];return r(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}},66062:function(e,t,n){var r=n(54975),o=n(48942);e.exports=function e(t,n,a,u,i){var s=-1,_=t.length;for(a||(a=o),i||(i=[]);++s<_;){var l=t[s];n>0&&a(l)?n>1?e(l,n-1,a,u,i):r(i,l):u||(i[i.length]=l)}return i}},41445:function(e,t,n){var r=n(60398),o=n(91289);e.exports=function(e,t){return r(e,t,(function(t,n){return o(e,n)}))}},60398:function(e,t,n){var r=n(91391),o=n(27126),a=n(19953);e.exports=function(e,t,n){for(var u=-1,i=t.length,s={};++u<i;){var _=t[u],l=r(e,_);n(l,_)&&o(s,a(_,e),l)}return s}},27126:function(e,t,n){var r=n(79627),o=n(19953),a=n(80140),u=n(84669),i=n(52035);e.exports=function(e,t,n,s){if(!u(e))return e;for(var _=-1,l=(t=o(t,e)).length,c=l-1,f=e;null!=f&&++_<l;){var d=i(t[_]),p=n;if("__proto__"===d||"constructor"===d||"prototype"===d)return e;if(_!=c){var m=f[d];void 0===(p=s?s(m,d,f):void 0)&&(p=u(m)?m:a(t[_+1])?[]:{})}r(f,d,p),f=f[d]}return e}},20820:function(e,t,n){var r=n(22469),o=n(72930),a=n(78588);e.exports=function(e){return a(o(e,void 0,r),e+"")}},99327:function(e,t,n){var r=n(98924),o=n(54703),a=n(71515);e.exports=function(e){return r(e,a,o)}},54703:function(e,t,n){var r=n(54975),o=n(23329),a=n(77166),u=n(650),i=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,a(e)),e=o(e);return t}:u;e.exports=i},48942:function(e,t,n){var r=n(28603),o=n(25061),a=n(36605),u=r?r.isConcatSpreadable:void 0;e.exports=function(e){return a(e)||o(e)||!!(u&&e&&e[u])}},26069:function(e){e.exports=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var a=e[t];a&&(o[r++]=a)}return o}},66039:function(e,t,n){var r=n(4981),o=n(66062),a=n(22435),u=n(20280),i=a((function(e,t){return u(e)?r(e,o(t,1,u,!0)):[]}));e.exports=i},42148:function(e,t,n){var r=n(41228),o=n(11492),a=n(91405),u=n(36605);e.exports=function(e,t){return(u(e)?r:o)(e,a(t,3))}},22469:function(e,t,n){var r=n(66062);e.exports=function(e){return null!=e&&e.length?r(e,1):[]}},33610:function(e,t,n){var r=n(34457);e.exports=function(e,t){return r(e,t)}},50501:function(e,t,n){var r=n(98279),o=n(88335)((function(e,t,n){r(e,n,t)}));e.exports=o},96070:function(e){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},59553:function(e,t,n){var r;e=n.nmd(e),function(){var o,a=200,u="Expected a function",i="__lodash_hash_undefined__",s="__lodash_placeholder__",_=1,l=2,c=4,f=1,d=2,p=1,m=2,h=4,g=8,y=16,w=32,v=64,E=128,b=256,M=512,I=800,S=16,N=1/0,T=9007199254740991,A=17976931348623157e292,R=NaN,F=4294967295,x=F-1,O=F>>>1,P=[["ary",E],["bind",p],["bindKey",m],["curry",g],["curryRight",y],["flip",M],["partial",w],["partialRight",v],["rearg",b]],C="[object Arguments]",k="[object Array]",U="[object AsyncFunction]",D="[object Boolean]",L="[object Date]",B="[object DOMException]",Z="[object Error]",j="[object Function]",W="[object GeneratorFunction]",H="[object Map]",V="[object Number]",q="[object Null]",z="[object Object]",G="[object Promise]",$="[object Proxy]",K="[object RegExp]",Y="[object Set]",X="[object String]",J="[object Symbol]",Q="[object Undefined]",ee="[object WeakMap]",te="[object ArrayBuffer]",ne="[object DataView]",re="[object Float32Array]",oe="[object Float64Array]",ae="[object Int8Array]",ue="[object Int16Array]",ie="[object Int32Array]",se="[object Uint8Array]",_e="[object Uint8ClampedArray]",le="[object Uint16Array]",ce="[object Uint32Array]",fe=/\b__p \+= '';/g,de=/\b(__p \+=) '' \+/g,pe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,me=/&(?:amp|lt|gt|quot|#39);/g,he=/[&<>"']/g,ge=RegExp(me.source),ye=RegExp(he.source),we=/<%-([\s\S]+?)%>/g,ve=/<%([\s\S]+?)%>/g,Ee=/<%=([\s\S]+?)%>/g,be=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Me=/^\w*$/,Ie=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Se=/[\\^$.*+?()[\]{}|]/g,Ne=RegExp(Se.source),Te=/^\s+/,Ae=/\s/,Re=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Fe=/\{\n\/\* \[wrapped with (.+)\] \*/,xe=/,? & /,Oe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Pe=/[()=,{}\[\]\/\s]/,Ce=/\\(\\)?/g,ke=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ue=/\w*$/,De=/^[-+]0x[0-9a-f]+$/i,Le=/^0b[01]+$/i,Be=/^\[object .+?Constructor\]$/,Ze=/^0o[0-7]+$/i,je=/^(?:0|[1-9]\d*)$/,We=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,He=/($^)/,Ve=/['\n\r\u2028\u2029\\]/g,qe="\\ud800-\\udfff",ze="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ge="\\u2700-\\u27bf",$e="a-z\\xdf-\\xf6\\xf8-\\xff",Ke="A-Z\\xc0-\\xd6\\xd8-\\xde",Ye="\\ufe0e\\ufe0f",Xe="\\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",Je="["+qe+"]",Qe="["+Xe+"]",et="["+ze+"]",tt="\\d+",nt="["+Ge+"]",rt="["+$e+"]",ot="[^"+qe+Xe+tt+Ge+$e+Ke+"]",at="\\ud83c[\\udffb-\\udfff]",ut="[^"+qe+"]",it="(?:\\ud83c[\\udde6-\\uddff]){2}",st="[\\ud800-\\udbff][\\udc00-\\udfff]",_t="["+Ke+"]",lt="\\u200d",ct="(?:"+rt+"|"+ot+")",ft="(?:"+_t+"|"+ot+")",dt="(?:['’](?:d|ll|m|re|s|t|ve))?",pt="(?:['’](?:D|LL|M|RE|S|T|VE))?",mt="(?:"+et+"|"+at+")?",ht="["+Ye+"]?",gt=ht+mt+"(?:"+lt+"(?:"+[ut,it,st].join("|")+")"+ht+mt+")*",yt="(?:"+[nt,it,st].join("|")+")"+gt,wt="(?:"+[ut+et+"?",et,it,st,Je].join("|")+")",vt=RegExp("['’]","g"),Et=RegExp(et,"g"),bt=RegExp(at+"(?="+at+")|"+wt+gt,"g"),Mt=RegExp([_t+"?"+rt+"+"+dt+"(?="+[Qe,_t,"$"].join("|")+")",ft+"+"+pt+"(?="+[Qe,_t+ct,"$"].join("|")+")",_t+"?"+ct+"+"+dt,_t+"+"+pt,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",tt,yt].join("|"),"g"),It=RegExp("["+lt+qe+ze+Ye+"]"),St=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Nt=["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"],Tt=-1,At={};At[re]=At[oe]=At[ae]=At[ue]=At[ie]=At[se]=At[_e]=At[le]=At[ce]=!0,At[C]=At[k]=At[te]=At[D]=At[ne]=At[L]=At[Z]=At[j]=At[H]=At[V]=At[z]=At[K]=At[Y]=At[X]=At[ee]=!1;var Rt={};Rt[C]=Rt[k]=Rt[te]=Rt[ne]=Rt[D]=Rt[L]=Rt[re]=Rt[oe]=Rt[ae]=Rt[ue]=Rt[ie]=Rt[H]=Rt[V]=Rt[z]=Rt[K]=Rt[Y]=Rt[X]=Rt[J]=Rt[se]=Rt[_e]=Rt[le]=Rt[ce]=!0,Rt[Z]=Rt[j]=Rt[ee]=!1;var Ft={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},xt=parseFloat,Ot=parseInt,Pt="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,Ct="object"==typeof self&&self&&self.Object===Object&&self,kt=Pt||Ct||Function("return this")(),Ut=t&&!t.nodeType&&t,Dt=Ut&&e&&!e.nodeType&&e,Lt=Dt&&Dt.exports===Ut,Bt=Lt&&Pt.process,Zt=function(){try{return Dt&&Dt.require&&Dt.require("util").types||Bt&&Bt.binding&&Bt.binding("util")}catch(e){}}(),jt=Zt&&Zt.isArrayBuffer,Wt=Zt&&Zt.isDate,Ht=Zt&&Zt.isMap,Vt=Zt&&Zt.isRegExp,qt=Zt&&Zt.isSet,zt=Zt&&Zt.isTypedArray;function Gt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function $t(e,t,n,r){for(var o=-1,a=null==e?0:e.length;++o<a;){var u=e[o];t(r,u,n(u),e)}return r}function Kt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function Yt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Xt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Jt(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var u=e[n];t(u,n,e)&&(a[o++]=u)}return a}function Qt(e,t){return!(null==e||!e.length)&&ln(e,t,0)>-1}function en(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function tn(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function nn(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function rn(e,t,n,r){var o=-1,a=null==e?0:e.length;for(r&&a&&(n=e[++o]);++o<a;)n=t(n,e[o],o,e);return n}function on(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function an(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var un=pn("length");function sn(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function _n(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}function ln(e,t,n){return t==t?function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):_n(e,fn,n)}function cn(e,t,n,r){for(var o=n-1,a=e.length;++o<a;)if(r(e[o],t))return o;return-1}function fn(e){return e!=e}function dn(e,t){var n=null==e?0:e.length;return n?gn(e,t)/n:R}function pn(e){return function(t){return null==t?o:t[e]}}function mn(e){return function(t){return null==e?o:e[t]}}function hn(e,t,n,r,o){return o(e,(function(e,o,a){n=r?(r=!1,e):t(n,e,o,a)})),n}function gn(e,t){for(var n,r=-1,a=e.length;++r<a;){var u=t(e[r]);u!==o&&(n=n===o?u:n+u)}return n}function yn(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function wn(e){return e?e.slice(0,Un(e)+1).replace(Te,""):e}function vn(e){return function(t){return e(t)}}function En(e,t){return tn(t,(function(t){return e[t]}))}function bn(e,t){return e.has(t)}function Mn(e,t){for(var n=-1,r=e.length;++n<r&&ln(t,e[n],0)>-1;);return n}function In(e,t){for(var n=e.length;n--&&ln(t,e[n],0)>-1;);return n}var Sn=mn({"À":"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"}),Nn=mn({"&":"&","<":"<",">":">",'"':""","'":"'"});function Tn(e){return"\\"+Ft[e]}function An(e){return It.test(e)}function Rn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Fn(e,t){return function(n){return e(t(n))}}function xn(e,t){for(var n=-1,r=e.length,o=0,a=[];++n<r;){var u=e[n];u!==t&&u!==s||(e[n]=s,a[o++]=n)}return a}function On(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function Pn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function Cn(e){return An(e)?function(e){for(var t=bt.lastIndex=0;bt.test(e);)++t;return t}(e):un(e)}function kn(e){return An(e)?function(e){return e.match(bt)||[]}(e):function(e){return e.split("")}(e)}function Un(e){for(var t=e.length;t--&&Ae.test(e.charAt(t)););return t}var Dn=mn({"&":"&","<":"<",">":">",""":'"',"'":"'"}),Ln=function e(t){var n,r=(t=null==t?kt:Ln.defaults(kt.Object(),t,Ln.pick(kt,Nt))).Array,Ae=t.Date,qe=t.Error,ze=t.Function,Ge=t.Math,$e=t.Object,Ke=t.RegExp,Ye=t.String,Xe=t.TypeError,Je=r.prototype,Qe=ze.prototype,et=$e.prototype,tt=t["__core-js_shared__"],nt=Qe.toString,rt=et.hasOwnProperty,ot=0,at=(n=/[^.]+$/.exec(tt&&tt.keys&&tt.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",ut=et.toString,it=nt.call($e),st=kt._,_t=Ke("^"+nt.call(rt).replace(Se,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),lt=Lt?t.Buffer:o,ct=t.Symbol,ft=t.Uint8Array,dt=lt?lt.allocUnsafe:o,pt=Fn($e.getPrototypeOf,$e),mt=$e.create,ht=et.propertyIsEnumerable,gt=Je.splice,yt=ct?ct.isConcatSpreadable:o,wt=ct?ct.iterator:o,bt=ct?ct.toStringTag:o,It=function(){try{var e=Pa($e,"defineProperty");return e({},"",{}),e}catch(e){}}(),Ft=t.clearTimeout!==kt.clearTimeout&&t.clearTimeout,Pt=Ae&&Ae.now!==kt.Date.now&&Ae.now,Ct=t.setTimeout!==kt.setTimeout&&t.setTimeout,Ut=Ge.ceil,Dt=Ge.floor,Bt=$e.getOwnPropertySymbols,Zt=lt?lt.isBuffer:o,un=t.isFinite,mn=Je.join,Bn=Fn($e.keys,$e),Zn=Ge.max,jn=Ge.min,Wn=Ae.now,Hn=t.parseInt,Vn=Ge.random,qn=Je.reverse,zn=Pa(t,"DataView"),Gn=Pa(t,"Map"),$n=Pa(t,"Promise"),Kn=Pa(t,"Set"),Yn=Pa(t,"WeakMap"),Xn=Pa($e,"create"),Jn=Yn&&new Yn,Qn={},er=iu(zn),tr=iu(Gn),nr=iu($n),rr=iu(Kn),or=iu(Yn),ar=ct?ct.prototype:o,ur=ar?ar.valueOf:o,ir=ar?ar.toString:o;function sr(e){if(Ii(e)&&!di(e)&&!(e instanceof fr)){if(e instanceof cr)return e;if(rt.call(e,"__wrapped__"))return su(e)}return new cr(e)}var _r=function(){function e(){}return function(t){if(!Mi(t))return{};if(mt)return mt(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function lr(){}function cr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function fr(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=F,this.__views__=[]}function dr(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function pr(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function mr(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function hr(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new mr;++t<n;)this.add(e[t])}function gr(e){var t=this.__data__=new pr(e);this.size=t.size}function yr(e,t){var n=di(e),r=!n&&fi(e),o=!n&&!r&&gi(e),a=!n&&!r&&!o&&Oi(e),u=n||r||o||a,i=u?yn(e.length,Ye):[],s=i.length;for(var _ in e)!t&&!rt.call(e,_)||u&&("length"==_||o&&("offset"==_||"parent"==_)||a&&("buffer"==_||"byteLength"==_||"byteOffset"==_)||Za(_,s))||i.push(_);return i}function wr(e){var t=e.length;return t?e[ho(0,t-1)]:o}function vr(e,t){return nu(Xo(e),Rr(t,0,e.length))}function Er(e){return nu(Xo(e))}function br(e,t,n){(n!==o&&!_i(e[t],n)||n===o&&!(t in e))&&Tr(e,t,n)}function Mr(e,t,n){var r=e[t];rt.call(e,t)&&_i(r,n)&&(n!==o||t in e)||Tr(e,t,n)}function Ir(e,t){for(var n=e.length;n--;)if(_i(e[n][0],t))return n;return-1}function Sr(e,t,n,r){return Cr(e,(function(e,o,a){t(r,e,n(e),a)})),r}function Nr(e,t){return e&&Jo(t,es(t),e)}function Tr(e,t,n){"__proto__"==t&&It?It(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Ar(e,t){for(var n=-1,a=t.length,u=r(a),i=null==e;++n<a;)u[n]=i?o:Ki(e,t[n]);return u}function Rr(e,t,n){return e==e&&(n!==o&&(e=e<=n?e:n),t!==o&&(e=e>=t?e:t)),e}function Fr(e,t,n,r,a,u){var i,s=t&_,f=t&l,d=t&c;if(n&&(i=a?n(e,r,a,u):n(e)),i!==o)return i;if(!Mi(e))return e;var p=di(e);if(p){if(i=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&rt.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!s)return Xo(e,i)}else{var m=Ua(e),h=m==j||m==W;if(gi(e))return qo(e,s);if(m==z||m==C||h&&!a){if(i=f||h?{}:La(e),!s)return f?function(e,t){return Jo(e,ka(e),t)}(e,function(e,t){return e&&Jo(t,ts(t),e)}(i,e)):function(e,t){return Jo(e,Ca(e),t)}(e,Nr(i,e))}else{if(!Rt[m])return a?e:{};i=function(e,t,n){var r,o=e.constructor;switch(t){case te:return zo(e);case D:case L:return new o(+e);case ne:return function(e,t){var n=t?zo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case re:case oe:case ae:case ue:case ie:case se:case _e:case le:case ce:return Go(e,n);case H:return new o;case V:case X:return new o(e);case K:return function(e){var t=new e.constructor(e.source,Ue.exec(e));return t.lastIndex=e.lastIndex,t}(e);case Y:return new o;case J:return r=e,ur?$e(ur.call(r)):{}}}(e,m,s)}}u||(u=new gr);var g=u.get(e);if(g)return g;u.set(e,i),Ri(e)?e.forEach((function(r){i.add(Fr(r,t,n,r,e,u))})):Si(e)&&e.forEach((function(r,o){i.set(o,Fr(r,t,n,o,e,u))}));var y=p?o:(d?f?Na:Sa:f?ts:es)(e);return Kt(y||e,(function(r,o){y&&(r=e[o=r]),Mr(i,o,Fr(r,t,n,o,e,u))})),i}function xr(e,t,n){var r=n.length;if(null==e)return!r;for(e=$e(e);r--;){var a=n[r],u=t[a],i=e[a];if(i===o&&!(a in e)||!u(i))return!1}return!0}function Or(e,t,n){if("function"!=typeof e)throw new Xe(u);return Ja((function(){e.apply(o,n)}),t)}function Pr(e,t,n,r){var o=-1,u=Qt,i=!0,s=e.length,_=[],l=t.length;if(!s)return _;n&&(t=tn(t,vn(n))),r?(u=en,i=!1):t.length>=a&&(u=bn,i=!1,t=new hr(t));e:for(;++o<s;){var c=e[o],f=null==n?c:n(c);if(c=r||0!==c?c:0,i&&f==f){for(var d=l;d--;)if(t[d]===f)continue e;_.push(c)}else u(t,f,r)||_.push(c)}return _}sr.templateSettings={escape:we,evaluate:ve,interpolate:Ee,variable:"",imports:{_:sr}},sr.prototype=lr.prototype,sr.prototype.constructor=sr,cr.prototype=_r(lr.prototype),cr.prototype.constructor=cr,fr.prototype=_r(lr.prototype),fr.prototype.constructor=fr,dr.prototype.clear=function(){this.__data__=Xn?Xn(null):{},this.size=0},dr.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},dr.prototype.get=function(e){var t=this.__data__;if(Xn){var n=t[e];return n===i?o:n}return rt.call(t,e)?t[e]:o},dr.prototype.has=function(e){var t=this.__data__;return Xn?t[e]!==o:rt.call(t,e)},dr.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Xn&&t===o?i:t,this},pr.prototype.clear=function(){this.__data__=[],this.size=0},pr.prototype.delete=function(e){var t=this.__data__,n=Ir(t,e);return!(n<0||(n==t.length-1?t.pop():gt.call(t,n,1),--this.size,0))},pr.prototype.get=function(e){var t=this.__data__,n=Ir(t,e);return n<0?o:t[n][1]},pr.prototype.has=function(e){return Ir(this.__data__,e)>-1},pr.prototype.set=function(e,t){var n=this.__data__,r=Ir(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},mr.prototype.clear=function(){this.size=0,this.__data__={hash:new dr,map:new(Gn||pr),string:new dr}},mr.prototype.delete=function(e){var t=xa(this,e).delete(e);return this.size-=t?1:0,t},mr.prototype.get=function(e){return xa(this,e).get(e)},mr.prototype.has=function(e){return xa(this,e).has(e)},mr.prototype.set=function(e,t){var n=xa(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},hr.prototype.add=hr.prototype.push=function(e){return this.__data__.set(e,i),this},hr.prototype.has=function(e){return this.__data__.has(e)},gr.prototype.clear=function(){this.__data__=new pr,this.size=0},gr.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},gr.prototype.get=function(e){return this.__data__.get(e)},gr.prototype.has=function(e){return this.__data__.has(e)},gr.prototype.set=function(e,t){var n=this.__data__;if(n instanceof pr){var r=n.__data__;if(!Gn||r.length<a-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new mr(r)}return n.set(e,t),this.size=n.size,this};var Cr=ta(Wr),kr=ta(Hr,!0);function Ur(e,t){var n=!0;return Cr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function Dr(e,t,n){for(var r=-1,a=e.length;++r<a;){var u=e[r],i=t(u);if(null!=i&&(s===o?i==i&&!xi(i):n(i,s)))var s=i,_=u}return _}function Lr(e,t){var n=[];return Cr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function Br(e,t,n,r,o){var a=-1,u=e.length;for(n||(n=Ba),o||(o=[]);++a<u;){var i=e[a];t>0&&n(i)?t>1?Br(i,t-1,n,r,o):nn(o,i):r||(o[o.length]=i)}return o}var Zr=na(),jr=na(!0);function Wr(e,t){return e&&Zr(e,t,es)}function Hr(e,t){return e&&jr(e,t,es)}function Vr(e,t){return Jt(t,(function(t){return vi(e[t])}))}function qr(e,t){for(var n=0,r=(t=jo(t,e)).length;null!=e&&n<r;)e=e[uu(t[n++])];return n&&n==r?e:o}function zr(e,t,n){var r=t(e);return di(e)?r:nn(r,n(e))}function Gr(e){return null==e?e===o?Q:q:bt&&bt in $e(e)?function(e){var t=rt.call(e,bt),n=e[bt];try{e[bt]=o;var r=!0}catch(e){}var a=ut.call(e);return r&&(t?e[bt]=n:delete e[bt]),a}(e):function(e){return ut.call(e)}(e)}function $r(e,t){return e>t}function Kr(e,t){return null!=e&&rt.call(e,t)}function Yr(e,t){return null!=e&&t in $e(e)}function Xr(e,t,n){for(var a=n?en:Qt,u=e[0].length,i=e.length,s=i,_=r(i),l=1/0,c=[];s--;){var f=e[s];s&&t&&(f=tn(f,vn(t))),l=jn(f.length,l),_[s]=!n&&(t||u>=120&&f.length>=120)?new hr(s&&f):o}f=e[0];var d=-1,p=_[0];e:for(;++d<u&&c.length<l;){var m=f[d],h=t?t(m):m;if(m=n||0!==m?m:0,!(p?bn(p,h):a(c,h,n))){for(s=i;--s;){var g=_[s];if(!(g?bn(g,h):a(e[s],h,n)))continue e}p&&p.push(h),c.push(m)}}return c}function Jr(e,t,n){var r=null==(e=Ka(e,t=jo(t,e)))?e:e[uu(wu(t))];return null==r?o:Gt(r,e,n)}function Qr(e){return Ii(e)&&Gr(e)==C}function eo(e,t,n,r,a){return e===t||(null==e||null==t||!Ii(e)&&!Ii(t)?e!=e&&t!=t:function(e,t,n,r,a,u){var i=di(e),s=di(t),_=i?k:Ua(e),l=s?k:Ua(t),c=(_=_==C?z:_)==z,p=(l=l==C?z:l)==z,m=_==l;if(m&&gi(e)){if(!gi(t))return!1;i=!0,c=!1}if(m&&!c)return u||(u=new gr),i||Oi(e)?Ma(e,t,n,r,a,u):function(e,t,n,r,o,a,u){switch(n){case ne:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case te:return!(e.byteLength!=t.byteLength||!a(new ft(e),new ft(t)));case D:case L:case V:return _i(+e,+t);case Z:return e.name==t.name&&e.message==t.message;case K:case X:return e==t+"";case H:var i=Rn;case Y:var s=r&f;if(i||(i=On),e.size!=t.size&&!s)return!1;var _=u.get(e);if(_)return _==t;r|=d,u.set(e,t);var l=Ma(i(e),i(t),r,o,a,u);return u.delete(e),l;case J:if(ur)return ur.call(e)==ur.call(t)}return!1}(e,t,_,n,r,a,u);if(!(n&f)){var h=c&&rt.call(e,"__wrapped__"),g=p&&rt.call(t,"__wrapped__");if(h||g){var y=h?e.value():e,w=g?t.value():t;return u||(u=new gr),a(y,w,n,r,u)}}return!!m&&(u||(u=new gr),function(e,t,n,r,a,u){var i=n&f,s=Sa(e),_=s.length;if(_!=Sa(t).length&&!i)return!1;for(var l=_;l--;){var c=s[l];if(!(i?c in t:rt.call(t,c)))return!1}var d=u.get(e),p=u.get(t);if(d&&p)return d==t&&p==e;var m=!0;u.set(e,t),u.set(t,e);for(var h=i;++l<_;){var g=e[c=s[l]],y=t[c];if(r)var w=i?r(y,g,c,t,e,u):r(g,y,c,e,t,u);if(!(w===o?g===y||a(g,y,n,r,u):w)){m=!1;break}h||(h="constructor"==c)}if(m&&!h){var v=e.constructor,E=t.constructor;v==E||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof E&&E instanceof E||(m=!1)}return u.delete(e),u.delete(t),m}(e,t,n,r,a,u))}(e,t,n,r,eo,a))}function to(e,t,n,r){var a=n.length,u=a,i=!r;if(null==e)return!u;for(e=$e(e);a--;){var s=n[a];if(i&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++a<u;){var _=(s=n[a])[0],l=e[_],c=s[1];if(i&&s[2]){if(l===o&&!(_ in e))return!1}else{var p=new gr;if(r)var m=r(l,c,_,e,t,p);if(!(m===o?eo(c,l,f|d,r,p):m))return!1}}return!0}function no(e){return!(!Mi(e)||(t=e,at&&at in t))&&(vi(e)?_t:Be).test(iu(e));var t}function ro(e){return"function"==typeof e?e:null==e?Ns:"object"==typeof e?di(e)?so(e[0],e[1]):io(e):ks(e)}function oo(e){if(!qa(e))return Bn(e);var t=[];for(var n in $e(e))rt.call(e,n)&&"constructor"!=n&&t.push(n);return t}function ao(e,t){return e<t}function uo(e,t){var n=-1,o=mi(e)?r(e.length):[];return Cr(e,(function(e,r,a){o[++n]=t(e,r,a)})),o}function io(e){var t=Oa(e);return 1==t.length&&t[0][2]?Ga(t[0][0],t[0][1]):function(n){return n===e||to(n,e,t)}}function so(e,t){return Wa(e)&&za(t)?Ga(uu(e),t):function(n){var r=Ki(n,e);return r===o&&r===t?Yi(n,e):eo(t,r,f|d)}}function _o(e,t,n,r,a){e!==t&&Zr(t,(function(u,i){if(a||(a=new gr),Mi(u))!function(e,t,n,r,a,u,i){var s=Ya(e,n),_=Ya(t,n),l=i.get(_);if(l)br(e,n,l);else{var c=u?u(s,_,n+"",e,t,i):o,f=c===o;if(f){var d=di(_),p=!d&&gi(_),m=!d&&!p&&Oi(_);c=_,d||p||m?di(s)?c=s:hi(s)?c=Xo(s):p?(f=!1,c=qo(_,!0)):m?(f=!1,c=Go(_,!0)):c=[]:Ti(_)||fi(_)?(c=s,fi(s)?c=Zi(s):Mi(s)&&!vi(s)||(c=La(_))):f=!1}f&&(i.set(_,c),a(c,_,r,u,i),i.delete(_)),br(e,n,c)}}(e,t,i,n,_o,r,a);else{var s=r?r(Ya(e,i),u,i+"",e,t,a):o;s===o&&(s=u),br(e,i,s)}}),ts)}function lo(e,t){var n=e.length;if(n)return Za(t+=t<0?n:0,n)?e[t]:o}function co(e,t,n){t=t.length?tn(t,(function(e){return di(e)?function(t){return qr(t,1===e.length?e[0]:e)}:e})):[Ns];var r=-1;t=tn(t,vn(Fa()));var o=uo(e,(function(e,n,o){var a=tn(t,(function(t){return t(e)}));return{criteria:a,index:++r,value:e}}));return function(e,t){var r=e.length;for(e.sort((function(e,t){return function(e,t,n){for(var r=-1,o=e.criteria,a=t.criteria,u=o.length,i=n.length;++r<u;){var s=$o(o[r],a[r]);if(s)return r>=i?s:s*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}));r--;)e[r]=e[r].value;return e}(o)}function fo(e,t,n){for(var r=-1,o=t.length,a={};++r<o;){var u=t[r],i=qr(e,u);n(i,u)&&Eo(a,jo(u,e),i)}return a}function po(e,t,n,r){var o=r?cn:ln,a=-1,u=t.length,i=e;for(e===t&&(t=Xo(t)),n&&(i=tn(e,vn(n)));++a<u;)for(var s=0,_=t[a],l=n?n(_):_;(s=o(i,l,s,r))>-1;)i!==e&>.call(i,s,1),gt.call(e,s,1);return e}function mo(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==a){var a=o;Za(o)?gt.call(e,o,1):Po(e,o)}}return e}function ho(e,t){return e+Dt(Vn()*(t-e+1))}function go(e,t){var n="";if(!e||t<1||t>T)return n;do{t%2&&(n+=e),(t=Dt(t/2))&&(e+=e)}while(t);return n}function yo(e,t){return Qa($a(e,t,Ns),e+"")}function wo(e){return wr(_s(e))}function vo(e,t){var n=_s(e);return nu(n,Rr(t,0,n.length))}function Eo(e,t,n,r){if(!Mi(e))return e;for(var a=-1,u=(t=jo(t,e)).length,i=u-1,s=e;null!=s&&++a<u;){var _=uu(t[a]),l=n;if("__proto__"===_||"constructor"===_||"prototype"===_)return e;if(a!=i){var c=s[_];(l=r?r(c,_,s):o)===o&&(l=Mi(c)?c:Za(t[a+1])?[]:{})}Mr(s,_,l),s=s[_]}return e}var bo=Jn?function(e,t){return Jn.set(e,t),e}:Ns,Mo=It?function(e,t){return It(e,"toString",{configurable:!0,enumerable:!1,value:Ms(t),writable:!0})}:Ns;function Io(e){return nu(_s(e))}function So(e,t,n){var o=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(n=n>a?a:n)<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var u=r(a);++o<a;)u[o]=e[o+t];return u}function No(e,t){var n;return Cr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function To(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=O){for(;r<o;){var a=r+o>>>1,u=e[a];null!==u&&!xi(u)&&(n?u<=t:u<t)?r=a+1:o=a}return o}return Ao(e,t,Ns,n)}function Ao(e,t,n,r){var a=0,u=null==e?0:e.length;if(0===u)return 0;for(var i=(t=n(t))!=t,s=null===t,_=xi(t),l=t===o;a<u;){var c=Dt((a+u)/2),f=n(e[c]),d=f!==o,p=null===f,m=f==f,h=xi(f);if(i)var g=r||m;else g=l?m&&(r||d):s?m&&d&&(r||!p):_?m&&d&&!p&&(r||!h):!p&&!h&&(r?f<=t:f<t);g?a=c+1:u=c}return jn(u,x)}function Ro(e,t){for(var n=-1,r=e.length,o=0,a=[];++n<r;){var u=e[n],i=t?t(u):u;if(!n||!_i(i,s)){var s=i;a[o++]=0===u?0:u}}return a}function Fo(e){return"number"==typeof e?e:xi(e)?R:+e}function xo(e){if("string"==typeof e)return e;if(di(e))return tn(e,xo)+"";if(xi(e))return ir?ir.call(e):"";var t=e+"";return"0"==t&&1/e==-N?"-0":t}function Oo(e,t,n){var r=-1,o=Qt,u=e.length,i=!0,s=[],_=s;if(n)i=!1,o=en;else if(u>=a){var l=t?null:ga(e);if(l)return On(l);i=!1,o=bn,_=new hr}else _=t?[]:s;e:for(;++r<u;){var c=e[r],f=t?t(c):c;if(c=n||0!==c?c:0,i&&f==f){for(var d=_.length;d--;)if(_[d]===f)continue e;t&&_.push(f),s.push(c)}else o(_,f,n)||(_!==s&&_.push(f),s.push(c))}return s}function Po(e,t){return null==(e=Ka(e,t=jo(t,e)))||delete e[uu(wu(t))]}function Co(e,t,n,r){return Eo(e,t,n(qr(e,t)),r)}function ko(e,t,n,r){for(var o=e.length,a=r?o:-1;(r?a--:++a<o)&&t(e[a],a,e););return n?So(e,r?0:a,r?a+1:o):So(e,r?a+1:0,r?o:a)}function Uo(e,t){var n=e;return n instanceof fr&&(n=n.value()),rn(t,(function(e,t){return t.func.apply(t.thisArg,nn([e],t.args))}),n)}function Do(e,t,n){var o=e.length;if(o<2)return o?Oo(e[0]):[];for(var a=-1,u=r(o);++a<o;)for(var i=e[a],s=-1;++s<o;)s!=a&&(u[a]=Pr(u[a]||i,e[s],t,n));return Oo(Br(u,1),t,n)}function Lo(e,t,n){for(var r=-1,a=e.length,u=t.length,i={};++r<a;){var s=r<u?t[r]:o;n(i,e[r],s)}return i}function Bo(e){return hi(e)?e:[]}function Zo(e){return"function"==typeof e?e:Ns}function jo(e,t){return di(e)?e:Wa(e,t)?[e]:au(ji(e))}var Wo=yo;function Ho(e,t,n){var r=e.length;return n=n===o?r:n,!t&&n>=r?e:So(e,t,n)}var Vo=Ft||function(e){return kt.clearTimeout(e)};function qo(e,t){if(t)return e.slice();var n=e.length,r=dt?dt(n):new e.constructor(n);return e.copy(r),r}function zo(e){var t=new e.constructor(e.byteLength);return new ft(t).set(new ft(e)),t}function Go(e,t){var n=t?zo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function $o(e,t){if(e!==t){var n=e!==o,r=null===e,a=e==e,u=xi(e),i=t!==o,s=null===t,_=t==t,l=xi(t);if(!s&&!l&&!u&&e>t||u&&i&&_&&!s&&!l||r&&i&&_||!n&&_||!a)return 1;if(!r&&!u&&!l&&e<t||l&&n&&a&&!r&&!u||s&&n&&a||!i&&a||!_)return-1}return 0}function Ko(e,t,n,o){for(var a=-1,u=e.length,i=n.length,s=-1,_=t.length,l=Zn(u-i,0),c=r(_+l),f=!o;++s<_;)c[s]=t[s];for(;++a<i;)(f||a<u)&&(c[n[a]]=e[a]);for(;l--;)c[s++]=e[a++];return c}function Yo(e,t,n,o){for(var a=-1,u=e.length,i=-1,s=n.length,_=-1,l=t.length,c=Zn(u-s,0),f=r(c+l),d=!o;++a<c;)f[a]=e[a];for(var p=a;++_<l;)f[p+_]=t[_];for(;++i<s;)(d||a<u)&&(f[p+n[i]]=e[a++]);return f}function Xo(e,t){var n=-1,o=e.length;for(t||(t=r(o));++n<o;)t[n]=e[n];return t}function Jo(e,t,n,r){var a=!n;n||(n={});for(var u=-1,i=t.length;++u<i;){var s=t[u],_=r?r(n[s],e[s],s,n,e):o;_===o&&(_=e[s]),a?Tr(n,s,_):Mr(n,s,_)}return n}function Qo(e,t){return function(n,r){var o=di(n)?$t:Sr,a=t?t():{};return o(n,e,Fa(r,2),a)}}function ea(e){return yo((function(t,n){var r=-1,a=n.length,u=a>1?n[a-1]:o,i=a>2?n[2]:o;for(u=e.length>3&&"function"==typeof u?(a--,u):o,i&&ja(n[0],n[1],i)&&(u=a<3?o:u,a=1),t=$e(t);++r<a;){var s=n[r];s&&e(t,s,r,u)}return t}))}function ta(e,t){return function(n,r){if(null==n)return n;if(!mi(n))return e(n,r);for(var o=n.length,a=t?o:-1,u=$e(n);(t?a--:++a<o)&&!1!==r(u[a],a,u););return n}}function na(e){return function(t,n,r){for(var o=-1,a=$e(t),u=r(t),i=u.length;i--;){var s=u[e?i:++o];if(!1===n(a[s],s,a))break}return t}}function ra(e){return function(t){var n=An(t=ji(t))?kn(t):o,r=n?n[0]:t.charAt(0),a=n?Ho(n,1).join(""):t.slice(1);return r[e]()+a}}function oa(e){return function(t){return rn(vs(fs(t).replace(vt,"")),e,"")}}function aa(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 n=_r(e.prototype),r=e.apply(n,t);return Mi(r)?r:n}}function ua(e){return function(t,n,r){var a=$e(t);if(!mi(t)){var u=Fa(n,3);t=es(t),n=function(e){return u(a[e],e,a)}}var i=e(t,n,r);return i>-1?a[u?t[i]:i]:o}}function ia(e){return Ia((function(t){var n=t.length,r=n,a=cr.prototype.thru;for(e&&t.reverse();r--;){var i=t[r];if("function"!=typeof i)throw new Xe(u);if(a&&!s&&"wrapper"==Aa(i))var s=new cr([],!0)}for(r=s?r:n;++r<n;){var _=Aa(i=t[r]),l="wrapper"==_?Ta(i):o;s=l&&Ha(l[0])&&l[1]==(E|g|w|b)&&!l[4].length&&1==l[9]?s[Aa(l[0])].apply(s,l[3]):1==i.length&&Ha(i)?s[_]():s.thru(i)}return function(){var e=arguments,r=e[0];if(s&&1==e.length&&di(r))return s.plant(r).value();for(var o=0,a=n?t[o].apply(this,e):r;++o<n;)a=t[o].call(this,a);return a}}))}function sa(e,t,n,a,u,i,s,_,l,c){var f=t&E,d=t&p,h=t&m,w=t&(g|y),v=t&M,b=h?o:aa(e);return function p(){for(var m=arguments.length,g=r(m),y=m;y--;)g[y]=arguments[y];if(w)var E=Ra(p),M=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(g,E);if(a&&(g=Ko(g,a,u,w)),i&&(g=Yo(g,i,s,w)),m-=M,w&&m<c){var I=xn(g,E);return ma(e,t,sa,p.placeholder,n,g,I,_,l,c-m)}var S=d?n:this,N=h?S[e]:e;return m=g.length,_?g=function(e,t){for(var n=e.length,r=jn(t.length,n),a=Xo(e);r--;){var u=t[r];e[r]=Za(u,n)?a[u]:o}return e}(g,_):v&&m>1&&g.reverse(),f&&l<m&&(g.length=l),this&&this!==kt&&this instanceof p&&(N=b||aa(N)),N.apply(S,g)}}function _a(e,t){return function(n,r){return function(e,t,n,r){return Wr(e,(function(e,o,a){t(r,n(e),o,a)})),r}(n,e,t(r),{})}}function la(e,t){return function(n,r){var a;if(n===o&&r===o)return t;if(n!==o&&(a=n),r!==o){if(a===o)return r;"string"==typeof n||"string"==typeof r?(n=xo(n),r=xo(r)):(n=Fo(n),r=Fo(r)),a=e(n,r)}return a}}function ca(e){return Ia((function(t){return t=tn(t,vn(Fa())),yo((function(n){var r=this;return e(t,(function(e){return Gt(e,r,n)}))}))}))}function fa(e,t){var n=(t=t===o?" ":xo(t)).length;if(n<2)return n?go(t,e):t;var r=go(t,Ut(e/Cn(t)));return An(t)?Ho(kn(r),0,e).join(""):r.slice(0,e)}function da(e){return function(t,n,a){return a&&"number"!=typeof a&&ja(t,n,a)&&(n=a=o),t=Ui(t),n===o?(n=t,t=0):n=Ui(n),function(e,t,n,o){for(var a=-1,u=Zn(Ut((t-e)/(n||1)),0),i=r(u);u--;)i[o?u:++a]=e,e+=n;return i}(t,n,a=a===o?t<n?1:-1:Ui(a),e)}}function pa(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=Bi(t),n=Bi(n)),e(t,n)}}function ma(e,t,n,r,a,u,i,s,_,l){var c=t&g;t|=c?w:v,(t&=~(c?v:w))&h||(t&=~(p|m));var f=[e,t,a,c?u:o,c?i:o,c?o:u,c?o:i,s,_,l],d=n.apply(o,f);return Ha(e)&&Xa(d,f),d.placeholder=r,eu(d,e,t)}function ha(e){var t=Ge[e];return function(e,n){if(e=Bi(e),(n=null==n?0:jn(Di(n),292))&&un(e)){var r=(ji(e)+"e").split("e");return+((r=(ji(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var ga=Kn&&1/On(new Kn([,-0]))[1]==N?function(e){return new Kn(e)}:xs;function ya(e){return function(t){var n=Ua(t);return n==H?Rn(t):n==Y?Pn(t):function(e,t){return tn(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function wa(e,t,n,a,i,_,l,c){var f=t&m;if(!f&&"function"!=typeof e)throw new Xe(u);var d=a?a.length:0;if(d||(t&=~(w|v),a=i=o),l=l===o?l:Zn(Di(l),0),c=c===o?c:Di(c),d-=i?i.length:0,t&v){var M=a,I=i;a=i=o}var S=f?o:Ta(e),N=[e,t,n,a,i,M,I,_,l,c];if(S&&function(e,t){var n=e[1],r=t[1],o=n|r,a=o<(p|m|E),u=r==E&&n==g||r==E&&n==b&&e[7].length<=t[8]||r==(E|b)&&t[7].length<=t[8]&&n==g;if(!a&&!u)return e;r&p&&(e[2]=t[2],o|=n&p?0:h);var i=t[3];if(i){var _=e[3];e[3]=_?Ko(_,i,t[4]):i,e[4]=_?xn(e[3],s):t[4]}(i=t[5])&&(_=e[5],e[5]=_?Yo(_,i,t[6]):i,e[6]=_?xn(e[5],s):t[6]),(i=t[7])&&(e[7]=i),r&E&&(e[8]=null==e[8]?t[8]:jn(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=o}(N,S),e=N[0],t=N[1],n=N[2],a=N[3],i=N[4],!(c=N[9]=N[9]===o?f?0:e.length:Zn(N[9]-d,0))&&t&(g|y)&&(t&=~(g|y)),t&&t!=p)T=t==g||t==y?function(e,t,n){var a=aa(e);return function u(){for(var i=arguments.length,s=r(i),_=i,l=Ra(u);_--;)s[_]=arguments[_];var c=i<3&&s[0]!==l&&s[i-1]!==l?[]:xn(s,l);return(i-=c.length)<n?ma(e,t,sa,u.placeholder,o,s,c,o,o,n-i):Gt(this&&this!==kt&&this instanceof u?a:e,this,s)}}(e,t,c):t!=w&&t!=(p|w)||i.length?sa.apply(o,N):function(e,t,n,o){var a=t&p,u=aa(e);return function t(){for(var i=-1,s=arguments.length,_=-1,l=o.length,c=r(l+s),f=this&&this!==kt&&this instanceof t?u:e;++_<l;)c[_]=o[_];for(;s--;)c[_++]=arguments[++i];return Gt(f,a?n:this,c)}}(e,t,n,a);else var T=function(e,t,n){var r=t&p,o=aa(e);return function t(){return(this&&this!==kt&&this instanceof t?o:e).apply(r?n:this,arguments)}}(e,t,n);return eu((S?bo:Xa)(T,N),e,t)}function va(e,t,n,r){return e===o||_i(e,et[n])&&!rt.call(r,n)?t:e}function Ea(e,t,n,r,a,u){return Mi(e)&&Mi(t)&&(u.set(t,e),_o(e,t,o,Ea,u),u.delete(t)),e}function ba(e){return Ti(e)?o:e}function Ma(e,t,n,r,a,u){var i=n&f,s=e.length,_=t.length;if(s!=_&&!(i&&_>s))return!1;var l=u.get(e),c=u.get(t);if(l&&c)return l==t&&c==e;var p=-1,m=!0,h=n&d?new hr:o;for(u.set(e,t),u.set(t,e);++p<s;){var g=e[p],y=t[p];if(r)var w=i?r(y,g,p,t,e,u):r(g,y,p,e,t,u);if(w!==o){if(w)continue;m=!1;break}if(h){if(!an(t,(function(e,t){if(!bn(h,t)&&(g===e||a(g,e,n,r,u)))return h.push(t)}))){m=!1;break}}else if(g!==y&&!a(g,y,n,r,u)){m=!1;break}}return u.delete(e),u.delete(t),m}function Ia(e){return Qa($a(e,o,pu),e+"")}function Sa(e){return zr(e,es,Ca)}function Na(e){return zr(e,ts,ka)}var Ta=Jn?function(e){return Jn.get(e)}:xs;function Aa(e){for(var t=e.name+"",n=Qn[t],r=rt.call(Qn,t)?n.length:0;r--;){var o=n[r],a=o.func;if(null==a||a==e)return o.name}return t}function Ra(e){return(rt.call(sr,"placeholder")?sr:e).placeholder}function Fa(){var e=sr.iteratee||Ts;return e=e===Ts?ro:e,arguments.length?e(arguments[0],arguments[1]):e}function xa(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function Oa(e){for(var t=es(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,za(o)]}return t}function Pa(e,t){var n=function(e,t){return null==e?o:e[t]}(e,t);return no(n)?n:o}var Ca=Bt?function(e){return null==e?[]:(e=$e(e),Jt(Bt(e),(function(t){return ht.call(e,t)})))}:Ls,ka=Bt?function(e){for(var t=[];e;)nn(t,Ca(e)),e=pt(e);return t}:Ls,Ua=Gr;function Da(e,t,n){for(var r=-1,o=(t=jo(t,e)).length,a=!1;++r<o;){var u=uu(t[r]);if(!(a=null!=e&&n(e,u)))break;e=e[u]}return a||++r!=o?a:!!(o=null==e?0:e.length)&&bi(o)&&Za(u,o)&&(di(e)||fi(e))}function La(e){return"function"!=typeof e.constructor||qa(e)?{}:_r(pt(e))}function Ba(e){return di(e)||fi(e)||!!(yt&&e&&e[yt])}function Za(e,t){var n=typeof e;return!!(t=null==t?T:t)&&("number"==n||"symbol"!=n&&je.test(e))&&e>-1&&e%1==0&&e<t}function ja(e,t,n){if(!Mi(n))return!1;var r=typeof t;return!!("number"==r?mi(n)&&Za(t,n.length):"string"==r&&t in n)&&_i(n[t],e)}function Wa(e,t){if(di(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!xi(e))||Me.test(e)||!be.test(e)||null!=t&&e in $e(t)}function Ha(e){var t=Aa(e),n=sr[t];if("function"!=typeof n||!(t in fr.prototype))return!1;if(e===n)return!0;var r=Ta(n);return!!r&&e===r[0]}(zn&&Ua(new zn(new ArrayBuffer(1)))!=ne||Gn&&Ua(new Gn)!=H||$n&&Ua($n.resolve())!=G||Kn&&Ua(new Kn)!=Y||Yn&&Ua(new Yn)!=ee)&&(Ua=function(e){var t=Gr(e),n=t==z?e.constructor:o,r=n?iu(n):"";if(r)switch(r){case er:return ne;case tr:return H;case nr:return G;case rr:return Y;case or:return ee}return t});var Va=tt?vi:Bs;function qa(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||et)}function za(e){return e==e&&!Mi(e)}function Ga(e,t){return function(n){return null!=n&&n[e]===t&&(t!==o||e in $e(n))}}function $a(e,t,n){return t=Zn(t===o?e.length-1:t,0),function(){for(var o=arguments,a=-1,u=Zn(o.length-t,0),i=r(u);++a<u;)i[a]=o[t+a];a=-1;for(var s=r(t+1);++a<t;)s[a]=o[a];return s[t]=n(i),Gt(e,this,s)}}function Ka(e,t){return t.length<2?e:qr(e,So(t,0,-1))}function Ya(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Xa=tu(bo),Ja=Ct||function(e,t){return kt.setTimeout(e,t)},Qa=tu(Mo);function eu(e,t,n){var r=t+"";return Qa(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Re,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Kt(P,(function(n){var r="_."+n[0];t&n[1]&&!Qt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(Fe);return t?t[1].split(xe):[]}(r),n)))}function tu(e){var t=0,n=0;return function(){var r=Wn(),a=S-(r-n);if(n=r,a>0){if(++t>=I)return arguments[0]}else t=0;return e.apply(o,arguments)}}function nu(e,t){var n=-1,r=e.length,a=r-1;for(t=t===o?r:t;++n<t;){var u=ho(n,a),i=e[u];e[u]=e[n],e[n]=i}return e.length=t,e}var ru,ou,au=(ru=ri((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Ie,(function(e,n,r,o){t.push(r?o.replace(Ce,"$1"):n||e)})),t}),(function(e){return 500===ou.size&&ou.clear(),e})),ou=ru.cache,ru);function uu(e){if("string"==typeof e||xi(e))return e;var t=e+"";return"0"==t&&1/e==-N?"-0":t}function iu(e){if(null!=e){try{return nt.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function su(e){if(e instanceof fr)return e.clone();var t=new cr(e.__wrapped__,e.__chain__);return t.__actions__=Xo(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var _u=yo((function(e,t){return hi(e)?Pr(e,Br(t,1,hi,!0)):[]})),lu=yo((function(e,t){var n=wu(t);return hi(n)&&(n=o),hi(e)?Pr(e,Br(t,1,hi,!0),Fa(n,2)):[]})),cu=yo((function(e,t){var n=wu(t);return hi(n)&&(n=o),hi(e)?Pr(e,Br(t,1,hi,!0),o,n):[]}));function fu(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:Di(n);return o<0&&(o=Zn(r+o,0)),_n(e,Fa(t,3),o)}function du(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=r-1;return n!==o&&(a=Di(n),a=n<0?Zn(r+a,0):jn(a,r-1)),_n(e,Fa(t,3),a,!0)}function pu(e){return null!=e&&e.length?Br(e,1):[]}function mu(e){return e&&e.length?e[0]:o}var hu=yo((function(e){var t=tn(e,Bo);return t.length&&t[0]===e[0]?Xr(t):[]})),gu=yo((function(e){var t=wu(e),n=tn(e,Bo);return t===wu(n)?t=o:n.pop(),n.length&&n[0]===e[0]?Xr(n,Fa(t,2)):[]})),yu=yo((function(e){var t=wu(e),n=tn(e,Bo);return(t="function"==typeof t?t:o)&&n.pop(),n.length&&n[0]===e[0]?Xr(n,o,t):[]}));function wu(e){var t=null==e?0:e.length;return t?e[t-1]:o}var vu=yo(Eu);function Eu(e,t){return e&&e.length&&t&&t.length?po(e,t):e}var bu=Ia((function(e,t){var n=null==e?0:e.length,r=Ar(e,t);return mo(e,tn(t,(function(e){return Za(e,n)?+e:e})).sort($o)),r}));function Mu(e){return null==e?e:qn.call(e)}var Iu=yo((function(e){return Oo(Br(e,1,hi,!0))})),Su=yo((function(e){var t=wu(e);return hi(t)&&(t=o),Oo(Br(e,1,hi,!0),Fa(t,2))})),Nu=yo((function(e){var t=wu(e);return t="function"==typeof t?t:o,Oo(Br(e,1,hi,!0),o,t)}));function Tu(e){if(!e||!e.length)return[];var t=0;return e=Jt(e,(function(e){if(hi(e))return t=Zn(e.length,t),!0})),yn(t,(function(t){return tn(e,pn(t))}))}function Au(e,t){if(!e||!e.length)return[];var n=Tu(e);return null==t?n:tn(n,(function(e){return Gt(t,o,e)}))}var Ru=yo((function(e,t){return hi(e)?Pr(e,t):[]})),Fu=yo((function(e){return Do(Jt(e,hi))})),xu=yo((function(e){var t=wu(e);return hi(t)&&(t=o),Do(Jt(e,hi),Fa(t,2))})),Ou=yo((function(e){var t=wu(e);return t="function"==typeof t?t:o,Do(Jt(e,hi),o,t)})),Pu=yo(Tu),Cu=yo((function(e){var t=e.length,n=t>1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,Au(e,n)}));function ku(e){var t=sr(e);return t.__chain__=!0,t}function Uu(e,t){return t(e)}var Du=Ia((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,a=function(t){return Ar(t,e)};return!(t>1||this.__actions__.length)&&r instanceof fr&&Za(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:Uu,args:[a],thisArg:o}),new cr(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(a)})),Lu=Qo((function(e,t,n){rt.call(e,n)?++e[n]:Tr(e,n,1)})),Bu=ua(fu),Zu=ua(du);function ju(e,t){return(di(e)?Kt:Cr)(e,Fa(t,3))}function Wu(e,t){return(di(e)?Yt:kr)(e,Fa(t,3))}var Hu=Qo((function(e,t,n){rt.call(e,n)?e[n].push(t):Tr(e,n,[t])})),Vu=yo((function(e,t,n){var o=-1,a="function"==typeof t,u=mi(e)?r(e.length):[];return Cr(e,(function(e){u[++o]=a?Gt(t,e,n):Jr(e,t,n)})),u})),qu=Qo((function(e,t,n){Tr(e,n,t)}));function zu(e,t){return(di(e)?tn:uo)(e,Fa(t,3))}var Gu=Qo((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),$u=yo((function(e,t){if(null==e)return[];var n=t.length;return n>1&&ja(e,t[0],t[1])?t=[]:n>2&&ja(t[0],t[1],t[2])&&(t=[t[0]]),co(e,Br(t,1),[])})),Ku=Pt||function(){return kt.Date.now()};function Yu(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,wa(e,E,o,o,o,o,t)}function Xu(e,t){var n;if("function"!=typeof t)throw new Xe(u);return e=Di(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Ju=yo((function(e,t,n){var r=p;if(n.length){var o=xn(n,Ra(Ju));r|=w}return wa(e,r,t,n,o)})),Qu=yo((function(e,t,n){var r=p|m;if(n.length){var o=xn(n,Ra(Qu));r|=w}return wa(t,r,e,n,o)}));function ei(e,t,n){var r,a,i,s,_,l,c=0,f=!1,d=!1,p=!0;if("function"!=typeof e)throw new Xe(u);function m(t){var n=r,u=a;return r=a=o,c=t,s=e.apply(u,n)}function h(e){var n=e-l;return l===o||n>=t||n<0||d&&e-c>=i}function g(){var e=Ku();if(h(e))return y(e);_=Ja(g,function(e){var n=t-(e-l);return d?jn(n,i-(e-c)):n}(e))}function y(e){return _=o,p&&r?m(e):(r=a=o,s)}function w(){var e=Ku(),n=h(e);if(r=arguments,a=this,l=e,n){if(_===o)return function(e){return c=e,_=Ja(g,t),f?m(e):s}(l);if(d)return Vo(_),_=Ja(g,t),m(l)}return _===o&&(_=Ja(g,t)),s}return t=Bi(t)||0,Mi(n)&&(f=!!n.leading,i=(d="maxWait"in n)?Zn(Bi(n.maxWait)||0,t):i,p="trailing"in n?!!n.trailing:p),w.cancel=function(){_!==o&&Vo(_),c=0,r=l=a=_=o},w.flush=function(){return _===o?s:y(Ku())},w}var ti=yo((function(e,t){return Or(e,1,t)})),ni=yo((function(e,t,n){return Or(e,Bi(t)||0,n)}));function ri(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Xe(u);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var u=e.apply(this,r);return n.cache=a.set(o,u)||a,u};return n.cache=new(ri.Cache||mr),n}function oi(e){if("function"!=typeof e)throw new Xe(u);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)}}ri.Cache=mr;var ai=Wo((function(e,t){var n=(t=1==t.length&&di(t[0])?tn(t[0],vn(Fa())):tn(Br(t,1),vn(Fa()))).length;return yo((function(r){for(var o=-1,a=jn(r.length,n);++o<a;)r[o]=t[o].call(this,r[o]);return Gt(e,this,r)}))})),ui=yo((function(e,t){var n=xn(t,Ra(ui));return wa(e,w,o,t,n)})),ii=yo((function(e,t){var n=xn(t,Ra(ii));return wa(e,v,o,t,n)})),si=Ia((function(e,t){return wa(e,b,o,o,o,t)}));function _i(e,t){return e===t||e!=e&&t!=t}var li=pa($r),ci=pa((function(e,t){return e>=t})),fi=Qr(function(){return arguments}())?Qr:function(e){return Ii(e)&&rt.call(e,"callee")&&!ht.call(e,"callee")},di=r.isArray,pi=jt?vn(jt):function(e){return Ii(e)&&Gr(e)==te};function mi(e){return null!=e&&bi(e.length)&&!vi(e)}function hi(e){return Ii(e)&&mi(e)}var gi=Zt||Bs,yi=Wt?vn(Wt):function(e){return Ii(e)&&Gr(e)==L};function wi(e){if(!Ii(e))return!1;var t=Gr(e);return t==Z||t==B||"string"==typeof e.message&&"string"==typeof e.name&&!Ti(e)}function vi(e){if(!Mi(e))return!1;var t=Gr(e);return t==j||t==W||t==U||t==$}function Ei(e){return"number"==typeof e&&e==Di(e)}function bi(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=T}function Mi(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ii(e){return null!=e&&"object"==typeof e}var Si=Ht?vn(Ht):function(e){return Ii(e)&&Ua(e)==H};function Ni(e){return"number"==typeof e||Ii(e)&&Gr(e)==V}function Ti(e){if(!Ii(e)||Gr(e)!=z)return!1;var t=pt(e);if(null===t)return!0;var n=rt.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&nt.call(n)==it}var Ai=Vt?vn(Vt):function(e){return Ii(e)&&Gr(e)==K},Ri=qt?vn(qt):function(e){return Ii(e)&&Ua(e)==Y};function Fi(e){return"string"==typeof e||!di(e)&&Ii(e)&&Gr(e)==X}function xi(e){return"symbol"==typeof e||Ii(e)&&Gr(e)==J}var Oi=zt?vn(zt):function(e){return Ii(e)&&bi(e.length)&&!!At[Gr(e)]},Pi=pa(ao),Ci=pa((function(e,t){return e<=t}));function ki(e){if(!e)return[];if(mi(e))return Fi(e)?kn(e):Xo(e);if(wt&&e[wt])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[wt]());var t=Ua(e);return(t==H?Rn:t==Y?On:_s)(e)}function Ui(e){return e?(e=Bi(e))===N||e===-N?(e<0?-1:1)*A:e==e?e:0:0===e?e:0}function Di(e){var t=Ui(e),n=t%1;return t==t?n?t-n:t:0}function Li(e){return e?Rr(Di(e),0,F):0}function Bi(e){if("number"==typeof e)return e;if(xi(e))return R;if(Mi(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Mi(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=wn(e);var n=Le.test(e);return n||Ze.test(e)?Ot(e.slice(2),n?2:8):De.test(e)?R:+e}function Zi(e){return Jo(e,ts(e))}function ji(e){return null==e?"":xo(e)}var Wi=ea((function(e,t){if(qa(t)||mi(t))Jo(t,es(t),e);else for(var n in t)rt.call(t,n)&&Mr(e,n,t[n])})),Hi=ea((function(e,t){Jo(t,ts(t),e)})),Vi=ea((function(e,t,n,r){Jo(t,ts(t),e,r)})),qi=ea((function(e,t,n,r){Jo(t,es(t),e,r)})),zi=Ia(Ar),Gi=yo((function(e,t){e=$e(e);var n=-1,r=t.length,a=r>2?t[2]:o;for(a&&ja(t[0],t[1],a)&&(r=1);++n<r;)for(var u=t[n],i=ts(u),s=-1,_=i.length;++s<_;){var l=i[s],c=e[l];(c===o||_i(c,et[l])&&!rt.call(e,l))&&(e[l]=u[l])}return e})),$i=yo((function(e){return e.push(o,Ea),Gt(rs,o,e)}));function Ki(e,t,n){var r=null==e?o:qr(e,t);return r===o?n:r}function Yi(e,t){return null!=e&&Da(e,t,Yr)}var Xi=_a((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=ut.call(t)),e[t]=n}),Ms(Ns)),Ji=_a((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=ut.call(t)),rt.call(e,t)?e[t].push(n):e[t]=[n]}),Fa),Qi=yo(Jr);function es(e){return mi(e)?yr(e):oo(e)}function ts(e){return mi(e)?yr(e,!0):function(e){if(!Mi(e))return function(e){var t=[];if(null!=e)for(var n in $e(e))t.push(n);return t}(e);var t=qa(e),n=[];for(var r in e)("constructor"!=r||!t&&rt.call(e,r))&&n.push(r);return n}(e)}var ns=ea((function(e,t,n){_o(e,t,n)})),rs=ea((function(e,t,n,r){_o(e,t,n,r)})),os=Ia((function(e,t){var n={};if(null==e)return n;var r=!1;t=tn(t,(function(t){return t=jo(t,e),r||(r=t.length>1),t})),Jo(e,Na(e),n),r&&(n=Fr(n,_|l|c,ba));for(var o=t.length;o--;)Po(n,t[o]);return n})),as=Ia((function(e,t){return null==e?{}:function(e,t){return fo(e,t,(function(t,n){return Yi(e,n)}))}(e,t)}));function us(e,t){if(null==e)return{};var n=tn(Na(e),(function(e){return[e]}));return t=Fa(t),fo(e,n,(function(e,n){return t(e,n[0])}))}var is=ya(es),ss=ya(ts);function _s(e){return null==e?[]:En(e,es(e))}var ls=oa((function(e,t,n){return t=t.toLowerCase(),e+(n?cs(t):t)}));function cs(e){return ws(ji(e).toLowerCase())}function fs(e){return(e=ji(e))&&e.replace(We,Sn).replace(Et,"")}var ds=oa((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),ps=oa((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),ms=ra("toLowerCase"),hs=oa((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),gs=oa((function(e,t,n){return e+(n?" ":"")+ws(t)})),ys=oa((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),ws=ra("toUpperCase");function vs(e,t,n){return e=ji(e),(t=n?o:t)===o?function(e){return St.test(e)}(e)?function(e){return e.match(Mt)||[]}(e):function(e){return e.match(Oe)||[]}(e):e.match(t)||[]}var Es=yo((function(e,t){try{return Gt(e,o,t)}catch(e){return wi(e)?e:new qe(e)}})),bs=Ia((function(e,t){return Kt(t,(function(t){t=uu(t),Tr(e,t,Ju(e[t],e))})),e}));function Ms(e){return function(){return e}}var Is=ia(),Ss=ia(!0);function Ns(e){return e}function Ts(e){return ro("function"==typeof e?e:Fr(e,_))}var As=yo((function(e,t){return function(n){return Jr(n,e,t)}})),Rs=yo((function(e,t){return function(n){return Jr(e,n,t)}}));function Fs(e,t,n){var r=es(t),o=Vr(t,r);null!=n||Mi(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=Vr(t,es(t)));var a=!(Mi(n)&&"chain"in n&&!n.chain),u=vi(e);return Kt(o,(function(n){var r=t[n];e[n]=r,u&&(e.prototype[n]=function(){var t=this.__chain__;if(a||t){var n=e(this.__wrapped__);return(n.__actions__=Xo(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,nn([this.value()],arguments))})})),e}function xs(){}var Os=ca(tn),Ps=ca(Xt),Cs=ca(an);function ks(e){return Wa(e)?pn(uu(e)):function(e){return function(t){return qr(t,e)}}(e)}var Us=da(),Ds=da(!0);function Ls(){return[]}function Bs(){return!1}var Zs,js=la((function(e,t){return e+t}),0),Ws=ha("ceil"),Hs=la((function(e,t){return e/t}),1),Vs=ha("floor"),qs=la((function(e,t){return e*t}),1),zs=ha("round"),Gs=la((function(e,t){return e-t}),0);return sr.after=function(e,t){if("function"!=typeof t)throw new Xe(u);return e=Di(e),function(){if(--e<1)return t.apply(this,arguments)}},sr.ary=Yu,sr.assign=Wi,sr.assignIn=Hi,sr.assignInWith=Vi,sr.assignWith=qi,sr.at=zi,sr.before=Xu,sr.bind=Ju,sr.bindAll=bs,sr.bindKey=Qu,sr.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return di(e)?e:[e]},sr.chain=ku,sr.chunk=function(e,t,n){t=(n?ja(e,t,n):t===o)?1:Zn(Di(t),0);var a=null==e?0:e.length;if(!a||t<1)return[];for(var u=0,i=0,s=r(Ut(a/t));u<a;)s[i++]=So(e,u,u+=t);return s},sr.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var a=e[t];a&&(o[r++]=a)}return o},sr.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],o=e;o--;)t[o-1]=arguments[o];return nn(di(n)?Xo(n):[n],Br(t,1))},sr.cond=function(e){var t=null==e?0:e.length,n=Fa();return e=t?tn(e,(function(e){if("function"!=typeof e[1])throw new Xe(u);return[n(e[0]),e[1]]})):[],yo((function(n){for(var r=-1;++r<t;){var o=e[r];if(Gt(o[0],this,n))return Gt(o[1],this,n)}}))},sr.conforms=function(e){return function(e){var t=es(e);return function(n){return xr(n,e,t)}}(Fr(e,_))},sr.constant=Ms,sr.countBy=Lu,sr.create=function(e,t){var n=_r(e);return null==t?n:Nr(n,t)},sr.curry=function e(t,n,r){var a=wa(t,g,o,o,o,o,o,n=r?o:n);return a.placeholder=e.placeholder,a},sr.curryRight=function e(t,n,r){var a=wa(t,y,o,o,o,o,o,n=r?o:n);return a.placeholder=e.placeholder,a},sr.debounce=ei,sr.defaults=Gi,sr.defaultsDeep=$i,sr.defer=ti,sr.delay=ni,sr.difference=_u,sr.differenceBy=lu,sr.differenceWith=cu,sr.drop=function(e,t,n){var r=null==e?0:e.length;return r?So(e,(t=n||t===o?1:Di(t))<0?0:t,r):[]},sr.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?So(e,0,(t=r-(t=n||t===o?1:Di(t)))<0?0:t):[]},sr.dropRightWhile=function(e,t){return e&&e.length?ko(e,Fa(t,3),!0,!0):[]},sr.dropWhile=function(e,t){return e&&e.length?ko(e,Fa(t,3),!0):[]},sr.fill=function(e,t,n,r){var a=null==e?0:e.length;return a?(n&&"number"!=typeof n&&ja(e,t,n)&&(n=0,r=a),function(e,t,n,r){var a=e.length;for((n=Di(n))<0&&(n=-n>a?0:a+n),(r=r===o||r>a?a:Di(r))<0&&(r+=a),r=n>r?0:Li(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},sr.filter=function(e,t){return(di(e)?Jt:Lr)(e,Fa(t,3))},sr.flatMap=function(e,t){return Br(zu(e,t),1)},sr.flatMapDeep=function(e,t){return Br(zu(e,t),N)},sr.flatMapDepth=function(e,t,n){return n=n===o?1:Di(n),Br(zu(e,t),n)},sr.flatten=pu,sr.flattenDeep=function(e){return null!=e&&e.length?Br(e,N):[]},sr.flattenDepth=function(e,t){return null!=e&&e.length?Br(e,t=t===o?1:Di(t)):[]},sr.flip=function(e){return wa(e,M)},sr.flow=Is,sr.flowRight=Ss,sr.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},sr.functions=function(e){return null==e?[]:Vr(e,es(e))},sr.functionsIn=function(e){return null==e?[]:Vr(e,ts(e))},sr.groupBy=Hu,sr.initial=function(e){return null!=e&&e.length?So(e,0,-1):[]},sr.intersection=hu,sr.intersectionBy=gu,sr.intersectionWith=yu,sr.invert=Xi,sr.invertBy=Ji,sr.invokeMap=Vu,sr.iteratee=Ts,sr.keyBy=qu,sr.keys=es,sr.keysIn=ts,sr.map=zu,sr.mapKeys=function(e,t){var n={};return t=Fa(t,3),Wr(e,(function(e,r,o){Tr(n,t(e,r,o),e)})),n},sr.mapValues=function(e,t){var n={};return t=Fa(t,3),Wr(e,(function(e,r,o){Tr(n,r,t(e,r,o))})),n},sr.matches=function(e){return io(Fr(e,_))},sr.matchesProperty=function(e,t){return so(e,Fr(t,_))},sr.memoize=ri,sr.merge=ns,sr.mergeWith=rs,sr.method=As,sr.methodOf=Rs,sr.mixin=Fs,sr.negate=oi,sr.nthArg=function(e){return e=Di(e),yo((function(t){return lo(t,e)}))},sr.omit=os,sr.omitBy=function(e,t){return us(e,oi(Fa(t)))},sr.once=function(e){return Xu(2,e)},sr.orderBy=function(e,t,n,r){return null==e?[]:(di(t)||(t=null==t?[]:[t]),di(n=r?o:n)||(n=null==n?[]:[n]),co(e,t,n))},sr.over=Os,sr.overArgs=ai,sr.overEvery=Ps,sr.overSome=Cs,sr.partial=ui,sr.partialRight=ii,sr.partition=Gu,sr.pick=as,sr.pickBy=us,sr.property=ks,sr.propertyOf=function(e){return function(t){return null==e?o:qr(e,t)}},sr.pull=vu,sr.pullAll=Eu,sr.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?po(e,t,Fa(n,2)):e},sr.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?po(e,t,o,n):e},sr.pullAt=bu,sr.range=Us,sr.rangeRight=Ds,sr.rearg=si,sr.reject=function(e,t){return(di(e)?Jt:Lr)(e,oi(Fa(t,3)))},sr.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],a=e.length;for(t=Fa(t,3);++r<a;){var u=e[r];t(u,r,e)&&(n.push(u),o.push(r))}return mo(e,o),n},sr.rest=function(e,t){if("function"!=typeof e)throw new Xe(u);return yo(e,t=t===o?t:Di(t))},sr.reverse=Mu,sr.sampleSize=function(e,t,n){return t=(n?ja(e,t,n):t===o)?1:Di(t),(di(e)?vr:vo)(e,t)},sr.set=function(e,t,n){return null==e?e:Eo(e,t,n)},sr.setWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:Eo(e,t,n,r)},sr.shuffle=function(e){return(di(e)?Er:Io)(e)},sr.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&ja(e,t,n)?(t=0,n=r):(t=null==t?0:Di(t),n=n===o?r:Di(n)),So(e,t,n)):[]},sr.sortBy=$u,sr.sortedUniq=function(e){return e&&e.length?Ro(e):[]},sr.sortedUniqBy=function(e,t){return e&&e.length?Ro(e,Fa(t,2)):[]},sr.split=function(e,t,n){return n&&"number"!=typeof n&&ja(e,t,n)&&(t=n=o),(n=n===o?F:n>>>0)?(e=ji(e))&&("string"==typeof t||null!=t&&!Ai(t))&&!(t=xo(t))&&An(e)?Ho(kn(e),0,n):e.split(t,n):[]},sr.spread=function(e,t){if("function"!=typeof e)throw new Xe(u);return t=null==t?0:Zn(Di(t),0),yo((function(n){var r=n[t],o=Ho(n,0,t);return r&&nn(o,r),Gt(e,this,o)}))},sr.tail=function(e){var t=null==e?0:e.length;return t?So(e,1,t):[]},sr.take=function(e,t,n){return e&&e.length?So(e,0,(t=n||t===o?1:Di(t))<0?0:t):[]},sr.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?So(e,(t=r-(t=n||t===o?1:Di(t)))<0?0:t,r):[]},sr.takeRightWhile=function(e,t){return e&&e.length?ko(e,Fa(t,3),!1,!0):[]},sr.takeWhile=function(e,t){return e&&e.length?ko(e,Fa(t,3)):[]},sr.tap=function(e,t){return t(e),e},sr.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new Xe(u);return Mi(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),ei(e,t,{leading:r,maxWait:t,trailing:o})},sr.thru=Uu,sr.toArray=ki,sr.toPairs=is,sr.toPairsIn=ss,sr.toPath=function(e){return di(e)?tn(e,uu):xi(e)?[e]:Xo(au(ji(e)))},sr.toPlainObject=Zi,sr.transform=function(e,t,n){var r=di(e),o=r||gi(e)||Oi(e);if(t=Fa(t,4),null==n){var a=e&&e.constructor;n=o?r?new a:[]:Mi(e)&&vi(a)?_r(pt(e)):{}}return(o?Kt:Wr)(e,(function(e,r,o){return t(n,e,r,o)})),n},sr.unary=function(e){return Yu(e,1)},sr.union=Iu,sr.unionBy=Su,sr.unionWith=Nu,sr.uniq=function(e){return e&&e.length?Oo(e):[]},sr.uniqBy=function(e,t){return e&&e.length?Oo(e,Fa(t,2)):[]},sr.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?Oo(e,o,t):[]},sr.unset=function(e,t){return null==e||Po(e,t)},sr.unzip=Tu,sr.unzipWith=Au,sr.update=function(e,t,n){return null==e?e:Co(e,t,Zo(n))},sr.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:Co(e,t,Zo(n),r)},sr.values=_s,sr.valuesIn=function(e){return null==e?[]:En(e,ts(e))},sr.without=Ru,sr.words=vs,sr.wrap=function(e,t){return ui(Zo(t),e)},sr.xor=Fu,sr.xorBy=xu,sr.xorWith=Ou,sr.zip=Pu,sr.zipObject=function(e,t){return Lo(e||[],t||[],Mr)},sr.zipObjectDeep=function(e,t){return Lo(e||[],t||[],Eo)},sr.zipWith=Cu,sr.entries=is,sr.entriesIn=ss,sr.extend=Hi,sr.extendWith=Vi,Fs(sr,sr),sr.add=js,sr.attempt=Es,sr.camelCase=ls,sr.capitalize=cs,sr.ceil=Ws,sr.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=Bi(n))==n?n:0),t!==o&&(t=(t=Bi(t))==t?t:0),Rr(Bi(e),t,n)},sr.clone=function(e){return Fr(e,c)},sr.cloneDeep=function(e){return Fr(e,_|c)},sr.cloneDeepWith=function(e,t){return Fr(e,_|c,t="function"==typeof t?t:o)},sr.cloneWith=function(e,t){return Fr(e,c,t="function"==typeof t?t:o)},sr.conformsTo=function(e,t){return null==t||xr(e,t,es(t))},sr.deburr=fs,sr.defaultTo=function(e,t){return null==e||e!=e?t:e},sr.divide=Hs,sr.endsWith=function(e,t,n){e=ji(e),t=xo(t);var r=e.length,a=n=n===o?r:Rr(Di(n),0,r);return(n-=t.length)>=0&&e.slice(n,a)==t},sr.eq=_i,sr.escape=function(e){return(e=ji(e))&&ye.test(e)?e.replace(he,Nn):e},sr.escapeRegExp=function(e){return(e=ji(e))&&Ne.test(e)?e.replace(Se,"\\$&"):e},sr.every=function(e,t,n){var r=di(e)?Xt:Ur;return n&&ja(e,t,n)&&(t=o),r(e,Fa(t,3))},sr.find=Bu,sr.findIndex=fu,sr.findKey=function(e,t){return sn(e,Fa(t,3),Wr)},sr.findLast=Zu,sr.findLastIndex=du,sr.findLastKey=function(e,t){return sn(e,Fa(t,3),Hr)},sr.floor=Vs,sr.forEach=ju,sr.forEachRight=Wu,sr.forIn=function(e,t){return null==e?e:Zr(e,Fa(t,3),ts)},sr.forInRight=function(e,t){return null==e?e:jr(e,Fa(t,3),ts)},sr.forOwn=function(e,t){return e&&Wr(e,Fa(t,3))},sr.forOwnRight=function(e,t){return e&&Hr(e,Fa(t,3))},sr.get=Ki,sr.gt=li,sr.gte=ci,sr.has=function(e,t){return null!=e&&Da(e,t,Kr)},sr.hasIn=Yi,sr.head=mu,sr.identity=Ns,sr.includes=function(e,t,n,r){e=mi(e)?e:_s(e),n=n&&!r?Di(n):0;var o=e.length;return n<0&&(n=Zn(o+n,0)),Fi(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&ln(e,t,n)>-1},sr.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:Di(n);return o<0&&(o=Zn(r+o,0)),ln(e,t,o)},sr.inRange=function(e,t,n){return t=Ui(t),n===o?(n=t,t=0):n=Ui(n),function(e,t,n){return e>=jn(t,n)&&e<Zn(t,n)}(e=Bi(e),t,n)},sr.invoke=Qi,sr.isArguments=fi,sr.isArray=di,sr.isArrayBuffer=pi,sr.isArrayLike=mi,sr.isArrayLikeObject=hi,sr.isBoolean=function(e){return!0===e||!1===e||Ii(e)&&Gr(e)==D},sr.isBuffer=gi,sr.isDate=yi,sr.isElement=function(e){return Ii(e)&&1===e.nodeType&&!Ti(e)},sr.isEmpty=function(e){if(null==e)return!0;if(mi(e)&&(di(e)||"string"==typeof e||"function"==typeof e.splice||gi(e)||Oi(e)||fi(e)))return!e.length;var t=Ua(e);if(t==H||t==Y)return!e.size;if(qa(e))return!oo(e).length;for(var n in e)if(rt.call(e,n))return!1;return!0},sr.isEqual=function(e,t){return eo(e,t)},sr.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:o)?n(e,t):o;return r===o?eo(e,t,o,n):!!r},sr.isError=wi,sr.isFinite=function(e){return"number"==typeof e&&un(e)},sr.isFunction=vi,sr.isInteger=Ei,sr.isLength=bi,sr.isMap=Si,sr.isMatch=function(e,t){return e===t||to(e,t,Oa(t))},sr.isMatchWith=function(e,t,n){return n="function"==typeof n?n:o,to(e,t,Oa(t),n)},sr.isNaN=function(e){return Ni(e)&&e!=+e},sr.isNative=function(e){if(Va(e))throw new qe("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return no(e)},sr.isNil=function(e){return null==e},sr.isNull=function(e){return null===e},sr.isNumber=Ni,sr.isObject=Mi,sr.isObjectLike=Ii,sr.isPlainObject=Ti,sr.isRegExp=Ai,sr.isSafeInteger=function(e){return Ei(e)&&e>=-T&&e<=T},sr.isSet=Ri,sr.isString=Fi,sr.isSymbol=xi,sr.isTypedArray=Oi,sr.isUndefined=function(e){return e===o},sr.isWeakMap=function(e){return Ii(e)&&Ua(e)==ee},sr.isWeakSet=function(e){return Ii(e)&&"[object WeakSet]"==Gr(e)},sr.join=function(e,t){return null==e?"":mn.call(e,t)},sr.kebabCase=ds,sr.last=wu,sr.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=r;return n!==o&&(a=(a=Di(n))<0?Zn(r+a,0):jn(a,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,a):_n(e,fn,a,!0)},sr.lowerCase=ps,sr.lowerFirst=ms,sr.lt=Pi,sr.lte=Ci,sr.max=function(e){return e&&e.length?Dr(e,Ns,$r):o},sr.maxBy=function(e,t){return e&&e.length?Dr(e,Fa(t,2),$r):o},sr.mean=function(e){return dn(e,Ns)},sr.meanBy=function(e,t){return dn(e,Fa(t,2))},sr.min=function(e){return e&&e.length?Dr(e,Ns,ao):o},sr.minBy=function(e,t){return e&&e.length?Dr(e,Fa(t,2),ao):o},sr.stubArray=Ls,sr.stubFalse=Bs,sr.stubObject=function(){return{}},sr.stubString=function(){return""},sr.stubTrue=function(){return!0},sr.multiply=qs,sr.nth=function(e,t){return e&&e.length?lo(e,Di(t)):o},sr.noConflict=function(){return kt._===this&&(kt._=st),this},sr.noop=xs,sr.now=Ku,sr.pad=function(e,t,n){e=ji(e);var r=(t=Di(t))?Cn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return fa(Dt(o),n)+e+fa(Ut(o),n)},sr.padEnd=function(e,t,n){e=ji(e);var r=(t=Di(t))?Cn(e):0;return t&&r<t?e+fa(t-r,n):e},sr.padStart=function(e,t,n){e=ji(e);var r=(t=Di(t))?Cn(e):0;return t&&r<t?fa(t-r,n)+e:e},sr.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),Hn(ji(e).replace(Te,""),t||0)},sr.random=function(e,t,n){if(n&&"boolean"!=typeof n&&ja(e,t,n)&&(t=n=o),n===o&&("boolean"==typeof t?(n=t,t=o):"boolean"==typeof e&&(n=e,e=o)),e===o&&t===o?(e=0,t=1):(e=Ui(e),t===o?(t=e,e=0):t=Ui(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var a=Vn();return jn(e+a*(t-e+xt("1e-"+((a+"").length-1))),t)}return ho(e,t)},sr.reduce=function(e,t,n){var r=di(e)?rn:hn,o=arguments.length<3;return r(e,Fa(t,4),n,o,Cr)},sr.reduceRight=function(e,t,n){var r=di(e)?on:hn,o=arguments.length<3;return r(e,Fa(t,4),n,o,kr)},sr.repeat=function(e,t,n){return t=(n?ja(e,t,n):t===o)?1:Di(t),go(ji(e),t)},sr.replace=function(){var e=arguments,t=ji(e[0]);return e.length<3?t:t.replace(e[1],e[2])},sr.result=function(e,t,n){var r=-1,a=(t=jo(t,e)).length;for(a||(a=1,e=o);++r<a;){var u=null==e?o:e[uu(t[r])];u===o&&(r=a,u=n),e=vi(u)?u.call(e):u}return e},sr.round=zs,sr.runInContext=e,sr.sample=function(e){return(di(e)?wr:wo)(e)},sr.size=function(e){if(null==e)return 0;if(mi(e))return Fi(e)?Cn(e):e.length;var t=Ua(e);return t==H||t==Y?e.size:oo(e).length},sr.snakeCase=hs,sr.some=function(e,t,n){var r=di(e)?an:No;return n&&ja(e,t,n)&&(t=o),r(e,Fa(t,3))},sr.sortedIndex=function(e,t){return To(e,t)},sr.sortedIndexBy=function(e,t,n){return Ao(e,t,Fa(n,2))},sr.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=To(e,t);if(r<n&&_i(e[r],t))return r}return-1},sr.sortedLastIndex=function(e,t){return To(e,t,!0)},sr.sortedLastIndexBy=function(e,t,n){return Ao(e,t,Fa(n,2),!0)},sr.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=To(e,t,!0)-1;if(_i(e[n],t))return n}return-1},sr.startCase=gs,sr.startsWith=function(e,t,n){return e=ji(e),n=null==n?0:Rr(Di(n),0,e.length),t=xo(t),e.slice(n,n+t.length)==t},sr.subtract=Gs,sr.sum=function(e){return e&&e.length?gn(e,Ns):0},sr.sumBy=function(e,t){return e&&e.length?gn(e,Fa(t,2)):0},sr.template=function(e,t,n){var r=sr.templateSettings;n&&ja(e,t,n)&&(t=o),e=ji(e),t=Vi({},t,r,va);var a,u,i=Vi({},t.imports,r.imports,va),s=es(i),_=En(i,s),l=0,c=t.interpolate||He,f="__p += '",d=Ke((t.escape||He).source+"|"+c.source+"|"+(c===Ee?ke:He).source+"|"+(t.evaluate||He).source+"|$","g"),p="//# sourceURL="+(rt.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Tt+"]")+"\n";e.replace(d,(function(t,n,r,o,i,s){return r||(r=o),f+=e.slice(l,s).replace(Ve,Tn),n&&(a=!0,f+="' +\n__e("+n+") +\n'"),i&&(u=!0,f+="';\n"+i+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=s+t.length,t})),f+="';\n";var m=rt.call(t,"variable")&&t.variable;if(m){if(Pe.test(m))throw new qe("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(u?f.replace(fe,""):f).replace(de,"$1").replace(pe,"$1;"),f="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(u?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var h=Es((function(){return ze(s,p+"return "+f).apply(o,_)}));if(h.source=f,wi(h))throw h;return h},sr.times=function(e,t){if((e=Di(e))<1||e>T)return[];var n=F,r=jn(e,F);t=Fa(t),e-=F;for(var o=yn(r,t);++n<e;)t(n);return o},sr.toFinite=Ui,sr.toInteger=Di,sr.toLength=Li,sr.toLower=function(e){return ji(e).toLowerCase()},sr.toNumber=Bi,sr.toSafeInteger=function(e){return e?Rr(Di(e),-T,T):0===e?e:0},sr.toString=ji,sr.toUpper=function(e){return ji(e).toUpperCase()},sr.trim=function(e,t,n){if((e=ji(e))&&(n||t===o))return wn(e);if(!e||!(t=xo(t)))return e;var r=kn(e),a=kn(t);return Ho(r,Mn(r,a),In(r,a)+1).join("")},sr.trimEnd=function(e,t,n){if((e=ji(e))&&(n||t===o))return e.slice(0,Un(e)+1);if(!e||!(t=xo(t)))return e;var r=kn(e);return Ho(r,0,In(r,kn(t))+1).join("")},sr.trimStart=function(e,t,n){if((e=ji(e))&&(n||t===o))return e.replace(Te,"");if(!e||!(t=xo(t)))return e;var r=kn(e);return Ho(r,Mn(r,kn(t))).join("")},sr.truncate=function(e,t){var n=30,r="...";if(Mi(t)){var a="separator"in t?t.separator:a;n="length"in t?Di(t.length):n,r="omission"in t?xo(t.omission):r}var u=(e=ji(e)).length;if(An(e)){var i=kn(e);u=i.length}if(n>=u)return e;var s=n-Cn(r);if(s<1)return r;var _=i?Ho(i,0,s).join(""):e.slice(0,s);if(a===o)return _+r;if(i&&(s+=_.length-s),Ai(a)){if(e.slice(s).search(a)){var l,c=_;for(a.global||(a=Ke(a.source,ji(Ue.exec(a))+"g")),a.lastIndex=0;l=a.exec(c);)var f=l.index;_=_.slice(0,f===o?s:f)}}else if(e.indexOf(xo(a),s)!=s){var d=_.lastIndexOf(a);d>-1&&(_=_.slice(0,d))}return _+r},sr.unescape=function(e){return(e=ji(e))&&ge.test(e)?e.replace(me,Dn):e},sr.uniqueId=function(e){var t=++ot;return ji(e)+t},sr.upperCase=ys,sr.upperFirst=ws,sr.each=ju,sr.eachRight=Wu,sr.first=mu,Fs(sr,(Zs={},Wr(sr,(function(e,t){rt.call(sr.prototype,t)||(Zs[t]=e)})),Zs),{chain:!1}),sr.VERSION="4.17.21",Kt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){sr[e].placeholder=sr})),Kt(["drop","take"],(function(e,t){fr.prototype[e]=function(n){n=n===o?1:Zn(Di(n),0);var r=this.__filtered__&&!t?new fr(this):this.clone();return r.__filtered__?r.__takeCount__=jn(n,r.__takeCount__):r.__views__.push({size:jn(n,F),type:e+(r.__dir__<0?"Right":"")}),r},fr.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Kt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;fr.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Fa(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Kt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");fr.prototype[e]=function(){return this[n](1).value()[0]}})),Kt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");fr.prototype[e]=function(){return this.__filtered__?new fr(this):this[n](1)}})),fr.prototype.compact=function(){return this.filter(Ns)},fr.prototype.find=function(e){return this.filter(e).head()},fr.prototype.findLast=function(e){return this.reverse().find(e)},fr.prototype.invokeMap=yo((function(e,t){return"function"==typeof e?new fr(this):this.map((function(n){return Jr(n,e,t)}))})),fr.prototype.reject=function(e){return this.filter(oi(Fa(e)))},fr.prototype.slice=function(e,t){e=Di(e);var n=this;return n.__filtered__&&(e>0||t<0)?new fr(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=Di(t))<0?n.dropRight(-t):n.take(t-e)),n)},fr.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},fr.prototype.toArray=function(){return this.take(F)},Wr(fr.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),a=sr[r?"take"+("last"==t?"Right":""):t],u=r||/^find/.test(t);a&&(sr.prototype[t]=function(){var t=this.__wrapped__,i=r?[1]:arguments,s=t instanceof fr,_=i[0],l=s||di(t),c=function(e){var t=a.apply(sr,nn([e],i));return r&&f?t[0]:t};l&&n&&"function"==typeof _&&1!=_.length&&(s=l=!1);var f=this.__chain__,d=!!this.__actions__.length,p=u&&!f,m=s&&!d;if(!u&&l){t=m?t:new fr(this);var h=e.apply(t,i);return h.__actions__.push({func:Uu,args:[c],thisArg:o}),new cr(h,f)}return p&&m?e.apply(this,i):(h=this.thru(c),p?r?h.value()[0]:h.value():h)})})),Kt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Je[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);sr.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(di(o)?o:[],e)}return this[n]((function(n){return t.apply(di(n)?n:[],e)}))}})),Wr(fr.prototype,(function(e,t){var n=sr[t];if(n){var r=n.name+"";rt.call(Qn,r)||(Qn[r]=[]),Qn[r].push({name:t,func:n})}})),Qn[sa(o,m).name]=[{name:"wrapper",func:o}],fr.prototype.clone=function(){var e=new fr(this.__wrapped__);return e.__actions__=Xo(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Xo(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Xo(this.__views__),e},fr.prototype.reverse=function(){if(this.__filtered__){var e=new fr(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},fr.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=di(e),r=t<0,o=n?e.length:0,a=function(e,t,n){for(var r=-1,o=n.length;++r<o;){var a=n[r],u=a.size;switch(a.type){case"drop":e+=u;break;case"dropRight":t-=u;break;case"take":t=jn(t,e+u);break;case"takeRight":e=Zn(e,t-u)}}return{start:e,end:t}}(0,o,this.__views__),u=a.start,i=a.end,s=i-u,_=r?i:u-1,l=this.__iteratees__,c=l.length,f=0,d=jn(s,this.__takeCount__);if(!n||!r&&o==s&&d==s)return Uo(e,this.__actions__);var p=[];e:for(;s--&&f<d;){for(var m=-1,h=e[_+=t];++m<c;){var g=l[m],y=g.iteratee,w=g.type,v=y(h);if(2==w)h=v;else if(!v){if(1==w)continue e;break e}}p[f++]=h}return p},sr.prototype.at=Du,sr.prototype.chain=function(){return ku(this)},sr.prototype.commit=function(){return new cr(this.value(),this.__chain__)},sr.prototype.next=function(){this.__values__===o&&(this.__values__=ki(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},sr.prototype.plant=function(e){for(var t,n=this;n instanceof lr;){var r=su(n);r.__index__=0,r.__values__=o,t?a.__wrapped__=r:t=r;var a=r;n=n.__wrapped__}return a.__wrapped__=e,t},sr.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof fr){var t=e;return this.__actions__.length&&(t=new fr(this)),(t=t.reverse()).__actions__.push({func:Uu,args:[Mu],thisArg:o}),new cr(t,this.__chain__)}return this.thru(Mu)},sr.prototype.toJSON=sr.prototype.valueOf=sr.prototype.value=function(){return Uo(this.__wrapped__,this.__actions__)},sr.prototype.first=sr.prototype.head,wt&&(sr.prototype[wt]=function(){return this}),sr}();kt._=Ln,(r=function(){return Ln}.call(t,n,t,e))===o||(e.exports=r)}.call(this)},39838:function(e){e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");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)}}},54600:function(e,t,n){var r=n(91405),o=n(39838),a=n(28348);e.exports=function(e,t){return a(e,o(r(t)))}},84060:function(e,t,n){var r=n(88335)((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));e.exports=r},64988:function(e,t,n){var r=n(41445),o=n(20820)((function(e,t){return null==e?{}:r(e,t)}));e.exports=o},28348:function(e,t,n){var r=n(52329),o=n(91405),a=n(60398),u=n(99327);e.exports=function(e,t){if(null==e)return{};var n=r(u(e),(function(e){return[e]}));return t=o(t),a(e,n,(function(e,n){return t(e,n[0])}))}},96912:function(module,__unused_webpack_exports,__webpack_require__){var __dirname="/",Module={locateFile:(e,t)=>e.startsWith("http")?e:t+e},TreeSitter=function(){var initPromise,document="object"==typeof window?{currentScript:window.document.currentScript}:null;class Parser{constructor(){this.initialize()}initialize(){throw new Error("cannot construct a Parser before calling `init()`")}static init(moduleOptions){return initPromise||(Module=Object.assign({},Module,moduleOptions),initPromise=new Promise((resolveInitPromise=>{var moduleOverrides=Object.assign({},Module),arguments_=[],thisProgram="./this.program",quit_=(e,t)=>{throw t},ENVIRONMENT_IS_WEB="object"==typeof window,ENVIRONMENT_IS_WORKER="function"==typeof importScripts,ENVIRONMENT_IS_NODE="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,scriptDirectory="",read_,readAsync,readBinary,setWindowTitle;function locateFile(e){return Module.locateFile?Module.locateFile(e,scriptDirectory):scriptDirectory+e}function logExceptionOnExit(e){e instanceof ExitStatus||err("exiting due to exception: "+e)}if(ENVIRONMENT_IS_NODE){var fs=__webpack_require__(66317),nodePath=__webpack_require__(99918);scriptDirectory=ENVIRONMENT_IS_WORKER?nodePath.dirname(scriptDirectory)+"/":__dirname+"/",read_=(e,t)=>(e=isFileURI(e)?new URL(e):nodePath.normalize(e),fs.readFileSync(e,t?void 0:"utf8")),readBinary=e=>{var t=read_(e,!0);return t.buffer||(t=new Uint8Array(t)),t},readAsync=(e,t,n)=>{e=isFileURI(e)?new URL(e):nodePath.normalize(e),fs.readFile(e,(function(e,r){e?n(e):t(r.buffer)}))},process.argv.length>1&&(thisProgram=process.argv[1].replace(/\\/g,"/")),arguments_=process.argv.slice(2),module.exports=Module,quit_=(e,t)=>{if(keepRuntimeAlive())throw process.exitCode=e,t;logExceptionOnExit(t),process.exit(e)},Module.inspect=function(){return"[Emscripten Module object]"}}else(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)&&(ENVIRONMENT_IS_WORKER?scriptDirectory=self.location.href:void 0!==document&&document.currentScript&&(scriptDirectory=document.currentScript.src),scriptDirectory=0!==scriptDirectory.indexOf("blob:")?scriptDirectory.substr(0,scriptDirectory.replace(/[?#].*/,"").lastIndexOf("/")+1):"",read_=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},ENVIRONMENT_IS_WORKER&&(readBinary=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),readAsync=(e,t,n)=>{var r=new XMLHttpRequest;r.open("GET",e,!0),r.responseType="arraybuffer",r.onload=()=>{200==r.status||0==r.status&&r.response?t(r.response):n()},r.onerror=n,r.send(null)},setWindowTitle=e=>document.title=e);var out=Module.print||console.log.bind(console),err=Module.printErr||console.warn.bind(console);Object.assign(Module,moduleOverrides),moduleOverrides=null,Module.arguments&&(arguments_=Module.arguments),Module.thisProgram&&(thisProgram=Module.thisProgram),Module.quit&&(quit_=Module.quit);var STACK_ALIGN=16,dynamicLibraries=Module.dynamicLibraries||[],wasmBinary;Module.wasmBinary&&(wasmBinary=Module.wasmBinary);var noExitRuntime=Module.noExitRuntime||!0,wasmMemory;"object"!=typeof WebAssembly&&abort("no native wasm support detected");var ABORT=!1,EXITSTATUS,UTF8Decoder="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,buffer,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function UTF8ArrayToString(e,t,n){for(var r=t+n,o=t;e[o]&&!(o>=r);)++o;if(o-t>16&&e.buffer&&UTF8Decoder)return UTF8Decoder.decode(e.subarray(t,o));for(var a="";t<o;){var u=e[t++];if(128&u){var i=63&e[t++];if(192!=(224&u)){var s=63&e[t++];if((u=224==(240&u)?(15&u)<<12|i<<6|s:(7&u)<<18|i<<12|s<<6|63&e[t++])<65536)a+=String.fromCharCode(u);else{var _=u-65536;a+=String.fromCharCode(55296|_>>10,56320|1023&_)}}else a+=String.fromCharCode((31&u)<<6|i)}else a+=String.fromCharCode(u)}return a}function UTF8ToString(e,t){return e?UTF8ArrayToString(HEAPU8,e,t):""}function stringToUTF8Array(e,t,n,r){if(!(r>0))return 0;for(var o=n,a=n+r-1,u=0;u<e.length;++u){var i=e.charCodeAt(u);if(i>=55296&&i<=57343&&(i=65536+((1023&i)<<10)|1023&e.charCodeAt(++u)),i<=127){if(n>=a)break;t[n++]=i}else if(i<=2047){if(n+1>=a)break;t[n++]=192|i>>6,t[n++]=128|63&i}else if(i<=65535){if(n+2>=a)break;t[n++]=224|i>>12,t[n++]=128|i>>6&63,t[n++]=128|63&i}else{if(n+3>=a)break;t[n++]=240|i>>18,t[n++]=128|i>>12&63,t[n++]=128|i>>6&63,t[n++]=128|63&i}}return t[n]=0,n-o}function stringToUTF8(e,t,n){return stringToUTF8Array(e,HEAPU8,t,n)}function lengthBytesUTF8(e){for(var t=0,n=0;n<e.length;++n){var r=e.charCodeAt(n);r<=127?t++:r<=2047?t+=2:r>=55296&&r<=57343?(t+=4,++n):t+=3}return t}function updateGlobalBufferAndViews(e){buffer=e,Module.HEAP8=HEAP8=new Int8Array(e),Module.HEAP16=HEAP16=new Int16Array(e),Module.HEAP32=HEAP32=new Int32Array(e),Module.HEAPU8=HEAPU8=new Uint8Array(e),Module.HEAPU16=HEAPU16=new Uint16Array(e),Module.HEAPU32=HEAPU32=new Uint32Array(e),Module.HEAPF32=HEAPF32=new Float32Array(e),Module.HEAPF64=HEAPF64=new Float64Array(e)}var INITIAL_MEMORY=Module.INITIAL_MEMORY||33554432;wasmMemory=Module.wasmMemory?Module.wasmMemory:new WebAssembly.Memory({initial:INITIAL_MEMORY/65536,maximum:32768}),wasmMemory&&(buffer=wasmMemory.buffer),INITIAL_MEMORY=buffer.byteLength,updateGlobalBufferAndViews(buffer);var wasmTable=new WebAssembly.Table({initial:20,element:"anyfunc"}),__ATPRERUN__=[],__ATINIT__=[],__ATMAIN__=[],__ATPOSTRUN__=[],__RELOC_FUNCS__=[],runtimeInitialized=!1;function keepRuntimeAlive(){return noExitRuntime}function preRun(){if(Module.preRun)for("function"==typeof Module.preRun&&(Module.preRun=[Module.preRun]);Module.preRun.length;)addOnPreRun(Module.preRun.shift());callRuntimeCallbacks(__ATPRERUN__)}function initRuntime(){runtimeInitialized=!0,callRuntimeCallbacks(__RELOC_FUNCS__),callRuntimeCallbacks(__ATINIT__)}function preMain(){callRuntimeCallbacks(__ATMAIN__)}function postRun(){if(Module.postRun)for("function"==typeof Module.postRun&&(Module.postRun=[Module.postRun]);Module.postRun.length;)addOnPostRun(Module.postRun.shift());callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(e){__ATPRERUN__.unshift(e)}function addOnInit(e){__ATINIT__.unshift(e)}function addOnPostRun(e){__ATPOSTRUN__.unshift(e)}var runDependencies=0,runDependencyWatcher=null,dependenciesFulfilled=null;function addRunDependency(e){runDependencies++,Module.monitorRunDependencies&&Module.monitorRunDependencies(runDependencies)}function removeRunDependency(e){if(runDependencies--,Module.monitorRunDependencies&&Module.monitorRunDependencies(runDependencies),0==runDependencies&&(null!==runDependencyWatcher&&(clearInterval(runDependencyWatcher),runDependencyWatcher=null),dependenciesFulfilled)){var t=dependenciesFulfilled;dependenciesFulfilled=null,t()}}function abort(e){throw Module.onAbort&&Module.onAbort(e),err(e="Aborted("+e+")"),ABORT=!0,EXITSTATUS=1,e+=". Build with -sASSERTIONS for more info.",new WebAssembly.RuntimeError(e)}var dataURIPrefix="data:application/octet-stream;base64,",wasmBinaryFile,tempDouble,tempI64;function isDataURI(e){return e.startsWith(dataURIPrefix)}function isFileURI(e){return e.startsWith("file://")}function getBinary(e){try{if(e==wasmBinaryFile&&wasmBinary)return new Uint8Array(wasmBinary);if(readBinary)return readBinary(e);throw"both async and sync fetching of the wasm failed"}catch(e){abort(e)}}function getBinaryPromise(){if(!wasmBinary&&(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)){if("function"==typeof fetch&&!isFileURI(wasmBinaryFile))return fetch(wasmBinaryFile,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load wasm binary file at '"+wasmBinaryFile+"'";return e.arrayBuffer()})).catch((function(){return getBinary(wasmBinaryFile)}));if(readAsync)return new Promise((function(e,t){readAsync(wasmBinaryFile,(function(t){e(new Uint8Array(t))}),t)}))}return Promise.resolve().then((function(){return getBinary(wasmBinaryFile)}))}function createWasm(){var e={env:asmLibraryArg,wasi_snapshot_preview1:asmLibraryArg,"GOT.mem":new Proxy(asmLibraryArg,GOTHandler),"GOT.func":new Proxy(asmLibraryArg,GOTHandler)};function t(e,t){var n=e.exports;n=relocateExports(n,1024);var r=getDylinkMetadata(t);r.neededDynlibs&&(dynamicLibraries=r.neededDynlibs.concat(dynamicLibraries)),mergeLibSymbols(n,"main"),Module.asm=n,addOnInit(Module.asm.__wasm_call_ctors),__RELOC_FUNCS__.push(Module.asm.__wasm_apply_data_relocs),removeRunDependency("wasm-instantiate")}function n(e){t(e.instance,e.module)}function r(t){return getBinaryPromise().then((function(t){return WebAssembly.instantiate(t,e)})).then((function(e){return e})).then(t,(function(e){err("failed to asynchronously prepare wasm: "+e),abort(e)}))}if(addRunDependency("wasm-instantiate"),Module.instantiateWasm)try{return Module.instantiateWasm(e,t)}catch(e){return err("Module.instantiateWasm callback failed with error: "+e),!1}return wasmBinary||"function"!=typeof WebAssembly.instantiateStreaming||isDataURI(wasmBinaryFile)||isFileURI(wasmBinaryFile)||ENVIRONMENT_IS_NODE||"function"!=typeof fetch?r(n):fetch(wasmBinaryFile,{credentials:"same-origin"}).then((function(t){return WebAssembly.instantiateStreaming(t,e).then(n,(function(e){return err("wasm streaming compile failed: "+e),err("falling back to ArrayBuffer instantiation"),r(n)}))})),{}}wasmBinaryFile=new URL(__webpack_require__(19637),__webpack_require__.b).href,isDataURI(wasmBinaryFile)||(wasmBinaryFile=locateFile(wasmBinaryFile));var ASM_CONSTS={};function ExitStatus(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}var GOT={},CurrentModuleWeakSymbols=new Set([]),GOTHandler={get:function(e,t){var n=GOT[t];return n||(n=GOT[t]=new WebAssembly.Global({value:"i32",mutable:!0})),CurrentModuleWeakSymbols.has(t)||(n.required=!0),n}};function callRuntimeCallbacks(e){for(;e.length>0;)e.shift()(Module)}function getDylinkMetadata(e){var t=0,n=0;function r(){for(var n=0,r=1;;){var o=e[t++];if(n+=(127&o)*r,r*=128,!(128&o))break}return n}function o(){var n=r();return UTF8ArrayToString(e,(t+=n)-n,n)}function a(e,t){if(e)throw new Error(t)}var u="dylink.0";if(e instanceof WebAssembly.Module){var i=WebAssembly.Module.customSections(e,u);0===i.length&&(u="dylink",i=WebAssembly.Module.customSections(e,u)),a(0===i.length,"need dylink section"),n=(e=new Uint8Array(i[0])).length}else{a(!(1836278016==new Uint32Array(new Uint8Array(e.subarray(0,24)).buffer)[0]),"need to see wasm magic number"),a(0!==e[8],"need the dylink section to be first"),t=9;var s=r();n=t+s,u=o()}var _={neededDynlibs:[],tlsExports:new Set,weakImports:new Set};if("dylink"==u){_.memorySize=r(),_.memoryAlign=r(),_.tableSize=r(),_.tableAlign=r();for(var l=r(),c=0;c<l;++c){var f=o();_.neededDynlibs.push(f)}}else for(a("dylink.0"!==u);t<n;){var d=e[t++],p=r();if(1===d)_.memorySize=r(),_.memoryAlign=r(),_.tableSize=r(),_.tableAlign=r();else if(2===d)for(l=r(),c=0;c<l;++c)f=o(),_.neededDynlibs.push(f);else if(3===d)for(var m=r();m--;){var h=o();256&r()&&_.tlsExports.add(h)}else if(4===d)for(m=r();m--;)o(),h=o(),1==(3&r())&&_.weakImports.add(h);else t+=p}return _}function getValue(e,t="i8"){switch(t.endsWith("*")&&(t="*"),t){case"i1":case"i8":return HEAP8[e>>0];case"i16":return HEAP16[e>>1];case"i32":case"i64":return HEAP32[e>>2];case"float":return HEAPF32[e>>2];case"double":return HEAPF64[e>>3];case"*":return HEAPU32[e>>2];default:abort("invalid type for getValue: "+t)}return null}function asmjsMangle(e){return 0==e.indexOf("dynCall_")||["stackAlloc","stackSave","stackRestore","getTempRet0","setTempRet0"].includes(e)?e:"_"+e}function mergeLibSymbols(e,t){for(var n in e)if(e.hasOwnProperty(n)){asmLibraryArg.hasOwnProperty(n)||(asmLibraryArg[n]=e[n]);var r=asmjsMangle(n);Module.hasOwnProperty(r)||(Module[r]=e[n]),"__main_argc_argv"==n&&(Module._main=e[n])}}var LDSO={loadedLibsByName:{},loadedLibsByHandle:{}};function dynCallLegacy(e,t,n){var r=Module["dynCall_"+e];return n&&n.length?r.apply(null,[t].concat(n)):r.call(null,t)}var wasmTableMirror=[];function getWasmTableEntry(e){var t=wasmTableMirror[e];return t||(e>=wasmTableMirror.length&&(wasmTableMirror.length=e+1),wasmTableMirror[e]=t=wasmTable.get(e)),t}function dynCall(e,t,n){return e.includes("j")?dynCallLegacy(e,t,n):getWasmTableEntry(t).apply(null,n)}function createInvokeFunction(e){return function(){var t=stackSave();try{return dynCall(e,arguments[0],Array.prototype.slice.call(arguments,1))}catch(e){if(stackRestore(t),e!==e+0)throw e;_setThrew(1,0)}}}var ___heap_base=78144;function zeroMemory(e,t){return HEAPU8.fill(0,e,e+t),e}function getMemory(e){if(runtimeInitialized)return zeroMemory(_malloc(e),e);var t=___heap_base,n=t+e+15&-16;return ___heap_base=n,GOT.__heap_base.value=n,t}function isInternalSym(e){return["__cpp_exception","__c_longjmp","__wasm_apply_data_relocs","__dso_handle","__tls_size","__tls_align","__set_stack_limits","_emscripten_tls_init","__wasm_init_tls","__wasm_call_ctors","__start_em_asm","__stop_em_asm"].includes(e)}function uleb128Encode(e,t){e<128?t.push(e):t.push(e%128|128,e>>7)}function sigToWasmTypes(e){for(var t={i:"i32",j:"i32",f:"f32",d:"f64",p:"i32"},n={parameters:[],results:"v"==e[0]?[]:[t[e[0]]]},r=1;r<e.length;++r)n.parameters.push(t[e[r]]),"j"===e[r]&&n.parameters.push("i32");return n}function generateFuncType(e,t){var n=e.slice(0,1),r=e.slice(1),o={i:127,p:127,j:126,f:125,d:124};t.push(96),uleb128Encode(r.length,t);for(var a=0;a<r.length;++a)t.push(o[r[a]]);"v"==n?t.push(0):t.push(1,o[n])}function convertJsFunctionToWasm(e,t){if("function"==typeof WebAssembly.Function)return new WebAssembly.Function(sigToWasmTypes(t),e);var n=[1];generateFuncType(t,n);var r=[0,97,115,109,1,0,0,0,1];uleb128Encode(n.length,r),r.push.apply(r,n),r.push(2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0);var o=new WebAssembly.Module(new Uint8Array(r));return new WebAssembly.Instance(o,{e:{f:e}}).exports.f}function updateTableMap(e,t){if(functionsInTableMap)for(var n=e;n<e+t;n++){var r=getWasmTableEntry(n);r&&functionsInTableMap.set(r,n)}}var functionsInTableMap=void 0,freeTableIndexes=[];function getEmptyTableSlot(){if(freeTableIndexes.length)return freeTableIndexes.pop();try{wasmTable.grow(1)}catch(e){if(!(e instanceof RangeError))throw e;throw"Unable to grow wasm table. Set ALLOW_TABLE_GROWTH."}return wasmTable.length-1}function setWasmTableEntry(e,t){wasmTable.set(e,t),wasmTableMirror[e]=wasmTable.get(e)}function addFunction(e,t){if(functionsInTableMap||(functionsInTableMap=new WeakMap,updateTableMap(0,wasmTable.length)),functionsInTableMap.has(e))return functionsInTableMap.get(e);var n=getEmptyTableSlot();try{setWasmTableEntry(n,e)}catch(r){if(!(r instanceof TypeError))throw r;setWasmTableEntry(n,convertJsFunctionToWasm(e,t))}return functionsInTableMap.set(e,n),n}function updateGOT(e,t){for(var n in e)if(!isInternalSym(n)){var r=e[n];n.startsWith("orig$")&&(n=n.split("$")[1],t=!0),GOT[n]||(GOT[n]=new WebAssembly.Global({value:"i32",mutable:!0})),(t||0==GOT[n].value)&&("function"==typeof r?GOT[n].value=addFunction(r):"number"==typeof r?GOT[n].value=r:err("unhandled export type for `"+n+"`: "+typeof r))}}function relocateExports(e,t,n){var r={};for(var o in e){var a=e[o];"object"==typeof a&&(a=a.value),"number"==typeof a&&(a+=t),r[o]=a}return updateGOT(r,n),r}function resolveGlobalSymbol(e,t){var n;return t&&(n=asmLibraryArg["orig$"+e]),n||(n=asmLibraryArg[e])&&n.stub&&(n=void 0),n||(n=Module[asmjsMangle(e)]),!n&&e.startsWith("invoke_")&&(n=createInvokeFunction(e.split("_")[1])),n}function alignMemory(e,t){return Math.ceil(e/t)*t}function loadWebAssemblyModule(binary,flags,handle){var metadata=getDylinkMetadata(binary);function loadModule(){var firstLoad=!handle||!HEAP8[handle+12>>0];if(firstLoad){var memAlign=Math.pow(2,metadata.memoryAlign);memAlign=Math.max(memAlign,STACK_ALIGN);var memoryBase=metadata.memorySize?alignMemory(getMemory(metadata.memorySize+memAlign),memAlign):0,tableBase=metadata.tableSize?wasmTable.length:0;handle&&(HEAP8[handle+12>>0]=1,HEAPU32[handle+16>>2]=memoryBase,HEAP32[handle+20>>2]=metadata.memorySize,HEAPU32[handle+24>>2]=tableBase,HEAP32[handle+28>>2]=metadata.tableSize)}else memoryBase=HEAPU32[handle+16>>2],tableBase=HEAPU32[handle+24>>2];var tableGrowthNeeded=tableBase+metadata.tableSize-wasmTable.length,moduleExports;function resolveSymbol(e){var t=resolveGlobalSymbol(e,!1);return t||(t=moduleExports[e]),t}tableGrowthNeeded>0&&wasmTable.grow(tableGrowthNeeded);var proxyHandler={get:function(e,t){switch(t){case"__memory_base":return memoryBase;case"__table_base":return tableBase}return t in asmLibraryArg?asmLibraryArg[t]:(t in e||(e[t]=function(){return n||(n=resolveSymbol(t)),n.apply(null,arguments)}),e[t]);var n}},proxy=new Proxy({},proxyHandler),info={"GOT.mem":new Proxy({},GOTHandler),"GOT.func":new Proxy({},GOTHandler),env:proxy,wasi_snapshot_preview1:proxy};function postInstantiation(instance){function addEmAsm(addr,body){for(var args=[],arity=0;arity<16&&-1!=body.indexOf("$"+arity);arity++)args.push("$"+arity);args=args.join(",");var func="("+args+" ) => { "+body+"};";ASM_CONSTS[start]=eval(func)}if(updateTableMap(tableBase,metadata.tableSize),moduleExports=relocateExports(instance.exports,memoryBase),flags.allowUndefined||reportUndefinedSymbols(),"__start_em_asm"in moduleExports)for(var start=moduleExports.__start_em_asm,stop=moduleExports.__stop_em_asm;start<stop;){var jsString=UTF8ToString(start);addEmAsm(start,jsString),start=HEAPU8.indexOf(0,start)+1}var applyRelocs=moduleExports.__wasm_apply_data_relocs;applyRelocs&&(runtimeInitialized?applyRelocs():__RELOC_FUNCS__.push(applyRelocs));var init=moduleExports.__wasm_call_ctors;return init&&(runtimeInitialized?init():__ATINIT__.push(init)),moduleExports}if(flags.loadAsync){if(binary instanceof WebAssembly.Module){var instance=new WebAssembly.Instance(binary,info);return Promise.resolve(postInstantiation(instance))}return WebAssembly.instantiate(binary,info).then((function(e){return postInstantiation(e.instance)}))}var module=binary instanceof WebAssembly.Module?binary:new WebAssembly.Module(binary),instance=new WebAssembly.Instance(module,info);return postInstantiation(instance)}return CurrentModuleWeakSymbols=metadata.weakImports,flags.loadAsync?metadata.neededDynlibs.reduce((function(e,t){return e.then((function(){return loadDynamicLibrary(t,flags)}))}),Promise.resolve()).then((function(){return loadModule()})):(metadata.neededDynlibs.forEach((function(e){loadDynamicLibrary(e,flags)})),loadModule())}function loadDynamicLibrary(e,t,n){t=t||{global:!0,nodelete:!0};var r=LDSO.loadedLibsByName[e];if(r)return t.global&&!r.global&&(r.global=!0,"loading"!==r.module&&mergeLibSymbols(r.module,e)),t.nodelete&&r.refcount!==1/0&&(r.refcount=1/0),r.refcount++,n&&(LDSO.loadedLibsByHandle[n]=r),!t.loadAsync||Promise.resolve(!0);function o(e){if(t.fs&&t.fs.findObject(e)){var n=t.fs.readFile(e,{encoding:"binary"});return n instanceof Uint8Array||(n=new Uint8Array(n)),t.loadAsync?Promise.resolve(n):n}if(e=locateFile(e),t.loadAsync)return new Promise((function(t,n){readAsync(e,(e=>t(new Uint8Array(e))),n)}));if(!readBinary)throw new Error(e+": file not found, and synchronous loading of external files is not available");return readBinary(e)}function a(){if("undefined"!=typeof preloadedWasm&&preloadedWasm[e]){var r=preloadedWasm[e];return t.loadAsync?Promise.resolve(r):r}return t.loadAsync?o(e).then((function(e){return loadWebAssemblyModule(e,t,n)})):loadWebAssemblyModule(o(e),t,n)}function u(t){r.global&&mergeLibSymbols(t,e),r.module=t}return r={refcount:t.nodelete?1/0:1,name:e,module:"loading",global:t.global},LDSO.loadedLibsByName[e]=r,n&&(LDSO.loadedLibsByHandle[n]=r),t.loadAsync?a().then((function(e){return u(e),!0})):(u(a()),!0)}function reportUndefinedSymbols(){for(var e in GOT)if(0==GOT[e].value){var t=resolveGlobalSymbol(e,!0);if(!t&&!GOT[e].required)continue;if("function"==typeof t)GOT[e].value=addFunction(t,t.sig);else{if("number"!=typeof t)throw new Error("bad export type for `"+e+"`: "+typeof t);GOT[e].value=t}}}function preloadDylibs(){dynamicLibraries.length?(addRunDependency("preloadDylibs"),dynamicLibraries.reduce((function(e,t){return e.then((function(){return loadDynamicLibrary(t,{loadAsync:!0,global:!0,nodelete:!0,allowUndefined:!0})}))}),Promise.resolve()).then((function(){reportUndefinedSymbols(),removeRunDependency("preloadDylibs")}))):reportUndefinedSymbols()}function setValue(e,t,n="i8"){switch(n.endsWith("*")&&(n="*"),n){case"i1":case"i8":HEAP8[e>>0]=t;break;case"i16":HEAP16[e>>1]=t;break;case"i32":HEAP32[e>>2]=t;break;case"i64":tempI64=[t>>>0,(tempDouble=t,+Math.abs(tempDouble)>=1?tempDouble>0?(0|Math.min(+Math.floor(tempDouble/4294967296),4294967295))>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[e>>2]=tempI64[0],HEAP32[e+4>>2]=tempI64[1];break;case"float":HEAPF32[e>>2]=t;break;case"double":HEAPF64[e>>3]=t;break;case"*":HEAPU32[e>>2]=t;break;default:abort("invalid type for setValue: "+n)}}var ___memory_base=new WebAssembly.Global({value:"i32",mutable:!1},1024),___stack_pointer=new WebAssembly.Global({value:"i32",mutable:!0},78144),___table_base=new WebAssembly.Global({value:"i32",mutable:!1},1),nowIsMonotonic=!0,_emscripten_get_now;function __emscripten_get_now_is_monotonic(){return nowIsMonotonic}function _abort(){abort("")}function _emscripten_date_now(){return Date.now()}function _emscripten_memcpy_big(e,t,n){HEAPU8.copyWithin(e,t,t+n)}function getHeapMax(){return 2147483648}function emscripten_realloc_buffer(e){try{return wasmMemory.grow(e-buffer.byteLength+65535>>>16),updateGlobalBufferAndViews(wasmMemory.buffer),1}catch(e){}}function _emscripten_resize_heap(e){var t=HEAPU8.length;e>>>=0;var n,r=getHeapMax();if(e>r)return!1;for(var o=1;o<=4;o*=2){var a=t*(1+.2/o);if(a=Math.min(a,e+100663296),emscripten_realloc_buffer(Math.min(r,(n=Math.max(e,a))+(65536-n%65536)%65536)))return!0}return!1}__emscripten_get_now_is_monotonic.sig="i",Module._abort=_abort,_abort.sig="v",_emscripten_date_now.sig="d",_emscripten_get_now=ENVIRONMENT_IS_NODE?()=>{var e=process.hrtime();return 1e3*e[0]+e[1]/1e6}:()=>performance.now(),_emscripten_get_now.sig="d",_emscripten_memcpy_big.sig="vppp",_emscripten_resize_heap.sig="ip";var SYSCALLS={DEFAULT_POLLMASK:5,calculateAt:function(e,t,n){if(PATH.isAbs(t))return t;var r;if(r=-100===e?FS.cwd():SYSCALLS.getStreamFromFD(e).path,0==t.length){if(!n)throw new FS.ErrnoError(44);return r}return PATH.join2(r,t)},doStat:function(e,t,n){try{var r=e(t)}catch(e){if(e&&e.node&&PATH.normalize(t)!==PATH.normalize(FS.getPath(e.node)))return-54;throw e}HEAP32[n>>2]=r.dev,HEAP32[n+8>>2]=r.ino,HEAP32[n+12>>2]=r.mode,HEAPU32[n+16>>2]=r.nlink,HEAP32[n+20>>2]=r.uid,HEAP32[n+24>>2]=r.gid,HEAP32[n+28>>2]=r.rdev,tempI64=[r.size>>>0,(tempDouble=r.size,+Math.abs(tempDouble)>=1?tempDouble>0?(0|Math.min(+Math.floor(tempDouble/4294967296),4294967295))>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[n+40>>2]=tempI64[0],HEAP32[n+44>>2]=tempI64[1],HEAP32[n+48>>2]=4096,HEAP32[n+52>>2]=r.blocks;var o=r.atime.getTime(),a=r.mtime.getTime(),u=r.ctime.getTime();return tempI64=[Math.floor(o/1e3)>>>0,(tempDouble=Math.floor(o/1e3),+Math.abs(tempDouble)>=1?tempDouble>0?(0|Math.min(+Math.floor(tempDouble/4294967296),4294967295))>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[n+56>>2]=tempI64[0],HEAP32[n+60>>2]=tempI64[1],HEAPU32[n+64>>2]=o%1e3*1e3,tempI64=[Math.floor(a/1e3)>>>0,(tempDouble=Math.floor(a/1e3),+Math.abs(tempDouble)>=1?tempDouble>0?(0|Math.min(+Math.floor(tempDouble/4294967296),4294967295))>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[n+72>>2]=tempI64[0],HEAP32[n+76>>2]=tempI64[1],HEAPU32[n+80>>2]=a%1e3*1e3,tempI64=[Math.floor(u/1e3)>>>0,(tempDouble=Math.floor(u/1e3),+Math.abs(tempDouble)>=1?tempDouble>0?(0|Math.min(+Math.floor(tempDouble/4294967296),4294967295))>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[n+88>>2]=tempI64[0],HEAP32[n+92>>2]=tempI64[1],HEAPU32[n+96>>2]=u%1e3*1e3,tempI64=[r.ino>>>0,(tempDouble=r.ino,+Math.abs(tempDouble)>=1?tempDouble>0?(0|Math.min(+Math.floor(tempDouble/4294967296),4294967295))>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[n+104>>2]=tempI64[0],HEAP32[n+108>>2]=tempI64[1],0},doMsync:function(e,t,n,r,o){if(!FS.isFile(t.node.mode))throw new FS.ErrnoError(43);if(2&r)return 0;var a=HEAPU8.slice(e,e+n);FS.msync(t,a,o,n,r)},varargs:void 0,get:function(){return SYSCALLS.varargs+=4,HEAP32[SYSCALLS.varargs-4>>2]},getStr:function(e){return UTF8ToString(e)},getStreamFromFD:function(e){var t=FS.getStream(e);if(!t)throw new FS.ErrnoError(8);return t}};function _proc_exit(e){EXITSTATUS=e,keepRuntimeAlive()||(Module.onExit&&Module.onExit(e),ABORT=!0),quit_(e,new ExitStatus(e))}function exitJS(e,t){EXITSTATUS=e,_proc_exit(e)}_proc_exit.sig="vi";var _exit=exitJS;function _fd_close(e){try{var t=SYSCALLS.getStreamFromFD(e);return FS.close(t),0}catch(e){if("undefined"==typeof FS||!(e instanceof FS.ErrnoError))throw e;return e.errno}}function convertI32PairToI53Checked(e,t){return t+2097152>>>0<4194305-!!e?(e>>>0)+4294967296*t:NaN}function _fd_seek(e,t,n,r,o){try{var a=convertI32PairToI53Checked(t,n);if(isNaN(a))return 61;var u=SYSCALLS.getStreamFromFD(e);return FS.llseek(u,a,r),tempI64=[u.position>>>0,(tempDouble=u.position,+Math.abs(tempDouble)>=1?tempDouble>0?(0|Math.min(+Math.floor(tempDouble/4294967296),4294967295))>>>0:~~+Math.ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[o>>2]=tempI64[0],HEAP32[o+4>>2]=tempI64[1],u.getdents&&0===a&&0===r&&(u.getdents=null),0}catch(e){if("undefined"==typeof FS||!(e instanceof FS.ErrnoError))throw e;return e.errno}}function doWritev(e,t,n,r){for(var o=0,a=0;a<n;a++){var u=HEAPU32[t>>2],i=HEAPU32[t+4>>2];t+=8;var s=FS.write(e,HEAP8,u,i,r);if(s<0)return-1;o+=s,void 0!==r&&(r+=s)}return o}function _fd_write(e,t,n,r){try{var o=doWritev(SYSCALLS.getStreamFromFD(e),t,n);return HEAPU32[r>>2]=o,0}catch(e){if("undefined"==typeof FS||!(e instanceof FS.ErrnoError))throw e;return e.errno}}function _tree_sitter_log_callback(e,t){if(currentLogCallback){const n=UTF8ToString(t);currentLogCallback(n,0!==e)}}function _tree_sitter_parse_callback(e,t,n,r,o){var a=currentParseCallback(t,{row:n,column:r});"string"==typeof a?(setValue(o,a.length,"i32"),stringToUTF16(a,e,10240)):setValue(o,0,"i32")}function handleException(e){if(e instanceof ExitStatus||"unwind"==e)return EXITSTATUS;quit_(1,e)}function allocateUTF8OnStack(e){var t=lengthBytesUTF8(e)+1,n=stackAlloc(t);return stringToUTF8Array(e,HEAP8,n,t),n}function stringToUTF16(e,t,n){if(void 0===n&&(n=2147483647),n<2)return 0;for(var r=t,o=(n-=2)<2*e.length?n/2:e.length,a=0;a<o;++a){var u=e.charCodeAt(a);HEAP16[t>>1]=u,t+=2}return HEAP16[t>>1]=0,t-r}function AsciiToString(e){for(var t="";;){var n=HEAPU8[e++>>0];if(!n)return t;t+=String.fromCharCode(n)}}_exit.sig="vi",_fd_close.sig="ii",_fd_seek.sig="iijip",_fd_write.sig="iippp";var asmLibraryArg={__heap_base:___heap_base,__indirect_function_table:wasmTable,__memory_base:___memory_base,__stack_pointer:___stack_pointer,__table_base:___table_base,_emscripten_get_now_is_monotonic:__emscripten_get_now_is_monotonic,abort:_abort,emscripten_get_now:_emscripten_get_now,emscripten_memcpy_big:_emscripten_memcpy_big,emscripten_resize_heap:_emscripten_resize_heap,exit:_exit,fd_close:_fd_close,fd_seek:_fd_seek,fd_write:_fd_write,memory:wasmMemory,tree_sitter_log_callback:_tree_sitter_log_callback,tree_sitter_parse_callback:_tree_sitter_parse_callback},asm=createWasm(),___wasm_call_ctors=Module.___wasm_call_ctors=function(){return(___wasm_call_ctors=Module.___wasm_call_ctors=Module.asm.__wasm_call_ctors).apply(null,arguments)},___wasm_apply_data_relocs=Module.___wasm_apply_data_relocs=function(){return(___wasm_apply_data_relocs=Module.___wasm_apply_data_relocs=Module.asm.__wasm_apply_data_relocs).apply(null,arguments)},_malloc=Module._malloc=function(){return(_malloc=Module._malloc=Module.asm.malloc).apply(null,arguments)},_calloc=Module._calloc=function(){return(_calloc=Module._calloc=Module.asm.calloc).apply(null,arguments)},_realloc=Module._realloc=function(){return(_realloc=Module._realloc=Module.asm.realloc).apply(null,arguments)},_free=Module._free=function(){return(_free=Module._free=Module.asm.free).apply(null,arguments)},_ts_language_symbol_count=Module._ts_language_symbol_count=function(){return(_ts_language_symbol_count=Module._ts_language_symbol_count=Module.asm.ts_language_symbol_count).apply(null,arguments)},_ts_language_version=Module._ts_language_version=function(){return(_ts_language_version=Module._ts_language_version=Module.asm.ts_language_version).apply(null,arguments)},_ts_language_field_count=Module._ts_language_field_count=function(){return(_ts_language_field_count=Module._ts_language_field_count=Module.asm.ts_language_field_count).apply(null,arguments)},_ts_language_symbol_name=Module._ts_language_symbol_name=function(){return(_ts_language_symbol_name=Module._ts_language_symbol_name=Module.asm.ts_language_symbol_name).apply(null,arguments)},_ts_language_symbol_for_name=Module._ts_language_symbol_for_name=function(){return(_ts_language_symbol_for_name=Module._ts_language_symbol_for_name=Module.asm.ts_language_symbol_for_name).apply(null,arguments)},_ts_language_symbol_type=Module._ts_language_symbol_type=function(){return(_ts_language_symbol_type=Module._ts_language_symbol_type=Module.asm.ts_language_symbol_type).apply(null,arguments)},_ts_language_field_name_for_id=Module._ts_language_field_name_for_id=function(){return(_ts_language_field_name_for_id=Module._ts_language_field_name_for_id=Module.asm.ts_language_field_name_for_id).apply(null,arguments)},_memset=Module._memset=function(){return(_memset=Module._memset=Module.asm.memset).apply(null,arguments)},_memcpy=Module._memcpy=function(){return(_memcpy=Module._memcpy=Module.asm.memcpy).apply(null,arguments)},_ts_parser_delete=Module._ts_parser_delete=function(){return(_ts_parser_delete=Module._ts_parser_delete=Module.asm.ts_parser_delete).apply(null,arguments)},_ts_parser_reset=Module._ts_parser_reset=function(){return(_ts_parser_reset=Module._ts_parser_reset=Module.asm.ts_parser_reset).apply(null,arguments)},_ts_parser_set_language=Module._ts_parser_set_language=function(){return(_ts_parser_set_language=Module._ts_parser_set_language=Module.asm.ts_parser_set_language).apply(null,arguments)},_ts_parser_timeout_micros=Module._ts_parser_timeout_micros=function(){return(_ts_parser_timeout_micros=Module._ts_parser_timeout_micros=Module.asm.ts_parser_timeout_micros).apply(null,arguments)},_ts_parser_set_timeout_micros=Module._ts_parser_set_timeout_micros=function(){return(_ts_parser_set_timeout_micros=Module._ts_parser_set_timeout_micros=Module.asm.ts_parser_set_timeout_micros).apply(null,arguments)},_memmove=Module._memmove=function(){return(_memmove=Module._memmove=Module.asm.memmove).apply(null,arguments)},_memcmp=Module._memcmp=function(){return(_memcmp=Module._memcmp=Module.asm.memcmp).apply(null,arguments)},_ts_query_new=Module._ts_query_new=function(){return(_ts_query_new=Module._ts_query_new=Module.asm.ts_query_new).apply(null,arguments)},_ts_query_delete=Module._ts_query_delete=function(){return(_ts_query_delete=Module._ts_query_delete=Module.asm.ts_query_delete).apply(null,arguments)},_iswspace=Module._iswspace=function(){return(_iswspace=Module._iswspace=Module.asm.iswspace).apply(null,arguments)},_iswalnum=Module._iswalnum=function(){return(_iswalnum=Module._iswalnum=Module.asm.iswalnum).apply(null,arguments)},_ts_query_pattern_count=Module._ts_query_pattern_count=function(){return(_ts_query_pattern_count=Module._ts_query_pattern_count=Module.asm.ts_query_pattern_count).apply(null,arguments)},_ts_query_capture_count=Module._ts_query_capture_count=function(){return(_ts_query_capture_count=Module._ts_query_capture_count=Module.asm.ts_query_capture_count).apply(null,arguments)},_ts_query_string_count=Module._ts_query_string_count=function(){return(_ts_query_string_count=Module._ts_query_string_count=Module.asm.ts_query_string_count).apply(null,arguments)},_ts_query_capture_name_for_id=Module._ts_query_capture_name_for_id=function(){return(_ts_query_capture_name_for_id=Module._ts_query_capture_name_for_id=Module.asm.ts_query_capture_name_for_id).apply(null,arguments)},_ts_query_string_value_for_id=Module._ts_query_string_value_for_id=function(){return(_ts_query_string_value_for_id=Module._ts_query_string_value_for_id=Module.asm.ts_query_string_value_for_id).apply(null,arguments)},_ts_query_predicates_for_pattern=Module._ts_query_predicates_for_pattern=function(){return(_ts_query_predicates_for_pattern=Module._ts_query_predicates_for_pattern=Module.asm.ts_query_predicates_for_pattern).apply(null,arguments)},_ts_tree_copy=Module._ts_tree_copy=function(){return(_ts_tree_copy=Module._ts_tree_copy=Module.asm.ts_tree_copy).apply(null,arguments)},_ts_tree_delete=Module._ts_tree_delete=function(){return(_ts_tree_delete=Module._ts_tree_delete=Module.asm.ts_tree_delete).apply(null,arguments)},_ts_init=Module._ts_init=function(){return(_ts_init=Module._ts_init=Module.asm.ts_init).apply(null,arguments)},_ts_parser_new_wasm=Module._ts_parser_new_wasm=function(){return(_ts_parser_new_wasm=Module._ts_parser_new_wasm=Module.asm.ts_parser_new_wasm).apply(null,arguments)},_ts_parser_enable_logger_wasm=Module._ts_parser_enable_logger_wasm=function(){return(_ts_parser_enable_logger_wasm=Module._ts_parser_enable_logger_wasm=Module.asm.ts_parser_enable_logger_wasm).apply(null,arguments)},_ts_parser_parse_wasm=Module._ts_parser_parse_wasm=function(){return(_ts_parser_parse_wasm=Module._ts_parser_parse_wasm=Module.asm.ts_parser_parse_wasm).apply(null,arguments)},_ts_language_type_is_named_wasm=Module._ts_language_type_is_named_wasm=function(){return(_ts_language_type_is_named_wasm=Module._ts_language_type_is_named_wasm=Module.asm.ts_language_type_is_named_wasm).apply(null,arguments)},_ts_language_type_is_visible_wasm=Module._ts_language_type_is_visible_wasm=function(){return(_ts_language_type_is_visible_wasm=Module._ts_language_type_is_visible_wasm=Module.asm.ts_language_type_is_visible_wasm).apply(null,arguments)},_ts_tree_root_node_wasm=Module._ts_tree_root_node_wasm=function(){return(_ts_tree_root_node_wasm=Module._ts_tree_root_node_wasm=Module.asm.ts_tree_root_node_wasm).apply(null,arguments)},_ts_tree_edit_wasm=Module._ts_tree_edit_wasm=function(){return(_ts_tree_edit_wasm=Module._ts_tree_edit_wasm=Module.asm.ts_tree_edit_wasm).apply(null,arguments)},_ts_tree_get_changed_ranges_wasm=Module._ts_tree_get_changed_ranges_wasm=function(){return(_ts_tree_get_changed_ranges_wasm=Module._ts_tree_get_changed_ranges_wasm=Module.asm.ts_tree_get_changed_ranges_wasm).apply(null,arguments)},_ts_tree_cursor_new_wasm=Module._ts_tree_cursor_new_wasm=function(){return(_ts_tree_cursor_new_wasm=Module._ts_tree_cursor_new_wasm=Module.asm.ts_tree_cursor_new_wasm).apply(null,arguments)},_ts_tree_cursor_delete_wasm=Module._ts_tree_cursor_delete_wasm=function(){return(_ts_tree_cursor_delete_wasm=Module._ts_tree_cursor_delete_wasm=Module.asm.ts_tree_cursor_delete_wasm).apply(null,arguments)},_ts_tree_cursor_reset_wasm=Module._ts_tree_cursor_reset_wasm=function(){return(_ts_tree_cursor_reset_wasm=Module._ts_tree_cursor_reset_wasm=Module.asm.ts_tree_cursor_reset_wasm).apply(null,arguments)},_ts_tree_cursor_goto_first_child_wasm=Module._ts_tree_cursor_goto_first_child_wasm=function(){return(_ts_tree_cursor_goto_first_child_wasm=Module._ts_tree_cursor_goto_first_child_wasm=Module.asm.ts_tree_cursor_goto_first_child_wasm).apply(null,arguments)},_ts_tree_cursor_goto_next_sibling_wasm=Module._ts_tree_cursor_goto_next_sibling_wasm=function(){return(_ts_tree_cursor_goto_next_sibling_wasm=Module._ts_tree_cursor_goto_next_sibling_wasm=Module.asm.ts_tree_cursor_goto_next_sibling_wasm).apply(null,arguments)},_ts_tree_cursor_goto_parent_wasm=Module._ts_tree_cursor_goto_parent_wasm=function(){return(_ts_tree_cursor_goto_parent_wasm=Module._ts_tree_cursor_goto_parent_wasm=Module.asm.ts_tree_cursor_goto_parent_wasm).apply(null,arguments)},_ts_tree_cursor_current_node_type_id_wasm=Module._ts_tree_cursor_current_node_type_id_wasm=function(){return(_ts_tree_cursor_current_node_type_id_wasm=Module._ts_tree_cursor_current_node_type_id_wasm=Module.asm.ts_tree_cursor_current_node_type_id_wasm).apply(null,arguments)},_ts_tree_cursor_current_node_is_named_wasm=Module._ts_tree_cursor_current_node_is_named_wasm=function(){return(_ts_tree_cursor_current_node_is_named_wasm=Module._ts_tree_cursor_current_node_is_named_wasm=Module.asm.ts_tree_cursor_current_node_is_named_wasm).apply(null,arguments)},_ts_tree_cursor_current_node_is_missing_wasm=Module._ts_tree_cursor_current_node_is_missing_wasm=function(){return(_ts_tree_cursor_current_node_is_missing_wasm=Module._ts_tree_cursor_current_node_is_missing_wasm=Module.asm.ts_tree_cursor_current_node_is_missing_wasm).apply(null,arguments)},_ts_tree_cursor_current_node_id_wasm=Module._ts_tree_cursor_current_node_id_wasm=function(){return(_ts_tree_cursor_current_node_id_wasm=Module._ts_tree_cursor_current_node_id_wasm=Module.asm.ts_tree_cursor_current_node_id_wasm).apply(null,arguments)},_ts_tree_cursor_start_position_wasm=Module._ts_tree_cursor_start_position_wasm=function(){return(_ts_tree_cursor_start_position_wasm=Module._ts_tree_cursor_start_position_wasm=Module.asm.ts_tree_cursor_start_position_wasm).apply(null,arguments)},_ts_tree_cursor_end_position_wasm=Module._ts_tree_cursor_end_position_wasm=function(){return(_ts_tree_cursor_end_position_wasm=Module._ts_tree_cursor_end_position_wasm=Module.asm.ts_tree_cursor_end_position_wasm).apply(null,arguments)},_ts_tree_cursor_start_index_wasm=Module._ts_tree_cursor_start_index_wasm=function(){return(_ts_tree_cursor_start_index_wasm=Module._ts_tree_cursor_start_index_wasm=Module.asm.ts_tree_cursor_start_index_wasm).apply(null,arguments)},_ts_tree_cursor_end_index_wasm=Module._ts_tree_cursor_end_index_wasm=function(){return(_ts_tree_cursor_end_index_wasm=Module._ts_tree_cursor_end_index_wasm=Module.asm.ts_tree_cursor_end_index_wasm).apply(null,arguments)},_ts_tree_cursor_current_field_id_wasm=Module._ts_tree_cursor_current_field_id_wasm=function(){return(_ts_tree_cursor_current_field_id_wasm=Module._ts_tree_cursor_current_field_id_wasm=Module.asm.ts_tree_cursor_current_field_id_wasm).apply(null,arguments)},_ts_tree_cursor_current_node_wasm=Module._ts_tree_cursor_current_node_wasm=function(){return(_ts_tree_cursor_current_node_wasm=Module._ts_tree_cursor_current_node_wasm=Module.asm.ts_tree_cursor_current_node_wasm).apply(null,arguments)},_ts_node_symbol_wasm=Module._ts_node_symbol_wasm=function(){return(_ts_node_symbol_wasm=Module._ts_node_symbol_wasm=Module.asm.ts_node_symbol_wasm).apply(null,arguments)},_ts_node_child_count_wasm=Module._ts_node_child_count_wasm=function(){return(_ts_node_child_count_wasm=Module._ts_node_child_count_wasm=Module.asm.ts_node_child_count_wasm).apply(null,arguments)},_ts_node_named_child_count_wasm=Module._ts_node_named_child_count_wasm=function(){return(_ts_node_named_child_count_wasm=Module._ts_node_named_child_count_wasm=Module.asm.ts_node_named_child_count_wasm).apply(null,arguments)},_ts_node_child_wasm=Module._ts_node_child_wasm=function(){return(_ts_node_child_wasm=Module._ts_node_child_wasm=Module.asm.ts_node_child_wasm).apply(null,arguments)},_ts_node_named_child_wasm=Module._ts_node_named_child_wasm=function(){return(_ts_node_named_child_wasm=Module._ts_node_named_child_wasm=Module.asm.ts_node_named_child_wasm).apply(null,arguments)},_ts_node_child_by_field_id_wasm=Module._ts_node_child_by_field_id_wasm=function(){return(_ts_node_child_by_field_id_wasm=Module._ts_node_child_by_field_id_wasm=Module.asm.ts_node_child_by_field_id_wasm).apply(null,arguments)},_ts_node_next_sibling_wasm=Module._ts_node_next_sibling_wasm=function(){return(_ts_node_next_sibling_wasm=Module._ts_node_next_sibling_wasm=Module.asm.ts_node_next_sibling_wasm).apply(null,arguments)},_ts_node_prev_sibling_wasm=Module._ts_node_prev_sibling_wasm=function(){return(_ts_node_prev_sibling_wasm=Module._ts_node_prev_sibling_wasm=Module.asm.ts_node_prev_sibling_wasm).apply(null,arguments)},_ts_node_next_named_sibling_wasm=Module._ts_node_next_named_sibling_wasm=function(){return(_ts_node_next_named_sibling_wasm=Module._ts_node_next_named_sibling_wasm=Module.asm.ts_node_next_named_sibling_wasm).apply(null,arguments)},_ts_node_prev_named_sibling_wasm=Module._ts_node_prev_named_sibling_wasm=function(){return(_ts_node_prev_named_sibling_wasm=Module._ts_node_prev_named_sibling_wasm=Module.asm.ts_node_prev_named_sibling_wasm).apply(null,arguments)},_ts_node_parent_wasm=Module._ts_node_parent_wasm=function(){return(_ts_node_parent_wasm=Module._ts_node_parent_wasm=Module.asm.ts_node_parent_wasm).apply(null,arguments)},_ts_node_descendant_for_index_wasm=Module._ts_node_descendant_for_index_wasm=function(){return(_ts_node_descendant_for_index_wasm=Module._ts_node_descendant_for_index_wasm=Module.asm.ts_node_descendant_for_index_wasm).apply(null,arguments)},_ts_node_named_descendant_for_index_wasm=Module._ts_node_named_descendant_for_index_wasm=function(){return(_ts_node_named_descendant_for_index_wasm=Module._ts_node_named_descendant_for_index_wasm=Module.asm.ts_node_named_descendant_for_index_wasm).apply(null,arguments)},_ts_node_descendant_for_position_wasm=Module._ts_node_descendant_for_position_wasm=function(){return(_ts_node_descendant_for_position_wasm=Module._ts_node_descendant_for_position_wasm=Module.asm.ts_node_descendant_for_position_wasm).apply(null,arguments)},_ts_node_named_descendant_for_position_wasm=Module._ts_node_named_descendant_for_position_wasm=function(){return(_ts_node_named_descendant_for_position_wasm=Module._ts_node_named_descendant_for_position_wasm=Module.asm.ts_node_named_descendant_for_position_wasm).apply(null,arguments)},_ts_node_start_point_wasm=Module._ts_node_start_point_wasm=function(){return(_ts_node_start_point_wasm=Module._ts_node_start_point_wasm=Module.asm.ts_node_start_point_wasm).apply(null,arguments)},_ts_node_end_point_wasm=Module._ts_node_end_point_wasm=function(){return(_ts_node_end_point_wasm=Module._ts_node_end_point_wasm=Module.asm.ts_node_end_point_wasm).apply(null,arguments)},_ts_node_start_index_wasm=Module._ts_node_start_index_wasm=function(){return(_ts_node_start_index_wasm=Module._ts_node_start_index_wasm=Module.asm.ts_node_start_index_wasm).apply(null,arguments)},_ts_node_end_index_wasm=Module._ts_node_end_index_wasm=function(){return(_ts_node_end_index_wasm=Module._ts_node_end_index_wasm=Module.asm.ts_node_end_index_wasm).apply(null,arguments)},_ts_node_to_string_wasm=Module._ts_node_to_string_wasm=function(){return(_ts_node_to_string_wasm=Module._ts_node_to_string_wasm=Module.asm.ts_node_to_string_wasm).apply(null,arguments)},_ts_node_children_wasm=Module._ts_node_children_wasm=function(){return(_ts_node_children_wasm=Module._ts_node_children_wasm=Module.asm.ts_node_children_wasm).apply(null,arguments)},_ts_node_named_children_wasm=Module._ts_node_named_children_wasm=function(){return(_ts_node_named_children_wasm=Module._ts_node_named_children_wasm=Module.asm.ts_node_named_children_wasm).apply(null,arguments)},_ts_node_descendants_of_type_wasm=Module._ts_node_descendants_of_type_wasm=function(){return(_ts_node_descendants_of_type_wasm=Module._ts_node_descendants_of_type_wasm=Module.asm.ts_node_descendants_of_type_wasm).apply(null,arguments)},_ts_node_is_named_wasm=Module._ts_node_is_named_wasm=function(){return(_ts_node_is_named_wasm=Module._ts_node_is_named_wasm=Module.asm.ts_node_is_named_wasm).apply(null,arguments)},_ts_node_has_changes_wasm=Module._ts_node_has_changes_wasm=function(){return(_ts_node_has_changes_wasm=Module._ts_node_has_changes_wasm=Module.asm.ts_node_has_changes_wasm).apply(null,arguments)},_ts_node_has_error_wasm=Module._ts_node_has_error_wasm=function(){return(_ts_node_has_error_wasm=Module._ts_node_has_error_wasm=Module.asm.ts_node_has_error_wasm).apply(null,arguments)},_ts_node_is_missing_wasm=Module._ts_node_is_missing_wasm=function(){return(_ts_node_is_missing_wasm=Module._ts_node_is_missing_wasm=Module.asm.ts_node_is_missing_wasm).apply(null,arguments)},_ts_query_matches_wasm=Module._ts_query_matches_wasm=function(){return(_ts_query_matches_wasm=Module._ts_query_matches_wasm=Module.asm.ts_query_matches_wasm).apply(null,arguments)},_ts_query_captures_wasm=Module._ts_query_captures_wasm=function(){return(_ts_query_captures_wasm=Module._ts_query_captures_wasm=Module.asm.ts_query_captures_wasm).apply(null,arguments)},___cxa_atexit=Module.___cxa_atexit=function(){return(___cxa_atexit=Module.___cxa_atexit=Module.asm.__cxa_atexit).apply(null,arguments)},_iswdigit=Module._iswdigit=function(){return(_iswdigit=Module._iswdigit=Module.asm.iswdigit).apply(null,arguments)},_iswalpha=Module._iswalpha=function(){return(_iswalpha=Module._iswalpha=Module.asm.iswalpha).apply(null,arguments)},_iswlower=Module._iswlower=function(){return(_iswlower=Module._iswlower=Module.asm.iswlower).apply(null,arguments)},_memchr=Module._memchr=function(){return(_memchr=Module._memchr=Module.asm.memchr).apply(null,arguments)},_strlen=Module._strlen=function(){return(_strlen=Module._strlen=Module.asm.strlen).apply(null,arguments)},_towupper=Module._towupper=function(){return(_towupper=Module._towupper=Module.asm.towupper).apply(null,arguments)},_setThrew=Module._setThrew=function(){return(_setThrew=Module._setThrew=Module.asm.setThrew).apply(null,arguments)},stackSave=Module.stackSave=function(){return(stackSave=Module.stackSave=Module.asm.stackSave).apply(null,arguments)},stackRestore=Module.stackRestore=function(){return(stackRestore=Module.stackRestore=Module.asm.stackRestore).apply(null,arguments)},stackAlloc=Module.stackAlloc=function(){return(stackAlloc=Module.stackAlloc=Module.asm.stackAlloc).apply(null,arguments)},__Znwm=Module.__Znwm=function(){return(__Znwm=Module.__Znwm=Module.asm._Znwm).apply(null,arguments)},__ZdlPv=Module.__ZdlPv=function(){return(__ZdlPv=Module.__ZdlPv=Module.asm._ZdlPv).apply(null,arguments)},__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=function(){return(__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev=Module.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev).apply(null,arguments)},__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=function(){return(__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm=Module.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm).apply(null,arguments)},__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=function(){return(__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm=Module.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm).apply(null,arguments)},__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=function(){return(__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm=Module.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm).apply(null,arguments)},__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=Module.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=function(){return(__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=Module.__ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm=Module.asm._ZNKSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4copyEPcmm).apply(null,arguments)},__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=function(){return(__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=Module.__ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc=Module.asm._ZNSt3__212basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc).apply(null,arguments)},__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=function(){return(__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev=Module.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEED2Ev).apply(null,arguments)},__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=function(){return(__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw=Module.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE9push_backEw).apply(null,arguments)},__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6resizeEmw=Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6resizeEmw=function(){return(__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6resizeEmw=Module.__ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6resizeEmw=Module.asm._ZNSt3__212basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6resizeEmw).apply(null,arguments)},dynCall_jiji=Module.dynCall_jiji=function(){return(dynCall_jiji=Module.dynCall_jiji=Module.asm.dynCall_jiji).apply(null,arguments)},_orig$ts_parser_timeout_micros=Module._orig$ts_parser_timeout_micros=function(){return(_orig$ts_parser_timeout_micros=Module._orig$ts_parser_timeout_micros=Module.asm.orig$ts_parser_timeout_micros).apply(null,arguments)},_orig$ts_parser_set_timeout_micros=Module._orig$ts_parser_set_timeout_micros=function(){return(_orig$ts_parser_set_timeout_micros=Module._orig$ts_parser_set_timeout_micros=Module.asm.orig$ts_parser_set_timeout_micros).apply(null,arguments)},calledRun;function callMain(e){var t=Module._main;if(t){(e=e||[]).unshift(thisProgram);var n=e.length,r=stackAlloc(4*(n+1)),o=r>>2;e.forEach((e=>{HEAP32[o++]=allocateUTF8OnStack(e)})),HEAP32[o]=0;try{var a=t(n,r);return exitJS(a,!0),a}catch(e){return handleException(e)}}}Module.AsciiToString=AsciiToString,Module.stringToUTF16=stringToUTF16,dependenciesFulfilled=function e(){calledRun||run(),calledRun||(dependenciesFulfilled=e)};var dylibsLoaded=!1;function run(e){function t(){calledRun||(calledRun=!0,Module.calledRun=!0,ABORT||(initRuntime(),preMain(),Module.onRuntimeInitialized&&Module.onRuntimeInitialized(),shouldRunNow&&callMain(e),postRun()))}e=e||arguments_,runDependencies>0||!dylibsLoaded&&(preloadDylibs(),dylibsLoaded=!0,runDependencies>0)||(preRun(),runDependencies>0||(Module.setStatus?(Module.setStatus("Running..."),setTimeout((function(){setTimeout((function(){Module.setStatus("")}),1),t()}),1)):t()))}if(Module.preInit)for("function"==typeof Module.preInit&&(Module.preInit=[Module.preInit]);Module.preInit.length>0;)Module.preInit.pop()();var shouldRunNow=!0;Module.noInitialRun&&(shouldRunNow=!1),run();const C=Module,INTERNAL={},SIZE_OF_INT=4,SIZE_OF_NODE=5*SIZE_OF_INT,SIZE_OF_POINT=2*SIZE_OF_INT,SIZE_OF_RANGE=2*SIZE_OF_INT+2*SIZE_OF_POINT,ZERO_POINT={row:0,column:0},QUERY_WORD_REGEX=/[\w-.]*/g,PREDICATE_STEP_TYPE_CAPTURE=1,PREDICATE_STEP_TYPE_STRING=2,LANGUAGE_FUNCTION_REGEX=/^_?tree_sitter_\w+/;var VERSION,MIN_COMPATIBLE_VERSION,TRANSFER_BUFFER,currentParseCallback,currentLogCallback;class ParserImpl{static init(){TRANSFER_BUFFER=C._ts_init(),VERSION=getValue(TRANSFER_BUFFER,"i32"),MIN_COMPATIBLE_VERSION=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32")}initialize(){C._ts_parser_new_wasm(),this[0]=getValue(TRANSFER_BUFFER,"i32"),this[1]=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32")}delete(){C._ts_parser_delete(this[0]),C._free(this[1]),this[0]=0,this[1]=0}setLanguage(e){let t;if(e){if(e.constructor!==Language)throw new Error("Argument must be a Language");{t=e[0];const n=C._ts_language_version(t);if(n<MIN_COMPATIBLE_VERSION||VERSION<n)throw new Error(`Incompatible language version ${n}. Compatibility range ${MIN_COMPATIBLE_VERSION} through ${VERSION}.`)}}else t=0,e=null;return this.language=e,C._ts_parser_set_language(this[0],t),this}getLanguage(){return this.language}parse(e,t,n){if("string"==typeof e)currentParseCallback=(t,n,r)=>e.slice(t,r);else{if("function"!=typeof e)throw new Error("Argument must be a string or a function");currentParseCallback=e}this.logCallback?(currentLogCallback=this.logCallback,C._ts_parser_enable_logger_wasm(this[0],1)):(currentLogCallback=null,C._ts_parser_enable_logger_wasm(this[0],0));let r=0,o=0;if(n&&n.includedRanges){r=n.includedRanges.length,o=C._calloc(r,SIZE_OF_RANGE);let e=o;for(let t=0;t<r;t++)marshalRange(e,n.includedRanges[t]),e+=SIZE_OF_RANGE}const a=C._ts_parser_parse_wasm(this[0],this[1],t?t[0]:0,o,r);if(!a)throw currentParseCallback=null,currentLogCallback=null,new Error("Parsing failed");const u=new Tree(INTERNAL,a,this.language,currentParseCallback);return currentParseCallback=null,currentLogCallback=null,u}reset(){C._ts_parser_reset(this[0])}setTimeoutMicros(e){C._ts_parser_set_timeout_micros(this[0],e)}getTimeoutMicros(){return C._ts_parser_timeout_micros(this[0])}setLogger(e){if(e){if("function"!=typeof e)throw new Error("Logger callback must be a function")}else e=null;return this.logCallback=e,this}getLogger(){return this.logCallback}}class Tree{constructor(e,t,n,r){assertInternal(e),this[0]=t,this.language=n,this.textCallback=r}copy(){const e=C._ts_tree_copy(this[0]);return new Tree(INTERNAL,e,this.language,this.textCallback)}delete(){C._ts_tree_delete(this[0]),this[0]=0}edit(e){marshalEdit(e),C._ts_tree_edit_wasm(this[0])}get rootNode(){return C._ts_tree_root_node_wasm(this[0]),unmarshalNode(this)}getLanguage(){return this.language}walk(){return this.rootNode.walk()}getChangedRanges(e){if(e.constructor!==Tree)throw new TypeError("Argument must be a Tree");C._ts_tree_get_changed_ranges_wasm(this[0],e[0]);const t=getValue(TRANSFER_BUFFER,"i32"),n=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),r=new Array(t);if(t>0){let e=n;for(let n=0;n<t;n++)r[n]=unmarshalRange(e),e+=SIZE_OF_RANGE;C._free(n)}return r}}class Node{constructor(e,t){assertInternal(e),this.tree=t}get typeId(){return marshalNode(this),C._ts_node_symbol_wasm(this.tree[0])}get type(){return this.tree.language.types[this.typeId]||"ERROR"}get endPosition(){return marshalNode(this),C._ts_node_end_point_wasm(this.tree[0]),unmarshalPoint(TRANSFER_BUFFER)}get endIndex(){return marshalNode(this),C._ts_node_end_index_wasm(this.tree[0])}get text(){return getText(this.tree,this.startIndex,this.endIndex)}isNamed(){return marshalNode(this),1===C._ts_node_is_named_wasm(this.tree[0])}hasError(){return marshalNode(this),1===C._ts_node_has_error_wasm(this.tree[0])}hasChanges(){return marshalNode(this),1===C._ts_node_has_changes_wasm(this.tree[0])}isMissing(){return marshalNode(this),1===C._ts_node_is_missing_wasm(this.tree[0])}equals(e){return this.id===e.id}child(e){return marshalNode(this),C._ts_node_child_wasm(this.tree[0],e),unmarshalNode(this.tree)}namedChild(e){return marshalNode(this),C._ts_node_named_child_wasm(this.tree[0],e),unmarshalNode(this.tree)}childForFieldId(e){return marshalNode(this),C._ts_node_child_by_field_id_wasm(this.tree[0],e),unmarshalNode(this.tree)}childForFieldName(e){const t=this.tree.language.fields.indexOf(e);if(-1!==t)return this.childForFieldId(t)}get childCount(){return marshalNode(this),C._ts_node_child_count_wasm(this.tree[0])}get namedChildCount(){return marshalNode(this),C._ts_node_named_child_count_wasm(this.tree[0])}get firstChild(){return this.child(0)}get firstNamedChild(){return this.namedChild(0)}get lastChild(){return this.child(this.childCount-1)}get lastNamedChild(){return this.namedChild(this.namedChildCount-1)}get children(){if(!this._children){marshalNode(this),C._ts_node_children_wasm(this.tree[0]);const e=getValue(TRANSFER_BUFFER,"i32"),t=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32");if(this._children=new Array(e),e>0){let n=t;for(let t=0;t<e;t++)this._children[t]=unmarshalNode(this.tree,n),n+=SIZE_OF_NODE;C._free(t)}}return this._children}get namedChildren(){if(!this._namedChildren){marshalNode(this),C._ts_node_named_children_wasm(this.tree[0]);const e=getValue(TRANSFER_BUFFER,"i32"),t=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32");if(this._namedChildren=new Array(e),e>0){let n=t;for(let t=0;t<e;t++)this._namedChildren[t]=unmarshalNode(this.tree,n),n+=SIZE_OF_NODE;C._free(t)}}return this._namedChildren}descendantsOfType(e,t,n){Array.isArray(e)||(e=[e]),t||(t=ZERO_POINT),n||(n=ZERO_POINT);const r=[],o=this.tree.language.types;for(let t=0,n=o.length;t<n;t++)e.includes(o[t])&&r.push(t);const a=C._malloc(SIZE_OF_INT*r.length);for(let e=0,t=r.length;e<t;e++)setValue(a+e*SIZE_OF_INT,r[e],"i32");marshalNode(this),C._ts_node_descendants_of_type_wasm(this.tree[0],a,r.length,t.row,t.column,n.row,n.column);const u=getValue(TRANSFER_BUFFER,"i32"),i=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),s=new Array(u);if(u>0){let e=i;for(let t=0;t<u;t++)s[t]=unmarshalNode(this.tree,e),e+=SIZE_OF_NODE}return C._free(i),C._free(a),s}get nextSibling(){return marshalNode(this),C._ts_node_next_sibling_wasm(this.tree[0]),unmarshalNode(this.tree)}get previousSibling(){return marshalNode(this),C._ts_node_prev_sibling_wasm(this.tree[0]),unmarshalNode(this.tree)}get nextNamedSibling(){return marshalNode(this),C._ts_node_next_named_sibling_wasm(this.tree[0]),unmarshalNode(this.tree)}get previousNamedSibling(){return marshalNode(this),C._ts_node_prev_named_sibling_wasm(this.tree[0]),unmarshalNode(this.tree)}get parent(){return marshalNode(this),C._ts_node_parent_wasm(this.tree[0]),unmarshalNode(this.tree)}descendantForIndex(e,t=e){if("number"!=typeof e||"number"!=typeof t)throw new Error("Arguments must be numbers");marshalNode(this);let n=TRANSFER_BUFFER+SIZE_OF_NODE;return setValue(n,e,"i32"),setValue(n+SIZE_OF_INT,t,"i32"),C._ts_node_descendant_for_index_wasm(this.tree[0]),unmarshalNode(this.tree)}namedDescendantForIndex(e,t=e){if("number"!=typeof e||"number"!=typeof t)throw new Error("Arguments must be numbers");marshalNode(this);let n=TRANSFER_BUFFER+SIZE_OF_NODE;return setValue(n,e,"i32"),setValue(n+SIZE_OF_INT,t,"i32"),C._ts_node_named_descendant_for_index_wasm(this.tree[0]),unmarshalNode(this.tree)}descendantForPosition(e,t=e){if(!isPoint(e)||!isPoint(t))throw new Error("Arguments must be {row, column} objects");marshalNode(this);let n=TRANSFER_BUFFER+SIZE_OF_NODE;return marshalPoint(n,e),marshalPoint(n+SIZE_OF_POINT,t),C._ts_node_descendant_for_position_wasm(this.tree[0]),unmarshalNode(this.tree)}namedDescendantForPosition(e,t=e){if(!isPoint(e)||!isPoint(t))throw new Error("Arguments must be {row, column} objects");marshalNode(this);let n=TRANSFER_BUFFER+SIZE_OF_NODE;return marshalPoint(n,e),marshalPoint(n+SIZE_OF_POINT,t),C._ts_node_named_descendant_for_position_wasm(this.tree[0]),unmarshalNode(this.tree)}walk(){return marshalNode(this),C._ts_tree_cursor_new_wasm(this.tree[0]),new TreeCursor(INTERNAL,this.tree)}toString(){marshalNode(this);const e=C._ts_node_to_string_wasm(this.tree[0]),t=AsciiToString(e);return C._free(e),t}}class TreeCursor{constructor(e,t){assertInternal(e),this.tree=t,unmarshalTreeCursor(this)}delete(){marshalTreeCursor(this),C._ts_tree_cursor_delete_wasm(this.tree[0]),this[0]=this[1]=this[2]=0}reset(e){marshalNode(e),marshalTreeCursor(this,TRANSFER_BUFFER+SIZE_OF_NODE),C._ts_tree_cursor_reset_wasm(this.tree[0]),unmarshalTreeCursor(this)}get nodeType(){return this.tree.language.types[this.nodeTypeId]||"ERROR"}get nodeTypeId(){return marshalTreeCursor(this),C._ts_tree_cursor_current_node_type_id_wasm(this.tree[0])}get nodeId(){return marshalTreeCursor(this),C._ts_tree_cursor_current_node_id_wasm(this.tree[0])}get nodeIsNamed(){return marshalTreeCursor(this),1===C._ts_tree_cursor_current_node_is_named_wasm(this.tree[0])}get nodeIsMissing(){return marshalTreeCursor(this),1===C._ts_tree_cursor_current_node_is_missing_wasm(this.tree[0])}get nodeText(){marshalTreeCursor(this);const e=C._ts_tree_cursor_start_index_wasm(this.tree[0]),t=C._ts_tree_cursor_end_index_wasm(this.tree[0]);return getText(this.tree,e,t)}get startPosition(){return marshalTreeCursor(this),C._ts_tree_cursor_start_position_wasm(this.tree[0]),unmarshalPoint(TRANSFER_BUFFER)}get endPosition(){return marshalTreeCursor(this),C._ts_tree_cursor_end_position_wasm(this.tree[0]),unmarshalPoint(TRANSFER_BUFFER)}get startIndex(){return marshalTreeCursor(this),C._ts_tree_cursor_start_index_wasm(this.tree[0])}get endIndex(){return marshalTreeCursor(this),C._ts_tree_cursor_end_index_wasm(this.tree[0])}currentNode(){return marshalTreeCursor(this),C._ts_tree_cursor_current_node_wasm(this.tree[0]),unmarshalNode(this.tree)}currentFieldId(){return marshalTreeCursor(this),C._ts_tree_cursor_current_field_id_wasm(this.tree[0])}currentFieldName(){return this.tree.language.fields[this.currentFieldId()]}gotoFirstChild(){marshalTreeCursor(this);const e=C._ts_tree_cursor_goto_first_child_wasm(this.tree[0]);return unmarshalTreeCursor(this),1===e}gotoNextSibling(){marshalTreeCursor(this);const e=C._ts_tree_cursor_goto_next_sibling_wasm(this.tree[0]);return unmarshalTreeCursor(this),1===e}gotoParent(){marshalTreeCursor(this);const e=C._ts_tree_cursor_goto_parent_wasm(this.tree[0]);return unmarshalTreeCursor(this),1===e}}class Language{constructor(e,t){assertInternal(e),this[0]=t,this.types=new Array(C._ts_language_symbol_count(this[0]));for(let e=0,t=this.types.length;e<t;e++)C._ts_language_symbol_type(this[0],e)<2&&(this.types[e]=UTF8ToString(C._ts_language_symbol_name(this[0],e)));this.fields=new Array(C._ts_language_field_count(this[0])+1);for(let e=0,t=this.fields.length;e<t;e++){const t=C._ts_language_field_name_for_id(this[0],e);this.fields[e]=0!==t?UTF8ToString(t):null}}get version(){return C._ts_language_version(this[0])}get fieldCount(){return this.fields.length-1}fieldIdForName(e){const t=this.fields.indexOf(e);return-1!==t?t:null}fieldNameForId(e){return this.fields[e]||null}idForNodeType(e,t){const n=lengthBytesUTF8(e),r=C._malloc(n+1);stringToUTF8(e,r,n+1);const o=C._ts_language_symbol_for_name(this[0],r,n,t);return C._free(r),o||null}get nodeTypeCount(){return C._ts_language_symbol_count(this[0])}nodeTypeForId(e){const t=C._ts_language_symbol_name(this[0],e);return t?UTF8ToString(t):null}nodeTypeIsNamed(e){return!!C._ts_language_type_is_named_wasm(this[0],e)}nodeTypeIsVisible(e){return!!C._ts_language_type_is_visible_wasm(this[0],e)}query(e){const t=lengthBytesUTF8(e),n=C._malloc(t+1);stringToUTF8(e,n,t+1);const r=C._ts_query_new(this[0],n,t,TRANSFER_BUFFER,TRANSFER_BUFFER+SIZE_OF_INT);if(!r){const t=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),r=UTF8ToString(n,getValue(TRANSFER_BUFFER,"i32")).length,o=e.substr(r,100).split("\n")[0];let a,u=o.match(QUERY_WORD_REGEX)[0];switch(t){case 2:a=new RangeError(`Bad node name '${u}'`);break;case 3:a=new RangeError(`Bad field name '${u}'`);break;case 4:a=new RangeError(`Bad capture name @${u}`);break;case 5:a=new TypeError(`Bad pattern structure at offset ${r}: '${o}'...`),u="";break;default:a=new SyntaxError(`Bad syntax at offset ${r}: '${o}'...`),u=""}throw a.index=r,a.length=u.length,C._free(n),a}const o=C._ts_query_string_count(r),a=C._ts_query_capture_count(r),u=C._ts_query_pattern_count(r),i=new Array(a),s=new Array(o);for(let e=0;e<a;e++){const t=C._ts_query_capture_name_for_id(r,e,TRANSFER_BUFFER),n=getValue(TRANSFER_BUFFER,"i32");i[e]=UTF8ToString(t,n)}for(let e=0;e<o;e++){const t=C._ts_query_string_value_for_id(r,e,TRANSFER_BUFFER),n=getValue(TRANSFER_BUFFER,"i32");s[e]=UTF8ToString(t,n)}const _=new Array(u),l=new Array(u),c=new Array(u),f=new Array(u),d=new Array(u);for(let e=0;e<u;e++){const t=C._ts_query_predicates_for_pattern(r,e,TRANSFER_BUFFER),n=getValue(TRANSFER_BUFFER,"i32");f[e]=[],d[e]=[];const o=[];let a=t;for(let t=0;t<n;t++){const t=getValue(a,"i32");a+=SIZE_OF_INT;const n=getValue(a,"i32");if(a+=SIZE_OF_INT,t===PREDICATE_STEP_TYPE_CAPTURE)o.push({type:"capture",name:i[n]});else if(t===PREDICATE_STEP_TYPE_STRING)o.push({type:"string",value:s[n]});else if(o.length>0){if("string"!==o[0].type)throw new Error("Predicates must begin with a literal value");const t=o[0].value;let n=!0;switch(t){case"not-eq?":n=!1;case"eq?":if(3!==o.length)throw new Error("Wrong number of arguments to `#eq?` predicate. Expected 2, got "+(o.length-1));if("capture"!==o[1].type)throw new Error(`First argument of \`#eq?\` predicate must be a capture. Got "${o[1].value}"`);if("capture"===o[2].type){const t=o[1].name,r=o[2].name;d[e].push((function(e){let o,a;for(const n of e)n.name===t&&(o=n.node),n.name===r&&(a=n.node);return void 0===o||void 0===a||o.text===a.text===n}))}else{const t=o[1].name,r=o[2].value;d[e].push((function(e){for(const o of e)if(o.name===t)return o.node.text===r===n;return!0}))}break;case"not-match?":n=!1;case"match?":if(3!==o.length)throw new Error(`Wrong number of arguments to \`#match?\` predicate. Expected 2, got ${o.length-1}.`);if("capture"!==o[1].type)throw new Error(`First argument of \`#match?\` predicate must be a capture. Got "${o[1].value}".`);if("string"!==o[2].type)throw new Error(`Second argument of \`#match?\` predicate must be a string. Got @${o[2].value}.`);const r=o[1].name,a=new RegExp(o[2].value);d[e].push((function(e){for(const t of e)if(t.name===r)return a.test(t.node.text)===n;return!0}));break;case"set!":if(o.length<2||o.length>3)throw new Error(`Wrong number of arguments to \`#set!\` predicate. Expected 1 or 2. Got ${o.length-1}.`);if(o.some((e=>"string"!==e.type)))throw new Error('Arguments to `#set!` predicate must be a strings.".');_[e]||(_[e]={}),_[e][o[1].value]=o[2]?o[2].value:null;break;case"is?":case"is-not?":if(o.length<2||o.length>3)throw new Error(`Wrong number of arguments to \`#${t}\` predicate. Expected 1 or 2. Got ${o.length-1}.`);if(o.some((e=>"string"!==e.type)))throw new Error(`Arguments to \`#${t}\` predicate must be a strings.".`);const u="is?"===t?l:c;u[e]||(u[e]={}),u[e][o[1].value]=o[2]?o[2].value:null;break;default:f[e].push({operator:t,operands:o.slice(1)})}o.length=0}}Object.freeze(_[e]),Object.freeze(l[e]),Object.freeze(c[e])}return C._free(n),new Query(INTERNAL,r,i,d,f,Object.freeze(_),Object.freeze(l),Object.freeze(c))}static load(e){let t;if(e instanceof Uint8Array)t=Promise.resolve(e);else{const n=e;if("undefined"!=typeof process&&process.versions&&process.versions.node){const e=__webpack_require__(66317);t=Promise.resolve(e.readFileSync(n))}else t=fetch(n).then((e=>e.arrayBuffer().then((t=>{if(e.ok)return new Uint8Array(t);{const n=new TextDecoder("utf-8").decode(t);throw new Error(`Language.load failed with status ${e.status}.\n\n${n}`)}}))))}const n="function"==typeof loadSideModule?loadSideModule:loadWebAssemblyModule;return t.then((e=>n(e,{loadAsync:!0}))).then((e=>{const t=Object.keys(e),n=t.find((e=>LANGUAGE_FUNCTION_REGEX.test(e)&&!e.includes("external_scanner_")));n||console.log(`Couldn't find language function in WASM file. Symbols:\n${JSON.stringify(t,null,2)}`);const r=e[n]();return new Language(INTERNAL,r)}))}}class Query{constructor(e,t,n,r,o,a,u,i){assertInternal(e),this[0]=t,this.captureNames=n,this.textPredicates=r,this.predicates=o,this.setProperties=a,this.assertedProperties=u,this.refutedProperties=i,this.exceededMatchLimit=!1}delete(){C._ts_query_delete(this[0]),this[0]=0}matches(e,t,n,r){t||(t=ZERO_POINT),n||(n=ZERO_POINT),r||(r={});let o=r.matchLimit;if(void 0===o)o=0;else if("number"!=typeof o)throw new Error("Arguments must be numbers");marshalNode(e),C._ts_query_matches_wasm(this[0],e.tree[0],t.row,t.column,n.row,n.column,o);const a=getValue(TRANSFER_BUFFER,"i32"),u=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),i=getValue(TRANSFER_BUFFER+2*SIZE_OF_INT,"i32"),s=new Array(a);this.exceededMatchLimit=!!i;let _=0,l=u;for(let t=0;t<a;t++){const n=getValue(l,"i32");l+=SIZE_OF_INT;const r=getValue(l,"i32");l+=SIZE_OF_INT;const o=new Array(r);if(l=unmarshalCaptures(this,e.tree,l,o),this.textPredicates[n].every((e=>e(o)))){s[_++]={pattern:n,captures:o};const e=this.setProperties[n];e&&(s[t].setProperties=e);const r=this.assertedProperties[n];r&&(s[t].assertedProperties=r);const a=this.refutedProperties[n];a&&(s[t].refutedProperties=a)}}return s.length=_,C._free(u),s}captures(e,t,n,r){t||(t=ZERO_POINT),n||(n=ZERO_POINT),r||(r={});let o=r.matchLimit;if(void 0===o)o=0;else if("number"!=typeof o)throw new Error("Arguments must be numbers");marshalNode(e),C._ts_query_captures_wasm(this[0],e.tree[0],t.row,t.column,n.row,n.column,o);const a=getValue(TRANSFER_BUFFER,"i32"),u=getValue(TRANSFER_BUFFER+SIZE_OF_INT,"i32"),i=getValue(TRANSFER_BUFFER+2*SIZE_OF_INT,"i32"),s=[];this.exceededMatchLimit=!!i;const _=[];let l=u;for(let t=0;t<a;t++){const t=getValue(l,"i32");l+=SIZE_OF_INT;const n=getValue(l,"i32");l+=SIZE_OF_INT;const r=getValue(l,"i32");if(l+=SIZE_OF_INT,_.length=n,l=unmarshalCaptures(this,e.tree,l,_),this.textPredicates[t].every((e=>e(_)))){const e=_[r],n=this.setProperties[t];n&&(e.setProperties=n);const o=this.assertedProperties[t];o&&(e.assertedProperties=o);const a=this.refutedProperties[t];a&&(e.refutedProperties=a),s.push(e)}}return C._free(u),s}predicatesForPattern(e){return this.predicates[e]}didExceedMatchLimit(){return this.exceededMatchLimit}}function getText(e,t,n){const r=n-t;let o=e.textCallback(t,null,n);for(t+=o.length;t<n;){const r=e.textCallback(t,null,n);if(!(r&&r.length>0))break;t+=r.length,o+=r}return t>n&&(o=o.slice(0,r)),o}function unmarshalCaptures(e,t,n,r){for(let o=0,a=r.length;o<a;o++){const a=getValue(n,"i32"),u=unmarshalNode(t,n+=SIZE_OF_INT);n+=SIZE_OF_NODE,r[o]={name:e.captureNames[a],node:u}}return n}function assertInternal(e){if(e!==INTERNAL)throw new Error("Illegal constructor")}function isPoint(e){return e&&"number"==typeof e.row&&"number"==typeof e.column}function marshalNode(e){let t=TRANSFER_BUFFER;setValue(t,e.id,"i32"),t+=SIZE_OF_INT,setValue(t,e.startIndex,"i32"),t+=SIZE_OF_INT,setValue(t,e.startPosition.row,"i32"),t+=SIZE_OF_INT,setValue(t,e.startPosition.column,"i32"),t+=SIZE_OF_INT,setValue(t,e[0],"i32")}function unmarshalNode(e,t=TRANSFER_BUFFER){const n=getValue(t,"i32");if(0===n)return null;const r=getValue(t+=SIZE_OF_INT,"i32"),o=getValue(t+=SIZE_OF_INT,"i32"),a=getValue(t+=SIZE_OF_INT,"i32"),u=getValue(t+=SIZE_OF_INT,"i32"),i=new Node(INTERNAL,e);return i.id=n,i.startIndex=r,i.startPosition={row:o,column:a},i[0]=u,i}function marshalTreeCursor(e,t=TRANSFER_BUFFER){setValue(t+0*SIZE_OF_INT,e[0],"i32"),setValue(t+1*SIZE_OF_INT,e[1],"i32"),setValue(t+2*SIZE_OF_INT,e[2],"i32")}function unmarshalTreeCursor(e){e[0]=getValue(TRANSFER_BUFFER+0*SIZE_OF_INT,"i32"),e[1]=getValue(TRANSFER_BUFFER+1*SIZE_OF_INT,"i32"),e[2]=getValue(TRANSFER_BUFFER+2*SIZE_OF_INT,"i32")}function marshalPoint(e,t){setValue(e,t.row,"i32"),setValue(e+SIZE_OF_INT,t.column,"i32")}function unmarshalPoint(e){return{row:getValue(e,"i32"),column:getValue(e+SIZE_OF_INT,"i32")}}function marshalRange(e,t){marshalPoint(e,t.startPosition),marshalPoint(e+=SIZE_OF_POINT,t.endPosition),setValue(e+=SIZE_OF_POINT,t.startIndex,"i32"),setValue(e+=SIZE_OF_INT,t.endIndex,"i32"),e+=SIZE_OF_INT}function unmarshalRange(e){const t={};return t.startPosition=unmarshalPoint(e),e+=SIZE_OF_POINT,t.endPosition=unmarshalPoint(e),e+=SIZE_OF_POINT,t.startIndex=getValue(e,"i32"),e+=SIZE_OF_INT,t.endIndex=getValue(e,"i32"),t}function marshalEdit(e){let t=TRANSFER_BUFFER;marshalPoint(t,e.startPosition),t+=SIZE_OF_POINT,marshalPoint(t,e.oldEndPosition),t+=SIZE_OF_POINT,marshalPoint(t,e.newEndPosition),t+=SIZE_OF_POINT,setValue(t,e.startIndex,"i32"),t+=SIZE_OF_INT,setValue(t,e.oldEndIndex,"i32"),t+=SIZE_OF_INT,setValue(t,e.newEndIndex,"i32"),t+=SIZE_OF_INT}for(const e of Object.getOwnPropertyNames(ParserImpl.prototype))Object.defineProperty(Parser.prototype,e,{value:ParserImpl.prototype[e],enumerable:!1,writable:!1});Parser.Language=Language,Module.onRuntimeInitialized=()=>{ParserImpl.init(),resolveInitPromise()}})))}}return Parser}();module.exports=TreeSitter},19637:function(e,t,n){"use strict";e.exports=n.p+"3055f0c5f4843ded29b1.wasm"}}]);
//# sourceMappingURL=7459.5951a9e57f5d71a1f6b8.js.map
|