UNPKG

prettier

Version:

Prettier is an opinionated code formatter

3 lines 685 kB
(function(i){function e(){var f=i();return f.default||f}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};t.prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.flow=e()}})(function(){"use strict";var mS0=Object.create;var g5=Object.defineProperty;var dS0=Object.getOwnPropertyDescriptor;var hS0=Object.getOwnPropertyNames;var yS0=Object.getPrototypeOf,gS0=Object.prototype.hasOwnProperty;var _S0=(a0,W0)=>()=>(W0||a0((W0={exports:{}}).exports,W0),W0.exports),vY=(a0,W0)=>{for(var wx in W0)g5(a0,wx,{get:W0[wx],enumerable:!0})},lY=(a0,W0,wx,Gx)=>{if(W0&&typeof W0=="object"||typeof W0=="function")for(let Wr of hS0(W0))!gS0.call(a0,Wr)&&Wr!==wx&&g5(a0,Wr,{get:()=>W0[Wr],enumerable:!(Gx=dS0(W0,Wr))||Gx.enumerable});return a0};var wS0=(a0,W0,wx)=>(wx=a0!=null?mS0(yS0(a0)):{},lY(W0||!a0||!a0.__esModule?g5(wx,"default",{value:a0,enumerable:!0}):wx,a0)),bS0=a0=>lY(g5({},"__esModule",{value:!0}),a0);var pY=_S0(pj=>{(function(a0){typeof globalThis!="object"&&(this?W0():(a0.defineProperty(a0.prototype,"_T_",{configurable:!0,get:W0}),_T_));function W0(){var wx=this||self;wx.globalThis=wx,delete a0.prototype._T_}})(Object);(function(a0){"use strict";var W0="loc",wx=289,Gx=70416,Wr=69748,L1=163,Ie=92159,pt=43587,or="labeled_statement",Q1="&=",n2="int_of_string",Qs=110591,Zs=92909,$a=11559,bj="regexp",_5=43301,Vp=11703,w5=122654,Va=255,Tj="%ni",b5=68252,Ej=232,T5=42785,Bn="declare_variable",Qp="while",E5=66938,S5=70301,A5=124907,Zp=126515,Sj=218,Xn="pattern_identifier",P5=67643,Gn="export_source",C5=216,I5=64279,Aj="Out_of_memory",N5=113788,Pj="comments",O5=126624,Cj="win32",Yn="object_key_bigint_literal",Ij=185,x4=123214,ev="constructor",j5=69955,zn="import_declaration",D5=68437,R5="Failure",r4="Unix.Unix_error",F5=64255,L5=42539,M5=110579,Jn="export_default_declaration",Kn="jsx_attribute_name",e4=11727,q5=43002,t4=126500,Hn="component_param_pattern",Nj="collect_comments_opt",Wn="match_unary_pattern",$n="keyof_type",Oj="Invalid binary/octal ",jj="range",n4=170,Qa="false",U5=43798,Dj=", characters ",Vn="object_type_property_getter",B5=65547,X5=126467,G5=65007,Y5=42237,z5=8318,J5=71215,Qn="object_property_type",Zn="type_alias",K5=67742,x7="function_body",H5=68111,u4=120745,W5=71959,i4=43880,Rj="Match_failure",Fj=280,r7="type_cast",e7=109,Za="void",$5="generator",V5=125124,Q5=101589,f4=94179,Lj=">>>",c4=70404,t7="optional_indexed_access_type",Mj=310,Z1="argument",n7="object_property",u7="object_type_property",Z5=67004,xy=42783,ry=68850,qj="@",ey=43741,ty=43487,a4="object",Uj="end",s4=126571,ny=71956,Bj=208,uy=126566,iy=67702,Xj="EEXIST",i7="this_expression",Gj=203,fy=11507,cy=113807,o4=119893,ay=42735,x6="rest",f7="null_literal",r6="protected",sy=43615,d2=8231,oy=68149,vy=73727,ly=72348,py=92995,tv=224,ky=11686,my=43013,c7="assignment_pattern",dy=12329,a7="function_type",P3=192,s7="jsx_element_name",hy=70018,o7="catch_clause_pattern",v4=126540,v7="template_literal",yy=120654,gy=68497,_y=67679,l7="readonly_type",wy=68735,by="<",l4=": No such file or directory",Ty=66915,Ey="chain",Yj="!",p7="object_type",Sy=43712,p4=64297,Ay=183969,Py=43503,Cy=67591,nv=65278,Iy=67669,k7="for_of_assignment_pattern",e6="`",Ny=11502,m7="catch_body",Oy=42191,xo=-744106340,k4=182,uv=":",zj="a string",jy=65663,Dy=66978,Ry=71947,m4=43519,Fy=71086,Ly=125258,My=12538,d7="expression_or_spread",Jj="Printexc.handle_uncaught_exception",d4=69956,h4=120122,y4=247,Kj=231,qy=" : flags Open_rdonly and Open_wronly are not compatible",h7="statement_fork_point",Hj=710,Wj=-692038429,Je="static",Uy=55203,By=64324,Xy=64111,$j="!==",Gy=120132,Yy=124903,t6="class",Vj=222,y7="pattern_number_literal",xs="kind",zy=71903,g7="variable_declarator",_7="typeof_expression",Jy=126627,Ky=70084,Qj=228,g4=70480,w7="class_private_field",Hy=239,_4=120713,un=65535,b7="private_name",Wy=43137,T7="remote_identifier",$y=70161,E7="label_identifier",Vy="src/parser/statement_parser.ml",Qy=8335,Zy=19903,x9=64310,iv="_",S7="for_init_declaration",Zj="infer",r9=64466,e9=43018,xD="tokens",t9=92735,n9=66954,u9=65473,i9=70285,A7="sequence",f9="compare: functional value",c9=69890,n6=1e3,a9=65487,s9=42653,rD="\\\\",eD="%=",P7="match_member_pattern_base",o9=72367,C7="function_rest_param",tD="/static/",v9=124911,l9=65276,w4=126558,p9=11498,nD=137,I7="export_default_declaration_decl",k9="cases",b4=126602,N7="jsx_child",Ke="continue",m9=42962,uD="importKind",s1=122,C3="Literal",O7="pattern_object_property_identifier_key",d9=42508,ro="in",h9=55238,y9=67071,g9=70831,_9=72161,w9=67462,iD="<<=",b9=43009,T9=66383,T4=67827,E9=72202,S9=69839,A9=66775,fD="-=",fv=8202,P9=70105,C9=120538,j7="for_in_left_declaration",I9="rendersType",E4=126563,N9=70708,S4=126523,cD=166,D7="match_",aD=202,O9=110951,rs="component",A4=126552,j9=66977,sD=213,R7="enum_member_identifier",oD=210,F7="enum_bigint_body",vD=">=",D9=126495,R9="specifiers",lD=-88,F9="=",L9=65338,u6="members",M9=123535,q9=43702,U9=72767,cv="get",B9=126633,P4=126536,X9=94098,G9="types",pD=273,Y9=113663,kD="Internal Error: Found private field in object props",L7="jsx_element",z9=70366,J9=110959,C4=120655,mD=305,dD="trailingComments",hD=282,eo=24029,K9=-100,H2="yield",M7="binding_pattern",q7="typeof_identifier",yD="ENOTEMPTY",H9=-104,I4=126468,W9=1255,$9=120628,U7="pattern_object_property_string_literal_key",V9=8521,gD="leadingComments",_D=8204,to="@ ",Q9=70319,es="left",wD=188,N4="case",Z9=19967,O4=42622,xg=43492,rg=113770,eg=42774,tg=183,j4=8468,B7="class_implements",D4=126579,I3="string",bD=211,u2=-48,ng=69926,ug=123213,X7="if_consequent_statement",ig=124927,N3="number",fg=126546,cg=68119,ag=70726,R4=70750,sg=65489,TD="SpreadElement",ED="callee",SD=193,og=70492,vg=71934,AD=164,lg=110580,pg=12320,PD=300,F4="any",le="/",G7="type_guard",C1="body",CD=178,Ne="pattern",ID="comment_bounds",Y7="binding_type_identifier",kg=187,z7="pattern_array_rest_element_pattern",L4="@])",mg=12543,dg=11623,ND="start",hg=67871,pe="interface",yg=8449,gg=67637,_g=42961,M4=120085,wg=126463,OD="alternate",jD=-1053382366,bg=70143,DD="--",Tg=68031,J7="jsx_expression",K7="type_identifier_reference",q4=11647,Eg="proto",jt="identifier",Sg=43696,Dt="raw",Ag=126529,Pg=11564,U4=126557,Cg=64911,B4=67592,Ig=43493,Ng=215,Og=110588,i6=461894857,jg=92927,Dg=67861,Rg=119980,Fg=43042,Lg=66965,Mg=67391,O3="computed",RD="unreachable jsxtext",qg=71167,Ug=42559,Bg=72966,FD=303,LD=180,Xg=197,X4=64319,MD=169,qD="*",av=129,Gg=66335,f6="meta",Yg=43388,G4=94178,kt="optional",Y4="unknown",zg=120121,Jg=123180,z4=8469,Kg=68220,UD="|",Hg=43187,Wg=94207,$g=124895,J4=120513,Vg=42527,sv=8286,Qg=94177,BD=1515,c6="var",H7="component_type_param",Zg=66421,x_=92991,r_=68415,W7="comment",$7="match_pattern_array_element",ov=244,K4="^",e_=173791,XD=136,t_=42890,n_="ENOTDIR",u_="??",i_=43711,f_=66303,c_=113800,a_=42239,s_=12703,V7="variance_opt",Q7="+",GD=">>>=",H4="mixed",o_=65613,v_=73029,l_=68191,YD="*=",W4=8487,p_=8477,Z7="toplevel_statement_list",$4="never",V4="do",no=125,k_=72249,zD="Pervasives.do_at_exit",JD="visit_trailing_comment",xu="jsx_closing_element",ru="jsx_namespaced_name",m_=124908,d_=126651,eu="component_declaration",h_=15,tu="interface_type",nu="function_type_return_annotation",y_=64109,Q4=65595,Z4=126560,g_=110927,xk=65598,rk=8488,ts="`.",KD=175,ek="package",tk="else",nk=120771,__=68023,HD="fd ",vv=8238,uk=888960333,ik=119965,w_=42655,uu="match_object_pattern",b_=11710,T_=119993,iu="boolean_literal",WD=290,fu="statement_list",cu="function_param",au="match_as_pattern",su="pattern_object_property_bigint_literal_key",fk=69959,E_=120485,$D=240,S_=191456,ou="declare_enum",ck=120597,ak=70281,vu="type_annotation",lu="spread_element",sk=126544,A_=120069,ns="key",P_=43583,C_="out",I_=` `,VD="**=",pu="pattern_object_property_pattern",N_="e",O_=72712,QD="Internal Error: Found object private prop",j_="ENOENT",D_=-42,ku="jsx_opening_attribute",R_=67646,mu="component_type",F_=64296,L_=43887,ZD="Division_by_zero",xR="EnumDefaultedMember",du="typeof_member_identifier",M_=43792,hu="match_member_pattern_property",yu="declare_export_declaration_decl",q_=93026,gu="type_annotation_hint",U_=42887,B_=43881,X_=43761,ok=8526,j3=119,G_=43866,Y_=72847,z_=8348,ke=101,J_=94026,vk=72272,rR="src/parser/flow_lexer.ml",K_=120744,lv=8191,D3="implies",lk=255,pk=11711,_u="match_unary_pattern_argument",H_=71235,kk=68116,eR=261,y1=100,wu="match_expression",bu="enum_body",mk=1114111,Tu="assignment",W_=71955,dk=43260,Eu="pattern_array_e",$_=126583,tR="prefix",Su="class_body",a6="shorthand",hk=171,V_=66256,yk=-97,nR=" =",Q_=94032,Z_=42606,Au="match_case",xw=71839,gk=120134,rw=55291,ew=92862,tw=43019,nw=126543,R3="function",uw=111355,iw=11389,fw=70753,cw=43249,aw=64829,_k="line",Pu="function_declaration",wk="undefined",uR="([^/]+)",sw=110947,ow=70002,iR="Cygwin",Cu="as_expression",vw=12591,bk=64285,lw=2048,pw=73112,Tk=126589,fR=225,Ek=43259,kw=72817,Sk=64318,cR=172,aR=209,Iu="match_binding_pattern",Nu=" ",Ou="import_source",s6="delete",sR="Enum `",Ak=126553,mw=67001,pv="default",dw=11630,hw=206,ju="enum_bigint_member",yw=67504,Pk=67593,gw=113791,oR="MatchObjectPatternProperty",_w=69572,Du="typeof_type",vR=212,lR="%i",Ru="function_this_param",ww=72329,uo="0x",kv=8239,bw=75075,pR=277,kR=57343,Fu="pattern_bigint_literal",Tw=12341,mR=201,mv="hook",dR=": closedir failed",Ew=42959,Ck=119970,Sw=43560,hR="||=",Lu="member_private_name",Aw=120570,Mu="object_key_identifier",Ik=223,yR="Not_found",gR=230,qu="jsx_element_name_member_expression",Uu="string_literal",Pw=120596,Cw=43807,Iw=69687,Nw=63743,Nk=72192,Bu="member_property",Ow=43262,Xu="class_declaration",_R="renders*",wR="%Li",jw=126578,Gu="jsx_attribute",F3=254,Oe="empty",o6="label",Yu="object_internal_slot_property_type",Ok=120133,Dw=43359,He="predicate",bR="??=",Rw=43697,Fw=-43,zu="default_opt",TR="the start of a statement",ER=312,Lw=67826,Ju="object_",Ku="class_element",jk=11631,Dk=70855,Hu="opaque_type",Wu="number_literal",SR=", ",Rk=8319,Fk=120004,Lk=133,$u="type_params",Vu="pattern_object_rest_property",W2="import",Mw=72e3,qw=67413,Uw=12343,Bw=70080,Qu="intersection_type",h2=-36,Xw=70005,Mk="properties",Gw=11679,Yw=8483,zw=110587,AR=43520,Zu="computed_key",Jw=207,xi="class_identifier",Kw="Invalid number ",ri="function_param_pattern",dv=12288,Hw=113817,Ww=70730,$w=178207,qk=71236,PR=167,ei="object_indexer_property_type",Vw=64286,CR="TypeAnnotation",IR=220,ti="type_identifier",ni="spread_property",ui="jsx_attribute_value_expression",Qw=126519,Uk=70108,Bk=126,Xk=42999,io="prototype",Zw=" : flags Open_text and Open_binary are not compatible",NR="**",Gk=43823,xb=": Not a directory",ii="render_type",Yk=72349,L3="test",rb=43776,eb=92879,tb=11263,OR=241,nb=93052,fi="nullable_type",ub=43704,ib=64321,jR="Property",fb=72191,DR=165,v6="instanceof",cb=69247,We="name",zk=126634,ab=8516,Jk="typeArguments",sb=71127,ci="jsx_spread_attribute",ob=66559,vb=44031,lb=43645,i2=8233,pb=71494,kb="opaque",Kk=72967,mb=70106,ai="logical",RR="@[%s =@ ",l6="0o",Hk=126554,db=71351,Wk=8484,hb=72242,$k=120687,M3=252,yb=183983,p6="%S",si="function_this_param_type",Vk="decorators",gb=43255,oi="catch_clause",$e="-",_b=67711,FR=": file descriptor already closed",Qk=64311,Zk=120539,wb="arguments",x8=73062,bb=173823,Tb=42124,Eb=72095,Sb=125259,Ab=42969,r8=70280,LR=12520,Pb=69749,Cb=70066,vi="binary",li="for_in_statement",Ib=43010,MR="^=",Nb=126570,pi="for_statement",e8=126584,ki="function_return_annotation",Ob=72144,jb=8505,mi="class_expression",Db=120076,Rb=69807,Fb=40981,Lb=-24976191,Mb=72768,qb=126550,t8='"',di="call_type_arg",qR="f",hv="this",n8=126628,UR="===",BR=56320,hi="declare_module_exports",Ub=120512,mt=105,Bb=119974,Xb=71450,Gb=71942,XR=195,u8=120629,GR="/=",YR=">>",yi="declare_interface",zR=4096,gi="pattern_array_rest_element",Yb=71338,i8=126520,_i="as_const_expression",JR="Popping lex mode from empty stack",KR="renders?",zb=68405,wi="member",bi="class_extends",yv=12287,f8=126590,Jb=66377,fo="async",Ti="pattern_array_element",q3=240,Kb=69864,gv="readonly",Hb=70460,Wb=120779,$b=66378,Ei="new_",c8=126551,Si="pattern_object_rest_property_pattern",Ai="for_statement_init",Vb=43595,a8=68296,Qb=120712,Zb=64217,xT=69295,HR="||",rT=";",eT=70461,tT=66939,WR="collect_comments",nT=279,Pi="generic_type",uT=68295,iT=44002,s8=72162,Ci="object_call_property_type",o8=8305,v8=119995,l8="with",Ii="class_property",$R="qualification",Ni="jsx_attribute_name_namespaced",Oi="if_statement",ji="typeof_qualified_identifier",VR=238,fT=65615,QR=176,f2="expression",p8=126559,ZR=296,Di="jsx_attribute_value",Ri="<2>",Fi="component_param",k8="Map.bal",m8=132,cT=70412,aT=70440,xF="<<",d8="finally",rF="v",Li="syntax_opt",Mi="meta_property",sT=12447,oT=67514,eF=260,h8=12448,qi="object_mapped_type_property",_v="operator",tF="closedir",Ui="unary_expression",vT=126588,lT=70851,Bi="export_batch_specifier",U3="renders",nF=226,pT=73111,kT=221,tx="",mT=66927,dT=64967,hT="elements",yT=67640,uF=284,gT=43754,Xi="declare_export_declaration",_T=-26065557,wT=65855,k6="boolean",us="typeof",bT=124902,iF=139,TT=65629,fF=224,ET=43123,y8=70449,ST=12735,J1=107,g8=11719,cF="!=",Gi="call_type_args",B3="asserts",co=-46,AT="namespace",Yi="match_pattern",zi="for_of_statement_lhs",_8=126504,PT=69505,w8="for",CT=72703,b8=120127,T8=43471,IT=93047,aF="Undefined_recursive_module",sF=2147483647,Ji="template_literal_element",oF="Unexpected ",NT=101631,OT=65497,E8=68120,Ki="import_default_specifier",fn="array",vF="expressions",jT=110930,lF=204,Hi="while_",Wi="function_rest_param_type",ao=63,DT=77808,pF="Unexpected token `",wr=114,$i="pattern_object_p",RT=65140,FT=123190,Vi="pattern_object_property_number_literal_key",m6="enum",Qi="conditional_type",$2=113,Zi="array_type",kF="minus",LT=43790,xf="do_while",MT=11567,qT=11694,d6=256,UT=119976,rf="component_body",V2=111,BT=177976,mF=-56,S8=67644,XT=73439,h6=951901561,dF="?",hF=")",A8=43867,P8=65575,GT=69445,yF="FunctionTypeParam",C8=119996,YT=65019,ef="conditional",zT=11505,gF=135,JT=71295,KT=12799,HT=67382,tf="type_guard_annotation",nf="object_key_computed",cn=123,uf="pattern_object_property_key",WT=119892,$T=67505,VT=66962,ff="with_",QT=43273,cf="interface_declaration",I8="bool",ZT=71945,xE="declaration",rE=11519,y6=">",eE=66771,N8="}",_F=8472,tE=43014,af="declare_function",Xr=127,nE="RestElement",uE=190,iE=8467,wF="module",O8=126522,bF="Sys_blocked_io",sf="jsx_opening_element",of="object_key_number_literal",TF="|=",EF="mixins",fE=205,SF=217,j8="if",AF="+=",vf="match_object_pattern_property_key",lf="match_rest_pattern",pf="export_named_declaration_specifier",D8="try",R8="_bigarr02",cE=70479,an="right",aE=245,sE=11718,kf="tuple_labeled_element",PF="TypeParameterInstantiation",oE="mkdir",vE=71999,lE=870530776,CF="@[",IF=-908856609,NF=331416730,pE=11670,kE=66735,mE=43709,F8=43642,dE=67002,hE=69375,mf="function_body_any",yE=119807,OF="Assert_failure",df="function_identifier",gE=65479,g6=131,wv="new",hf="for_of_left_declaration",_E=120084,wE=100343,bE=73030,L8=70452,jF=134,TE=253,EE=42954,DF=227,yf="jsx_member_expression_object",gf="class_property_value",SE=120144,AE=66994,X3="set",PE=126498,_f="tuple_element",wf="arg_list",CE=65481,IE=8511,NE=42964,OE=11492,G3=-25,M8=126555,jE=71039,DE="exportKind",bf="program",RE=70187,RF=173,Rt="as",Y3=124,FF="visit_leading_comment",FE=110575,Tf="class_",LE=72440,ME=67897,LF=235,qE=8543,MF=141,Ef=120,Sf="match_object_pattern_property",_6=1024,UE=101640,qF=1027,UF=236,z3=246,BF="(",BE=66511,Af="regexp_literal",XE=65574,GE=43513,YE=43695,XF="&&",q8=11558,zE=66503,JE=93071,Pf="pattern_expression",KE=65381,U8=126538,HE=12292,Cf="import_namespace_specifier",WE=67583,$E=120137,VE=69622,QE=120770,ZE=71131,bv=8287,xS=110590,rS=65135,eS="Fatal error: exception ",w6=118,tS=181,B8=11687,y2="camlinternalFormat.ml",nS=72959,uS=249,If="union_type",GF=8206,iS=73064,fS=70271,cS=92728,X8=65344,G8=11695,Nf="class_decorator",YF="the end of an expression statement (`;`)",aS=177983,sS=8457,zF=931,oS=66499,vS=94175,JF="#",lS="Identifier",Of="for_in_statement_lhs",jf="pattern_string_literal",Y8=70302,z8=126496,pS=66461,kS=82943,J8=8450,mS=72271,dS=70853,hS="of",KF="Stack_overflow",b6="hasUnknownMembers",T6="a",HF=153,Df="variable_declarator_pattern",yS=73061,gS=77711,K8=64317,_S=73097,Rf="enum_declaration",wS=66966,H8=189,bS=119964,Ff="type_param",sn=782176664,W8=65535,WF=-10,TS=64433,$8=43815,V8=94031,Q8=73065,ES=69958,Z8="property",Lf="jsx_children",Mf="member_property_identifier",SS=42537,so="const",AS=70278,qf="enum_string_member",E6="local",Uf="jsx_element_name_identifier",PS=68223,xm="",CS=119967,rm=119994,IS=66993,Bf="jsx_member_expression_identifier",em="explicitType",NS=67589,OS=65597,jS="exported",DS=94111,RS=113775,Xf="object_spread_property_type",FS=64847,Gf="component_identifier",Yf="class_implements_interface",$F=162,VF=243,LS=12783,QF=`Fatal error: exception %s `,tm=120093,S6="column",zf="component_rest_param",MS=70451,qS=70312,US=69967,nm=70279,BS=66463,XS=92975,um=70286,Jf="pattern_object_property_computed_key",Kf="object_key_string_literal",GS="jsError",Hf="type_args",YS=8304,ZF="==",Tv=115,Wf="declare_component",zS=120092,JS=43638,KS=66811,HS=43334,WS=66863,$S=77823,xL=143,$f="optional_call",VS=126562,im=70162,Ve=104,QS=66963,Ev="await",fm=70107,Q2="0",ZS=72250,xA=8507,rA=100351,cm="AssignmentPattern",Vf="type",rL="%u",eA="NonNullExpression",Qf="function_expression_or_method",tA=43470,eL=242,tL="camlinternalMod.ml",Zf="match_or_pattern",nA=72750,uA=69414,iA=65370,xc="syntax",nL=32752,fA=42963,uL="End_of_file",cA=12294,aA=8471,iL="elementType",sA=43782,fL="++",oA=43641,vA=71944,lA=126601,pA=78894,kA=-45,Sv="null",mA=177,cL="satisfies",dA=131071,rc="import_specifier",ec="class_method",tc="type_",hA=126514,yA=8454,aL="inexact",gA=67807,_A=8525,wA=65470,bA=71352,nc="tuple_spread_element",sL=219,TA="abstract",EA=73458,Qe="return",A6=65536,am=126548,uc="array_element",SA=-253313196,sm=186,om="catch",ic="infer_type",AA=12295,oL="Invalid legacy octal ",PA=69762,CA=43311,IA=65437,fc="variable_declaration",vL=-696510241,cc="function_params",NA=64316,vm=11565,lL="infinity",OA="@]",jA=65908,ac="extends",DA=66204,RA=43784,FA=11742,lm=126503,Ze="debugger",LA=70457,is=-86,P6=912068366,MA=68786,pm="keyof",km=69415,qA=12686,on=127343600,sc="declare_type_alias",pL="the",kL=233,oc="jsx_element_name_namespaced",UA=72283,mL=161,vc="class_static_block",lc="function_param_type",Ft=128,BA=-673950933,mm=126591,dL="Sys_error",XA=74649,GA=74862,C6="is",YA=43738,zA=68479,hL=196,dm=70854,pc="enum_boolean_member",hm=72163,JA=92783,yL=281,kc="component_param_name",KA=68863,vn=32768,gL=2048,HA=64284,_L="@{",WA="\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",ym=8455,mc="update_expression",$A=65500,I6="from",VA=68447,gm=12592,QA=92766,wL=">>=",c2=110,ZA=66431,xP=43586,dc="jsx_identifier",rP=" : file already exists",M1=128,eP=71958,tP=66717,hc="enum_boolean_body",nP=64262,$r="id",yc="component_renders_annotation",uP=42888,iP=8584,fP=73008,bL=306,gc="enum_symbol_body",_c="declare_namespace",_m=72713,cP=55215,wc="object_property_value_type",bc="for_in_assignment_pattern",wm=8485,aP=43395,TL=229,fs="true",sP=43743,Tc="enum_number_member",EL=234,oP=72969,SL="expected *",ln=102,AL=200,N6="symbol",Av="source",Ec="tparam_const_modifier",vP=43714,Sc="jsx_fragment",Ac="jsx_attribute_name_identifier",O6="public",lP=43442,Pc="pattern_object_property",pP=65786,kP=70783,mP=43713,dP=72160,PL="*-/",Cc="export_named_specifier",Ic="arrow_function",hP=122623,bm=70006,CL="${",yP=43814,Nc="generic_qualified_identifier_type",IL=199,Oc="jsx_spread_child",Tm=8489,Em=184,NL=2047,gP=66955,jc="try_catch",_P=70497,OL=313,jL=237,wP=67431,bP=125183,DL=-602162310,pn="params",TP="consequent",EP=68029,SP=67829,AP=68095,Dc="enum_string_body",PP=93823,CP=68351,IP=65495,Rc="declare_module",Fc="match_as_pattern_target",Lc="body_expression",NP=66175,Sm=191,Am=70441,Pm=65141,Cm="&",Mc="super_expression",Im=126564,OP=72105,rA0="fs",xt="throw",jP=68287,DP=67839,Pv=116,RP=110882,FP=69404,LP=123197,Cv=65279,J3="src/parser/type_parser.ml",MP=68115,RL=159,Nm=126547,Om=126556,qP=73055,qc="member_property_expression",Uc="enum_defaulted_member",UP=43071,BP=11726,Bc="component_type_rest_param",XP=68607,Xc="object_key",FL=160,Z2="variance",GP=70655,YP=70414,K3="super",zP=123583,JP=65594,j6="method",KP=73648,D6=121,HP=93951,Gc="pattern_array_element_pattern",WP=43764,$P=42993,jm=120145,VP=74879,LL=168,Dm=8486,QP=72001,Yc="tagged_template",zc="module_ref_literal",ZP=65312,Iv="implements",xC=43700,rC=120003,ML="Invalid_argument",Jc=16777215,eC=83526,Rm=69744,Fm=12336,Kc="switch_case",qL=-61,Hc="optional_member",tC=64274,Lm=64322,Mm=126530,nC=71998,qm=72970,uC=13311,iC=73647,fC=120074,H3="let",UL="global",Wc="expression_statement",$c="component_type_params",cC=512,aC=69634,sC=67461,oC=123627,vC=64913,BL="children",XL="PropertyDefinition",GL=1026,YL="%li",Vc="declare_class",lC=43258,Qc="indexed_access_type",pC=124926,cs=112,kC="b",Zc="predicate_expression",xa="if_alternate_statement",R6="private",zL=-594953737,mC=140,dC="nan",hC=72103,Um=11735,ra="statement",yC="rmdir",Bm=66512,gC="match",JL=198,_C=11734,ea="import_named_specifier",wC=69599,bC=68799,TC=194559,ta="match_array_pattern",KL=174,na="function_",ua="bigint_literal",u1=248,Xm=67638,Gm=126539,EC=11557,HL=214,SC=5760,rt="break",kn="block",ia="match_member_pattern",AC=123565,PC=66815,T1="value",WL=1039100673,CC=69746,IC=70448,NC=74751,fa="init",OC=69551,Ym=65548,ca="jsx_member_expression",zm=68096,as=108,Jm=126521,jC=71487,aa="match_statement",DC=178205,RC=12548,$L=" : is a directory",mn=".",FC=12348,W3=-835925911,xe="typeParameters",LC=66855,a2="typeAnnotation",Nv="bigint",sa="jsx_attribute_value_literal",MC=194,VL="T_JSX_TEXT",qC=68466,Km=126537,QL=67714067,UC=69487,Hm="export",BC=43822,Wm=126499,XC=55242,oa="member_type_identifier",ZL=138,GC=71679,F6=130,YC=12438,zC=119969,$m=12539,JC=119972,xM=",",KC=71423,HC="index out of bounds",dn=106,$3="%d",rM="T_RENDERS_QUESTION",Vm=120571,Qm="returnType",WC=69423,Zm=120070,eM="%",V3=117,tM=179,$C="EBADF",VC=93759,xd=64325,va="component_params",QC=66517,ZC=67423,xI=605857695,rI=43518,nM=251,la="for_of_statement",eI=71983,uM="~",tI=12442,et="switch",nI=66207,rd=126535,iM="&&=",uI=69289,iI=71723,pa="generic_identifier_type",fI=126619,ka="object_type_property_setter",cI=70418,fM="<=",aI=125251,sI=11702,ma="enum_number_body",Q3=250,oI=124910,vI=69297,lI=67455,pI=42511,da="ts_satisfies",cM=268,kI=68324,ed="an identifier",mI=126534,L2=103,dI=120126,aM=274,Z3=449540197,L6="declare",hI=68899,yI=126502,sM=294,ha="function_expression",oM=142,gI=123135,_I=67967,wI=120487,bI=120686,ya="export_named_declaration",TI=66348,td=119981,EI=12352,ga="tuple_type",SI=68680,nd="target",_a="call";function UY(x,r,e,t,u){if(t<=r)for(var i=1;i<=u;i++)e[t+i]=x[r+i];else for(var i=u;i>=1;i--)e[t+i]=x[r+i];return 0}function BY(x){for(var r=[0];x!==0;){for(var e=x[1],t=1;t<e.length;t++)r.push(e[t]);x=x[2]}return r}function XY(x,r,e){var t=new Array(e+1);t[0]=0;for(var u=1,i=r+1;u<=e;u++,i++)t[u]=x[i];return t}function ud(x,r,e){return x[1]===r?(x[1]=e,1):0}function GY(x,r){var e=x[1];return x[1]+=r,e}function xl(x){return x[1]}function vM(x){var r=a0.process;if(r&&r.env&&r.env[x]!=null)return r.env[x];if(a0.jsoo_static_env&&a0.jsoo_static_env[x])return a0.jsoo_static_env[x]}var AI=0;(function(){var x=vM("OCAMLRUNPARAM");if(x!==void 0)for(var r=x.split(xM),e=0;e<r.length;e++)if(r[e]==kC){AI=1;break}else if(r[e].startsWith("b="))AI=+r[e].slice(2);else continue})();var re=[0];function YY(x,r){return(!x.js_error||r||x[0]==u1)&&(x.js_error=new a0.Error("Js exception containing backtrace")),x}function J0(x,r){return AI?YY(x,r):x}function zY(x,r){throw J0([0,x,r])}function eA0(x){return x}function PI(x,r){zY(x,r)}function s2(x){PI(re.Invalid_argument,x)}function lM(x){switch(x){case 7:case 10:case 11:return 2;default:return 1}}function pM(x,r){var e;switch(x){case 0:e=Float32Array;break;case 1:e=Float64Array;break;case 2:e=Int8Array;break;case 3:e=Uint8Array;break;case 4:e=Int16Array;break;case 5:e=Uint16Array;break;case 6:e=Int32Array;break;case 7:e=Int32Array;break;case 8:e=Int32Array;break;case 9:e=Int32Array;break;case 10:e=Float32Array;break;case 11:e=Float64Array;break;case 12:e=Uint8Array;break}e||s2("Bigarray.create: unsupported kind");var t=new e(r*lM(x));return t}function id(x){for(var r=x.length,e=1,t=0;t<r;t++)x[t]<0&&s2("Bigarray.create: negative dimension"),e=e*x[t];return e}var kM=Math.pow(2,-24);function mM(x){throw x}function dM(){mM(re.Division_by_zero)}function ir(x,r,e){this.lo=x&Jc,this.mi=r&Jc,this.hi=e&un}ir.prototype.caml_custom="_j",ir.prototype.copy=function(){return new ir(this.lo,this.mi,this.hi)},ir.prototype.ucompare=function(x){return this.hi>x.hi?1:this.hi<x.hi?-1:this.mi>x.mi?1:this.mi<x.mi?-1:this.lo>x.lo?1:this.lo<x.lo?-1:0},ir.prototype.compare=function(x){var r=this.hi<<16,e=x.hi<<16;return r>e?1:r<e?-1:this.mi>x.mi?1:this.mi<x.mi?-1:this.lo>x.lo?1:this.lo<x.lo?-1:0},ir.prototype.neg=function(){var x=-this.lo,r=-this.mi+(x>>24),e=-this.hi+(r>>24);return new ir(x,r,e)},ir.prototype.add=function(x){var r=this.lo+x.lo,e=this.mi+x.mi+(r>>24),t=this.hi+x.hi+(e>>24);return new ir(r,e,t)},ir.prototype.sub=function(x){var r=this.lo-x.lo,e=this.mi-x.mi+(r>>24),t=this.hi-x.hi+(e>>24);return new ir(r,e,t)},ir.prototype.mul=function(x){var r=this.lo*x.lo,e=(r*kM|0)+this.mi*x.lo+this.lo*x.mi,t=(e*kM|0)+this.hi*x.lo+this.mi*x.mi+this.lo*x.hi;return new ir(r,e,t)},ir.prototype.isZero=function(){return(this.lo|this.mi|this.hi)==0},ir.prototype.isNeg=function(){return this.hi<<16<0},ir.prototype.and=function(x){return new ir(this.lo&x.lo,this.mi&x.mi,this.hi&x.hi)},ir.prototype.or=function(x){return new ir(this.lo|x.lo,this.mi|x.mi,this.hi|x.hi)},ir.prototype.xor=function(x){return new ir(this.lo^x.lo,this.mi^x.mi,this.hi^x.hi)},ir.prototype.shift_left=function(x){return x=x&63,x==0?this:x<24?new ir(this.lo<<x,this.mi<<x|this.lo>>24-x,this.hi<<x|this.mi>>24-x):x<48?new ir(0,this.lo<<x-24,this.mi<<x-24|this.lo>>48-x):new ir(0,0,this.lo<<x-48)},ir.prototype.shift_right_unsigned=function(x){return x=x&63,x==0?this:x<24?new ir(this.lo>>x|this.mi<<24-x,this.mi>>x|this.hi<<24-x,this.hi>>x):x<48?new ir(this.mi>>x-24|this.hi<<48-x,this.hi>>x-24,0):new ir(this.hi>>x-48,0,0)},ir.prototype.shift_right=function(x){if(x=x&63,x==0)return this;var r=this.hi<<16>>16;if(x<24)return new ir(this.lo>>x|this.mi<<24-x,this.mi>>x|r<<24-x,this.hi<<16>>x>>>16);var e=this.hi<<16>>31;return x<48?new ir(this.mi>>x-24|this.hi<<48-x,this.hi<<16>>x-24>>16,e&un):new ir(this.hi<<16>>x-32,e,e)},ir.prototype.lsl1=function(){this.hi=this.hi<<1|this.mi>>23,this.mi=(this.mi<<1|this.lo>>23)&Jc,this.lo=this.lo<<1&Jc},ir.prototype.lsr1=function(){this.lo=(this.lo>>>1|this.mi<<23)&Jc,this.mi=(this.mi>>>1|this.hi<<23)&Jc,this.hi=this.hi>>>1},ir.prototype.udivmod=function(x){for(var r=0,e=this.copy(),t=x.copy(),u=new ir(0,0,0);e.ucompare(t)>0;)r++,t.lsl1();for(;r>=0;)r--,u.lsl1(),e.ucompare(t)>=0&&(u.lo++,e=e.sub(t)),t.lsr1();return{quotient:u,modulus:e}},ir.prototype.div=function(x){var r=this;x.isZero()&&dM();var e=r.hi^x.hi;r.hi&vn&&(r=r.neg()),x.hi&vn&&(x=x.neg());var t=r.udivmod(x).quotient;return e&vn&&(t=t.neg()),t},ir.prototype.mod=function(x){var r=this;x.isZero()&&dM();var e=r.hi;r.hi&vn&&(r=r.neg()),x.hi&vn&&(x=x.neg());var t=r.udivmod(x).modulus;return e&vn&&(t=t.neg()),t},ir.prototype.toInt=function(){return this.lo|this.mi<<24},ir.prototype.toFloat=function(){return(this.hi<<16)*Math.pow(2,32)+this.mi*Math.pow(2,24)+this.lo},ir.prototype.toArray=function(){return[this.hi>>8,this.hi&Va,this.mi>>16,this.mi>>8&Va,this.mi&Va,this.lo>>16,this.lo>>8&Va,this.lo&Va]},ir.prototype.lo32=function(){return this.lo|(this.mi&Va)<<24},ir.prototype.hi32=function(){return this.mi>>>8&un|this.hi<<16};function JY(x,r){return new ir(x&Jc,x>>>24&Va|(r&un)<<8,r>>>16&un)}function CI(x){return x.hi32()}function II(x){return x.lo32()}function M6(){s2(HC)}var KY=R8;function oo(x,r,e,t){this.kind=x,this.layout=r,this.dims=e,this.data=t}oo.prototype.caml_custom=KY,oo.prototype.offset=function(x){var r=0;if(typeof x=="number"&&(x=[x]),x instanceof Array||s2("bigarray.js: invalid offset"),this.dims.length!=x.length&&s2("Bigarray.get/set: bad number of dimensions"),this.layout==0)for(var e=0;e<this.dims.length;e++)(x[e]<0||x[e]>=this.dims[e])&&M6(),r=r*this.dims[e]+x[e];else for(var e=this.dims.length-1;e>=0;e--)(x[e]<1||x[e]>this.dims[e])&&M6(),r=r*this.dims[e]+(x[e]-1);return r},oo.prototype.get=function(x){switch(this.kind){case 7:var r=this.data[x*2+0],e=this.data[x*2+1];return JY(r,e);case 10:case 11:var t=this.data[x*2+0],u=this.data[x*2+1];return[F3,t,u];default:return this.data[x]}},oo.prototype.set=function(x,r){switch(this.kind){case 7:this.data[x*2+0]=II(r),this.data[x*2+1]=CI(r);break;case 10:case 11:this.data[x*2+0]=r[1],this.data[x*2+1]=r[2];break;default:this.data[x]=r;break}return 0},oo.prototype.fill=function(x){switch(this.kind){case 7:var r=II(x),e=CI(x);if(r==e)this.data.fill(r);else for(var t=0;t<this.data.length;t++)this.data[t]=t%2==0?r:e;break;case 10:case 11:var u=x[1],i=x[2];if(u==i)this.data.fill(u);else for(var t=0;t<this.data.length;t++)this.data[t]=t%2==0?u:i;break;default:this.data.fill(x);break}},oo.prototype.compare=function(x,r){if(this.layout!=x.layout||this.kind!=x.kind){var e=this.kind|this.layout<<8,t=x.kind|x.layout<<8;return t-e}if(this.dims.length!=x.dims.length)return x.dims.length-this.dims.length;for(var u=0;u<this.dims.length;u++)if(this.dims[u]!=x.dims[u])return this.dims[u]<x.dims[u]?-1:1;switch(this.kind){case 0:case 1:case 10:case 11:for(var i,c,u=0;u<this.data.length;u++){if(i=this.data[u],c=x.data[u],i<c)return-1;if(i>c)return 1;if(i!=c){if(!r)return NaN;if(i==i)return 1;if(c==c)return-1}}break;case 7:for(var u=0;u<this.data.length;u+=2){if(this.data[u+1]<x.data[u+1])return-1;if(this.data[u+1]>x.data[u+1])return 1;if(this.data[u]>>>0<x.data[u]>>>0)return-1;if(this.data[u]>>>0>x.data[u]>>>0)return 1}break;case 2:case 3:case 4:case 5:case 6:case 8:case 9:case 12:for(var u=0;u<this.data.length;u++){if(this.data[u]<x.data[u])return-1;if(this.data[u]>x.data[u])return 1}break}return 0};function rl(x,r,e,t){this.kind=x,this.layout=r,this.dims=e,this.data=t}rl.prototype=new oo,rl.prototype.offset=function(x){return typeof x!="number"&&(x instanceof Array&&x.length==1?x=x[0]:s2("Ml_Bigarray_c_1_1.offset")),(x<0||x>=this.dims[0])&&M6(),x},rl.prototype.get=function(x){return this.data[x]},rl.prototype.set=function(x,r){return this.data[x]=r,0},rl.prototype.fill=function(x){return this.data.fill(x),0};function NI(x,r,e,t){var u=lM(x);return id(e)*u!=t.length&&s2("length doesn't match dims"),r==0&&e.length==1&&u==1?new rl(x,r,e,t):new oo(x,r,e,t)}function hM(x){return x.slice(1)}function HY(x,r,e){var t=hM(e),u=pM(x,id(t));return NI(x,r,t,u)}function q6(x,r,e){return x.set(x.offset(r),e),0}function U6(x,r,e){var t=String.fromCharCode;if(r==0&&e<=zR&&e==x.length)return t.apply(null,x);for(var u=tx;0<e;r+=_6,e-=_6)u+=t.apply(null,x.slice(r,r+Math.min(e,_6)));return u}function fd(x){for(var r=new Uint8Array(x.l),e=x.c,t=e.length,u=0;u<t;u++)r[u]=e.charCodeAt(u);for(t=x.l;u<t;u++)r[u]=0;return x.c=r,x.t=4,r}function ss(x,r,e,t,u){if(u==0)return 0;if(t==0&&(u>=e.l||e.t==2&&u>=e.c.length))e.c=x.t==4?U6(x.c,r,u):r==0&&x.c.length==u?x.c:x.c.substr(r,u),e.t=e.c.length==e.l?0:2;else if(e.t==2&&t==e.c.length)e.c+=x.t==4?U6(x.c,r,u):r==0&&x.c.length==u?x.c:x.c.substr(r,u),e.t=e.c.length==e.l?0:2;else{e.t!=4&&fd(e);var i=x.c,c=e.c;if(x.t==4)if(t<=r)for(var v=0;v<u;v++)c[t+v]=i[r+v];else for(var v=u-1;v>=0;v--)c[t+v]=i[r+v];else{for(var s=Math.min(u,i.length-r),v=0;v<s;v++)c[t+v]=i.charCodeAt(r+v);for(;v<u;v++)c[t+v]=0}}return 0}function el(x,r){if(x==0)return tx;if(r.repeat)return r.repeat(x);for(var e=tx,t=0;;){if(x&1&&(e+=r),x>>=1,x==0)return e;r+=r,t++,t==9&&r.slice(0,1)}}function cd(x){x.t==2?x.c+=el(x.l-x.c.length,"\0"):x.c=U6(x.c,0,x.c.length),x.t=0}function OI(x){if(x.length<24){for(var r=0;r<x.length;r++)if(x.charCodeAt(r)>Xr)return!1;return!0}else return!/[^\x00-\x7f]/.test(x)}function yM(x){for(var r=tx,e=tx,t,u,i,c,v=0,s=x.length;v<s;v++){if(u=x.charCodeAt(v),u<Ft){for(var l=v+1;l<s&&(u=x.charCodeAt(l))<Ft;l++);if(l-v>cC?(e.substr(0,1),r+=e,e=tx,r+=x.slice(v,l)):e+=x.slice(v,l),l==s)break;v=l}c=1,++v<s&&((i=x.charCodeAt(v))&-64)==M1&&(t=i+(u<<6),u<fF?(c=t-12416,c<Ft&&(c=1)):(c=2,++v<s&&((i=x.charCodeAt(v))&-64)==M1&&(t=i+(t<<6),u<$D?(c=t-925824,(c<gL||c>=55295&&c<57344)&&(c=2)):(c=3,++v<s&&((i=x.charCodeAt(v))&-64)==M1&&u<245&&(c=i-63447168+(t<<6),(c<65536||c>1114111)&&(c=3)))))),c<4?(v-=c,e+="\uFFFD"):c>un?e+=String.fromCharCode(55232+(c>>10),BR+(c&1023)):e+=String.fromCharCode(c),e.length>_6&&(e.substr(0,1),r+=e,e=tx)}return r+e}function os(x,r,e){this.t=x,this.c=r,this.l=e}os.prototype.toString=function(){switch(this.t){case 9:return this.c;default:cd(this);case 0:if(OI(this.c))return this.t=9,this.c;this.t=8;case 8:return this.c}},os.prototype.toUtf16=function(){var x=this.toString();return this.t==9?x:yM(x)},os.prototype.slice=function(){var x=this.t==4?this.c.slice():this.c;return new os(this.t,x,this.l)};function gM(x){return new os(0,x,x.length)}function tA0(x){return x}function Lt(x){return gM(x)}function wa(x,r,e,t,u){return ss(Lt(x),r,e,t,u),0}function tl(x){return new ir(x[7]<<0|x[6]<<8|x[5]<<16,x[4]<<0|x[3]<<8|x[2]<<16,x[1]<<0|x[0]<<8)}function me(x,r){switch(x.t&6){default:if(r>=x.c.length)return 0;case 0:return x.c.charCodeAt(r);case 4:return x.c[r]}}function jI(){s2(HC)}function WY(x,r){r>>>0>=x.l-7&&jI();for(var e=new Array(8),t=0;t<8;t++)e[7-t]=me(x,r+t);return tl(e)}function Gr(x,r,e){if(e&=Va,x.t!=4){if(r==x.c.length)return x.c+=String.fromCharCode(e),r+1==x.l&&(x.t=0),0;fd(x)}return x.c[r]=e,0}function vs(x,r,e){return r>>>0>=x.l&&jI(),Gr(x,r,e)}function nl(x){return x.toArray()}function $Y(x,r,e){r>>>0>=x.l-7&&jI();for(var t=nl(e),u=0;u<8;u++)Gr(x,r+7-u,t[u]);return 0}function ba(x,r){var e=x.l>=0?x.l:x.l=x.length,t=r.length,u=e-t;if(u==0)return x.apply(null,r);if(u<0){var i=x.apply(null,r.slice(0,e));return typeof i!="function"?i:ba(i,r.slice(e))}else{switch(u){case 1:{var i=function(s){for(var l=new Array(t+1),p=0;p<t;p++)l[p]=r[p];return l[t]=s,x.apply(null,l)};break}case 2:{var i=function(s,l){for(var p=new Array(t+2),d=0;d<t;d++)p[d]=r[d];return p[t]=s,p[t+1]=l,x.apply(null,p)};break}default:var i=function(){for(var v=arguments.length==0?1:arguments.length,s=new Array(r.length+v),l=0;l<r.length;l++)s[l]=r[l];for(var l=0;l<arguments.length;l++)s[r.length+l]=arguments[l];return ba(x,s)}}return i.l=u,i}}function I1(x,r){return r>>>0>=x.length-1&&M6(),x}function VY(x){return isFinite(x)?Math.abs(x)>=22250738585072014e-324?0:x!=0?1:2:isNaN(x)?4:3}function QY(x){return x==aE?1:0}var ZY=Math.log2&&Math.log2(11235582092889474e291)==1020;function xz(x){if(ZY)return Math.floor(Math.log2(x));var r=0;if(x==0)return-1/0;if(x>=1)for(;x>=2;)x/=2,r++;else for(;x<1;)x*=2,r--;return r}function DI(x){var r=new Float32Array(1);r[0]=x;var e=new Int32Array(r.buffer);return e[0]|0}function dt(x,r,e){return new ir(x,r,e)}function ad(x){if(!isFinite(x))return isNaN(x)?dt(1,0,nL):x>0?dt(0,0,nL):dt(0,0,65520);var r=x==0&&1/x==-1/0?vn:x>=0?0:vn;r&&(x=-x);var e=xz(x)+1023;e<=0?(e=0,x/=Math.pow(2,-GL)):(x/=Math.pow(2,e-qF),x<16&&(x*=2,e-=1),e==0&&(x/=2));var t=Math.pow(2,24),u=x|0;x=(x-u)*t;var i=x|0;x=(x-i)*t;var c=x|0;return u=u&h_|r|e<<4,dt(c,i,u)}function _M(x,r,e){if(x.write(32,r.dims.length),x.write(32,r.kind|r.layout<<8),r.caml_custom==R8)for(var t=0;t<r.dims.length;t++)r.dims[t]<un?x.write(16,r.dims[t]):(x.write(16,un),x.write(32,0),x.write(32,r.dims[t]));else for(var t=0;t<r.dims.length;t++)x.write(32,r.dims[t]);switch(r.kind){case 2:case 3:case 12:for(var t=0;t<r.data.length;t++)x.write(8,r.data[t]);break;case 4:case 5:for(var t=0;t<r.data.length;t++)x.write(16,r.data[t]);break;case 6:for(var t=0;t<r.data.length;t++)x.write(32,r.data[t]);break;case 8:case 9:x.write(8,0);for(var t=0;t<r.data.length;t++)x.write(32,r.data[t]);break;case 7:for(var t=0;t<r.data.length/2;t++)for(var u=nl(r.get(t)),i=0;i<8;i++)x.write(8,u[i]);break;case 1:for(var t=0;t<r.data.length;t++)for(var u=nl(ad(r.get(t))),i=0;i<8;i++)x.write(8,u[i]);break;case 0:for(var t=0;t<r.data.length;t++){var u=DI(r.get(t));x.write(32,u)}break;case 10:for(var t=0;t<r.data.length/2;t++){var i=r.get(t);x.write(32,DI(i[1])),x.write(32,DI(i[2]))}break;case 11:for(var t=0;t<r.data.length/2;t++){for(var c=r.get(t),u=nl(ad(c[1])),i=0;i<8;i++)x.write(8,u[i]);for(var u=nl(ad(c[2])),i=0;i<8;i++)x.write(8,u[i])}break}e[0]=(4+r.dims.length)*4,e[1]=(4+r.dims.length)*8}function RI(x){var r=new Int32Array(1);r[0]=x;var e=new Float32Array(r.buffer);return e[0]}function FI(x){var r=x.lo,e=x.mi,t=x.hi,u=(t&32767)>>4;if(u==NL)return(r|e|t&h_)==0?t&vn?-1/0:1/0:NaN;var i=Math.pow(2,-24),c=(r*i+e)*i+(t&h_);return u>0?(c+=16,c*=Math.pow(2,u-qF)):c*=Math.pow(2,-GL),t&vn&&(c=-c),c}function ee(x){re.Failure||(re.Failure=[u1,R5,-3]),PI(re.Failure,x)}function wM(x,r,e){var t=x.read32s();(t<0||t>16)&&ee("input_value: wrong number of bigarray dimensions");var u=x.read32s(),i=u&Va,c=u>>8&1,v=[];if(e==R8)for(var s=0;s<t;s++){var l=x.read16u();if(l==un){var p=x.read32u(),d=x.read32u();p!=0&&ee("input_value: bigarray dimension overflow in 32bit"),l=d}v.push(l)}else for(var s=0;s<t;s++)v.push(x.read32u());var T=id(v),b=pM(i,T),I=NI(i,c,v,b);switch(i){case 2:for(var s=0;s<T;s++)b[s]=x.read8s();break;case 3:case 12:for(var s=0;s<T;s++)b[s]=x.read8u();break;case 4:for(var s=0;s<T;s++)b[s]=x.read16s();break;case 5:for(var s=0;s<T;s++)b[s]=x.read16u();break;case 6:for(var s=0;s<T;s++)b[s]=x.read32s();break;case 8:case 9:var N=x.read8u();N&&ee("input_value: cannot read bigarray with 64-bit OCaml ints");for(var s=0;s<T;s++)b[s]=x.read32s();break;case 7:for(var z=new Array(8),s=0;s<T;s++){for(var C=0;C<8;C++)z[C]=x.read8u();var R=tl(z);I.set(s,R)}break;case 1:for(var z=new Array(8),s=0;s<T;s++){for(var C=0;C<8;C++)z[C]=x.read8u();var M=FI(tl(z));I.set(s,M)}break;case 0:for(var s=0;s<T;s++){var M=RI(x.read32s());I.set(s,M)}break;case 10:for(var s=0;s<T;s++){var X=RI(x.read32s()),q=RI(x.read32s());I.set(s,[F3,X,q])}break;case 11:for(var z=new Array(8),s=0;s<T;s++){for(var C=0;C<8;C++)z[C]=x.read8u();for(var X=FI(tl(z)),C=0;C<8;C++)z[C]=x.read8u();var q=FI(tl(z));I.set(s,[F3,X,q])}break}return r[0]=(4+t)*4,NI(i,c,v,b)}function bM(x,r,e){return x.compare(r,e)}function TM(x,r){return Math.imul(x,r)}function ls(x,r){return r=TM(r,-862048943),r=r<<15|r>>>17,r=TM(r,461845907),x^=r,x=x<<13|x>>>19,(x+(x<<2)|0)+-430675100|0}function rz(x,r){return x=ls(x,II(r)),x=ls(x,CI(r)),x}function EM(x,r){return rz(x,ad(r))}function SM(x){var r=id(x.dims),e=0;switch(x.kind){case 2:case 3:case 12:r>d6&&(r=d6);var t=0,u=0;for(u=0;u+4<=x.data.length;u+=4)t=x.data[u+0]|x.data[u+1]<<8|x.data[u+2]<<16|x.data[u+3]<<24,e=ls(e,t);switch(t=0,r&3){case 3:t=x.data[u+2]<<16;case 2:t|=x.data[u+1]<<8;case 1:t|=x.data[u+0],e=ls(e,t)}break;case 4:case 5:r>M1&&(r=M1);var t=0,u=0;for(u=0;u+2<=x.data.length;u+=2)t=x.data[u+0]|x.data[u+1]<<16,e=ls(e,t);(r&1)!=0&&(e=ls(e,x.data[u]));break;case 6:r>64&&(r=64);for(var u=0;u<r;u++)e=ls(e,x.data[u]);break;case 8:case 9:r>64&&(r=64);for(var u=0;u<r;u++)e=ls(e,x.data[u]);break;case 7:r>32&&(r=32),r*=2;for(var u=0;u<r;u++)e=ls(e,x.data[u]);break;case 10:r*=2;case 0:r>64&&(r=64);for(var u=0;u<r;u++)e=EM(e,x.data[u]);break;case 11:r*=2;case 1:r>32&&(r=32);for(var u=0;u<r;u++)e=EM(e,x.data[u]);break}return e}function ez(x,r){return r[0]=4,x.read32s()}function tz(x,r){switch(x.read8u()){case 1:return r[0]=4,x.read32s();case 2:ee("input_value: native integer value too large");default:ee("input_value: ill-formed native integer")}}function nz(x,r){for(var e=new Array(8),t=0;t<8;t++)e[t]=x.read8u();return r[0]=8,tl(e)}function uz(x,r,e){for(var t=nl(r),u=0;u<8;u++)x.write(8,t[u]);e[0]=8,e[1]=8}function iz(x,r,e){return x.compare(r)}function fz(x){return x.lo32()^x.hi32()}var AM={_j:{deserialize:nz,serialize:uz,fixed_length:8,compare:iz,hash:fz},_i:{deserialize:ez,fixed_length:4},_n:{deserialize:tz,fixed_length:4},_bigarray:{deserialize:function(x,r){return wM(x,r,"_bigarray")},serialize:_M,compare:bM,hash:SM},_bigarr02:{deserialize:function(x,r){return wM(x,r,R8)},serialize:_M,compare:bM,hash:SM}};function LI(x){return AM[x.caml_custom]&&AM[x.caml_custom].compare}function PM(x,r,e,t){var u=LI(r);if(u){var i=e>0?u(r,x,t):u(x,r,t);if(t&&i!=i)return e;if(+i!=+i)return+i;if((i|0)!=0)return i|0}return e}function MI(x){return typeof x=="string"&&!/[^\x00-\xff]/.test(x)}function qI(x){return x instanceof os}function CM(x){if(typeof x=="number")return n6;if(qI(x))return M3;if(MI(x))return 1252;if(x instanceof Array&&x[0]===x[0]>>>0&&x[0]<=lk){var r=x[0]|0;return r==F3?0:r}else{if(x instanceof String)return LR;if(typeof x=="string")return LR;if(x instanceof Number)return n6;if(x&&x.caml_custom)return W9;if(x&&x.compare)return 1256;if(typeof x=="function")return 1247;if(typeof x=="symbol")return 1251}return 1001}function tt(x,r){return x<r?-1:x==r?0:1}function fx(x,r){return x<r?-1:x>r?1:0}function cz(x,r){return x.t&6&&cd(x),r.t&6&&cd(r),x.c<r.c?-1:x.c>r.c?1:0}function sd(x,r,e){for(var t=[];;){if(!(e&&x===r)){var u=CM(x);if(u==Q3){x=x[1];continue}var i=CM(r);if(i==Q3){r=r[1];continue}if(u!==i)return u==n6?i==W9?PM(x,r,-1,e):-1:i==n6?u==W9?PM(r,x,1,e):1:u<i?-1:1;switch(u){case 247:s2(f9);break;case 248:var v=tt(x[2],r[2]);if(v!=0)return v|0;break;case 249:s2(f9);break;case 250:s2("equal: got Forward_tag, should not happen");break;case 251:s2("equal: abstract value");break;case 252:if(x!==r){var v=cz(x,r);if(v!=0)return v|0}break;case 253:s2("equal: got Double_tag, should not happen");break;case 254:s2("equal: got Double_array_tag, should not happen");break;case 255:s2("equal: got Custom_tag, should not happen");break;case 1247:s2(f9);break;case 1255:var c=LI(x);if(c!=LI(r))return x.caml_custom<r.caml_custom?-1:1;c||s2("compare: abstract value");var v=c(x,r,e);if(v!=v)return e?-1:v;if(v!==(v|0))return-1;if(v!=0)return v|0;break;case 1256:var v=x.compare(r,e);if(v!=v)return e?-1:v;if(v!==(v|0))return-1;if(v!=0)return v|0;break;case 1e3:if(x=+x,r=+r,x<r)return-1;if(x>r)return 1;if(x!=r){if(!e)return NaN;if(x==x)return 1;if(r==r)return-1}break;case 1001:if(x<r)return-1;if(x>r)return 1;if(x!=r){if(!e)return NaN;if(x==x)return 1;if(r==r)return-1}break;case 1251:if(x!==r)return e?1:NaN;break;case 1252:var x=x,r=r;if(x!==r){if(x<r)return-1;if(x>r)return 1}break;case 12520:var x=x.toString(),r=r.toString();if(x!==r){if(x<r)return-1;if(x>r)return 1}break;case 246:case 254:default:if(QY(u)){s2("compare: continuation value");break}if(x.length!=r.length)return x.length<r.length?-1:1;x.length>1&&t.push(x,r,1);break}}if(t.length==0)return 0;var s=t.pop();r=t.pop(),x=t.pop(),s+1<x.length&&t.push(x,r,s+1),x=x[s],r=r[s]}}function IM(x,r){return sd(x,r,!0)}function az(){return[0]}function S1(x){return x<0&&s2("Bytes.create"),new os(x?2:9,tx,x)}var od=[0];function sz(x,r){return od!==x?0:(od=r,1)}function NM(x){return od}function oz(x){od=x}function ul(x,r){return+(sd(x,r,!1)==0)}function vz(x,r,e,t){if(e>0)if(r==0&&(e>=x.l||x.t==2&&e>=x.c.length))t==0?(x.c=tx,x.t=2):(x.c=el(e,String.fromCharCode(t)),x.t=e==x.l?0:2);else for(x.t!=4&&fd(x),e+=r;r<e;r++)x.c[r]=t;return 0}function UI(x){var r;if(x=x,r=+x,x.length>0&&r===r||(x=x.replace(/_/g,tx),r=+x,x.length>0&&r===r||/^[+-]?nan$/i.test(x)))return r;var e=/^ *([+-]?)0x([0-9a-f]+)\.?([0-9a-f]*)(p([+-]?[0-9]+))?/i.exec(x);if(e){var t=e[3].replace(/0+$/,tx),u=parseInt(e[1]+e[2]+t,16),i=(e[5]|0)-4*t.length;return r=u*Math.pow(2,i),r}if(/^\+?inf(inity)?$/i.test(x))return 1/0;if(/^-inf(inity)?$/i.test(x))return-1/0;ee("float_of_string")}function BI(x){x=x;var r=x.length;r>31&&s2("format_int: format too long");for(var e={justify:Q7,signstyle:$e,filler:Nu,alternate:!1,base:0,signedconv:!1,width:0,uppercase:!1,sign:1,prec:-1,conv:qR},t=0;t<r;t++){var u=x.charAt(t);switch(u){case"-":e.justify=$e;break;case"+":case" ":e.signstyle=u;break;case"0":e.filler=Q2;break;case"#":e.alternate=!0;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(e.width=0;u=x.charCodeAt(t)-48,u>=0&&u<=9;)e.width=e.width*10+u,t++;t--;break;case".":for(e.prec=0,t++;u=x.charCodeAt(t)-48,u>=0&&u<=9;)e.prec=e.prec*10+u,t++;t--;case"d":case"i":e.signedconv=!0;case"u":e.base=10;break;case"x":e.base=16;break;case"X":e.base=16,e.uppercase=!0;break;case"o":e.base=8;break;case"e":case"f":case"g":e.signedconv=!0,e.conv=u;break;case"E":case"F":case"G":e.signedconv=!0,e.uppercase=!0,e.conv=u.toLowerCase();break}}return e}function XI(x,r){x.uppercase&&(r=r.toUpperCase());var e=r.length;x.signedconv&&(x.sign<0||x.signstyle!=$e)&&e++,x.alternate&&(x.base==8&&(e+=1),x.base==16&&(e+=2));var t=tx;if(x.justify==Q7&&x.filler==Nu)for(var u=e;u<x.width;u++)t+=Nu;if(x.signedconv&&(x.sign<0?t+=$e:x.signstyle!=$e&&(t+=x.signstyle)),x.alternate&&x.base==8&&(t+=Q2),x.alternate&&x.base==16&&(t+=x.uppercase?"0X":uo),x.justify==Q7&&x.filler==Q2)for(var u=e;u<x.width;u++)t+=Q2;if(t+=r,x.justify==$e)for(var u=e;u<x.width;u++)t+=Nu;return t}function GI(x,r){function e(p,d){if(Math.abs(p)<1)return p.toFixed(d);var T=parseInt(p.toString().split(Q7)[1]);return T>20?(T-=20,p/=Math.pow(10,T),p+=new Array(T+1).join(Q2),d>0&&(p=p+mn+new Array(d+1).join(Q2)),p):p.toFixed(d)}var t,u=BI(x),i=u.prec<0?6:u.prec;if((r<0||r==0&&1/r==-1/0)&&(u.sign=-1,r=-r),isNaN(r))t=dC,u.filler=Nu;else if(!isFinite(r))t="inf",u.filler=Nu;else switch(u.conv){case"e":var t=r.toExponential(i),c=t.length;t.charAt(c-3)==N_&&(t=t.slice(0,c-1)+Q2+t.slice(c-1));break;case"f":t=e(r,i);break;case"g":i=i||1,t=r.toExponential(i-1);var v=t.indexOf(N_),s=+t.slice(v+1);if(s<-4||r>=1e21||r.toFixed(0).length>i){for(var c=v-1;t.charAt(c)==Q2;)c--;t.charAt(c)==mn&&c--,t=t.slice(0,c+1)+t.slice(v),c=t.length,t.charAt(c-3)==N_&&(t=t.slice(0,c-1)+Q2+t.slice(c-1));break}else{var l=i;if(s<0)l-=s+1,t=r.toFixed(l);else for(;t=r.toFixed(l),t.length>i+1;)l--;if(l){for(var c=t.length-1;t.charAt(c)==Q2;)c--;t.charAt(c)==mn&&c--,t=t.slice(0,c+1)}}break}return XI(u,t)}function vd(x,r){if(x==$3)return tx+r;var e=BI(x);r<0&&(e.signedconv?(e.sign=-1,r=-r):r>>>=0);var t=r.toString(e.base);if(e.prec>=0){e.filler=Nu;var u=e.prec-t.length;u>0&&(t=el(u,Q2)+t)}return XI(e,t)}var OM=0;function Ta(){return OM++}function jM(){return[0]}var ld=[];function Hx(x,r,e){var t=x[1],u=ld[e];if(u===void 0)for(var i=ld.length;i<e;i++)ld[i]=0;else if(t[u]===r)return t[u-1];for(var c=3,v=t[1]*2+1,s;c<v;)s=c+v>>1|1,r<t[s+1]?v=s-2:c=s;return ld[e]=c+1,r==t[c+1]?t[c]:0}function lz(x){for(var r=tx,e=r,t,u,i=0,c=x.length;i<c;i++){if(t=x.charCodeAt(i),t<Ft){for(var v=i+1;v<c&&(t=x.charCodeAt(v))<Ft;v++);if(v-i>cC?(e.substr(0,1),r+=e,e=tx,r+=x.slice(i,v)):e+=x.slice(i,v),v==c)break;i=v}t<gL?(e+=String.fromCharCode(192|t>>6),e+=String.fromCharCode(Ft|t&ao)):t<55296||t>=kR?e+=String.fromCharCode(fF|t>>12,Ft|t>>6&ao,Ft|t&ao):t>=56319||i+1==c||(u=x.charCodeAt(i+1))<BR||u>kR?e+="\xEF\xBF\xBD":(i++,t=(t<<10)+u-56613888,e+=String.fromCharCode($D|t>>18,Ft|t>>12&ao,Ft|t>>6&ao,Ft|t&ao)),e.length>_6&&(e.substr(0,1),r+=e,e=tx)}return r+e}function Mt(x){return OI(x)?x:lz(x)}function pz(x,r,e){if(!isFinite(x))return isNaN(x)?Mt(dC):Mt(x>0?lL:"-infinity");var t=x==0&&1/x==-1/0?1:x>=0?0:1;t&&(x=-x);var u=0;if(x!=0)if(x<1)for(;x<1&&u>-1022;)x*=2,u--;else for(;x>=2;)x/=2,u++;var i=u<0?tx:Q7,c=tx;if(t)c=$e;else switch(e){case 43:c=Q7;break;case 32:c=Nu;break;default:break}if(r>=0&&r<13){var v=Math.pow(2,r*4);x=Math.round(x*v)/v}var s=x.toString(16);if(r>=0){var l=s.indexOf(mn);if(l<0)s+=mn+el(r,Q2);else{var p=l+1+r;s.length<p?s+=el(p-s.length,Q2):s=s.substr(0,p)}}return Mt(c+uo+s+"p"+i+u.toString(10))}function kz(x){return+x.isZero()}function B6(x){return new ir(x&Jc,x>>24&Jc,x>>31&un)}function mz(x){return x.toInt()}function dz(x){return+x.isNeg()}function YI(x){return x.neg()}function DM(x,r){var e=BI(x);e.signedconv&&dz(r)&&(e.sign=-1,r=YI(r));var t=tx,u=B6(e.base),i="0123456789abcdef";do{var c=r.udivmod(u);r=c.quotient,t=i.charAt(mz(c.modulus))+t}while(!kz(r));if(e.prec>=0){e.filler=Nu;var v=e.prec-t.length;v>0&&(t=el(v,Q2)+t)}return XI(e,t)}function Rx(x){return x.length}function z0(x,r){return x.charCodeAt(r)}function RM(x,r){return x.add(r)}function FM(x,r){return x.mul(r)}function zI(x,r){return x.ucompare(r)<0}function LM(x){var r=0,e=Rx(x),t=10,u=1;if(e>0)switch(z0(x,r)){case 45:r++,u=-1;break;case 43:r++,u=1;break}if(r+1<e&&z0(x,r)==48)switch(z0(x,r+1)){case 120:case 88:t=16,r+=2;break;case 111:case 79:t=8,r+=2;break;case 98:case 66:t=2,r+=2;break;case 117:case 85:r+=2;break}return[r,u,t]}function pd(x){return x>=48&&x<=57?x-48:x>=65&&x<=90?x-55:x>=97&&x<=s1?x-87:-1}function Ov(x){var r=LM(x),e=r[0],t=r[1],u=r[2],i=B6(u),c=new ir(Jc,268435455,un).udivmod(i).quotient,v=z0(x,e),s=pd(v);(s<0||s>=u)&&ee(n2);for(var l=B6(s);;)if(e++,v=z0(x,e),v!=95){if(s=pd(v),s<0||s>=u)break;zI(c,l)&&ee(n2),s=B6(s),l=RM(FM(i,l),s),zI(l,s)&&ee(n2)}return e!=Rx(x)&&ee(n2),u==10&&zI(new ir(0,0,vn),l)&&ee(n2),t<0&&(l=YI(l)),l}function MM(x,r){return x.or(r)}function kd(x){return x.toFloat()}function ht(x){var r=LM(x),e=r[0],t=r[1],u=r[2],i=Rx(x),c=-1>>>0,v=e<i?z0(x,e):0,s=pd(v);(s<0||s>=u)&&ee(n2);var l=s;for(e++;e<i;e++)if(v=z0(x,e),v!=95){if(s=pd(v),s<0||s>=u)break;l=u*l+s,l>c&&ee(n2)}return e!=i&&ee(n2),l=t*l,u==10&&(l|0)!=l&&ee(n2),l|0}function $x(x){return OI(x)?x:yM(x)}function hz(x){for(var r={},e=1;e<x.length;e++){var t=x[e];r[$x(t[1])]=t[2]}return r}var md=ba;function yz(x){return x.l>=0?x.l:x.l=x.length}function gz(x){return function(){for(var r=yz(x),e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return md(x,e)}}function JI(x,r,e){return x[0]==r?(x[0]=e,1):0}function _z(x){return JI(x,ov,z3),0}function wz(x){return x instanceof Array&&x[0]==x[0]>>>0&&JI(x,z3,ov)?0:1}function bz(x){return JI(x,ov,Q3),0}function Tz(x,r){return+(sd(x,r,!1)<0)}function qM(x){return x}function Ez(x,r){return x.get(x.offset(r))}function Sz(x,r){return x.xor(r)}function Az(x,r){return x.shift_right_unsigned(r)}function Pz