UNPKG

prettier

Version:

Prettier is an opinionated code formatter

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