UNPKG

prettier

Version:

Prettier is an opinionated code formatter

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